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 to v0.24.0, aligns w/ AWS-LC v1.41.1 #627

Merged
merged 37 commits into from
Dec 11, 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
d40432e
Update aws-lc-sys to v0.24.0
justsmth Dec 10, 2024
5ab1740
Symbols from ubuntu-latest
Dec 11, 2024
780f7c8
Symbols from macos-14-xlarge
Dec 11, 2024
fe64777
Symbols from x86_64-pc-windows-gnu
Dec 11, 2024
15a2d4b
Symbols from macos-13
Dec 11, 2024
2248a37
Symbols from i686-pc-windows-msvc
Dec 11, 2024
96e67ee
Symbols for powerpc-unknown-linux-gnu
Dec 11, 2024
e37e7a8
Symbols for arm-unknown-linux-gnueabi
Dec 11, 2024
90eaa93
Symbols for aarch64-unknown-linux-gnu
Dec 11, 2024
1c18db8
Symbols for aarch64-unknown-linux-musl
Dec 11, 2024
2c85e51
Symbols for armv7-unknown-linux-gnueabihf
Dec 11, 2024
8387f82
Symbols for x86_64-unknown-linux-musl
Dec 11, 2024
c79ae45
Symbols from x86_64-pc-windows-msvc
Dec 11, 2024
6afcc54
Symbols for powerpc64le-unknown-linux-gnu
Dec 11, 2024
26394e5
Symbols for i686-unknown-linux-gnu
Dec 11, 2024
4838cca
Symbols from aarch64-pc-windows-msvc
Dec 11, 2024
e194da7
Generated headers
Dec 11, 2024
079ab57
Generated bindings from macos-14-xlarge
Dec 11, 2024
12d7319
Generated bindings from ubuntu-latest
Dec 11, 2024
119bb73
Generated bindings for i686-unknown-linux-gnu
Dec 11, 2024
375c80b
Generated bindings for aarch64-unknown-linux-gnu
Dec 11, 2024
15764bb
Generated bindings for aarch64-pc-windows-msvc
Dec 11, 2024
294767b
Generated bindings from macos-13
Dec 11, 2024
7a12928
Generated bindings for x86_64-pc-windows-msvc
Dec 11, 2024
fbdf992
Generated bindings for i686-pc-windows-msvc
Dec 11, 2024
4fab8e1
Generated bindings for x86_64-unknown-linux-musl
Dec 11, 2024
64feee5
Generated bindings for aarch64-unknown-linux-musl
Dec 11, 2024
530ebdb
Generated bindings for x86_64-pc-windows-gnu
Dec 11, 2024
31e6c56
Collected source files from ubuntu-latest
Dec 11, 2024
f1e998d
Collected source files from macos-14-xlarge
Dec 11, 2024
d4f278c
Collected source files from macos-13
Dec 11, 2024
49ce10a
Collected source files for x86_64-unknown-linux-musl
Dec 11, 2024
8ed0396
Collected source files for i686-unknown-linux-gnu
Dec 11, 2024
d3efa9c
Collected source files for aarch64-unknown-linux-gnu
Dec 11, 2024
0e406fe
Collected source files for aarch64-unknown-linux-musl
Dec 11, 2024
209e4f7
Collected NASM files
Dec 11, 2024
ef52f9f
Fix MSRV
justsmth Dec 11, 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
5 changes: 5 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ jobs:
with:
toolchain: 1.63.0 # TODO: dynamically identify MSRV

- name: Update dependencies
run: |
cargo +1.63.0 update
cargo +1.63.0 tree

- name: Verify msrv
working-directory: ./aws-lc-rs
run: cargo +1.63.0 check --features bindgen
2 changes: 1 addition & 1 deletion aws-lc-rs-testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "aws-lc-rs-testing"
authors = ["AWS-LibCrypto"]
version = "0.1.0"
edition = "2021"
rust-version = "1.60"
rust-version = "1.63"
publish = false

