Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aws-lc-sys v0.22.0, aligns w/ AWS-LC v1.36.0 #543

Merged
merged 37 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
10ef654
aws-lc-sys v0.22.0 aligns w/ AWS-LC v1.36.0
justsmth Sep 27, 2024
1939068
Update git in CI for old GCC
justsmth Sep 30, 2024
ff96c3f
Symbols from ubuntu-latest
Sep 30, 2024
8abc906
Symbols from macos-14-xlarge
Sep 30, 2024
f31dd46
Symbols from macos-13
Sep 30, 2024
f2f067d
Symbols for aarch64-unknown-linux-musl
Sep 30, 2024
ac09376
Symbols for powerpc64le-unknown-linux-gnu
Sep 30, 2024
5899835
Symbols for arm-unknown-linux-gnueabi
Sep 30, 2024
0571af6
Symbols for aarch64-unknown-linux-gnu
Sep 30, 2024
621ed7d
Symbols for x86_64-unknown-linux-musl
Sep 30, 2024
a026b67
Symbols for powerpc-unknown-linux-gnu
Sep 30, 2024
b1e8913
Symbols for armv7-unknown-linux-gnueabihf
Sep 30, 2024
f3ea620
Symbols for i686-unknown-linux-gnu
Sep 30, 2024
4f704f1
Symbols from i686-pc-windows-msvc
Sep 30, 2024
0689185
Symbols from aarch64-pc-windows-msvc
Sep 30, 2024
9f1864c
Symbols from x86_64-pc-windows-msvc
Sep 30, 2024
7ee21e8
Symbols from x86_64-pc-windows-gnu
Sep 30, 2024
3e7fad0
Generated headers
Sep 30, 2024
2314841
Generated bindings from ubuntu-latest
Sep 30, 2024
23c4913
Generated bindings from macos-14-xlarge
Sep 30, 2024
0ef43c5
Generated bindings from macos-13
Sep 30, 2024
394487c
Generated bindings for i686-unknown-linux-gnu
Sep 30, 2024
2a34dad
Generated bindings for aarch64-unknown-linux-gnu
Sep 30, 2024
af7ebc8
Generated bindings for x86_64-pc-windows-msvc
Sep 30, 2024
1854b5a
Generated bindings for x86_64-unknown-linux-musl
Sep 30, 2024
5095dd4
Generated bindings for x86_64-pc-windows-gnu
Sep 30, 2024
914d188
Generated bindings for aarch64-unknown-linux-musl
Sep 30, 2024
99ca53b
Generated bindings for i686-pc-windows-msvc
Sep 30, 2024
d91f2a2
Collected source files from ubuntu-latest
Sep 30, 2024
c111429
Collected source files from macos-14-xlarge
Sep 30, 2024
103d69f
Generated bindings for aarch64-pc-windows-msvc
Sep 30, 2024
f60e930
Collected source files from macos-13
Sep 30, 2024
0e48a27
Collected source files for x86_64-unknown-linux-musl
Sep 30, 2024
f44a9dd
Collected source files for i686-unknown-linux-gnu
Sep 30, 2024
213597c
Collected source files for aarch64-unknown-linux-musl
Sep 30, 2024
ab845b6
Collected source files for aarch64-unknown-linux-gnu
Sep 30, 2024
e5626d9
Collected NASM files
Sep 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading