Skip to content

Commit

Permalink
Update aws-lc-sys v0.22.0, aligns w/ AWS-LC v1.36.0 (#543)
Browse files Browse the repository at this point in the history
* aws-lc-sys v0.22.0 aligns w/ AWS-LC v1.36.0

* Update git in CI for old GCC

* Symbols from ubuntu-latest

* Symbols from macos-14-xlarge

* Symbols from macos-13

* Symbols for aarch64-unknown-linux-musl

* Symbols for powerpc64le-unknown-linux-gnu

* Symbols for arm-unknown-linux-gnueabi

* Symbols for aarch64-unknown-linux-gnu

* Symbols for x86_64-unknown-linux-musl

* Symbols for powerpc-unknown-linux-gnu

* Symbols for armv7-unknown-linux-gnueabihf

* Symbols for i686-unknown-linux-gnu

* Symbols from  i686-pc-windows-msvc

* Symbols from  aarch64-pc-windows-msvc

* Symbols from  x86_64-pc-windows-msvc

* Symbols from  x86_64-pc-windows-gnu

* Generated headers

* Generated bindings from ubuntu-latest

* Generated bindings from macos-14-xlarge

* Generated bindings from macos-13

* Generated bindings for i686-unknown-linux-gnu

* Generated bindings for aarch64-unknown-linux-gnu

* Generated bindings for x86_64-pc-windows-msvc

* Generated bindings for x86_64-unknown-linux-musl

* Generated bindings for x86_64-pc-windows-gnu

* Generated bindings for aarch64-unknown-linux-musl

* Generated bindings for i686-pc-windows-msvc

* Collected source files from ubuntu-latest

* Collected source files from macos-14-xlarge

* Generated bindings for aarch64-pc-windows-msvc

* Collected source files from macos-13

* Collected source files for x86_64-unknown-linux-musl

* Collected source files for i686-unknown-linux-gnu

* Collected source files for aarch64-unknown-linux-musl

* Collected source files for aarch64-unknown-linux-gnu

* Collected NASM files

---------

Co-authored-by: aws-lc-sys-bindings-generator <aws-lc-github-bot@amazon.com>
  • Loading branch information
justsmth and aws-lc-sys-bindings-generator authored Oct 1, 2024
1 parent 9f8f822 commit a537ded
Show file tree
Hide file tree
Showing 92 changed files with 45,425 additions and 37,597 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ jobs:
steps:
- run: |
apt-get update
apt-get install -y build-essential git cmake curl sudo
apt-get install -y ca-certificates
apt-get install -y cmake curl sudo
apt-get install -y --no-install-recommends gpg-agent software-properties-common
apt-add-repository --yes ppa:git-core/ppa
apt-get update
apt-get install -y build-essential git
curl -L -O -J /~https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/powershell_7.2.23-1.deb_amd64.deb
dpkg -i powershell_7.2.23-1.deb_amd64.deb
apt-get install -f
Expand All @@ -79,7 +84,7 @@ jobs:
git config --global --add safe.directory '*'
git clone --recursive ${{ github.server_url }}/${{ github.repository }}.git .
git fetch origin ${{ github.sha }}
git checkout -b ci-job ${{ github.sha }}
git checkout --recurse-submodules -b ci-job ${{ github.sha }}
- uses: dtolnay/rust-toolchain@master
id: toolchain
with:
Expand Down
2 changes: 1 addition & 1 deletion aws-lc-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fips = ["dep:aws-lc-fips-sys"]

[dependencies]
untrusted = { version = "0.7.1", optional = true }
aws-lc-sys = { version = "0.21.0", path = "../aws-lc-sys", optional = true }
aws-lc-sys = { version = "0.22.0", path = "../aws-lc-sys", optional = true }
aws-lc-fips-sys = { version = "0.12.0", path = "../aws-lc-fips-sys", optional = true }
zeroize = "1.7"
mirai-annotations = "1.12.0"
Expand Down
6 changes: 3 additions & 3 deletions aws-lc-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "aws-lc-sys"
description = "AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. It іs based on code from the Google BoringSSL project and the OpenSSL project."
version = "0.21.2"
links = "aws_lc_0_21_2"
version = "0.22.0"
links = "aws_lc_0_22_0"
authors = ["AWS-LC"]
edition = "2021"
repository = "/~https://github.com/aws/aws-lc-rs"
Expand Down Expand Up @@ -70,4 +70,4 @@ libc = "0.2.121"
paste = "1.0.11"

[package.metadata.aws-lc-sys]
commit-hash = "2f1879759b2e0fc70592665bdf10087b64f44b7d"
commit-hash = "36e0307917fbc0e001811def88bee384bc51d7ad"
2 changes: 1 addition & 1 deletion aws-lc-sys/aws-lc
Submodule aws-lc updated 356 files
18 changes: 5 additions & 13 deletions aws-lc-sys/builder/cc_builder/aarch64_apple_darwin.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC
// Wed Sep 18 20:36:25 UTC 2024
// Mon Sep 30 23:31:27 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,10 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519/curve25519.c",
"crypto/curve25519/curve25519_nohw.c",
"crypto/curve25519/curve25519_s2n_bignum_asm.c",
"crypto/curve25519/spake25519.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand All @@ -103,12 +99,12 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/engine/engine.c",
"crypto/err/err.c",
"crypto/evp_extra/evp_asn1.c",
"crypto/evp_extra/p_dh.c",
"crypto/evp_extra/p_dh_asn1.c",
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
"crypto/evp_extra/p_rsa_asn1.c",
Expand All @@ -122,19 +118,13 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/fipsmodule/cpucap/cpucap.c",
"crypto/hpke/hpke.c",
"crypto/hrss/hrss.c",
"crypto/kem/kem.c",
"crypto/kem/kem_methods.c",
"crypto/kyber/kem_kyber.c",
"crypto/kyber/kyber1024r3_ref.c",
"crypto/kyber/kyber512r3_ref.c",
"crypto/kyber/kyber768r3_ref.c",
"crypto/kyber/pqcrystals_kyber_ref_common/fips202.c",
"crypto/lhash/lhash.c",
"crypto/mem.c",
"crypto/ml_kem/ml_kem.c",
"crypto/ml_kem/ml_kem_1024_ipd.c",
"crypto/ml_kem/ml_kem_512_ipd.c",
"crypto/ml_kem/ml_kem_768_ipd.c",
"crypto/obj/obj.c",
"crypto/obj/obj_xref.c",
"crypto/ocsp/ocsp_asn.c",
Expand All @@ -154,6 +144,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/pem/pem_x509.c",
"crypto/pem/pem_xaux.c",
"crypto/pkcs7/pkcs7.c",
"crypto/pkcs7/pkcs7_asn1.c",
"crypto/pkcs7/pkcs7_x509.c",
"crypto/pkcs8/p5_pbev2.c",
"crypto/pkcs8/pkcs8.c",
Expand All @@ -171,6 +162,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rsa_extra/rsa_print.c",
"crypto/rsa_extra/rsassa_pss_asn1.c",
"crypto/siphash/siphash.c",
"crypto/spake25519/spake25519.c",
"crypto/stack/stack.c",
"crypto/thread.c",
"crypto/thread_pthread.c",
Expand Down
18 changes: 5 additions & 13 deletions aws-lc-sys/builder/cc_builder/aarch64_unknown_linux_gnu.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC
// Wed Sep 18 20:45:13 UTC 2024
// Mon Sep 30 23:37:53 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,10 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519/curve25519.c",
"crypto/curve25519/curve25519_nohw.c",
"crypto/curve25519/curve25519_s2n_bignum_asm.c",
"crypto/curve25519/spake25519.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand All @@ -103,12 +99,12 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/engine/engine.c",
"crypto/err/err.c",
"crypto/evp_extra/evp_asn1.c",
"crypto/evp_extra/p_dh.c",
"crypto/evp_extra/p_dh_asn1.c",
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
"crypto/evp_extra/p_rsa_asn1.c",
Expand All @@ -123,19 +119,13 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/fipsmodule/fips_shared_support.c",
"crypto/hpke/hpke.c",
"crypto/hrss/hrss.c",
"crypto/kem/kem.c",
"crypto/kem/kem_methods.c",
"crypto/kyber/kem_kyber.c",
"crypto/kyber/kyber1024r3_ref.c",
"crypto/kyber/kyber512r3_ref.c",
"crypto/kyber/kyber768r3_ref.c",
"crypto/kyber/pqcrystals_kyber_ref_common/fips202.c",
"crypto/lhash/lhash.c",
"crypto/mem.c",
"crypto/ml_kem/ml_kem.c",
"crypto/ml_kem/ml_kem_1024_ipd.c",
"crypto/ml_kem/ml_kem_512_ipd.c",
"crypto/ml_kem/ml_kem_768_ipd.c",
"crypto/obj/obj.c",
"crypto/obj/obj_xref.c",
"crypto/ocsp/ocsp_asn.c",
Expand All @@ -155,6 +145,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/pem/pem_x509.c",
"crypto/pem/pem_xaux.c",
"crypto/pkcs7/pkcs7.c",
"crypto/pkcs7/pkcs7_asn1.c",
"crypto/pkcs7/pkcs7_x509.c",
"crypto/pkcs8/p5_pbev2.c",
"crypto/pkcs8/pkcs8.c",
Expand All @@ -180,6 +171,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rsa_extra/rsa_print.c",
"crypto/rsa_extra/rsassa_pss_asn1.c",
"crypto/siphash/siphash.c",
"crypto/spake25519/spake25519.c",
"crypto/stack/stack.c",
"crypto/thread.c",
"crypto/thread_none.c",
Expand Down
18 changes: 5 additions & 13 deletions aws-lc-sys/builder/cc_builder/aarch64_unknown_linux_musl.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC
// Wed Sep 18 20:45:44 UTC 2024
// Mon Sep 30 23:35:45 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,10 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519/curve25519.c",
"crypto/curve25519/curve25519_nohw.c",
"crypto/curve25519/curve25519_s2n_bignum_asm.c",
"crypto/curve25519/spake25519.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand All @@ -103,12 +99,12 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/engine/engine.c",
"crypto/err/err.c",
"crypto/evp_extra/evp_asn1.c",
"crypto/evp_extra/p_dh.c",
"crypto/evp_extra/p_dh_asn1.c",
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
"crypto/evp_extra/p_rsa_asn1.c",
Expand All @@ -123,19 +119,13 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/fipsmodule/fips_shared_support.c",
"crypto/hpke/hpke.c",
"crypto/hrss/hrss.c",
"crypto/kem/kem.c",
"crypto/kem/kem_methods.c",
"crypto/kyber/kem_kyber.c",
"crypto/kyber/kyber1024r3_ref.c",
"crypto/kyber/kyber512r3_ref.c",
"crypto/kyber/kyber768r3_ref.c",
"crypto/kyber/pqcrystals_kyber_ref_common/fips202.c",
"crypto/lhash/lhash.c",
"crypto/mem.c",
"crypto/ml_kem/ml_kem.c",
"crypto/ml_kem/ml_kem_1024_ipd.c",
"crypto/ml_kem/ml_kem_512_ipd.c",
"crypto/ml_kem/ml_kem_768_ipd.c",
"crypto/obj/obj.c",
"crypto/obj/obj_xref.c",
"crypto/ocsp/ocsp_asn.c",
Expand All @@ -155,6 +145,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/pem/pem_x509.c",
"crypto/pem/pem_xaux.c",
"crypto/pkcs7/pkcs7.c",
"crypto/pkcs7/pkcs7_asn1.c",
"crypto/pkcs7/pkcs7_x509.c",
"crypto/pkcs8/p5_pbev2.c",
"crypto/pkcs8/pkcs8.c",
Expand All @@ -180,6 +171,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rsa_extra/rsa_print.c",
"crypto/rsa_extra/rsassa_pss_asn1.c",
"crypto/siphash/siphash.c",
"crypto/spake25519/spake25519.c",
"crypto/stack/stack.c",
"crypto/thread.c",
"crypto/thread_none.c",
Expand Down
18 changes: 5 additions & 13 deletions aws-lc-sys/builder/cc_builder/i686_unknown_linux_gnu.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC
// Wed Sep 18 20:44:08 UTC 2024
// Mon Sep 30 23:35:50 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,10 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519/curve25519.c",
"crypto/curve25519/curve25519_nohw.c",
"crypto/curve25519/curve25519_s2n_bignum_asm.c",
"crypto/curve25519/spake25519.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand All @@ -103,12 +99,12 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/engine/engine.c",
"crypto/err/err.c",
"crypto/evp_extra/evp_asn1.c",
"crypto/evp_extra/p_dh.c",
"crypto/evp_extra/p_dh_asn1.c",
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
"crypto/evp_extra/p_rsa_asn1.c",
Expand All @@ -123,19 +119,13 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/fipsmodule/fips_shared_support.c",
"crypto/hpke/hpke.c",
"crypto/hrss/hrss.c",
"crypto/kem/kem.c",
"crypto/kem/kem_methods.c",
"crypto/kyber/kem_kyber.c",
"crypto/kyber/kyber1024r3_ref.c",
"crypto/kyber/kyber512r3_ref.c",
"crypto/kyber/kyber768r3_ref.c",
"crypto/kyber/pqcrystals_kyber_ref_common/fips202.c",
"crypto/lhash/lhash.c",
"crypto/mem.c",
"crypto/ml_kem/ml_kem.c",
"crypto/ml_kem/ml_kem_1024_ipd.c",
"crypto/ml_kem/ml_kem_512_ipd.c",
"crypto/ml_kem/ml_kem_768_ipd.c",
"crypto/obj/obj.c",
"crypto/obj/obj_xref.c",
"crypto/ocsp/ocsp_asn.c",
Expand All @@ -155,6 +145,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/pem/pem_x509.c",
"crypto/pem/pem_xaux.c",
"crypto/pkcs7/pkcs7.c",
"crypto/pkcs7/pkcs7_asn1.c",
"crypto/pkcs7/pkcs7_x509.c",
"crypto/pkcs8/p5_pbev2.c",
"crypto/pkcs8/pkcs8.c",
Expand All @@ -180,6 +171,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rsa_extra/rsa_print.c",
"crypto/rsa_extra/rsassa_pss_asn1.c",
"crypto/siphash/siphash.c",
"crypto/spake25519/spake25519.c",
"crypto/stack/stack.c",
"crypto/thread.c",
"crypto/thread_none.c",
Expand Down
Loading

0 comments on commit a537ded

Please sign in to comment.