summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-08-29 17:18:23 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-08-29 17:18:23 +0000
commit1b6b90eb7edb4d77cba4d634e15f4adc841b7380 (patch)
tree589462ef56d82ca2435d8b989e037848d1cf33ea
parent2efb8d57fafb411ee7ed01f726606bfca6a1e1bf (diff)
parent8ba544327cd75f463e5d8410ab00546cb02709b4 (diff)
downloadbuild-tools-androidx-wear-watchface-release.tar.gz
Snap for 9602458 from 8ba544327cd75f463e5d8410ab00546cb02709b4 to androidx-wear-watchface-releaseandroidx-wear-watchface-release
Change-Id: I5b1305cd0ea200b9800cf6ee9792a5a1eecd626b
-rwxr-xr-xbuild-prebuilts.sh5
-rwxr-xr-xlinux-x86/bin/abidiffbin4895232 -> 4689808 bytes
-rwxr-xr-xlinux-x86/bin/abidwbin5023448 -> 4803664 bytes
-rwxr-xr-xlinux-x86/bin/abitidybin1653000 -> 1656200 bytes
-rwxr-xr-xlinux-x86/bin/avbtoolbin14116843 -> 21029605 bytes
-rwxr-xr-xlinux-x86/bin/blk_alloc_to_base_fsbin8136 -> 8192 bytes
-rwxr-xr-xlinux-x86/bin/btfinfobin3255584 -> 0 bytes
-rwxr-xr-xlinux-x86/bin/build_imagebin14460539 -> 22041923 bytes
-rwxr-xr-xlinux-x86/bin/build_super_imagebin14149860 -> 21090956 bytes
-rwxr-xr-xlinux-x86/bin/certify_bootimgbin14089623 -> 20936121 bytes
-rwxr-xr-xlinux-x86/bin/depmodbin163544 -> 165848 bytes
-rwxr-xr-xlinux-x86/bin/dtcbin133696 -> 138632 bytes
-rwxr-xr-xlinux-x86/bin/e2fsckbin287768 -> 283976 bytes
-rwxr-xr-xlinux-x86/bin/e2fsdroidbin1473504 -> 1437032 bytes
-rwxr-xr-xlinux-x86/bin/fecbin1367816 -> 1474672 bytes
-rwxr-xr-xlinux-x86/bin/fsck.erofsbin650648 -> 646808 bytes
-rwxr-xr-xlinux-x86/bin/img2simgbin117928 -> 120456 bytes
-rwxr-xr-xlinux-x86/bin/interceptorbin1349392 -> 1297304 bytes
-rwxr-xr-xlinux-x86/bin/interceptor_analysisbin1711024 -> 1604552 bytes
-rwxr-xr-xlinux-x86/bin/lpmakebin45008 -> 44720 bytes
-rwxr-xr-xlinux-x86/bin/lz4bin248784 -> 251368 bytes
-rwxr-xr-xlinux-x86/bin/mkbootfsbin49360 -> 52400 bytes
-rwxr-xr-xlinux-x86/bin/mkdtboimg (renamed from linux-x86/bin/mkdtboimg.py)bin14089022 -> 20942172 bytes
-rwxr-xr-xlinux-x86/bin/mkdtimgbin35432 -> 35504 bytes
-rwxr-xr-xlinux-x86/bin/mke2fsbin815616 -> 811400 bytes
-rwxr-xr-xlinux-x86/bin/mkfs.erofsbin658360 -> 653272 bytes
-rwxr-xr-xlinux-x86/bin/mkuserimg_mke2fsbin14083253 -> 20918331 bytes
-rwxr-xr-xlinux-x86/bin/paholebin1060496 -> 1059080 bytes
-rwxr-xr-xlinux-x86/bin/simg2imgbin117856 -> 120120 bytes
-rwxr-xr-xlinux-x86/bin/soong_zipbin2831078 -> 2958131 bytes
-rwxr-xr-xlinux-x86/bin/stgbin0 -> 4259152 bytes
-rwxr-xr-xlinux-x86/bin/stgdiffbin4883096 -> 4364064 bytes
-rwxr-xr-xlinux-x86/bin/stginfobin0 -> 4115024 bytes
-rwxr-xr-xlinux-x86/bin/swigbin1847416 -> 1833720 bytes
-rwxr-xr-xlinux-x86/bin/tune2fsbin59880 -> 60104 bytes
-rwxr-xr-xlinux-x86/bin/ufdt_apply_overlaybin51872 -> 51848 bytes
-rw-r--r--linux-x86/include/elfutils/version.h2
-rw-r--r--linux-x86/include/openssl/aead.h8
-rw-r--r--linux-x86/include/openssl/asn1.h2
-rw-r--r--linux-x86/include/openssl/asn1t.h15
-rw-r--r--linux-x86/include/openssl/base.h3
-rw-r--r--linux-x86/include/openssl/bytestring.h4
-rw-r--r--linux-x86/include/openssl/crypto.h3
-rw-r--r--linux-x86/include/openssl/ctrdrbg.h76
-rw-r--r--linux-x86/include/openssl/pkcs8.h8
-rw-r--r--linux-x86/include/openssl/service_indicator.h96
-rw-r--r--linux-x86/include/openssl/span.h17
-rw-r--r--linux-x86/include/openssl/ssl.h7
-rw-r--r--linux-x86/include/openssl/stack.h17
-rw-r--r--linux-x86/include/openssl/type_check.h7
-rw-r--r--linux-x86/include/openssl/x509.h48
-rwxr-xr-xlinux-x86/lib64/libbase.sobin327728 -> 329928 bytes
-rwxr-xr-xlinux-x86/lib64/libc++.sobin924424 -> 908128 bytes
-rwxr-xr-xlinux-x86/lib64/libcrypto-host.sobin1799784 -> 1760024 bytes
-rwxr-xr-xlinux-x86/lib64/libcrypto_utils.sobin6984 -> 7032 bytes
-rwxr-xr-xlinux-x86/lib64/libcutils.sobin69520 -> 69584 bytes
-rwxr-xr-xlinux-x86/lib64/libelf.sobin164672 -> 167536 bytes
-rwxr-xr-xlinux-x86/lib64/libext2_blkid-host.sobin56144 -> 55984 bytes
-rwxr-xr-xlinux-x86/lib64/libext2_com_err-host.sobin11640 -> 11640 bytes
-rwxr-xr-xlinux-x86/lib64/libext2_e2p-host.sobin36720 -> 37160 bytes
-rwxr-xr-xlinux-x86/lib64/libext2_quota-host.sobin60216 -> 61432 bytes
-rwxr-xr-xlinux-x86/lib64/libext2_uuid-host.sobin14408 -> 14472 bytes
-rwxr-xr-xlinux-x86/lib64/libext2fs-host.sobin388832 -> 386632 bytes
-rwxr-xr-xlinux-x86/lib64/libext4_utils.sobin12984 -> 13000 bytes
-rwxr-xr-xlinux-x86/lib64/libfdt.sobin41040 -> 41032 bytes
-rwxr-xr-xlinux-x86/lib64/libicui18n-host.sobin3133264 -> 3085680 bytes
-rwxr-xr-xlinux-x86/lib64/libicuuc-host.sobin2141168 -> 2142888 bytes
-rwxr-xr-xlinux-x86/lib64/libinterceptor.sobin1956264 -> 1985864 bytes
-rwxr-xr-xlinux-x86/lib64/liblog.sobin53680 -> 52672 bytes
-rwxr-xr-xlinux-x86/lib64/liblp.sobin194536 -> 224016 bytes
-rwxr-xr-xlinux-x86/lib64/libsparse-host.sobin36256 -> 35976 bytes
-rwxr-xr-xlinux-x86/lib64/libsqlite.sobin1172968 -> 1299624 bytes
-rwxr-xr-xlinux-x86/lib64/libz-host.sobin103552 -> 106384 bytes
-rw-r--r--manifest.xml124
74 files changed, 319 insertions, 123 deletions
diff --git a/build-prebuilts.sh b/build-prebuilts.sh
index c58801f..1712a44 100755
--- a/build-prebuilts.sh
+++ b/build-prebuilts.sh
@@ -28,7 +28,6 @@ EOF
abitidy
avbtool
blk_alloc_to_base_fs
- btfinfo
build_image
build_super_image
certify_bootimg
@@ -44,7 +43,7 @@ EOF
lpmake
lz4
mkbootfs
- mkdtboimg.py
+ mkdtboimg
mkdtimg
mke2fs
mkfs.erofs
@@ -52,7 +51,9 @@ EOF
pahole
simg2img
soong_zip
+ stg
stgdiff
+ stginfo
swig
tune2fs
ufdt_apply_overlay
diff --git a/linux-x86/bin/abidiff b/linux-x86/bin/abidiff
index 2993d04..43e12a3 100755
--- a/linux-x86/bin/abidiff
+++ b/linux-x86/bin/abidiff
Binary files differ
diff --git a/linux-x86/bin/abidw b/linux-x86/bin/abidw
index 087b013..47c5cd6 100755
--- a/linux-x86/bin/abidw
+++ b/linux-x86/bin/abidw
Binary files differ
diff --git a/linux-x86/bin/abitidy b/linux-x86/bin/abitidy
index c088a76..32760e6 100755
--- a/linux-x86/bin/abitidy
+++ b/linux-x86/bin/abitidy
Binary files differ
diff --git a/linux-x86/bin/avbtool b/linux-x86/bin/avbtool
index 837a26d..5bd258f 100755
--- a/linux-x86/bin/avbtool
+++ b/linux-x86/bin/avbtool
Binary files differ
diff --git a/linux-x86/bin/blk_alloc_to_base_fs b/linux-x86/bin/blk_alloc_to_base_fs
index 5c95db5..afea290 100755
--- a/linux-x86/bin/blk_alloc_to_base_fs
+++ b/linux-x86/bin/blk_alloc_to_base_fs
Binary files differ
diff --git a/linux-x86/bin/btfinfo b/linux-x86/bin/btfinfo
deleted file mode 100755
index 4f32fee..0000000
--- a/linux-x86/bin/btfinfo
+++ /dev/null
Binary files differ
diff --git a/linux-x86/bin/build_image b/linux-x86/bin/build_image
index 3ac20de..1e22a1a 100755
--- a/linux-x86/bin/build_image
+++ b/linux-x86/bin/build_image
Binary files differ
diff --git a/linux-x86/bin/build_super_image b/linux-x86/bin/build_super_image
index f7c30d3..bdb7ea2 100755
--- a/linux-x86/bin/build_super_image
+++ b/linux-x86/bin/build_super_image
Binary files differ
diff --git a/linux-x86/bin/certify_bootimg b/linux-x86/bin/certify_bootimg
index 78f6b31..8a16ffb 100755
--- a/linux-x86/bin/certify_bootimg
+++ b/linux-x86/bin/certify_bootimg
Binary files differ
diff --git a/linux-x86/bin/depmod b/linux-x86/bin/depmod
index cb66ee0..238fda9 100755
--- a/linux-x86/bin/depmod
+++ b/linux-x86/bin/depmod
Binary files differ
diff --git a/linux-x86/bin/dtc b/linux-x86/bin/dtc
index ab1df42..03390d0 100755
--- a/linux-x86/bin/dtc
+++ b/linux-x86/bin/dtc
Binary files differ
diff --git a/linux-x86/bin/e2fsck b/linux-x86/bin/e2fsck
index 991d110..1225b9c 100755
--- a/linux-x86/bin/e2fsck
+++ b/linux-x86/bin/e2fsck
Binary files differ
diff --git a/linux-x86/bin/e2fsdroid b/linux-x86/bin/e2fsdroid
index d9f0249..9d74efc 100755
--- a/linux-x86/bin/e2fsdroid
+++ b/linux-x86/bin/e2fsdroid
Binary files differ
diff --git a/linux-x86/bin/fec b/linux-x86/bin/fec
index 2abe3d6..64f9494 100755
--- a/linux-x86/bin/fec
+++ b/linux-x86/bin/fec
Binary files differ
diff --git a/linux-x86/bin/fsck.erofs b/linux-x86/bin/fsck.erofs
index 84f12fa..d042a70 100755
--- a/linux-x86/bin/fsck.erofs
+++ b/linux-x86/bin/fsck.erofs
Binary files differ
diff --git a/linux-x86/bin/img2simg b/linux-x86/bin/img2simg
index 9e2dd33..8592c62 100755
--- a/linux-x86/bin/img2simg
+++ b/linux-x86/bin/img2simg
Binary files differ
diff --git a/linux-x86/bin/interceptor b/linux-x86/bin/interceptor
index f1a5300..f25d6db 100755
--- a/linux-x86/bin/interceptor
+++ b/linux-x86/bin/interceptor
Binary files differ
diff --git a/linux-x86/bin/interceptor_analysis b/linux-x86/bin/interceptor_analysis
index 45b8492..987e66c 100755
--- a/linux-x86/bin/interceptor_analysis
+++ b/linux-x86/bin/interceptor_analysis
Binary files differ
diff --git a/linux-x86/bin/lpmake b/linux-x86/bin/lpmake
index 321a64a..fd63264 100755
--- a/linux-x86/bin/lpmake
+++ b/linux-x86/bin/lpmake
Binary files differ
diff --git a/linux-x86/bin/lz4 b/linux-x86/bin/lz4
index 69b199c..7fa393d 100755
--- a/linux-x86/bin/lz4
+++ b/linux-x86/bin/lz4
Binary files differ
diff --git a/linux-x86/bin/mkbootfs b/linux-x86/bin/mkbootfs
index 27b8544..c6fdf87 100755
--- a/linux-x86/bin/mkbootfs
+++ b/linux-x86/bin/mkbootfs
Binary files differ
diff --git a/linux-x86/bin/mkdtboimg.py b/linux-x86/bin/mkdtboimg
index ac418bb..91e255d 100755
--- a/linux-x86/bin/mkdtboimg.py
+++ b/linux-x86/bin/mkdtboimg
Binary files differ
diff --git a/linux-x86/bin/mkdtimg b/linux-x86/bin/mkdtimg
index 68927fc..66be38b 100755
--- a/linux-x86/bin/mkdtimg
+++ b/linux-x86/bin/mkdtimg
Binary files differ
diff --git a/linux-x86/bin/mke2fs b/linux-x86/bin/mke2fs
index 05e79a7..0296cdd 100755
--- a/linux-x86/bin/mke2fs
+++ b/linux-x86/bin/mke2fs
Binary files differ
diff --git a/linux-x86/bin/mkfs.erofs b/linux-x86/bin/mkfs.erofs
index 88c4844..cf1f262 100755
--- a/linux-x86/bin/mkfs.erofs
+++ b/linux-x86/bin/mkfs.erofs
Binary files differ
diff --git a/linux-x86/bin/mkuserimg_mke2fs b/linux-x86/bin/mkuserimg_mke2fs
index 214d471..07facf7 100755
--- a/linux-x86/bin/mkuserimg_mke2fs
+++ b/linux-x86/bin/mkuserimg_mke2fs
Binary files differ
diff --git a/linux-x86/bin/pahole b/linux-x86/bin/pahole
index 83741ad..c96d282 100755
--- a/linux-x86/bin/pahole
+++ b/linux-x86/bin/pahole
Binary files differ
diff --git a/linux-x86/bin/simg2img b/linux-x86/bin/simg2img
index 17a1988..78c3230 100755
--- a/linux-x86/bin/simg2img
+++ b/linux-x86/bin/simg2img
Binary files differ
diff --git a/linux-x86/bin/soong_zip b/linux-x86/bin/soong_zip
index 0fb2db6..ea52545 100755
--- a/linux-x86/bin/soong_zip
+++ b/linux-x86/bin/soong_zip
Binary files differ
diff --git a/linux-x86/bin/stg b/linux-x86/bin/stg
new file mode 100755
index 0000000..1b59fa1
--- /dev/null
+++ b/linux-x86/bin/stg
Binary files differ
diff --git a/linux-x86/bin/stgdiff b/linux-x86/bin/stgdiff
index 07099f0..35e7ae0 100755
--- a/linux-x86/bin/stgdiff
+++ b/linux-x86/bin/stgdiff
Binary files differ
diff --git a/linux-x86/bin/stginfo b/linux-x86/bin/stginfo
new file mode 100755
index 0000000..eb8e528
--- /dev/null
+++ b/linux-x86/bin/stginfo
Binary files differ
diff --git a/linux-x86/bin/swig b/linux-x86/bin/swig
index f0fd0de..72a5024 100755
--- a/linux-x86/bin/swig
+++ b/linux-x86/bin/swig
Binary files differ
diff --git a/linux-x86/bin/tune2fs b/linux-x86/bin/tune2fs
index 0738c9b..5a532cb 100755
--- a/linux-x86/bin/tune2fs
+++ b/linux-x86/bin/tune2fs
Binary files differ
diff --git a/linux-x86/bin/ufdt_apply_overlay b/linux-x86/bin/ufdt_apply_overlay
index 0a65774..99752ed 100755
--- a/linux-x86/bin/ufdt_apply_overlay
+++ b/linux-x86/bin/ufdt_apply_overlay
Binary files differ
diff --git a/linux-x86/include/elfutils/version.h b/linux-x86/include/elfutils/version.h
index 99186be..1e792e6 100644
--- a/linux-x86/include/elfutils/version.h
+++ b/linux-x86/include/elfutils/version.h
@@ -30,7 +30,7 @@
#ifndef _ELFUTILS_VERSION_H
#define _ELFUTILS_VERSION_H 1
-#define _ELFUTILS_VERSION 186
+#define _ELFUTILS_VERSION 188
#define _ELFUTILS_PREREQ(major, minor) \
(_ELFUTILS_VERSION >= ((major) * 1000 + (minor)))
diff --git a/linux-x86/include/openssl/aead.h b/linux-x86/include/openssl/aead.h
index 38eb076..5486b4b 100644
--- a/linux-x86/include/openssl/aead.h
+++ b/linux-x86/include/openssl/aead.h
@@ -212,15 +212,15 @@ union evp_aead_ctx_st_state {
uint64_t alignment;
};
-// An EVP_AEAD_CTX represents an AEAD algorithm configured with a specific key
-// and message-independent IV.
-typedef struct evp_aead_ctx_st {
+// An evp_aead_ctx_st (typedefed as |EVP_AEAD_CTX| in base.h) represents an AEAD
+// algorithm configured with a specific key and message-independent IV.
+struct evp_aead_ctx_st {
const EVP_AEAD *aead;
union evp_aead_ctx_st_state state;
// tag_len may contain the actual length of the authentication tag if it is
// known at initialization time.
uint8_t tag_len;
-} EVP_AEAD_CTX;
+};
// EVP_AEAD_MAX_KEY_LENGTH contains the maximum key length used by
// any AEAD defined in this header.
diff --git a/linux-x86/include/openssl/asn1.h b/linux-x86/include/openssl/asn1.h
index d6fa2f7..5ae0064 100644
--- a/linux-x86/include/openssl/asn1.h
+++ b/linux-x86/include/openssl/asn1.h
@@ -1650,6 +1650,8 @@ OPENSSL_EXPORT int ASN1_TIME_print(BIO *out, const ASN1_TIME *a);
// replaced with '.'.
OPENSSL_EXPORT int ASN1_STRING_print(BIO *out, const ASN1_STRING *str);
+// The following flags must not collide with |XN_FLAG_*|.
+
// ASN1_STRFLGS_ESC_2253 causes characters to be escaped as in RFC 2253, section
// 2.4.
#define ASN1_STRFLGS_ESC_2253 1
diff --git a/linux-x86/include/openssl/asn1t.h b/linux-x86/include/openssl/asn1t.h
index b65272d..75bc6f0 100644
--- a/linux-x86/include/openssl/asn1t.h
+++ b/linux-x86/include/openssl/asn1t.h
@@ -509,19 +509,8 @@ const char *sname; /* Structure name */
#define ASN1_ITYPE_MSTRING 0x5
-/* Cache for ASN1 tag and length, so we
- * don't keep re-reading it for things
- * like CHOICE
- */
-
-struct ASN1_TLC_st{
- char valid; /* Values below are valid */
- int ret; /* return value */
- long plen; /* length */
- int ptag; /* class value */
- int pclass; /* class value */
- int hdrlen; /* header length */
-};
+/* Deprecated tag and length cache */
+struct ASN1_TLC_st;
/* Typedefs for ASN1 function pointers */
diff --git a/linux-x86/include/openssl/base.h b/linux-x86/include/openssl/base.h
index b630236..c2c953b 100644
--- a/linux-x86/include/openssl/base.h
+++ b/linux-x86/include/openssl/base.h
@@ -391,6 +391,7 @@ typedef struct conf_st CONF;
typedef struct conf_value_st CONF_VALUE;
typedef struct crypto_buffer_pool_st CRYPTO_BUFFER_POOL;
typedef struct crypto_buffer_st CRYPTO_BUFFER;
+typedef struct ctr_drbg_state_st CTR_DRBG_STATE;
typedef struct dh_st DH;
typedef struct dsa_st DSA;
typedef struct ec_group_st EC_GROUP;
@@ -402,6 +403,7 @@ typedef struct engine_st ENGINE;
typedef struct env_md_ctx_st EVP_MD_CTX;
typedef struct env_md_st EVP_MD;
typedef struct evp_aead_st EVP_AEAD;
+typedef struct evp_aead_ctx_st EVP_AEAD_CTX;
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
typedef struct evp_cipher_st EVP_CIPHER;
typedef struct evp_encode_ctx_st EVP_ENCODE_CTX;
@@ -448,7 +450,6 @@ typedef struct trust_token_issuer_st TRUST_TOKEN_ISSUER;
typedef struct trust_token_method_st TRUST_TOKEN_METHOD;
typedef struct v3_ext_ctx X509V3_CTX;
typedef struct x509_attributes_st X509_ATTRIBUTE;
-typedef struct x509_crl_method_st X509_CRL_METHOD;
typedef struct x509_lookup_st X509_LOOKUP;
typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
typedef struct x509_object_st X509_OBJECT;
diff --git a/linux-x86/include/openssl/bytestring.h b/linux-x86/include/openssl/bytestring.h
index 199d89c..68c1ba4 100644
--- a/linux-x86/include/openssl/bytestring.h
+++ b/linux-x86/include/openssl/bytestring.h
@@ -265,6 +265,10 @@ OPENSSL_EXPORT int CBS_get_any_asn1_element(CBS *cbs, CBS *out,
// also true for empty elements so |*out_indefinite| should be checked). If
// |out_ber_found| is not NULL then it is set to one if any case of invalid DER
// but valid BER is found, and to zero otherwise.
+//
+// This function will not successfully parse an end-of-contents (EOC) as an
+// element. Callers parsing indefinite-length encoding must check for EOC
+// separately.
OPENSSL_EXPORT int CBS_get_any_ber_asn1_element(CBS *cbs, CBS *out,
unsigned *out_tag,
size_t *out_header_len,
diff --git a/linux-x86/include/openssl/crypto.h b/linux-x86/include/openssl/crypto.h
index 117b347..b1f696f 100644
--- a/linux-x86/include/openssl/crypto.h
+++ b/linux-x86/include/openssl/crypto.h
@@ -178,6 +178,9 @@ OPENSSL_EXPORT void OPENSSL_cleanup(void);
// |BORINGSSL_FIPS| and zero otherwise.
OPENSSL_EXPORT int FIPS_mode_set(int on);
+// FIPS_module_name returns the name of the FIPS module.
+OPENSSL_EXPORT const char *FIPS_module_name(void);
+
// FIPS_version returns the version of the FIPS module, or zero if the build
// isn't exactly at a verified version. The version, expressed in base 10, will
// be a date in the form yyyymmddXX where XX is often "00", but can be
diff --git a/linux-x86/include/openssl/ctrdrbg.h b/linux-x86/include/openssl/ctrdrbg.h
new file mode 100644
index 0000000..62afe0c
--- /dev/null
+++ b/linux-x86/include/openssl/ctrdrbg.h
@@ -0,0 +1,76 @@
+/* Copyright (c) 2022, Google Inc.
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+
+#ifndef OPENSSL_HEADER_CTRDRBG_H
+#define OPENSSL_HEADER_CTRDRBG_H
+
+#include <openssl/base.h>
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+
+// FIPS pseudo-random number generator.
+
+
+// CTR-DRBG state objects.
+//
+// CTR_DRBG_STATE contains the state of a FIPS AES-CTR-based pseudo-random
+// number generator. If BoringSSL was built in FIPS mode then this is a FIPS
+// Approved algorithm.
+
+// CTR_DRBG_ENTROPY_LEN is the number of bytes of input entropy. See SP
+// 800-90Ar1, table 3.
+#define CTR_DRBG_ENTROPY_LEN 48
+
+// CTR_DRBG_MAX_GENERATE_LENGTH is the maximum number of bytes that can be
+// generated in a single call to |CTR_DRBG_generate|.
+#define CTR_DRBG_MAX_GENERATE_LENGTH 65536
+
+// CTR_DRBG_new returns an initialized |CTR_DRBG_STATE|, or NULL if either
+// allocation failed or if |personalization_len| is invalid.
+OPENSSL_EXPORT CTR_DRBG_STATE *CTR_DRBG_new(
+ const uint8_t entropy[CTR_DRBG_ENTROPY_LEN], const uint8_t *personalization,
+ size_t personalization_len);
+
+// CTR_DRBG_free frees |state| if non-NULL, or else does nothing.
+OPENSSL_EXPORT void CTR_DRBG_free(CTR_DRBG_STATE* state);
+
+// CTR_DRBG_reseed reseeds |drbg| given |CTR_DRBG_ENTROPY_LEN| bytes of entropy
+// in |entropy| and, optionally, up to |CTR_DRBG_ENTROPY_LEN| bytes of
+// additional data. It returns one on success or zero on error.
+OPENSSL_EXPORT int CTR_DRBG_reseed(CTR_DRBG_STATE *drbg,
+ const uint8_t entropy[CTR_DRBG_ENTROPY_LEN],
+ const uint8_t *additional_data,
+ size_t additional_data_len);
+
+// CTR_DRBG_generate processes to up |CTR_DRBG_ENTROPY_LEN| bytes of additional
+// data (if any) and then writes |out_len| random bytes to |out|, where
+// |out_len| <= |CTR_DRBG_MAX_GENERATE_LENGTH|. It returns one on success or
+// zero on error.
+OPENSSL_EXPORT int CTR_DRBG_generate(CTR_DRBG_STATE *drbg, uint8_t *out,
+ size_t out_len,
+ const uint8_t *additional_data,
+ size_t additional_data_len);
+
+// CTR_DRBG_clear zeroises the state of |drbg|.
+OPENSSL_EXPORT void CTR_DRBG_clear(CTR_DRBG_STATE *drbg);
+
+
+#if defined(__cplusplus)
+} // extern C
+#endif
+
+#endif // OPENSSL_HEADER_CTRDRBG_H
diff --git a/linux-x86/include/openssl/pkcs8.h b/linux-x86/include/openssl/pkcs8.h
index 968640b..8774681 100644
--- a/linux-x86/include/openssl/pkcs8.h
+++ b/linux-x86/include/openssl/pkcs8.h
@@ -122,6 +122,8 @@ OPENSSL_EXPORT EVP_PKEY *PKCS8_parse_encrypted_private_key(CBS *cbs,
// and decrypts it using |password|, sets |*out_key| to the included private
// key and appends the included certificates to |out_certs|. It returns one on
// success and zero on error. The caller takes ownership of the outputs.
+// Any friendlyName attributes (RFC 2985) in the PKCS#12 structure will be
+// returned on the |X509| objects as aliases. See also |X509_alias_get0|.
OPENSSL_EXPORT int PKCS12_get_key_and_certs(EVP_PKEY **out_key,
STACK_OF(X509) *out_certs,
CBS *in, const char *password);
@@ -219,6 +221,11 @@ OPENSSL_EXPORT int PKCS12_verify_mac(const PKCS12 *p12, const char *password,
// implemented for compatibility with external packages. Note the output still
// requires a password for the MAC. Unencrypted keys in PKCS#12 are also not
// widely supported and may not open in other implementations.
+//
+// If |cert| or |chain| have associated aliases (see |X509_alias_set1|), they
+// will be included in the output as friendlyName attributes (RFC 2985). It is
+// an error to specify both an alias on |cert| and a non-NULL |name|
+// parameter.
OPENSSL_EXPORT PKCS12 *PKCS12_create(const char *password, const char *name,
const EVP_PKEY *pkey, X509 *cert,
const STACK_OF(X509) *chain, int key_nid,
@@ -278,5 +285,6 @@ BSSL_NAMESPACE_END
#define PKCS8_R_UNSUPPORTED_PRF 130
#define PKCS8_R_INVALID_CHARACTERS 131
#define PKCS8_R_UNSUPPORTED_OPTIONS 132
+#define PKCS8_R_AMBIGUOUS_FRIENDLY_NAME 133
#endif // OPENSSL_HEADER_PKCS8_H
diff --git a/linux-x86/include/openssl/service_indicator.h b/linux-x86/include/openssl/service_indicator.h
new file mode 100644
index 0000000..33b38b2
--- /dev/null
+++ b/linux-x86/include/openssl/service_indicator.h
@@ -0,0 +1,96 @@
+/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+
+#ifndef OPENSSL_HEADER_SERVICE_INDICATOR_H
+#define OPENSSL_HEADER_SERVICE_INDICATOR_H
+
+#include <openssl/base.h>
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+// FIPS_service_indicator_before_call and |FIPS_service_indicator_after_call|
+// both currently return the same local thread counter which is slowly
+// incremented whenever approved services are called. The
+// |CALL_SERVICE_AND_CHECK_APPROVED| macro is strongly recommended over calling
+// these functions directly.
+//
+// |FIPS_service_indicator_before_call| is intended to be called immediately
+// before an approved service, while |FIPS_service_indicator_after_call| should
+// be called immediately after. If the values returned from these two functions
+// are not equal, this means that the service called inbetween is deemed to be
+// approved. If the values are still the same, this means the counter has not
+// been incremented, and the service called is not approved for FIPS.
+//
+// In non-FIPS builds, |FIPS_service_indicator_before_call| always returns zero
+// and |FIPS_service_indicator_after_call| always returns one. Thus calls always
+// appear to be approved. This is intended to simplify testing.
+OPENSSL_EXPORT uint64_t FIPS_service_indicator_before_call(void);
+OPENSSL_EXPORT uint64_t FIPS_service_indicator_after_call(void);
+
+#if defined(__cplusplus)
+}
+
+#if !defined(BORINGSSL_NO_CXX)
+
+extern "C++" {
+
+// CALL_SERVICE_AND_CHECK_APPROVED runs |func| and sets |approved| to one of the
+// |FIPSStatus*| values, above, depending on whether |func| invoked an
+// approved service. The result of |func| becomes the result of this macro.
+#define CALL_SERVICE_AND_CHECK_APPROVED(approved, func) \
+ [&] { \
+ bssl::FIPSIndicatorHelper fips_indicator_helper(&approved); \
+ return func; \
+ }()
+
+namespace bssl {
+
+enum class FIPSStatus {
+ NOT_APPROVED = 0,
+ APPROVED = 1,
+};
+
+// FIPSIndicatorHelper records whether the service indicator counter advanced
+// during its lifetime.
+class FIPSIndicatorHelper {
+ public:
+ FIPSIndicatorHelper(FIPSStatus *result)
+ : result_(result), before_(FIPS_service_indicator_before_call()) {
+ *result_ = FIPSStatus::NOT_APPROVED;
+ }
+
+ ~FIPSIndicatorHelper() {
+ uint64_t after = FIPS_service_indicator_after_call();
+ if (after != before_) {
+ *result_ = FIPSStatus::APPROVED;
+ }
+ }
+
+ FIPSIndicatorHelper(const FIPSIndicatorHelper&) = delete;
+ FIPSIndicatorHelper &operator=(const FIPSIndicatorHelper &) = delete;
+
+ private:
+ FIPSStatus *const result_;
+ const uint64_t before_;
+};
+
+} // namespace bssl
+} // extern "C++"
+
+#endif // !BORINGSSL_NO_CXX
+#endif // __cplusplus
+
+#endif // OPENSSL_HEADER_SERVICE_INDICATOR_H
diff --git a/linux-x86/include/openssl/span.h b/linux-x86/include/openssl/span.h
index 38e9a96..67a1a5c 100644
--- a/linux-x86/include/openssl/span.h
+++ b/linux-x86/include/openssl/span.h
@@ -99,12 +99,11 @@ class Span : private internal::SpanBase<const T> {
// Heuristically test whether C is a container type that can be converted into
// a Span by checking for data() and size() member functions.
//
- // TODO(davidben): Require C++14 support and switch to std::enable_if_t.
- // Perhaps even C++17 now?
+ // TODO(davidben): Require C++17 support for std::is_convertible_v, etc.
template <typename C>
- using EnableIfContainer = typename std::enable_if<
+ using EnableIfContainer = std::enable_if_t<
std::is_convertible<decltype(std::declval<C>().data()), T *>::value &&
- std::is_integral<decltype(std::declval<C>().size())>::value>::type;
+ std::is_integral<decltype(std::declval<C>().size())>::value>;
public:
constexpr Span() : Span(nullptr, 0) {}
@@ -113,14 +112,12 @@ class Span : private internal::SpanBase<const T> {
template <size_t N>
constexpr Span(T (&array)[N]) : Span(array, N) {}
- template <
- typename C, typename = EnableIfContainer<C>,
- typename = typename std::enable_if<std::is_const<T>::value, C>::type>
+ template <typename C, typename = EnableIfContainer<C>,
+ typename = std::enable_if_t<std::is_const<T>::value, C>>
Span(const C &container) : data_(container.data()), size_(container.size()) {}
- template <
- typename C, typename = EnableIfContainer<C>,
- typename = typename std::enable_if<!std::is_const<T>::value, C>::type>
+ template <typename C, typename = EnableIfContainer<C>,
+ typename = std::enable_if_t<!std::is_const<T>::value, C>>
explicit Span(C &container)
: data_(container.data()), size_(container.size()) {}
diff --git a/linux-x86/include/openssl/ssl.h b/linux-x86/include/openssl/ssl.h
index a3b530e..f0ca7f7 100644
--- a/linux-x86/include/openssl/ssl.h
+++ b/linux-x86/include/openssl/ssl.h
@@ -2281,6 +2281,13 @@ OPENSSL_EXPORT void SSL_CTX_set_ticket_aead_method(
OPENSSL_EXPORT SSL_SESSION *SSL_process_tls13_new_session_ticket(
SSL *ssl, const uint8_t *buf, size_t buf_len);
+// SSL_CTX_set_num_tickets configures |ctx| to send |num_tickets| immediately
+// after a successful TLS 1.3 handshake as a server. It returns one. Large
+// values of |num_tickets| will be capped within the library.
+//
+// By default, BoringSSL sends two tickets.
+OPENSSL_EXPORT int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets);
+
// Elliptic curve Diffie-Hellman.
//
diff --git a/linux-x86/include/openssl/stack.h b/linux-x86/include/openssl/stack.h
index 04e942c..df54713 100644
--- a/linux-x86/include/openssl/stack.h
+++ b/linux-x86/include/openssl/stack.h
@@ -443,16 +443,14 @@ namespace internal {
// Stacks defined with |DEFINE_CONST_STACK_OF| are freed with |sk_free|.
template <typename Stack>
-struct DeleterImpl<
- Stack, typename std::enable_if<StackTraits<Stack>::kIsConst>::type> {
+struct DeleterImpl<Stack, std::enable_if_t<StackTraits<Stack>::kIsConst>> {
static void Free(Stack *sk) { sk_free(reinterpret_cast<_STACK *>(sk)); }
};
// Stacks defined with |DEFINE_STACK_OF| are freed with |sk_pop_free| and the
// corresponding type's deleter.
template <typename Stack>
-struct DeleterImpl<
- Stack, typename std::enable_if<!StackTraits<Stack>::kIsConst>::type> {
+struct DeleterImpl<Stack, std::enable_if_t<!StackTraits<Stack>::kIsConst>> {
static void Free(Stack *sk) {
// sk_FOO_pop_free is defined by macros and bound by name, so we cannot
// access it from C++ here.
@@ -502,18 +500,17 @@ class StackIteratorImpl {
};
template <typename Stack>
-using StackIterator = typename std::enable_if<StackTraits<Stack>::kIsStack,
- StackIteratorImpl<Stack>>::type;
+using StackIterator =
+ std::enable_if_t<StackTraits<Stack>::kIsStack, StackIteratorImpl<Stack>>;
} // namespace internal
// PushToStack pushes |elem| to |sk|. It returns true on success and false on
// allocation failure.
template <typename Stack>
-inline
- typename std::enable_if<!internal::StackTraits<Stack>::kIsConst, bool>::type
- PushToStack(Stack *sk,
- UniquePtr<typename internal::StackTraits<Stack>::Type> elem) {
+inline std::enable_if_t<!internal::StackTraits<Stack>::kIsConst, bool>
+PushToStack(Stack *sk,
+ UniquePtr<typename internal::StackTraits<Stack>::Type> elem) {
if (!sk_push(reinterpret_cast<_STACK *>(sk), elem.get())) {
return false;
}
diff --git a/linux-x86/include/openssl/type_check.h b/linux-x86/include/openssl/type_check.h
index c267938..41de895 100644
--- a/linux-x86/include/openssl/type_check.h
+++ b/linux-x86/include/openssl/type_check.h
@@ -71,7 +71,12 @@ extern "C" {
// C11 defines the |_Static_assert| keyword and the |static_assert| macro in
// assert.h. While the former is available at all versions in Clang and GCC, the
// later depends on libc and, in glibc, depends on being built in C11 mode. We
-// do not require this, for now, so use |_Static_assert| directly.
+// require C11 mode to build the library but, for now, do not require it in
+// public headers. Use |_Static_assert| directly.
+//
+// TODO(davidben): In July 2022, if the C11 change has not been reverted, switch
+// all uses of this macro within the library to C11 |static_assert|. This macro
+// will only be necessary in public headers.
#define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
#endif
diff --git a/linux-x86/include/openssl/x509.h b/linux-x86/include/openssl/x509.h
index 3633186..608c670 100644
--- a/linux-x86/include/openssl/x509.h
+++ b/linux-x86/include/openssl/x509.h
@@ -199,7 +199,8 @@ DEFINE_STACK_OF(X509_TRUST)
#define X509_FLAG_NO_ATTRIBUTES (1L << 11)
#define X509_FLAG_NO_IDS (1L << 12)
-// Flags specific to X509_NAME_print_ex()
+// Flags specific to X509_NAME_print_ex(). These flags must not collide with
+// |ASN1_STRFLGS_*|.
// The field separator information
@@ -311,11 +312,8 @@ struct Netscape_spki_st {
#define X509_VERSION_2 1
#define X509_VERSION_3 2
-// X509_get_version returns the numerical value of |x509|'s version. Callers may
-// compare the result to the |X509_VERSION_*| constants. Unknown versions are
-// rejected by the parser, but a manually-created |X509| object may encode
-// invalid versions. In that case, the function will return the invalid version,
-// or -1 on overflow.
+// X509_get_version returns the numerical value of |x509|'s version, which will
+// be one of the |X509_VERSION_*| constants.
OPENSSL_EXPORT long X509_get_version(const X509 *x509);
// X509_set_version sets |x509|'s version to |version|, which should be one of
@@ -393,15 +391,12 @@ OPENSSL_EXPORT void X509_get0_uids(const X509 *x509,
// |EXFLAG_INVALID| bit.
OPENSSL_EXPORT long X509_get_pathlen(X509 *x509);
-// X509_REQ_VERSION_1 is the version constant for |X509_REQ| objects. Note no
-// other versions are defined.
+// X509_REQ_VERSION_1 is the version constant for |X509_REQ| objects. No other
+// versions are defined.
#define X509_REQ_VERSION_1 0
// X509_REQ_get_version returns the numerical value of |req|'s version. This
-// will be |X509_REQ_VERSION_1| for valid certificate requests. If |req| is
-// invalid, it may return another value, or -1 on overflow.
-//
-// TODO(davidben): Enforce the version number in the parser.
+// will always be |X509_REQ_VERSION_1|.
OPENSSL_EXPORT long X509_REQ_get_version(const X509_REQ *req);
// X509_REQ_get_subject_name returns |req|'s subject name. Note this function is
@@ -417,11 +412,8 @@ OPENSSL_EXPORT X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
#define X509_CRL_VERSION_1 0
#define X509_CRL_VERSION_2 1
-// X509_CRL_get_version returns the numerical value of |crl|'s version. Callers
-// may compare the result to |X509_CRL_VERSION_*| constants. If |crl| is
-// invalid, it may return another value, or -1 on overflow.
-//
-// TODO(davidben): Enforce the version number in the parser.
+// X509_CRL_get_version returns the numerical value of |crl|'s version, which
+// will be one of the |X509_CRL_VERSION_*| constants.
OPENSSL_EXPORT long X509_CRL_get_version(const X509_CRL *crl);
// X509_CRL_get0_lastUpdate returns |crl|'s lastUpdate time.
@@ -480,17 +472,6 @@ OPENSSL_EXPORT void X509_SIG_get0(const X509_SIG *sig,
OPENSSL_EXPORT void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **out_alg,
ASN1_OCTET_STRING **out_digest);
-OPENSSL_EXPORT void X509_CRL_set_default_method(const X509_CRL_METHOD *meth);
-OPENSSL_EXPORT X509_CRL_METHOD *X509_CRL_METHOD_new(
- int (*crl_init)(X509_CRL *crl), int (*crl_free)(X509_CRL *crl),
- int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, ASN1_INTEGER *ser,
- X509_NAME *issuer),
- int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk));
-OPENSSL_EXPORT void X509_CRL_METHOD_free(X509_CRL_METHOD *m);
-
-OPENSSL_EXPORT void X509_CRL_set_meth_data(X509_CRL *crl, void *dat);
-OPENSSL_EXPORT void *X509_CRL_get_meth_data(X509_CRL *crl);
-
// X509_get_X509_PUBKEY returns the public key of |x509|. Note this function is
// not const-correct for legacy reasons. Callers should not modify the returned
// object.
@@ -816,9 +797,6 @@ OPENSSL_EXPORT const char *X509_get_default_cert_dir_env(void);
OPENSSL_EXPORT const char *X509_get_default_cert_file_env(void);
OPENSSL_EXPORT const char *X509_get_default_private_dir(void);
-OPENSSL_EXPORT X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey,
- const EVP_MD *md);
-
DECLARE_ASN1_ENCODE_FUNCTIONS(X509_ALGORS, X509_ALGORS, X509_ALGORS)
DECLARE_ASN1_FUNCTIONS(X509_PUBKEY)
@@ -1087,7 +1065,8 @@ OPENSSL_EXPORT const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x509);
// X509_REQ_set_version sets |req|'s version to |version|, which should be
// |X509_REQ_VERSION_1|. It returns one on success and zero on error.
//
-// Note no versions other than |X509_REQ_VERSION_1| are defined for CSRs.
+// The only defined CSR version is |X509_REQ_VERSION_1|, so there is no need to
+// call this function.
OPENSSL_EXPORT int X509_REQ_set_version(X509_REQ *req, long version);
// X509_REQ_set_subject_name sets |req|'s subject to a copy of |name|. It
@@ -2092,6 +2071,10 @@ OPENSSL_EXPORT void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
// will force the behaviour to match that of previous versions.
#define X509_V_FLAG_NO_ALT_CHAINS 0x100000
+// X509_V_FLAG_NO_CHECK_TIME disables all time checks in certificate
+// verification.
+#define X509_V_FLAG_NO_CHECK_TIME 0x200000
+
#define X509_VP_FLAG_DEFAULT 0x1
#define X509_VP_FLAG_OVERWRITE 0x2
#define X509_VP_FLAG_RESET_FLAGS 0x4
@@ -2398,7 +2381,6 @@ BORINGSSL_MAKE_DELETER(X509_ALGOR, X509_ALGOR_free)
BORINGSSL_MAKE_DELETER(X509_ATTRIBUTE, X509_ATTRIBUTE_free)
BORINGSSL_MAKE_DELETER(X509_CRL, X509_CRL_free)
BORINGSSL_MAKE_UP_REF(X509_CRL, X509_CRL_up_ref)
-BORINGSSL_MAKE_DELETER(X509_CRL_METHOD, X509_CRL_METHOD_free)
BORINGSSL_MAKE_DELETER(X509_EXTENSION, X509_EXTENSION_free)
BORINGSSL_MAKE_DELETER(X509_INFO, X509_INFO_free)
BORINGSSL_MAKE_DELETER(X509_LOOKUP, X509_LOOKUP_free)
diff --git a/linux-x86/lib64/libbase.so b/linux-x86/lib64/libbase.so
index 6b7af65..42a8a67 100755
--- a/linux-x86/lib64/libbase.so
+++ b/linux-x86/lib64/libbase.so
Binary files differ
diff --git a/linux-x86/lib64/libc++.so b/linux-x86/lib64/libc++.so
index e22c3b1..f22f2fb 100755
--- a/linux-x86/lib64/libc++.so
+++ b/linux-x86/lib64/libc++.so
Binary files differ
diff --git a/linux-x86/lib64/libcrypto-host.so b/linux-x86/lib64/libcrypto-host.so
index efbd04f..15ac51f 100755
--- a/linux-x86/lib64/libcrypto-host.so
+++ b/linux-x86/lib64/libcrypto-host.so
Binary files differ
diff --git a/linux-x86/lib64/libcrypto_utils.so b/linux-x86/lib64/libcrypto_utils.so
index 66ff9bd..80c9e1e 100755
--- a/linux-x86/lib64/libcrypto_utils.so
+++ b/linux-x86/lib64/libcrypto_utils.so
Binary files differ
diff --git a/linux-x86/lib64/libcutils.so b/linux-x86/lib64/libcutils.so
index 6db179a..cf59dd0 100755
--- a/linux-x86/lib64/libcutils.so
+++ b/linux-x86/lib64/libcutils.so
Binary files differ
diff --git a/linux-x86/lib64/libelf.so b/linux-x86/lib64/libelf.so
index 41f2979..ac0470b 100755
--- a/linux-x86/lib64/libelf.so
+++ b/linux-x86/lib64/libelf.so
Binary files differ
diff --git a/linux-x86/lib64/libext2_blkid-host.so b/linux-x86/lib64/libext2_blkid-host.so
index c82470b..474667e 100755
--- a/linux-x86/lib64/libext2_blkid-host.so
+++ b/linux-x86/lib64/libext2_blkid-host.so
Binary files differ
diff --git a/linux-x86/lib64/libext2_com_err-host.so b/linux-x86/lib64/libext2_com_err-host.so
index ce492e2..2b99655 100755
--- a/linux-x86/lib64/libext2_com_err-host.so
+++ b/linux-x86/lib64/libext2_com_err-host.so
Binary files differ
diff --git a/linux-x86/lib64/libext2_e2p-host.so b/linux-x86/lib64/libext2_e2p-host.so
index 2c80532..76e6009 100755
--- a/linux-x86/lib64/libext2_e2p-host.so
+++ b/linux-x86/lib64/libext2_e2p-host.so
Binary files differ
diff --git a/linux-x86/lib64/libext2_quota-host.so b/linux-x86/lib64/libext2_quota-host.so
index 82dafb7..6d7c03d 100755
--- a/linux-x86/lib64/libext2_quota-host.so
+++ b/linux-x86/lib64/libext2_quota-host.so
Binary files differ
diff --git a/linux-x86/lib64/libext2_uuid-host.so b/linux-x86/lib64/libext2_uuid-host.so
index 3a4148f..a1b1cd9 100755
--- a/linux-x86/lib64/libext2_uuid-host.so
+++ b/linux-x86/lib64/libext2_uuid-host.so
Binary files differ
diff --git a/linux-x86/lib64/libext2fs-host.so b/linux-x86/lib64/libext2fs-host.so
index c7a055a..c16599c 100755
--- a/linux-x86/lib64/libext2fs-host.so
+++ b/linux-x86/lib64/libext2fs-host.so
Binary files differ
diff --git a/linux-x86/lib64/libext4_utils.so b/linux-x86/lib64/libext4_utils.so
index dece208..8a0d7aa 100755
--- a/linux-x86/lib64/libext4_utils.so
+++ b/linux-x86/lib64/libext4_utils.so
Binary files differ
diff --git a/linux-x86/lib64/libfdt.so b/linux-x86/lib64/libfdt.so
index d5e56b0..f1b0232 100755
--- a/linux-x86/lib64/libfdt.so
+++ b/linux-x86/lib64/libfdt.so
Binary files differ
diff --git a/linux-x86/lib64/libicui18n-host.so b/linux-x86/lib64/libicui18n-host.so
index cc89f7a..c2cebcd 100755
--- a/linux-x86/lib64/libicui18n-host.so
+++ b/linux-x86/lib64/libicui18n-host.so
Binary files differ
diff --git a/linux-x86/lib64/libicuuc-host.so b/linux-x86/lib64/libicuuc-host.so
index 278cef3..4a42fab 100755
--- a/linux-x86/lib64/libicuuc-host.so
+++ b/linux-x86/lib64/libicuuc-host.so
Binary files differ
diff --git a/linux-x86/lib64/libinterceptor.so b/linux-x86/lib64/libinterceptor.so
index d5b645b..e0fb594 100755
--- a/linux-x86/lib64/libinterceptor.so
+++ b/linux-x86/lib64/libinterceptor.so
Binary files differ
diff --git a/linux-x86/lib64/liblog.so b/linux-x86/lib64/liblog.so
index fd8498a..146d8d2 100755
--- a/linux-x86/lib64/liblog.so
+++ b/linux-x86/lib64/liblog.so
Binary files differ
diff --git a/linux-x86/lib64/liblp.so b/linux-x86/lib64/liblp.so
index 75e15a7..143f784 100755
--- a/linux-x86/lib64/liblp.so
+++ b/linux-x86/lib64/liblp.so
Binary files differ
diff --git a/linux-x86/lib64/libsparse-host.so b/linux-x86/lib64/libsparse-host.so
index 219ba41..f502093 100755
--- a/linux-x86/lib64/libsparse-host.so
+++ b/linux-x86/lib64/libsparse-host.so
Binary files differ
diff --git a/linux-x86/lib64/libsqlite.so b/linux-x86/lib64/libsqlite.so
index 3fae08e..a076298 100755
--- a/linux-x86/lib64/libsqlite.so
+++ b/linux-x86/lib64/libsqlite.so
Binary files differ
diff --git a/linux-x86/lib64/libz-host.so b/linux-x86/lib64/libz-host.so
index e29e1ec..6166a59 100755
--- a/linux-x86/lib64/libz-host.so
+++ b/linux-x86/lib64/libz-host.so
Binary files differ
diff --git a/manifest.xml b/manifest.xml
index b69d3ae..83d97ca 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -7,113 +7,141 @@
<superproject name="kernel/superproject" remote="aosp" revision="build-tools" />
- <project path="prebuilts/kernel-build-tools" name="kernel/prebuilts/build-tools" clone-depth="1" revision="de8c538ee2d06eb72741a5378b61a03ab3c4c6d0" />
+ <project path="prebuilts/kernel-build-tools" name="kernel/prebuilts/build-tools" clone-depth="1" revision="47f724cf7d80822b24e42ca6a58c7e05b0462ba9" />
- <project path="build/blueprint" name="platform/build/blueprint" revision="5208ee885c9b9727ed7585c681c5963d0de1b0b5" />
+ <project path="build/bazel" name="platform/build/bazel" groups="pdk" revision="49db69e661ffd862a7baf076b10bf78d8694e92d">
+ <linkfile dest="WORKSPACE" src="bazel.WORKSPACE" />
- <project path="build/make" name="platform/build" groups="pdk" revision="d3eb2e30dc5e5551ae4a0e4837f14fca0c31dbd3">
+ <linkfile dest="BUILD" src="bazel.BUILD" />
+</project>
+
+ <project path="build/bazel_common_rules" name="platform/build/bazel_common_rules" groups="pdk" revision="85a9fe7a10d86ca134636a3b103221ff509d07f6" />
+
+ <project path="build/blueprint" name="platform/build/blueprint" revision="58a29728ea7f8ca5b1fa4c196e51eae8b38e2a90" />
+
+ <project path="build/make" name="platform/build" groups="pdk" revision="65ff0460c4dc2bf514623288407136374fd3d11b">
<linkfile dest="build/tools" src="tools" />
</project>
- <project path="build/soong" name="platform/build/soong" revision="5b70a8d6772883df7c0107d641521df8039d83a0">
+ <project path="build/soong" name="platform/build/soong" revision="871109e91d8ca892af72b061829f15f493813d63">
<linkfile dest="Android.bp" src="root.bp" />
<linkfile dest="bootstrap.bash" src="bootstrap.bash" />
</project>
- <project path="external/golang-protobuf" name="platform/external/golang-protobuf" revision="615c5d6d6bab0fe1b7d5675771473291efccf942" />
+ <project path="external/bazelbuild-rules_android" name="platform/external/bazelbuild-rules_android" groups="pdk" revision="24ee0a8a284d1427a26e88181c2718c16b4eb7d5" />
+
+ <project path="external/bazelbuild-kotlin-rules" name="platform/external/bazelbuild-kotlin-rules" groups="pdk" revision="bf16c560ee1e97cde64a35348ee50bf580ccac12" />
+
+ <project path="external/bazelbuild-rules_license" name="platform/external/bazelbuild-rules_license" groups="pdk" revision="df3b8d7aa1d57f6ee108a023e90860f1e372cb4b" />
+
+ <project path="external/bazel-skylib" name="platform/external/bazel-skylib" groups="pdk" revision="f998e5dc13c03f0eae9e373263d3afff0932c738" />
- <project path="prebuilts/clang/host/linux-x86" name="platform/prebuilts/clang/host/linux-x86" groups="linux" clone-depth="1" revision="1bb540ed78e42849f28186381cee4f8d35e0e9f6" />
+ <project path="external/golang-protobuf" name="platform/external/golang-protobuf" revision="778fd2fe348de8c0dad75597fcaa7aced089ed2d" />
- <project path="prebuilts/build-tools" name="platform/prebuilts/build-tools" clone-depth="1" revision="81e89627e040bfac99425a1cb3959f026c7511f1" />
+ <project path="prebuilts/bazel/common" name="platform/prebuilts/bazel/common" groups="pdk" clone-depth="1" revision="73c54e11a6b9abe93947a8068e7edbac8ff36ea5" />
- <project path="prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8" name="platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8" clone-depth="1" revision="e49b4b3477381d23fd9172221f5c8d9199d30fe6" />
+ <project path="prebuilts/bazel/darwin-x86_64" name="platform/prebuilts/bazel/darwin-x86_64" groups="darwin,pdk" clone-depth="1" revision="943011eb2818f606961ad7e9968b913f15844f8b" />
- <project path="prebuilts/go/linux-x86" name="platform/prebuilts/go/linux-x86" groups="linux" clone-depth="1" revision="1047e6df4259f489e9779b24a38d46bfe064f348" />
+ <project path="prebuilts/bazel/linux-x86_64" name="platform/prebuilts/bazel/linux-x86_64" groups="linux,pdk" clone-depth="1" revision="727a8504347d899a0bdbfc7d5a3fbc6a02340c77" />
+
+ <project path="prebuilts/jdk/jdk11" name="platform/prebuilts/jdk/jdk11" groups="pdk" clone-depth="1" revision="bacaa8f7ac8f1b3f1247a40dd2f8d2b6ddda1f4d" />
+
+ <project path="prebuilts/clang/host/linux-x86" name="platform/prebuilts/clang/host/linux-x86" groups="linux" clone-depth="1" revision="9a2c24ea6af531f2847c9a164e699bc87d27e15b" />
+
+ <project path="prebuilts/build-tools" name="platform/prebuilts/build-tools" clone-depth="1" revision="c9002c23894e83470b9dff6e0cece6b5b3cfc9c9" />
+
+ <project path="prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8" name="platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8" clone-depth="1" revision="62a4a6b7a8b04da1ec8772eac68179bb26d62737" />
+
+ <project path="prebuilts/go/linux-x86" name="platform/prebuilts/go/linux-x86" groups="linux" clone-depth="1" revision="83e7429b02e77e41a22987975042f0ddaebe99f9" />
<project path="prebuilts/ninja/linux-x86" name="platform/prebuilts/ninja/linux-x86" groups="linux" clone-depth="1" revision="8a10824f74fe0e22af9bf314a837f5b70e2bb67f" />
- <project path="bionic" name="platform/bionic" revision="668c0619862af42c010e01b8c0e1797d5df93529" />
+ <project path="bionic" name="platform/bionic" revision="b080a0c8f75f719148e8a7a7843081bb9420ef5a" />
+
+ <project path="external/abseil-cpp" name="platform/external/abseil-cpp" revision="8b019867408a98b91db4d9edba162bd085ea08c4" />
- <project path="external/boringssl" name="platform/external/boringssl" revision="aa347ab80ee55e0594c1988abf6fbcfb5cd80a11" />
+ <project path="external/boringssl" name="platform/external/boringssl" revision="9a269f83db35f55441493dc02130499d2b8d5edb" />
<project path="external/dwarves" name="platform/external/dwarves" revision="3c8f7e8b2cf7ff902b71c42d00fda30f30114b07" />
- <project path="external/e2fsprogs" name="platform/external/e2fsprogs" revision="a577a516171f5c7705328ac289c6f0fc7c0b261f" />
+ <project path="external/e2fsprogs" name="platform/external/e2fsprogs" revision="8e81aecd53640f98ec96cad43da80a518776eb26" />
+
+ <project path="external/elfutils" name="platform/external/elfutils" revision="a1e2180065c0666c2ebab6dcae1c6b26c11ce162" />
- <project path="external/elfutils" name="platform/external/elfutils" revision="c3ccce0b14ae5d6c5bddd105661a2d4ab45e2ee6" />
+ <project path="external/erofs-utils" name="platform/external/erofs-utils" revision="f3669fe94b327235b033c2b6a88a6a28d586cff8" />
- <project path="external/erofs-utils" name="platform/external/erofs-utils" revision="eb40ceb178a737a6483568b4eff0ecc4219def85" />
+ <project path="external/expat" name="platform/external/expat" revision="8c195c2f756f0c89e86c292e8a7829a46bd3fed8" />
- <project path="external/expat" name="platform/external/expat" revision="80775ad3c0c0b6393ef4e76e55ad1b2918d6d4b9" />
+ <project path="external/fec" name="platform/external/fec" revision="bd748f639f8156d3c439c46178ee2e1176b226cf" />
- <project path="external/fec" name="platform/external/fec" revision="bb83bf800c7811430b8701d13342e37f3ca8f006" />
+ <project path="external/fmtlib" name="platform/external/fmtlib" revision="fb5582f1897531a70a7f4bbde365d8e5593d6a43" />
- <project path="external/fmtlib" name="platform/external/fmtlib" revision="be3d771f0c36f0b3d913236a5db75c0f2b997340" />
+ <project path="external/go-cmp" name="platform/external/go-cmp" groups="pdk" revision="8bddf39794fadcd3e447f4c4f38af50438cfb475" />
- <project path="external/go-cmp" name="platform/external/go-cmp" groups="pdk" revision="54a4cc70bedfc1e1c9b09291982055bb5e5932ce" />
+ <project path="external/icu" name="platform/external/icu" revision="cb20a12feb8a9ece97ae62c58f5fa51ed513abce" />
- <project path="external/icu" name="platform/external/icu" revision="d62824e319c08b6eb3e431222a473e7ccdb4b43d" />
+ <project path="external/jemalloc_new" name="platform/external/jemalloc_new" revision="b0dbd53706069619146ce04c7fc34ab08936334d" />
- <project path="external/libbpf" name="platform/external/libbpf" revision="ae6cd3345b78a75652e83afb072e99e70e5887d8" />
+ <project path="external/libbpf" name="platform/external/libbpf" revision="83290be0568d3f4e8fdd511e49a0a11beabaae20" />
- <project path="external/libabigail" name="platform/external/libabigail" revision="ebd2d3dda1d729bd411fade7edf58229fd02719b" />
+ <project path="external/libabigail" name="platform/external/libabigail" revision="500c5b730574f3175d23f2939a02b9c0dd8340be" />
- <project path="external/libcxx" name="platform/external/libcxx" revision="0b1ac82ded2bcb4e16abda1b2491fb34c39b554c" />
+ <project path="external/libcxx" name="platform/external/libcxx" revision="69c72cf1ae966f4fae3013d50a683ab3025c08e6" />
- <project path="external/libcxxabi" name="platform/external/libcxxabi" revision="c0a6edcf3b1a74c5946bfdfa0312106cc900b764" />
+ <project path="external/libcxxabi" name="platform/external/libcxxabi" revision="ecb2748e588a5df9de72d37dfed68a5bb23eabad" />
- <project path="external/libxml2" name="platform/external/libxml2" revision="788a11bab6fe8412d8fc5048b379458a178a7d7b" />
+ <project path="external/libxml2" name="platform/external/libxml2" revision="fecc78985dc0f4aac1cc64330d5f4e5768783be5" />
- <project path="external/pcre" name="platform/external/pcre" revision="4399e8f9ea319217ba19d50ac23431d9a54e3f51" />
+ <project path="external/pcre" name="platform/external/pcre" revision="0667e80ea7b273d3848f923e281d217dd711886f" />
- <project path="external/protobuf" name="platform/external/protobuf" revision="6cb79dee0c4cfc5acfc2bfd48be5a676f58efb92" />
+ <project path="external/protobuf" name="platform/external/protobuf" revision="1f8965dbfaee9d9e0bc221cb58cbfe08f54c3bf4" />
- <project path="external/python/cpython2" name="platform/external/python/cpython2" revision="fc6603babfe85b094cfd743e2e60d7cbce35133e" />
+ <project path="external/python/cpython2" name="platform/external/python/cpython2" revision="f4c6431b80426d19655ea61e1b5e1505c8b9bbe4" />
- <project path="external/python/cpython3" name="platform/external/python/cpython3" revision="106922c9cae86459f372bc9e813e1ed5d204ab5f" />
+ <project path="external/python/cpython3" name="platform/external/python/cpython3" revision="591cfdd28c4bae340be6a625bb2ef2b9a7a64867" />
- <project path="external/python/six" name="platform/external/python/six" revision="1ce320a5ce4b9206e0e2b3e008844dcc2ce790b5" />
+ <project path="external/python/six" name="platform/external/python/six" revision="3346f893c457cb8c08599c5f322f14d5378e1e29" />
- <project path="external/selinux" name="platform/external/selinux" revision="5a0344eaeccb6bc9ac443e00e9997a09d84327bc" />
+ <project path="external/selinux" name="platform/external/selinux" revision="72806f3933d0919a12080fe85445335efe0ecbdf" />
- <project path="external/sqlite" name="platform/external/sqlite" revision="882e0102af008746c936b68eae0c82b71b143302" />
+ <project path="external/sqlite" name="platform/external/sqlite" revision="e1c3bb6d49873c83f202bcd763611792efb14958" />
- <project path="external/squashfs-tools" name="platform/external/squashfs-tools" revision="3d40626c0702575903f1fe8eb0fd4b1e9f15a8d3" />
+ <project path="external/squashfs-tools" name="platform/external/squashfs-tools" revision="a3a652d3d73bb8b135c4c9d9e33541f130f984a3" />
- <project path="external/starlark-go" name="platform/external/starlark-go" revision="3f012eaf4c5218a4547ed55682358369aadae0be" />
+ <project path="external/starlark-go" name="platform/external/starlark-go" revision="312f9e324bdf0bde540b9a64d05ce0db85180478" />
- <project path="external/stg" name="platform/external/stg" revision="a4a879a11485dfd4bf6c1cc41b204c235570dff1" />
+ <project path="external/stg" name="platform/external/stg" revision="e3ef572e9f8112ce0a8995c60fcd8669e50ad250" />
<project path="external/swig" name="platform/external/swig" revision="0ffab894f917fcbbd031eaab870fbabaefe5daaa" />
- <project path="external/zlib" name="platform/external/zlib" revision="d77d8fb9d2816c12ea734a191852b5f103ea4da1" />
+ <project path="external/zlib" name="platform/external/zlib" revision="65ebc43f8f56f15cc8d72593c9c0cbec4ea422d9" />
- <project path="prebuilts/clang-tools" name="platform/prebuilts/clang-tools" clone-depth="1" revision="91f4dc745f5ac520ba307d41dcccfcf1da87c8e1" />
+ <project path="prebuilts/clang-tools" name="platform/prebuilts/clang-tools" clone-depth="1" revision="84c009016732cb57fd5c1343285c438b6e2c8002" />
- <project path="system/core" name="platform/system/core" revision="aceda4728bf9d3dc45040eff9b3ae6194796b36a" />
+ <project path="system/core" name="platform/system/core" revision="9ed4eb61a6c774f60afa9d8a43222ed002723593" />
- <project path="system/logging" name="platform/system/logging" revision="af94d9bafd240a7af47ee44b7b019e650c6ba6a8" />
+ <project path="system/logging" name="platform/system/logging" revision="864bf3947f3b876d987e066bdf5b926d4e9ad876" />
- <project path="system/extras" name="platform/system/extras" revision="30db4a5be2d2dd8a6cfd016b0048edd048849679" />
+ <project path="system/extras" name="platform/system/extras" revision="4f8ae9fda2c831e71ccb27ded4814f232bca30c6" />
- <project path="system/libbase" name="platform/system/libbase" revision="7bc8db18d96e9c76d72aefe16826981fbf44fba4" />
+ <project path="system/libbase" name="platform/system/libbase" revision="f96a42544b63f4826d123da79c84e62be46d66bb" />
- <project path="system/security" name="platform/system/security" revision="e2c4f0fcf4fd5cc2949046fc8f631e4d25003fd0" />
+ <project path="system/security" name="platform/system/security" revision="2a9415ba00a4cf6cd0cf7582a852e272246b1f11" />
- <project path="system/tools/aidl" name="platform/system/tools/aidl" revision="15292f507bcfb9237491957ab4db860a7e6884a3" />
+ <project path="system/tools/aidl" name="platform/system/tools/aidl" revision="ad3a325ce117eb2f2e68bb575cecb9c71e532115" />
- <project path="external/avb" name="platform/external/avb" revision="3bf82695855b87a81989a1c0e36ccf55bf5dbc60" />
+ <project path="external/avb" name="platform/external/avb" revision="f397cc424651f11d666f89e47b6687eeb2733a3f" />
- <project path="external/dtc" name="platform/external/dtc" revision="85189c3a6a0e7b536d9d113877a4c135a663e706" />
+ <project path="external/dtc" name="platform/external/dtc" revision="007e485e205e2d14b2ef1657021a37e95ee3a3d6" />
- <project path="external/lz4" name="platform/external/lz4" revision="7149a57b6c12f0f5328352b0fe02275f9aea58cc" />
+ <project path="external/lz4" name="platform/external/lz4" revision="d401c43615652dfe0df4ac58f8b95dfe9755dd25" />
- <project path="external/kmod" name="platform/external/kmod" revision="1a0c7d1b8bf8a3378e4a35c49b700a55e3f4d43b" />
+ <project path="external/kmod" name="platform/external/kmod" revision="d9c006ff3cd9bd3b7e17713f4f49852060cb9cdc" />
- <project path="system/tools/mkbootimg" name="platform/system/tools/mkbootimg" revision="3886f4a68b9802bc4e13a75b82c756981dc924e2" />
+ <project path="system/tools/mkbootimg" name="platform/system/tools/mkbootimg" revision="2680066d0844544b3e78d6022cd21321d31837c3" />
- <project path="tools/libufdt" name="platform/system/libufdt" revision="f20ea93ecad75ca2abda5339ad67dc56285f941d" />
+ <project path="tools/libufdt" name="platform/system/libufdt" revision="f8d3af72aab9ab4f1278ba6ffc0688dea746ae65" />
<project path="tools/interceptor" name="kernel/tools/interceptor" revision="e8cfa98602acef64c756e6c77d1de5455843d855" />
</manifest>