Skip to content

Commit 5b0febb

Browse files
justsmthaws-lc-sys-bindings-generator
and
aws-lc-sys-bindings-generator
authored
Realign aws-lc-sys v0.29.0 w/ AWS-LC v1.51.1 (#804)
* Realign aws-lc-sys v0.29.0 w/ AWS-LC v1.51.1 * Symbols from macos-14 * Symbols from ubuntu-latest * Symbols from macos-13 * Symbols from x86_64-pc-windows-msvc * Symbols from i686-pc-windows-msvc * Symbols for x86_64-unknown-linux-musl * Symbols for aarch64-unknown-linux-musl * Symbols for powerpc64le-unknown-linux-gnu * Symbols for aarch64-unknown-linux-gnu * Symbols for arm-unknown-linux-gnueabi * Symbols for armv7-unknown-linux-gnueabihf * Symbols for powerpc-unknown-linux-gnu * Symbols from x86_64-pc-windows-gnu * Symbols from aarch64-pc-windows-msvc * Symbols for i686-unknown-linux-gnu * Generated headers * Generated bindings from ubuntu-latest * Generated bindings from macos-14 * 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 for aarch64-unknown-linux-gnu * Generated bindings for riscv64gc-unknown-linux-gnu * Generated bindings for x86_64-pc-windows-msvc * Generated bindings from macos-13 * Generated bindings for aarch64-pc-windows-msvc * Generated bindings for i686-pc-windows-msvc * Generated bindings for aarch64-linux-android * Collected source files from ubuntu-latest * Collected source files from macos-14 * 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-gnu * Collected source files for aarch64-unknown-linux-musl * Collected NASM files * Collected source files for riscv64gc-unknown-linux-gnu --------- Co-authored-by: aws-lc-sys-bindings-generator <[email protected]>
1 parent 028bcd9 commit 5b0febb

File tree

67 files changed

+347
-36
lines changed

Some content is hidden

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

67 files changed

+347
-36
lines changed

aws-lc-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ bindgen = { version = "0.69.5", optional = true }
7373
bindgen = { version = "0.69.5" }
7474

7575
[package.metadata.aws-lc-sys]
76-
commit-hash = "7d9cbf39f0fbf78ee47a71046c6a231f04b91e8d"
76+
commit-hash = "fc0148fe71fa8f6da277bad7a2913222c73c053b"

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-
// Wed Apr 30 17:54:08 UTC 2025
3+
// Wed May 7 17:54:07 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-
// Wed Apr 30 18:04:38 UTC 2025
3+
// Wed May 7 17:57:51 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-
// Wed Apr 30 18:04:30 UTC 2025
3+
// Wed May 7 17:58:23 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-
// Wed Apr 30 18:04:46 UTC 2025
3+
// Wed May 7 17:57:55 UTC 2025
44

55
use crate::cc_builder::Library;
66

aws-lc-sys/builder/cc_builder/riscv64gc_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-
// Wed Apr 30 18:04:34 UTC 2025
3+
// Wed May 7 17:57:53 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-
// Wed Apr 30 17:55:18 UTC 2025
3+
// Wed May 7 17:54:56 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-
// Wed Apr 30 17:54:00 UTC 2025
3+
// Wed May 7 17:53:56 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-
// Wed Apr 30 18:04:43 UTC 2025
3+
// Wed May 7 17:58:03 UTC 2025
44

55
use crate::cc_builder::Library;
66

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

aws-lc-sys/generated-include/openssl/boringssl_prefix_symbols.h

+2
Original file line numberDiff line numberDiff line change
@@ -2531,6 +2531,7 @@
25312531
#define X509_SIG_getm BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_SIG_getm)
25322532
#define X509_SIG_it BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_SIG_it)
25332533
#define X509_SIG_new BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_SIG_new)
2534+
#define X509_STORE_CTX_add_custom_crit_oid BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_add_custom_crit_oid)
25342535
#define X509_STORE_CTX_cleanup BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_cleanup)
25352536
#define X509_STORE_CTX_free BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_free)
25362537
#define X509_STORE_CTX_get0_cert BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_get0_cert)
@@ -2570,6 +2571,7 @@
25702571
#define X509_STORE_CTX_set_time_posix BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_time_posix)
25712572
#define X509_STORE_CTX_set_trust BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_trust)
25722573
#define X509_STORE_CTX_set_verify_cb BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_verify_cb)
2574+
#define X509_STORE_CTX_set_verify_crit_oids BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_set_verify_crit_oids)
25732575
#define X509_STORE_CTX_trusted_stack BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_CTX_trusted_stack)
25742576
#define X509_STORE_add_cert BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_add_cert)
25752577
#define X509_STORE_add_crl BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, X509_STORE_add_crl)

aws-lc-sys/generated-include/openssl/boringssl_prefix_symbols_asm.h

+2
Original file line numberDiff line numberDiff line change
@@ -2535,6 +2535,7 @@
25352535
#define _X509_SIG_getm BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_SIG_getm)
25362536
#define _X509_SIG_it BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_SIG_it)
25372537
#define _X509_SIG_new BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_SIG_new)
2538+
#define _X509_STORE_CTX_add_custom_crit_oid BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_add_custom_crit_oid)
25382539
#define _X509_STORE_CTX_cleanup BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_cleanup)
25392540
#define _X509_STORE_CTX_free BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_free)
25402541
#define _X509_STORE_CTX_get0_cert BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_get0_cert)
@@ -2574,6 +2575,7 @@
25742575
#define _X509_STORE_CTX_set_time_posix BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_set_time_posix)
25752576
#define _X509_STORE_CTX_set_trust BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_set_trust)
25762577
#define _X509_STORE_CTX_set_verify_cb BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_set_verify_cb)
2578+
#define _X509_STORE_CTX_set_verify_crit_oids BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_set_verify_crit_oids)
25772579
#define _X509_STORE_CTX_trusted_stack BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_CTX_trusted_stack)
25782580
#define _X509_STORE_add_cert BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_add_cert)
25792581
#define _X509_STORE_add_crl BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, X509_STORE_add_crl)

aws-lc-sys/generated-include/openssl/boringssl_prefix_symbols_nasm.inc

+4
Original file line numberDiff line numberDiff line change
@@ -2528,6 +2528,7 @@
25282528
%xdefine _X509_SIG_getm _ %+ BORINGSSL_PREFIX %+ _X509_SIG_getm
25292529
%xdefine _X509_SIG_it _ %+ BORINGSSL_PREFIX %+ _X509_SIG_it
25302530
%xdefine _X509_SIG_new _ %+ BORINGSSL_PREFIX %+ _X509_SIG_new
2531+
%xdefine _X509_STORE_CTX_add_custom_crit_oid _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_add_custom_crit_oid
25312532
%xdefine _X509_STORE_CTX_cleanup _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_cleanup
25322533
%xdefine _X509_STORE_CTX_free _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_free
25332534
%xdefine _X509_STORE_CTX_get0_cert _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_get0_cert
@@ -2567,6 +2568,7 @@
25672568
%xdefine _X509_STORE_CTX_set_time_posix _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_set_time_posix
25682569
%xdefine _X509_STORE_CTX_set_trust _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_set_trust
25692570
%xdefine _X509_STORE_CTX_set_verify_cb _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_set_verify_cb
2571+
%xdefine _X509_STORE_CTX_set_verify_crit_oids _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_set_verify_crit_oids
25702572
%xdefine _X509_STORE_CTX_trusted_stack _ %+ BORINGSSL_PREFIX %+ _X509_STORE_CTX_trusted_stack
25712573
%xdefine _X509_STORE_add_cert _ %+ BORINGSSL_PREFIX %+ _X509_STORE_add_cert
25722574
%xdefine _X509_STORE_add_crl _ %+ BORINGSSL_PREFIX %+ _X509_STORE_add_crl
@@ -6674,6 +6676,7 @@
66746676
%xdefine X509_SIG_getm BORINGSSL_PREFIX %+ _X509_SIG_getm
66756677
%xdefine X509_SIG_it BORINGSSL_PREFIX %+ _X509_SIG_it
66766678
%xdefine X509_SIG_new BORINGSSL_PREFIX %+ _X509_SIG_new
6679+
%xdefine X509_STORE_CTX_add_custom_crit_oid BORINGSSL_PREFIX %+ _X509_STORE_CTX_add_custom_crit_oid
66776680
%xdefine X509_STORE_CTX_cleanup BORINGSSL_PREFIX %+ _X509_STORE_CTX_cleanup
66786681
%xdefine X509_STORE_CTX_free BORINGSSL_PREFIX %+ _X509_STORE_CTX_free
66796682
%xdefine X509_STORE_CTX_get0_cert BORINGSSL_PREFIX %+ _X509_STORE_CTX_get0_cert
@@ -6713,6 +6716,7 @@
67136716
%xdefine X509_STORE_CTX_set_time_posix BORINGSSL_PREFIX %+ _X509_STORE_CTX_set_time_posix
67146717
%xdefine X509_STORE_CTX_set_trust BORINGSSL_PREFIX %+ _X509_STORE_CTX_set_trust
67156718
%xdefine X509_STORE_CTX_set_verify_cb BORINGSSL_PREFIX %+ _X509_STORE_CTX_set_verify_cb
6719+
%xdefine X509_STORE_CTX_set_verify_crit_oids BORINGSSL_PREFIX %+ _X509_STORE_CTX_set_verify_crit_oids
67166720
%xdefine X509_STORE_CTX_trusted_stack BORINGSSL_PREFIX %+ _X509_STORE_CTX_trusted_stack
67176721
%xdefine X509_STORE_add_cert BORINGSSL_PREFIX %+ _X509_STORE_add_cert
67186722
%xdefine X509_STORE_add_crl BORINGSSL_PREFIX %+ _X509_STORE_add_crl

aws-lc-sys/src/aarch64_apple_darwin_crypto.rs

+23-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub const AWSLC_VERSION_NAME: &[u8; 7] = b"AWS-LC\0";
111111
pub const OPENSSL_VERSION_NUMBER: i32 = 269488255;
112112
pub const SSLEAY_VERSION_NUMBER: i32 = 269488255;
113113
pub const AWSLC_API_VERSION: i32 = 33;
114-
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.50.1\0";
114+
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.51.1\0";
115115
pub const AES_ENCRYPT: i32 = 1;
116116
pub const AES_DECRYPT: i32 = 0;
117117
pub const AES_MAXNR: i32 = 14;
@@ -132,7 +132,7 @@ pub const CRYPTO_LOCK: i32 = 1;
132132
pub const CRYPTO_UNLOCK: i32 = 2;
133133
pub const CRYPTO_READ: i32 = 4;
134134
pub const CRYPTO_WRITE: i32 = 8;
135-
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.50.1)\0";
135+
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.51.1)\0";
136136
pub const OPENSSL_VERSION: i32 = 0;
137137
pub const OPENSSL_CFLAGS: i32 = 1;
138138
pub const OPENSSL_BUILT_ON: i32 = 2;
@@ -22749,6 +22749,27 @@ extern "C" {
2274922749
trust: ::std::os::raw::c_int,
2275022750
) -> ::std::os::raw::c_int;
2275122751
}
22752+
extern "C" {
22753+
#[link_name = "\u{1}_aws_lc_0_29_0_X509_STORE_CTX_add_custom_crit_oid"]
22754+
pub fn X509_STORE_CTX_add_custom_crit_oid(
22755+
ctx: *mut X509_STORE_CTX,
22756+
oid: *mut ASN1_OBJECT,
22757+
) -> ::std::os::raw::c_int;
22758+
}
22759+
pub type X509_STORE_CTX_verify_crit_oids_cb = ::std::option::Option<
22760+
unsafe extern "C" fn(
22761+
ctx: *mut X509_STORE_CTX,
22762+
x509: *mut X509,
22763+
oids: *mut stack_st_ASN1_OBJECT,
22764+
) -> ::std::os::raw::c_int,
22765+
>;
22766+
extern "C" {
22767+
#[link_name = "\u{1}_aws_lc_0_29_0_X509_STORE_CTX_set_verify_crit_oids"]
22768+
pub fn X509_STORE_CTX_set_verify_crit_oids(
22769+
ctx: *mut X509_STORE_CTX,
22770+
verify_custom_crit_oids: X509_STORE_CTX_verify_crit_oids_cb,
22771+
);
22772+
}
2275222773
extern "C" {
2275322774
#[link_name = "\u{1}_aws_lc_0_29_0_X509_VERIFY_PARAM_new"]
2275422775
pub fn X509_VERIFY_PARAM_new() -> *mut X509_VERIFY_PARAM;

aws-lc-sys/src/aarch64_linux_android_crypto.rs

+23-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub const AWSLC_VERSION_NAME: &[u8; 7] = b"AWS-LC\0";
111111
pub const OPENSSL_VERSION_NUMBER: i32 = 269488255;
112112
pub const SSLEAY_VERSION_NUMBER: i32 = 269488255;
113113
pub const AWSLC_API_VERSION: i32 = 33;
114-
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.50.1\0";
114+
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.51.1\0";
115115
pub const AES_ENCRYPT: i32 = 1;
116116
pub const AES_DECRYPT: i32 = 0;
117117
pub const AES_MAXNR: i32 = 14;
@@ -132,7 +132,7 @@ pub const CRYPTO_LOCK: i32 = 1;
132132
pub const CRYPTO_UNLOCK: i32 = 2;
133133
pub const CRYPTO_READ: i32 = 4;
134134
pub const CRYPTO_WRITE: i32 = 8;
135-
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.50.1)\0";
135+
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.51.1)\0";
136136
pub const OPENSSL_VERSION: i32 = 0;
137137
pub const OPENSSL_CFLAGS: i32 = 1;
138138
pub const OPENSSL_BUILT_ON: i32 = 2;
@@ -22406,6 +22406,27 @@ extern "C" {
2240622406
trust: ::std::os::raw::c_int,
2240722407
) -> ::std::os::raw::c_int;
2240822408
}
22409+
extern "C" {
22410+
#[link_name = "\u{1}aws_lc_0_29_0_X509_STORE_CTX_add_custom_crit_oid"]
22411+
pub fn X509_STORE_CTX_add_custom_crit_oid(
22412+
ctx: *mut X509_STORE_CTX,
22413+
oid: *mut ASN1_OBJECT,
22414+
) -> ::std::os::raw::c_int;
22415+
}
22416+
pub type X509_STORE_CTX_verify_crit_oids_cb = ::std::option::Option<
22417+
unsafe extern "C" fn(
22418+
ctx: *mut X509_STORE_CTX,
22419+
x509: *mut X509,
22420+
oids: *mut stack_st_ASN1_OBJECT,
22421+
) -> ::std::os::raw::c_int,
22422+
>;
22423+
extern "C" {
22424+
#[link_name = "\u{1}aws_lc_0_29_0_X509_STORE_CTX_set_verify_crit_oids"]
22425+
pub fn X509_STORE_CTX_set_verify_crit_oids(
22426+
ctx: *mut X509_STORE_CTX,
22427+
verify_custom_crit_oids: X509_STORE_CTX_verify_crit_oids_cb,
22428+
);
22429+
}
2240922430
extern "C" {
2241022431
#[link_name = "\u{1}aws_lc_0_29_0_X509_VERIFY_PARAM_new"]
2241122432
pub fn X509_VERIFY_PARAM_new() -> *mut X509_VERIFY_PARAM;

aws-lc-sys/src/aarch64_pc_windows_msvc_crypto.rs

+23-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub const AWSLC_VERSION_NAME: &[u8; 7] = b"AWS-LC\0";
111111
pub const OPENSSL_VERSION_NUMBER: i32 = 269488255;
112112
pub const SSLEAY_VERSION_NUMBER: i32 = 269488255;
113113
pub const AWSLC_API_VERSION: i32 = 33;
114-
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.50.1\0";
114+
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.51.1\0";
115115
pub const AES_ENCRYPT: i32 = 1;
116116
pub const AES_DECRYPT: i32 = 0;
117117
pub const AES_MAXNR: i32 = 14;
@@ -132,7 +132,7 @@ pub const CRYPTO_LOCK: i32 = 1;
132132
pub const CRYPTO_UNLOCK: i32 = 2;
133133
pub const CRYPTO_READ: i32 = 4;
134134
pub const CRYPTO_WRITE: i32 = 8;
135-
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.50.1)\0";
135+
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.51.1)\0";
136136
pub const OPENSSL_VERSION: i32 = 0;
137137
pub const OPENSSL_CFLAGS: i32 = 1;
138138
pub const OPENSSL_BUILT_ON: i32 = 2;
@@ -22408,6 +22408,27 @@ extern "C" {
2240822408
trust: ::std::os::raw::c_int,
2240922409
) -> ::std::os::raw::c_int;
2241022410
}
22411+
extern "C" {
22412+
#[link_name = "\u{1}aws_lc_0_29_0_X509_STORE_CTX_add_custom_crit_oid"]
22413+
pub fn X509_STORE_CTX_add_custom_crit_oid(
22414+
ctx: *mut X509_STORE_CTX,
22415+
oid: *mut ASN1_OBJECT,
22416+
) -> ::std::os::raw::c_int;
22417+
}
22418+
pub type X509_STORE_CTX_verify_crit_oids_cb = ::std::option::Option<
22419+
unsafe extern "C" fn(
22420+
ctx: *mut X509_STORE_CTX,
22421+
x509: *mut X509,
22422+
oids: *mut stack_st_ASN1_OBJECT,
22423+
) -> ::std::os::raw::c_int,
22424+
>;
22425+
extern "C" {
22426+
#[link_name = "\u{1}aws_lc_0_29_0_X509_STORE_CTX_set_verify_crit_oids"]
22427+
pub fn X509_STORE_CTX_set_verify_crit_oids(
22428+
ctx: *mut X509_STORE_CTX,
22429+
verify_custom_crit_oids: X509_STORE_CTX_verify_crit_oids_cb,
22430+
);
22431+
}
2241122432
extern "C" {
2241222433
#[link_name = "\u{1}aws_lc_0_29_0_X509_VERIFY_PARAM_new"]
2241322434
pub fn X509_VERIFY_PARAM_new() -> *mut X509_VERIFY_PARAM;

aws-lc-sys/src/aarch64_unknown_linux_gnu_crypto.rs

+23-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub const AWSLC_VERSION_NAME: &[u8; 7] = b"AWS-LC\0";
111111
pub const OPENSSL_VERSION_NUMBER: i32 = 269488255;
112112
pub const SSLEAY_VERSION_NUMBER: i32 = 269488255;
113113
pub const AWSLC_API_VERSION: i32 = 33;
114-
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.50.1\0";
114+
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.51.1\0";
115115
pub const AES_ENCRYPT: i32 = 1;
116116
pub const AES_DECRYPT: i32 = 0;
117117
pub const AES_MAXNR: i32 = 14;
@@ -132,7 +132,7 @@ pub const CRYPTO_LOCK: i32 = 1;
132132
pub const CRYPTO_UNLOCK: i32 = 2;
133133
pub const CRYPTO_READ: i32 = 4;
134134
pub const CRYPTO_WRITE: i32 = 8;
135-
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.50.1)\0";
135+
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.51.1)\0";
136136
pub const OPENSSL_VERSION: i32 = 0;
137137
pub const OPENSSL_CFLAGS: i32 = 1;
138138
pub const OPENSSL_BUILT_ON: i32 = 2;
@@ -22784,6 +22784,27 @@ extern "C" {
2278422784
trust: ::std::os::raw::c_int,
2278522785
) -> ::std::os::raw::c_int;
2278622786
}
22787+
extern "C" {
22788+
#[link_name = "\u{1}aws_lc_0_29_0_X509_STORE_CTX_add_custom_crit_oid"]
22789+
pub fn X509_STORE_CTX_add_custom_crit_oid(
22790+
ctx: *mut X509_STORE_CTX,
22791+
oid: *mut ASN1_OBJECT,
22792+
) -> ::std::os::raw::c_int;
22793+
}
22794+
pub type X509_STORE_CTX_verify_crit_oids_cb = ::std::option::Option<
22795+
unsafe extern "C" fn(
22796+
ctx: *mut X509_STORE_CTX,
22797+
x509: *mut X509,
22798+
oids: *mut stack_st_ASN1_OBJECT,
22799+
) -> ::std::os::raw::c_int,
22800+
>;
22801+
extern "C" {
22802+
#[link_name = "\u{1}aws_lc_0_29_0_X509_STORE_CTX_set_verify_crit_oids"]
22803+
pub fn X509_STORE_CTX_set_verify_crit_oids(
22804+
ctx: *mut X509_STORE_CTX,
22805+
verify_custom_crit_oids: X509_STORE_CTX_verify_crit_oids_cb,
22806+
);
22807+
}
2278722808
extern "C" {
2278822809
#[link_name = "\u{1}aws_lc_0_29_0_X509_VERIFY_PARAM_new"]
2278922810
pub fn X509_VERIFY_PARAM_new() -> *mut X509_VERIFY_PARAM;

aws-lc-sys/src/aarch64_unknown_linux_musl_crypto.rs

+23-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub const AWSLC_VERSION_NAME: &[u8; 7] = b"AWS-LC\0";
111111
pub const OPENSSL_VERSION_NUMBER: i32 = 269488255;
112112
pub const SSLEAY_VERSION_NUMBER: i32 = 269488255;
113113
pub const AWSLC_API_VERSION: i32 = 33;
114-
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.50.1\0";
114+
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.51.1\0";
115115
pub const AES_ENCRYPT: i32 = 1;
116116
pub const AES_DECRYPT: i32 = 0;
117117
pub const AES_MAXNR: i32 = 14;
@@ -132,7 +132,7 @@ pub const CRYPTO_LOCK: i32 = 1;
132132
pub const CRYPTO_UNLOCK: i32 = 2;
133133
pub const CRYPTO_READ: i32 = 4;
134134
pub const CRYPTO_WRITE: i32 = 8;
135-
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.50.1)\0";
135+
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.51.1)\0";
136136
pub const OPENSSL_VERSION: i32 = 0;
137137
pub const OPENSSL_CFLAGS: i32 = 1;
138138
pub const OPENSSL_BUILT_ON: i32 = 2;
@@ -22474,6 +22474,27 @@ extern "C" {
2247422474
trust: ::std::os::raw::c_int,
2247522475
) -> ::std::os::raw::c_int;
2247622476
}
22477+
extern "C" {
22478+
#[link_name = "\u{1}aws_lc_0_29_0_X509_STORE_CTX_add_custom_crit_oid"]
22479+
pub fn X509_STORE_CTX_add_custom_crit_oid(
22480+
ctx: *mut X509_STORE_CTX,
22481+
oid: *mut ASN1_OBJECT,
22482+
) -> ::std::os::raw::c_int;
22483+
}
22484+
pub type X509_STORE_CTX_verify_crit_oids_cb = ::std::option::Option<
22485+
unsafe extern "C" fn(
22486+
ctx: *mut X509_STORE_CTX,
22487+
x509: *mut X509,
22488+
oids: *mut stack_st_ASN1_OBJECT,
22489+
) -> ::std::os::raw::c_int,
22490+
>;
22491+
extern "C" {
22492+
#[link_name = "\u{1}aws_lc_0_29_0_X509_STORE_CTX_set_verify_crit_oids"]
22493+
pub fn X509_STORE_CTX_set_verify_crit_oids(
22494+
ctx: *mut X509_STORE_CTX,
22495+
verify_custom_crit_oids: X509_STORE_CTX_verify_crit_oids_cb,
22496+
);
22497+
}
2247722498
extern "C" {
2247822499
#[link_name = "\u{1}aws_lc_0_29_0_X509_VERIFY_PARAM_new"]
2247922500
pub fn X509_VERIFY_PARAM_new() -> *mut X509_VERIFY_PARAM;

0 commit comments

Comments
 (0)