Skip to content

Commit

Permalink
Update aws-lc-fips-sys to 0.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Feb 26, 2024
1 parent 65c9d11 commit 65f0c0d
Show file tree
Hide file tree
Showing 9 changed files with 10,713 additions and 10,693 deletions.
4 changes: 2 additions & 2 deletions aws-lc-fips-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[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.3"
version = "0.12.4"
links = "aws_lc_fips_0_12_3"
authors = ["AWS-LC"]
edition = "2021"
Expand Down Expand Up @@ -74,4 +74,4 @@ libc = "0.2"
paste = "1.0.11"

[package.metadata.aws-lc-fips-sys]
commit-hash = "31b52d2ec1e329481f74d5ffa329030b7c65bce7"
commit-hash = "e7968359f4e009f3859e6a7a72828bdb66c5e184"
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#ifndef BORINGSSL_PREFIX_SYMBOLS_H

#define BORINGSSL_PREFIX_SYMBOLS_H

#ifndef BORINGSSL_PREFIX
#define BORINGSSL_PREFIX aws_lc_fips_0_12_3
#endif
#define BORINGSSL_PREFIX aws_lc_fips_0_12_4
#endif // BORINGSSL_PREFIX


// BORINGSSL_ADD_PREFIX pastes two identifiers into one. It performs one
// iteration of macro expansion on its arguments before pasting.
Expand Down Expand Up @@ -3889,3 +3894,5 @@
#define x509v3_hex_to_bytes BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x509v3_hex_to_bytes)
#define x509v3_looks_like_dns_name BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x509v3_looks_like_dns_name)
#define x86_64_assembly_implementation_FOR_TESTING BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, x86_64_assembly_implementation_FOR_TESTING)

#endif // BORINGSSL_PREFIX_SYMBOLS_H
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#ifndef BORINGSSL_PREFIX
#define BORINGSSL_PREFIX aws_lc_fips_0_12_3
#endif

#if !defined(__APPLE__)
#include <openssl/boringssl_prefix_symbols.h>
#else
#ifndef BORINGSSL_PREFIX_SYMBOLS_ASM_H

#define BORINGSSL_PREFIX_SYMBOLS_ASM_H

#ifndef BORINGSSL_PREFIX
#define BORINGSSL_PREFIX aws_lc_fips_0_12_4
#endif // BORINGSSL_PREFIX

// On iOS and macOS, we need to treat assembly symbols differently from other
// symbols. The linker expects symbols to be prefixed with an underscore.
// Perlasm thus generates symbol with this underscore applied. Our macros must,
Expand Down Expand Up @@ -3894,4 +3898,6 @@
#define _x509v3_hex_to_bytes BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, x509v3_hex_to_bytes)
#define _x509v3_looks_like_dns_name BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, x509v3_looks_like_dns_name)
#define _x86_64_assembly_implementation_FOR_TESTING BORINGSSL_ADD_PREFIX_MAC_ASM(BORINGSSL_PREFIX, x86_64_assembly_implementation_FOR_TESTING)
#endif

#endif // BORINGSSL_PREFIX_SYMBOLS_ASM_H
#endif // !defined(__APPLE__)
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@
; OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
; CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

%ifndef BORINGSSL_PREFIX_SYMBOLS_NASM_INC

%define BORINGSSL_PREFIX_SYMBOLS_NASM_INC

%ifndef BORINGSSL_PREFIX
%define BORINGSSL_PREFIX aws_lc_fips_0_12_3
%endif
%define BORINGSSL_PREFIX aws_lc_fips_0_12_4
%endif ; BORINGSSL_PREFIX

; 32-bit Windows adds underscores to C functions, while 64-bit Windows does not.
%ifidn __OUTPUT_FORMAT__, win32

%xdefine _ACCESS_DESCRIPTION_free _ %+ BORINGSSL_PREFIX %+ _ACCESS_DESCRIPTION_free
%xdefine _ACCESS_DESCRIPTION_it _ %+ BORINGSSL_PREFIX %+ _ACCESS_DESCRIPTION_it
%xdefine _ACCESS_DESCRIPTION_new _ %+ BORINGSSL_PREFIX %+ _ACCESS_DESCRIPTION_new
Expand Down Expand Up @@ -7755,4 +7760,6 @@
%xdefine x509v3_hex_to_bytes BORINGSSL_PREFIX %+ _x509v3_hex_to_bytes
%xdefine x509v3_looks_like_dns_name BORINGSSL_PREFIX %+ _x509v3_looks_like_dns_name
%xdefine x86_64_assembly_implementation_FOR_TESTING BORINGSSL_PREFIX %+ _x86_64_assembly_implementation_FOR_TESTING
%endif

%endif ; __OUTPUT_FORMAT__
%endif ; BORINGSSL_PREFIX_SYMBOLS_NASM_INC
Loading

0 comments on commit 65f0c0d

Please sign in to comment.