[features]
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.23.0", path = "../aws-lc-sys", optional = true }
aws-lc-sys = { version = "0.24.0", path = "../aws-lc-sys", optional = true }
aws-lc-fips-sys = { version = "0.13.0", path = "../aws-lc-fips-sys", optional = true }
zeroize = "1.7"
paste = "1.0.11"
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.23.1"
links = "aws_lc_0_23_1"
version = "0.24.0"
links = "aws_lc_0_24_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 = "745359e8569fdafa8897ac2fffdfd0fdcf620563"
commit-hash = "1be42a3e16a53c229690ae8215f0de8e2a1a54e7"
2 changes: 1 addition & 1 deletion aws-lc-sys/aws-lc
Submodule aws-lc updated 2423 files
7 changes: 5 additions & 2 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
// Fri Nov 22 14:18:21 UTC 2024
// Wed Dec 11 13:46:53 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -155,7 +155,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/poly1305/poly1305.c",
"crypto/pool/pool.c",
"crypto/rand_extra/forkunsafe.c",
"crypto/rand_extra/pq_custom_randombytes.c",
"crypto/rand_extra/rand_extra.c",
"crypto/rc4/rc4.c",
"crypto/refcount_c11.c",
Expand Down Expand Up @@ -305,6 +304,8 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/arm/p384/bignum_nonzero_6.S",
"third_party/s2n-bignum/arm/p384/bignum_sub_p384.S",
"third_party/s2n-bignum/arm/p384/bignum_tomont_p384.S",
"third_party/s2n-bignum/arm/p384/p384_montjdouble.S",
"third_party/s2n-bignum/arm/p384/p384_montjdouble_alt.S",
"third_party/s2n-bignum/arm/p521/bignum_add_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_fromlebytes_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_mul_p521.S",
Expand All @@ -314,5 +315,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/arm/p521/bignum_sqr_p521_alt.S",
"third_party/s2n-bignum/arm/p521/bignum_sub_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_tolebytes_p521.S",
"third_party/s2n-bignum/arm/p521/p521_jdouble.S",
"third_party/s2n-bignum/arm/p521/p521_jdouble_alt.S",
],
};
7 changes: 5 additions & 2 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
// Fri Nov 22 14:23:45 UTC 2024
// Wed Dec 11 13:50:30 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -161,7 +161,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rand_extra/entropy_passive.c",
"crypto/rand_extra/forkunsafe.c",
"crypto/rand_extra/fuchsia.c",
"crypto/rand_extra/pq_custom_randombytes.c",
"crypto/rand_extra/rand_extra.c",
"crypto/rand_extra/trusty.c",
"crypto/rand_extra/windows.c",
Expand Down Expand Up @@ -316,6 +315,8 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/arm/p384/bignum_nonzero_6.S",
"third_party/s2n-bignum/arm/p384/bignum_sub_p384.S",
"third_party/s2n-bignum/arm/p384/bignum_tomont_p384.S",
"third_party/s2n-bignum/arm/p384/p384_montjdouble.S",
"third_party/s2n-bignum/arm/p384/p384_montjdouble_alt.S",
"third_party/s2n-bignum/arm/p521/bignum_add_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_fromlebytes_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_mul_p521.S",
Expand All @@ -325,5 +326,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/arm/p521/bignum_sqr_p521_alt.S",
"third_party/s2n-bignum/arm/p521/bignum_sub_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_tolebytes_p521.S",
"third_party/s2n-bignum/arm/p521/p521_jdouble.S",
"third_party/s2n-bignum/arm/p521/p521_jdouble_alt.S",
],
};
7 changes: 5 additions & 2 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
// Fri Nov 22 14:24:06 UTC 2024
// Wed Dec 11 13:51:11 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -161,7 +161,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rand_extra/entropy_passive.c",
"crypto/rand_extra/forkunsafe.c",
"crypto/rand_extra/fuchsia.c",
"crypto/rand_extra/pq_custom_randombytes.c",
"crypto/rand_extra/rand_extra.c",
"crypto/rand_extra/trusty.c",
"crypto/rand_extra/windows.c",
Expand Down Expand Up @@ -316,6 +315,8 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/arm/p384/bignum_nonzero_6.S",
"third_party/s2n-bignum/arm/p384/bignum_sub_p384.S",
"third_party/s2n-bignum/arm/p384/bignum_tomont_p384.S",
"third_party/s2n-bignum/arm/p384/p384_montjdouble.S",
"third_party/s2n-bignum/arm/p384/p384_montjdouble_alt.S",
"third_party/s2n-bignum/arm/p521/bignum_add_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_fromlebytes_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_mul_p521.S",
Expand All @@ -325,5 +326,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/arm/p521/bignum_sqr_p521_alt.S",
"third_party/s2n-bignum/arm/p521/bignum_sub_p521.S",
"third_party/s2n-bignum/arm/p521/bignum_tolebytes_p521.S",
"third_party/s2n-bignum/arm/p521/p521_jdouble.S",
"third_party/s2n-bignum/arm/p521/p521_jdouble_alt.S",
],
};
3 changes: 1 addition & 2 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
// Fri Nov 22 14:24:39 UTC 2024
// Wed Dec 11 13:51:29 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -161,7 +161,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rand_extra/entropy_passive.c",
"crypto/rand_extra/forkunsafe.c",
"crypto/rand_extra/fuchsia.c",
"crypto/rand_extra/pq_custom_randombytes.c",
"crypto/rand_extra/rand_extra.c",
"crypto/rand_extra/trusty.c",
"crypto/rand_extra/windows.c",
Expand Down
7 changes: 5 additions & 2 deletions aws-lc-sys/builder/cc_builder/x86_64_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
// Fri Nov 22 14:19:24 UTC 2024
// Wed Dec 11 13:48:18 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -155,7 +155,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/poly1305/poly1305_vec.c",
"crypto/pool/pool.c",
"crypto/rand_extra/forkunsafe.c",
"crypto/rand_extra/pq_custom_randombytes.c",
"crypto/rand_extra/rand_extra.c",
"crypto/rc4/rc4.c",
"crypto/refcount_c11.c",
Expand Down Expand Up @@ -297,6 +296,8 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/x86_att/p384/bignum_sub_p384.S",
"third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384.S",
"third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384_alt.S",
"third_party/s2n-bignum/x86_att/p384/p384_montjdouble.S",
"third_party/s2n-bignum/x86_att/p384/p384_montjdouble_alt.S",
"third_party/s2n-bignum/x86_att/p521/bignum_add_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_fromlebytes_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_mul_p521.S",
Expand All @@ -306,5 +307,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/x86_att/p521/bignum_sqr_p521_alt.S",
"third_party/s2n-bignum/x86_att/p521/bignum_sub_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_tolebytes_p521.S",
"third_party/s2n-bignum/x86_att/p521/p521_jdouble.S",
"third_party/s2n-bignum/x86_att/p521/p521_jdouble_alt.S",
],
};
7 changes: 5 additions & 2 deletions aws-lc-sys/builder/cc_builder/x86_64_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
// Fri Nov 22 14:17:54 UTC 2024
// Wed Dec 11 13:46:27 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -162,7 +162,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rand_extra/entropy_passive.c",
"crypto/rand_extra/forkunsafe.c",
"crypto/rand_extra/fuchsia.c",
"crypto/rand_extra/pq_custom_randombytes.c",
"crypto/rand_extra/rand_extra.c",
"crypto/rand_extra/trusty.c",
"crypto/rand_extra/windows.c",
Expand Down Expand Up @@ -309,6 +308,8 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/x86_att/p384/bignum_sub_p384.S",
"third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384.S",
"third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384_alt.S",
"third_party/s2n-bignum/x86_att/p384/p384_montjdouble.S",
"third_party/s2n-bignum/x86_att/p384/p384_montjdouble_alt.S",
"third_party/s2n-bignum/x86_att/p521/bignum_add_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_fromlebytes_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_mul_p521.S",
Expand All @@ -318,5 +319,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/x86_att/p521/bignum_sqr_p521_alt.S",
"third_party/s2n-bignum/x86_att/p521/bignum_sub_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_tolebytes_p521.S",
"third_party/s2n-bignum/x86_att/p521/p521_jdouble.S",
"third_party/s2n-bignum/x86_att/p521/p521_jdouble_alt.S",
],
};
7 changes: 5 additions & 2 deletions aws-lc-sys/builder/cc_builder/x86_64_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
// Fri Nov 22 14:24:22 UTC 2024
// Wed Dec 11 13:50:49 UTC 2024

