Skip to content

Commit

Permalink
Update aws-lc-fips-sys v0.12.12 align w/ AWS-LC-FIPS v2.0.15 (#549)
Browse files Browse the repository at this point in the history
* Update aws-lc-fips-sys w/ AWS-LC-FIPS 2.0.15

* Remove pregen SSL bindings

* Symbols from ubuntu-latest

* Symbols from macos-14-xlarge

* Symbols from macos-13

* Symbols for aarch64-unknown-linux-gnu

* Symbols for aarch64-unknown-linux-musl

* Symbols for x86_64-unknown-linux-musl

* Generated headers

* Generated bindings from ubuntu-latest

* Generated bindings from macos-14-xlarge

* Generated bindings from macos-13

* Generated bindings for aarch64-unknown-linux-musl

* Generated bindings for aarch64-unknown-linux-gnu

* Generated bindings for x86_64-unknown-linux-musl

---------

Co-authored-by: aws-lc-fips-sys-bindings-generator <[email protected]>
  • Loading branch information
justsmth and aws-lc-fips-sys-bindings-generator authored Oct 3, 2024
1 parent 8953a87 commit 8e80b09
Show file tree
Hide file tree
Showing 25 changed files with 14,433 additions and 217,246 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/fips-bindings-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
env:
AWS_LC_FIPS_SYS_NO_PREFIX: "1"
run: |
cargo test -p aws-lc-fips-sys --features bindgen,ssl
cargo test -p aws-lc-fips-sys --features bindgen
- name: Collect symbols
run: |
./scripts/build/collect_symbols.sh -c aws-lc-fips-sys
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
env:
AWS_LC_FIPS_SYS_NO_PREFIX: "1"
run: |
cross test -p aws-lc-fips-sys --features bindgen,ssl --target ${{ matrix.target }}
cross test -p aws-lc-fips-sys --features bindgen --target ${{ matrix.target }}
- name: Collect symbols
run: |
./scripts/build/collect_symbols.sh -c aws-lc-fips-sys -t ${{ matrix.target }}
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
env:
AWS_LC_FIPS_SYS_PREGENERATING_BINDINGS: "1"
run: |
cargo test -p aws-lc-fips-sys --features bindgen,ssl
cargo test -p aws-lc-fips-sys --features bindgen
- name: Commit & Push changes
run: ./scripts/ci/ci_add_commit_rebase_push.sh "Generated bindings from ${{ matrix.os }}"
generate-cross-bindings-and-commit:
Expand All @@ -147,6 +147,6 @@ jobs:
env:
AWS_LC_FIPS_SYS_PREGENERATING_BINDINGS: "1"
run: |
cross test -p aws-lc-fips-sys --features bindgen,ssl --target ${{ matrix.target }}
cross test -p aws-lc-fips-sys --features bindgen --target ${{ matrix.target }}
- name: Commit & Push changes
run: ./scripts/ci/ci_add_commit_rebase_push.sh "Generated bindings for ${{ matrix.target }}"
6 changes: 3 additions & 3 deletions aws-lc-fips-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "aws-lc-fips-sys"
description = "AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. This is the FIPS validated version of AWS-LC."
version = "0.12.11"
links = "aws_lc_fips_0_12_11"
version = "0.12.12"
links = "aws_lc_fips_0_12_12"
authors = ["AWS-LC"]
edition = "2021"
repository = "https://github.com/aws/aws-lc-rs"
Expand Down Expand Up @@ -75,4 +75,4 @@ libc = "0.2.121"
paste = "1.0.11"

[package.metadata.aws-lc-fips-sys]
commit-hash = "533fb66f9ed6467449ea65d1d10e344d3b7c9125"
commit-hash = "ec94d74a19b5a0aa738b436a95bb06ff87fc7ba9"
5 changes: 4 additions & 1 deletion aws-lc-fips-sys/builder/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,10 @@ fn main() {
if is_pregenerating_bindings() {
#[cfg(feature = "bindgen")]
{
emit_warning(&format!("Generating src bindings. Platform: {}", target()));
emit_warning(&format!(
"Generating src bindings. Platform: '{}' Prefix: '{prefix:?}'",
target()
));
let src_bindings_path = Path::new(&manifest_dir).join("src");
generate_src_bindings(&manifest_dir, &prefix, &src_bindings_path);
bindings_available = true;
Expand Down
589 changes: 1 addition & 588 deletions aws-lc-fips-sys/generated-include/openssl/boringssl_prefix_symbols.h

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,176 changes: 1 addition & 1,175 deletions aws-lc-fips-sys/generated-include/openssl/boringssl_prefix_symbols_nasm.inc

Large diffs are not rendered by default.

Loading

0 comments on commit 8e80b09

Please sign in to comment.