Skip to content

Commit 4fe8198

Browse files
justsmthaws-lc-sys-bindings-generator
and
aws-lc-sys-bindings-generator
authored
Align aws-lc-sys v0.27.2 w/ AWS-LC v1.48.5 (#740)
* Align aws-lc-sys with AWS-LC v1.48.5 * Bump aws-lc-sys to v0.27.2 * Prefix all the symbols * Symbols from macos-14-xlarge * Symbols from ubuntu-latest * Symbols from macos-13 * Symbols from x86_64-pc-windows-msvc * Symbols for aarch64-unknown-linux-musl * Symbols for i686-unknown-linux-gnu * Symbols for arm-unknown-linux-gnueabi * Symbols for powerpc-unknown-linux-gnu * Symbols from i686-pc-windows-msvc * Symbols for x86_64-unknown-linux-musl * Symbols for armv7-unknown-linux-gnueabihf * Symbols for powerpc64le-unknown-linux-gnu * Symbols for aarch64-unknown-linux-gnu * Symbols from aarch64-pc-windows-msvc * Symbols from x86_64-pc-windows-gnu * Generated headers * Generated bindings from macos-14-xlarge * Generated bindings from ubuntu-latest * Generated bindings from macos-13 * Generated bindings for i686-unknown-linux-gnu * Generated bindings for aarch64-unknown-linux-musl * Generated bindings for aarch64-unknown-linux-gnu * Generated bindings for x86_64-unknown-linux-musl * Generated bindings for riscv64gc-unknown-linux-gnu * Generated bindings for aarch64-linux-android * Generated bindings for aarch64-pc-windows-msvc * Generated bindings for x86_64-pc-windows-msvc * Generated bindings for x86_64-pc-windows-gnu * Collected source files from macos-14-xlarge * Generated bindings for i686-pc-windows-msvc * 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 aarch64-unknown-linux-gnu * Collected source files for i686-unknown-linux-gnu * Collected source files for aarch64-unknown-linux-musl * Collected NASM files * Test conflict sys-crate versions --------- Co-authored-by: aws-lc-sys-bindings-generator <[email protected]>
1 parent f6addd3 commit 4fe8198

File tree

88 files changed

+35112
-34281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+35112
-34281
lines changed

.github/workflows/analysis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -274,3 +274,20 @@ jobs:
274274
VERSION=$(scripts/tools/cargo-dig.rs aws-lc-fips-sys/Cargo.toml -v)
275275
LINKS_LINE=$(echo links = \"aws_lc_fips_${VERSION//./_}\")
276276
grep "${LINKS_LINE}" aws-lc-fips-sys/Cargo.toml
277+
symbol-conflicts:
278+
if: github.repository_owner == 'aws'
279+
name: Verify prefixing
280+
runs-on: ubuntu-latest
281+
steps:
282+
- uses: actions/checkout@v3
283+
with:
284+
submodules: 'recursive'
285+
- uses: dtolnay/rust-toolchain@master
286+
id: toolchain
287+
with:
288+
toolchain: nightly
289+
- uses: actions/setup-go@v4
290+
with:
291+
go-version: '>=1.18'
292+
- name: Run assert script
293+
run: ./scripts/tests/prefix_test.rs

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ exclude = [
1111
"scripts/tools/semver.rs",
1212
"scripts/tools/target-platform.rs",
1313
"scripts/tests/assert_cpu_jitter_entropy.rs",
14+
"scripts/tests/prefix_test.rs"
1415
]
1516
resolver = "2"
1617

aws-lc-sys/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "aws-lc-sys"
33
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."
4-
version = "0.27.1"
5-
links = "aws_lc_0_27_1"
4+
version = "0.27.2"
5+
links = "aws_lc_0_27_2"
66
authors = ["AWS-LC"]
77
edition = "2021"
88
repository = "https://github.com/aws/aws-lc-rs"
@@ -68,4 +68,4 @@ bindgen = { version = "0.69.5", optional = true }
6868
bindgen = { version = "0.69.5" }
6969

7070
[package.metadata.aws-lc-sys]
71-
commit-hash = "ab7375fc4021404e87243c639a9b15c92c894a14"
71+
commit-hash = "8a9ebcfdcf8bb4a685ca83646265ea0aab85c3c8"

aws-lc-sys/builder/cc_builder.rs

+29-12
Original file line numberDiff line numberDiff line change
@@ -334,24 +334,41 @@ impl CcBuilder {
334334
use core::str::FromStr;
335335
cc_build.file(PathBuf::from_str("rust_wrapper.c").unwrap());
336336

337+
// s2n_bignum is compiled separately due to needing extra flags
338+
let mut s2n_bignum_builder = cc_build.clone();
339+
s2n_bignum_builder.flag(format!(
340+
"--include={}",
341+
self.manifest_dir
342+
.join("generated-include")
343+
.join("openssl")
344+
.join("boringssl_prefix_symbols_asm.h")
345+
.display()
346+
));
347+
s2n_bignum_builder.define("S2N_BN_HIDE_SYMBOLS", "1");
348+
let cc_preprocessor = self.create_builder();
337349
for source in lib.sources {
338350
let source_path = self.manifest_dir.join("aws-lc").join(source);
339-
let is_asm = std::path::Path::new(source)
340-
.extension()
341-
.map_or(false, |ext| ext.eq("S"));
342-
if is_asm && target_vendor() == "apple" && target_arch() == "aarch64" {
343-
let mut cc_preprocessor = self.create_builder();
344-
cc_preprocessor.file(source_path);
345-
let preprocessed_asm = String::from_utf8(cc_preprocessor.expand()).unwrap();
346-
let preprocessed_asm = preprocessed_asm.replace(';', "\n\t");
347-
let asm_output_path = self.out_dir.join(source);
348-
fs::create_dir_all(asm_output_path.parent().unwrap()).unwrap();
349-
fs::write(asm_output_path.clone(), preprocessed_asm).unwrap();
350-
cc_build.file(asm_output_path);
351+
let is_s2n_bignum = std::path::Path::new(source).starts_with("third_party/s2n-bignum");
352+
353+
if is_s2n_bignum {
354+
let asm_output_path = if target_vendor() == "apple" && target_arch() == "aarch64" {
355+
let asm_output_path = self.out_dir.join(source);
356+
let mut cc_preprocessor = cc_preprocessor.clone();
357+
cc_preprocessor.file(source_path);
358+
let preprocessed_asm = String::from_utf8(cc_preprocessor.expand()).unwrap();
359+
let preprocessed_asm = preprocessed_asm.replace(';', "\n\t");
360+
fs::create_dir_all(asm_output_path.parent().unwrap()).unwrap();
361+
fs::write(asm_output_path.clone(), preprocessed_asm).unwrap();
362+
asm_output_path
363+
} else {
364+
source_path.clone()
365+
};
366+
s2n_bignum_builder.file(asm_output_path);
351367
} else {
352368
cc_build.file(source_path);
353369
}
354370
}
371+
s2n_bignum_builder.compile("s2n_bignum");
355372
}
356373

357374
fn build_library(&self, lib: &Library) {

aws-lc-sys/builder/cc_builder/aarch64_apple_darwin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0 OR ISC
3-
// Fri Mar 14 00:12:14 UTC 2025
3+
// Mon Mar 17 21:35:02 UTC 2025
44

55
use crate::cc_builder::Library;
66

aws-lc-sys/builder/cc_builder/aarch64_unknown_linux_gnu.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0 OR ISC
3-
// Fri Mar 14 00:21:55 UTC 2025
3+
// Mon Mar 17 21:40:47 UTC 2025
44

55
use crate::cc_builder::Library;
66

aws-lc-sys/builder/cc_builder/aarch64_unknown_linux_musl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0 OR ISC
3-
// Fri Mar 14 00:22:09 UTC 2025
3+
// Mon Mar 17 21:41:47 UTC 2025
44

55
use crate::cc_builder::Library;
66

aws-lc-sys/builder/cc_builder/i686_unknown_linux_gnu.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0 OR ISC
3-
// Fri Mar 14 00:21:32 UTC 2025
3+
// Mon Mar 17 21:41:31 UTC 2025
44

55
use crate::cc_builder::Library;
66

aws-lc-sys/builder/cc_builder/x86_64_apple_darwin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0 OR ISC
3-
// Fri Mar 14 00:13:32 UTC 2025
3+
// Mon Mar 17 21:36:47 UTC 2025
44

55
use crate::cc_builder::Library;
66

aws-lc-sys/builder/cc_builder/x86_64_unknown_linux_gnu.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0 OR ISC
3-
// Fri Mar 14 00:12:08 UTC 2025
3+
// Mon Mar 17 21:34:47 UTC 2025
44

55
use crate::cc_builder::Library;
66

aws-lc-sys/builder/cc_builder/x86_64_unknown_linux_musl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0 OR ISC
3-
// Fri Mar 14 00:21:43 UTC 2025
3+
// Mon Mar 17 21:40:46 UTC 2025
44

55
use crate::cc_builder::Library;
66

aws-lc-sys/builder/prebuilt-nasm/aes128gcmsiv-x86_64-disasm.txt

+18-18
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ GFMUL:
3131
000000000000005D: 90 nop
3232
000000000000005E: 90 nop
3333
000000000000005F: 90 nop
34-
aws_lc_0_27_1_aesgcmsiv_htable_init:
34+
aws_lc_0_27_2_aesgcmsiv_htable_init:
3535
0000000000000060: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
3636
0000000000000065: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
3737
000000000000006A: 48 89 E0 mov rax,rsp
@@ -74,7 +74,7 @@ L$SEH_end_aesgcmsiv_htable_init:
7474
00000000000000DD: 90 nop
7575
00000000000000DE: 90 nop
7676
00000000000000DF: 90 nop
77-
aws_lc_0_27_1_aesgcmsiv_htable6_init:
77+
aws_lc_0_27_2_aesgcmsiv_htable6_init:
7878
00000000000000E0: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
7979
00000000000000E5: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
8080
00000000000000EA: 48 89 E0 mov rax,rsp
@@ -101,7 +101,7 @@ L$SEH_end_aesgcmsiv_htable6_init:
101101
000000000000013D: 90 nop
102102
000000000000013E: 90 nop
103103
000000000000013F: 90 nop
104-
aws_lc_0_27_1_aesgcmsiv_htable_polyval:
104+
aws_lc_0_27_2_aesgcmsiv_htable_polyval:
105105
0000000000000140: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
106106
0000000000000145: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
107107
000000000000014A: 48 89 E0 mov rax,rsp
@@ -401,7 +401,7 @@ L$SEH_end_aesgcmsiv_htable_polyval:
401401
000000000000049D: 90 nop
402402
000000000000049E: 90 nop
403403
000000000000049F: 90 nop
404-
aws_lc_0_27_1_aesgcmsiv_polyval_horner:
404+
aws_lc_0_27_2_aesgcmsiv_polyval_horner:
405405
00000000000004A0: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
406406
00000000000004A5: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
407407
00000000000004AA: 48 89 E0 mov rax,rsp
@@ -442,7 +442,7 @@ L$SEH_end_aesgcmsiv_polyval_horner:
442442
000000000000050D: 90 nop
443443
000000000000050E: 90 nop
444444
000000000000050F: 90 nop
445-
aws_lc_0_27_1_aes128gcmsiv_aes_ks:
445+
aws_lc_0_27_2_aes128gcmsiv_aes_ks:
446446
0000000000000510: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
447447
0000000000000515: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
448448
000000000000051A: 48 89 E0 mov rax,rsp
@@ -509,7 +509,7 @@ L$SEH_end_aes128gcmsiv_aes_ks:
509509
00000000000005FD: 90 nop
510510
00000000000005FE: 90 nop
511511
00000000000005FF: 90 nop
512-
aws_lc_0_27_1_aes256gcmsiv_aes_ks:
512+
aws_lc_0_27_2_aes256gcmsiv_aes_ks:
513513
0000000000000600: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
514514
0000000000000605: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
515515
000000000000060A: 48 89 E0 mov rax,rsp
@@ -569,7 +569,7 @@ L$ks256_loop:
569569
00000000000006DD: 90 nop
570570
00000000000006DE: 90 nop
571571
00000000000006DF: 90 nop
572-
aws_lc_0_27_1_aes128gcmsiv_aes_ks_enc_x1:
572+
aws_lc_0_27_2_aes128gcmsiv_aes_ks_enc_x1:
573573
00000000000006E0: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
574574
00000000000006E5: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
575575
00000000000006EA: 48 89 E0 mov rax,rsp
@@ -718,7 +718,7 @@ L$SEH_end_aes128gcmsiv_aes_ks_enc_x1:
718718
000000000000093D: 90 nop
719719
000000000000093E: 90 nop
720720
000000000000093F: 90 nop
721-
aws_lc_0_27_1_aes128gcmsiv_kdf:
721+
aws_lc_0_27_2_aes128gcmsiv_kdf:
722722
0000000000000940: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
723723
0000000000000945: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
724724
000000000000094A: 48 89 E0 mov rax,rsp
@@ -808,7 +808,7 @@ L$SEH_end_aes128gcmsiv_kdf:
808808
0000000000000ABD: 90 nop
809809
0000000000000ABE: 90 nop
810810
0000000000000ABF: 90 nop
811-
aws_lc_0_27_1_aes128gcmsiv_enc_msg_x4:
811+
aws_lc_0_27_2_aes128gcmsiv_enc_msg_x4:
812812
0000000000000AC0: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
813813
0000000000000AC5: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
814814
0000000000000ACA: 48 89 E0 mov rax,rsp
@@ -971,7 +971,7 @@ L$SEH_end_aes128gcmsiv_enc_msg_x4:
971971
0000000000000D4D: 90 nop
972972
0000000000000D4E: 90 nop
973973
0000000000000D4F: 90 nop
974-
aws_lc_0_27_1_aes128gcmsiv_enc_msg_x8:
974+
aws_lc_0_27_2_aes128gcmsiv_enc_msg_x8:
975975
0000000000000D50: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
976976
0000000000000D55: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
977977
0000000000000D5A: 48 89 E0 mov rax,rsp
@@ -1224,7 +1224,7 @@ L$SEH_end_aes128gcmsiv_enc_msg_x8:
12241224
000000000000116D: 90 nop
12251225
000000000000116E: 90 nop
12261226
000000000000116F: 90 nop
1227-
aws_lc_0_27_1_aes128gcmsiv_dec:
1227+
aws_lc_0_27_2_aes128gcmsiv_dec:
12281228
0000000000001170: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
12291229
0000000000001175: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
12301230
000000000000117A: 48 89 E0 mov rax,rsp
@@ -1684,7 +1684,7 @@ L$128_dec_out:
16841684
0000000000001994: 48 8B 7C 24 08 mov rdi,qword ptr [rsp+8]
16851685
0000000000001999: 48 8B 74 24 10 mov rsi,qword ptr [rsp+10h]
16861686
000000000000199E: F3 C3 rep ret
1687-
aws_lc_0_27_1_aes128gcmsiv_ecb_enc_block:
1687+
aws_lc_0_27_2_aes128gcmsiv_ecb_enc_block:
16881688
00000000000019A0: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
16891689
00000000000019A5: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
16901690
00000000000019AA: 48 89 E0 mov rax,rsp
@@ -1725,7 +1725,7 @@ L$SEH_end_aes128gcmsiv_ecb_enc_block:
17251725
0000000000001A1D: 90 nop
17261726
0000000000001A1E: 90 nop
17271727
0000000000001A1F: 90 nop
1728-
aws_lc_0_27_1_aes256gcmsiv_aes_ks_enc_x1:
1728+
aws_lc_0_27_2_aes256gcmsiv_aes_ks_enc_x1:
17291729
0000000000001A20: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
17301730
0000000000001A25: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
17311731
0000000000001A2A: 48 89 E0 mov rax,rsp
@@ -1916,7 +1916,7 @@ L$SEH_end_aes256gcmsiv_aes_ks_enc_x1:
19161916
0000000000001D4D: 90 nop
19171917
0000000000001D4E: 90 nop
19181918
0000000000001D4F: 90 nop
1919-
aws_lc_0_27_1_aes256gcmsiv_ecb_enc_block:
1919+
aws_lc_0_27_2_aes256gcmsiv_ecb_enc_block:
19201920
0000000000001D50: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
19211921
0000000000001D55: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
19221922
0000000000001D5A: 48 89 E0 mov rax,rsp
@@ -1961,7 +1961,7 @@ L$SEH_end_aes256gcmsiv_ecb_enc_block:
19611961
0000000000001DED: 90 nop
19621962
0000000000001DEE: 90 nop
19631963
0000000000001DEF: 90 nop
1964-
aws_lc_0_27_1_aes256gcmsiv_enc_msg_x4:
1964+
aws_lc_0_27_2_aes256gcmsiv_enc_msg_x4:
19651965
0000000000001DF0: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
19661966
0000000000001DF5: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
19671967
0000000000001DFA: 48 89 E0 mov rax,rsp
@@ -2160,7 +2160,7 @@ L$SEH_end_aes256gcmsiv_enc_msg_x4:
21602160
000000000000211D: 90 nop
21612161
000000000000211E: 90 nop
21622162
000000000000211F: 90 nop
2163-
aws_lc_0_27_1_aes256gcmsiv_enc_msg_x8:
2163+
aws_lc_0_27_2_aes256gcmsiv_enc_msg_x8:
21642164
0000000000002120: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
21652165
0000000000002125: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
21662166
000000000000212A: 48 89 E0 mov rax,rsp
@@ -2451,7 +2451,7 @@ L$SEH_end_aes256gcmsiv_enc_msg_x8:
24512451
000000000000261D: 90 nop
24522452
000000000000261E: 90 nop
24532453
000000000000261F: 90 nop
2454-
aws_lc_0_27_1_aes256gcmsiv_dec:
2454+
aws_lc_0_27_2_aes256gcmsiv_dec:
24552455
0000000000002620: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
24562456
0000000000002625: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
24572457
000000000000262A: 48 89 E0 mov rax,rsp
@@ -2971,7 +2971,7 @@ L$256_dec_out:
29712971
0000000000002F94: 48 8B 7C 24 08 mov rdi,qword ptr [rsp+8]
29722972
0000000000002F99: 48 8B 74 24 10 mov rsi,qword ptr [rsp+10h]
29732973
0000000000002F9E: F3 C3 rep ret
2974-
aws_lc_0_27_1_aes256gcmsiv_kdf:
2974+
aws_lc_0_27_2_aes256gcmsiv_kdf:
29752975
0000000000002FA0: 48 89 7C 24 08 mov qword ptr [rsp+8],rdi
29762976
0000000000002FA5: 48 89 74 24 10 mov qword ptr [rsp+10h],rsi
29772977
0000000000002FAA: 48 89 E0 mov rax,rsp
Binary file not shown.

aws-lc-sys/builder/prebuilt-nasm/aesni-gcm-avx512-disasm.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Dump of file aesni-gcm-avx512.obj
55

66
File Type: COFF OBJECT
77

8-
aws_lc_0_27_1_gcm_ghash_avx512:
8+
aws_lc_0_27_2_gcm_ghash_avx512:
99
0000000000000000: 0F 0B ud2
1010
0000000000000002: F3 C3 rep ret
1111

Binary file not shown.

aws-lc-sys/builder/prebuilt-nasm/aesni-gcm-x86_64-disasm.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ L$6x_done:
325325
000000000000059D: 90 nop
326326
000000000000059E: 90 nop
327327
000000000000059F: 90 nop
328-
aws_lc_0_27_1_aesni_gcm_decrypt:
328+
aws_lc_0_27_2_aesni_gcm_decrypt:
329329
00000000000005A0: 48 31 C0 xor rax,rax
330330
00000000000005A3: 49 83 F8 60 cmp r8,60h
331331
00000000000005A7: 0F 82 BE 01 00 00 jb L$gcm_dec_abort
@@ -579,7 +579,7 @@ L$handle_ctr32_2:
579579
00000000000008FD: 90 nop
580580
00000000000008FE: 90 nop
581581
00000000000008FF: 90 nop
582-
aws_lc_0_27_1_aesni_gcm_encrypt:
582+
aws_lc_0_27_2_aesni_gcm_encrypt:
583583
0000000000000900: 48 31 C0 xor rax,rax
584584
0000000000000903: 49 81 F8 20 01 00 cmp r8,120h
585585
00
Binary file not shown.

aws-lc-sys/builder/prebuilt-nasm/aesni-sha1-x86_64-disasm.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Dump of file aesni-sha1-x86_64.obj
55

66
File Type: COFF OBJECT
77

8-
aws_lc_0_27_1_aesni_cbc_sha1_enc:
9-
0000000000000000: 44 8B 15 00 00 00 mov r10d,dword ptr [aws_lc_0_27_1_OPENSSL_ia32cap_P]
8+
aws_lc_0_27_2_aesni_cbc_sha1_enc:
9+
0000000000000000: 44 8B 15 00 00 00 mov r10d,dword ptr [aws_lc_0_27_2_OPENSSL_ia32cap_P]
1010
00
11-
0000000000000007: 4C 8B 1D 04 00 00 mov r11,qword ptr [aws_lc_0_27_1_OPENSSL_ia32cap_P+4]
11+
0000000000000007: 4C 8B 1D 04 00 00 mov r11,qword ptr [aws_lc_0_27_2_OPENSSL_ia32cap_P+4]
1212
00
1313
000000000000000E: 49 0F BA E3 3D bt r11,3Dh
1414
0000000000000013: 0F 82 E7 24 00 00 jb aesni_cbc_sha1_enc_shaext
Binary file not shown.

aws-lc-sys/builder/prebuilt-nasm/aesni-sha256-x86_64-disasm.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Dump of file aesni-sha256-x86_64.obj
55

66
File Type: COFF OBJECT
77

8-
aws_lc_0_27_1_aesni_cbc_sha256_enc:
9-
0000000000000000: 4C 8D 1D 00 00 00 lea r11,[aws_lc_0_27_1_OPENSSL_ia32cap_P]
8+
aws_lc_0_27_2_aesni_cbc_sha256_enc:
9+
0000000000000000: 4C 8D 1D 00 00 00 lea r11,[aws_lc_0_27_2_OPENSSL_ia32cap_P]
1010
00
1111
0000000000000007: B8 01 00 00 00 mov eax,1
1212
000000000000000C: 48 83 F9 00 cmp rcx,0
Binary file not shown.

0 commit comments

Comments
 (0)