use crate::cc_builder::Library;

Expand Down Expand Up @@ -162,7 +162,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/rand_extra/entropy_passive.c",
"crypto/rand_extra/forkunsafe.c",
"crypto/rand_extra/fuchsia.c",
"crypto/rand_extra/pq_custom_randombytes.c",
"crypto/rand_extra/rand_extra.c",
"crypto/rand_extra/trusty.c",
"crypto/rand_extra/windows.c",
Expand Down Expand Up @@ -309,6 +308,8 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/x86_att/p384/bignum_sub_p384.S",
"third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384.S",
"third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384_alt.S",
"third_party/s2n-bignum/x86_att/p384/p384_montjdouble.S",
"third_party/s2n-bignum/x86_att/p384/p384_montjdouble_alt.S",
"third_party/s2n-bignum/x86_att/p521/bignum_add_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_fromlebytes_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_mul_p521.S",
Expand All @@ -318,5 +319,7 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"third_party/s2n-bignum/x86_att/p521/bignum_sqr_p521_alt.S",
"third_party/s2n-bignum/x86_att/p521/bignum_sub_p521.S",
"third_party/s2n-bignum/x86_att/p521/bignum_tolebytes_p521.S",
"third_party/s2n-bignum/x86_att/p521/p521_jdouble.S",
"third_party/s2n-bignum/x86_att/p521/p521_jdouble_alt.S",
],
};
Loading
Loading