Skip to content

Commit

Permalink
Align aws-lc-sys v0.27.0 w/ AWS-LC v1.48.1 (#720)
Browse files Browse the repository at this point in the history
* Align aws-lc-sys v0.27.0 w/ AWS-LC v1.48.1

* Pre-gen bindings for riscv64gc-unknown-linux-gnu

* Symbols from macos-14-xlarge

* Symbols from ubuntu-latest

* Symbols from macos-13

* Symbols from  x86_64-pc-windows-msvc

* Symbols for armv7-unknown-linux-gnueabihf

* Symbols for powerpc64le-unknown-linux-gnu

* Symbols for powerpc-unknown-linux-gnu

* Symbols from  i686-pc-windows-msvc

* Symbols for aarch64-unknown-linux-gnu

* Symbols for x86_64-unknown-linux-musl

* Symbols for i686-unknown-linux-gnu

* Symbols from  x86_64-pc-windows-gnu

* Symbols for aarch64-unknown-linux-musl

* Symbols for arm-unknown-linux-gnueabi

* Symbols from  aarch64-pc-windows-msvc

* Generated headers

* Generated bindings from ubuntu-latest

* Generated bindings from macos-14-xlarge

* Generated bindings for x86_64-pc-windows-msvc

* Generated bindings for x86_64-pc-windows-gnu

* Generated bindings for x86_64-unknown-linux-musl

* Generated bindings for aarch64-unknown-linux-musl

* Generated bindings for i686-unknown-linux-gnu

* Generated bindings from macos-13

* Generated bindings for aarch64-pc-windows-msvc

* Generated bindings for aarch64-linux-android

* Generated bindings for i686-pc-windows-msvc

* Generated bindings for riscv64gc-unknown-linux-gnu

* Generated bindings for aarch64-unknown-linux-gnu

* Collected source files from macos-14-xlarge

* Collected source files from ubuntu-latest

* 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 Mar 7, 2025
1 parent dc07058 commit 337a85d
Show file tree
Hide file tree
Showing 97 changed files with 63,237 additions and 33,622 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- [ powerpc-unknown-linux-gnu, 1, 0 ]
- [ powerpc64-unknown-linux-gnu, 1, 0 ]
- [ powerpc64le-unknown-linux-gnu, 1, 0 ]
- [ riscv64gc-unknown-linux-gnu, 0, 0 ]
- [ riscv64gc-unknown-linux-gnu, 0, 1 ]
- [ s390x-unknown-linux-gnu, 0, 1 ]
- [ x86_64-pc-windows-gnu, 0, 1 ]
- [ x86_64-unknown-linux-musl, 0, 1 ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sys-bindings-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,9 @@ jobs:
target:
- "aarch64-linux-android"
- "aarch64-unknown-linux-gnu"
- "i686-unknown-linux-gnu"
- "aarch64-unknown-linux-musl"
- "i686-unknown-linux-gnu"
- "riscv64gc-unknown-linux-gnu"
- "x86_64-unknown-linux-musl"
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions aws-lc-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "aws-lc-rs"
authors = ["AWS-LibCrypto"]
version = "1.12.5"
version = "1.12.6"
# this crate re-exports whatever sys crate that was selected
links = "aws_lc_rs_1_12_5_sys"
links = "aws_lc_rs_1_12_6_sys"
edition = "2021"
rust-version = "1.63.0"
keywords = ["crypto", "cryptography", "security"]
Expand Down 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.26.0", path = "../aws-lc-sys", optional = true }
aws-lc-sys = { version = "0.27.0", path = "../aws-lc-sys", optional = true }
aws-lc-fips-sys = { version = "0.13.1", 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.26.0"
links = "aws_lc_0_26_0"
version = "0.27.0"
links = "aws_lc_0_27_0"
authors = ["AWS-LC"]
edition = "2021"
repository = "https://github.com/aws/aws-lc-rs"
Expand Down Expand Up @@ -71,4 +71,4 @@ bindgen = { version = "0.69.5" }
paste = "1.0.11"

[package.metadata.aws-lc-sys]
commit-hash = "5cdc082bd86ffb4539e53444d7806a128ace77f3"
commit-hash = "d0356099f6b668697cdb381dfb09f9a694a6c9c2"
2 changes: 1 addition & 1 deletion aws-lc-sys/aws-lc
Submodule aws-lc updated 132 files
4 changes: 1 addition & 3 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
// Tue Feb 18 19:46:35 UTC 2025
// Thu Mar 6 20:58:40 UTC 2025

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,7 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519_extra/curve25519_extra.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand Down Expand Up @@ -106,7 +105,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_ed25519ph.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
Expand Down
4 changes: 1 addition & 3 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
// Tue Feb 18 19:50:03 UTC 2025
// Thu Mar 6 21:04:16 UTC 2025

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,7 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519_extra/curve25519_extra.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand Down Expand Up @@ -106,7 +105,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_ed25519ph.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
Expand Down
4 changes: 1 addition & 3 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
// Tue Feb 18 19:49:53 UTC 2025
// Thu Mar 6 21:03:35 UTC 2025

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,7 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519_extra/curve25519_extra.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand Down Expand Up @@ -106,7 +105,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_ed25519ph.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
Expand Down
4 changes: 1 addition & 3 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
// Tue Feb 18 19:49:39 UTC 2025
// Thu Mar 6 21:03:02 UTC 2025

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,7 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519_extra/curve25519_extra.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand Down Expand Up @@ -106,7 +105,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_ed25519ph.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
Expand Down
4 changes: 1 addition & 3 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
// Tue Feb 18 19:47:36 UTC 2025
// Thu Mar 6 20:59:38 UTC 2025

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,7 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519_extra/curve25519_extra.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand Down Expand Up @@ -106,7 +105,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_ed25519ph.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
Expand Down
4 changes: 1 addition & 3 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
// Tue Feb 18 19:46:25 UTC 2025
// Thu Mar 6 20:58:04 UTC 2025

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,7 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519_extra/curve25519_extra.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand Down Expand Up @@ -106,7 +105,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_ed25519ph.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
Expand Down
4 changes: 1 addition & 3 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
// Tue Feb 18 19:50:07 UTC 2025
// Thu Mar 6 21:03:20 UTC 2025

use crate::cc_builder::Library;

Expand Down Expand Up @@ -74,7 +74,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/cipher_extra/tls_cbc.c",
"crypto/conf/conf.c",
"crypto/crypto.c",
"crypto/curve25519_extra/curve25519_extra.c",
"crypto/decrepit/bio/base64_bio.c",
"crypto/decrepit/blowfish/blowfish.c",
"crypto/decrepit/cast/cast.c",
Expand Down Expand Up @@ -106,7 +105,6 @@ pub(super) const CRYPTO_LIBRARY: Library = Library {
"crypto/evp_extra/p_dsa_asn1.c",
"crypto/evp_extra/p_ec_asn1.c",
"crypto/evp_extra/p_ed25519_asn1.c",
"crypto/evp_extra/p_ed25519ph.c",
"crypto/evp_extra/p_hmac_asn1.c",
"crypto/evp_extra/p_kem_asn1.c",
"crypto/evp_extra/p_methods.c",
Expand Down
2 changes: 2 additions & 0 deletions aws-lc-sys/builder/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ fn initialize() {
| "aarch64-unknown-linux-musl"
| "i686-pc-windows-msvc"
| "i686-unknown-linux-gnu"
| "riscv64gc-unknown-linux-gnu"
| "x86_64-apple-darwin"
| "x86_64-pc-windows-gnu"
| "x86_64-pc-windows-msvc"
Expand Down Expand Up @@ -539,6 +540,7 @@ fn prepare_cargo_cfg() {
println!("cargo:rustc-check-cfg=cfg(aarch64_unknown_linux_musl)");
println!("cargo:rustc-check-cfg=cfg(i686_pc_windows_msvc)");
println!("cargo:rustc-check-cfg=cfg(i686_unknown_linux_gnu)");
println!("cargo:rustc-check-cfg=cfg(riscv64gc_unknown_linux_gnu)");
println!("cargo:rustc-check-cfg=cfg(x86_64_apple_darwin)");
println!("cargo:rustc-check-cfg=cfg(x86_64_pc_windows_gnu)");
println!("cargo:rustc-check-cfg=cfg(x86_64_pc_windows_msvc)");
Expand Down
Loading

0 comments on commit 337a85d

Please sign in to comment.