Skip to content

Commit

Permalink
Generated bindings for aarch64-unknown-linux-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-lc-fips-sys-bindings-generator committed Dec 12, 2024
1 parent a8b0075 commit 56bceec
Showing 1 changed file with 132 additions and 16 deletions.
148 changes: 132 additions & 16 deletions aws-lc-fips-sys/src/aarch64_unknown_linux_gnu_crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,8 @@ pub const CONF_R_UNABLE_TO_CREATE_NEW_SECTION: i32 = 104;
pub const CONF_R_VARIABLE_HAS_NO_VALUE: i32 = 105;
pub const CONF_R_VARIABLE_EXPANSION_TOO_LONG: i32 = 106;
pub const CONF_R_VARIABLE_EXPANSION_NOT_SUPPORTED: i32 = 107;
pub const CTR_DRBG_ENTROPY_LEN: i32 = 48;
pub const CTR_DRBG_MAX_GENERATE_LENGTH: i32 = 65536;
pub const X25519_PRIVATE_KEY_LEN: i32 = 32;
pub const X25519_PUBLIC_VALUE_LEN: i32 = 32;
pub const X25519_SHARED_KEY_LEN: i32 = 32;
Expand Down Expand Up @@ -3322,6 +3324,9 @@ pub const HRSS_CIPHERTEXT_BYTES: i32 = 1138;
pub const HRSS_KEY_BYTES: i32 = 32;
pub const HRSS_POLY3_BYTES: i32 = 140;
pub const HRSS_PRIVATE_KEY_BYTES: i32 = 1452;
pub const EVP_PKEY_HKDEF_MODE_EXTRACT_AND_EXPAND: i32 = 0;
pub const EVP_PKEY_HKDEF_MODE_EXTRACT_ONLY: i32 = 1;
pub const EVP_PKEY_HKDEF_MODE_EXPAND_ONLY: i32 = 2;
pub const MD4_CBLOCK: i32 = 64;
pub const MD4_DIGEST_LENGTH: i32 = 16;
pub const PKCS7_DETACHED: i32 = 64;
Expand Down Expand Up @@ -13294,6 +13299,41 @@ extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_OPENSSL_no_config"]
pub fn OPENSSL_no_config();
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_CTR_DRBG_new"]
pub fn CTR_DRBG_new(
entropy: *const u8,
personalization: *const u8,
personalization_len: usize,
) -> *mut CTR_DRBG_STATE;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_CTR_DRBG_free"]
pub fn CTR_DRBG_free(state: *mut CTR_DRBG_STATE);
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_CTR_DRBG_reseed"]
pub fn CTR_DRBG_reseed(
drbg: *mut CTR_DRBG_STATE,
entropy: *const u8,
additional_data: *const u8,
additional_data_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_CTR_DRBG_generate"]
pub fn CTR_DRBG_generate(
drbg: *mut CTR_DRBG_STATE,
out: *mut u8,
out_len: usize,
additional_data: *const u8,
additional_data_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_CTR_DRBG_clear"]
pub fn CTR_DRBG_clear(drbg: *mut CTR_DRBG_STATE);
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_X25519_keypair"]
pub fn X25519_keypair(out_public_value: *mut u8, out_private_key: *mut u8);
Expand Down Expand Up @@ -17955,6 +17995,98 @@ extern "C" {
in_: *const u8,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_CRYPTO_tls1_prf"]
pub fn CRYPTO_tls1_prf(
digest: *const EVP_MD,
out: *mut u8,
out_len: usize,
secret: *const u8,
secret_len: usize,
label: *const ::std::os::raw::c_char,
label_len: usize,
seed1: *const u8,
seed1_len: usize,
seed2: *const u8,
seed2_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_SSKDF_digest"]
pub fn SSKDF_digest(
out_key: *mut u8,
out_len: usize,
digest: *const EVP_MD,
secret: *const u8,
secret_len: usize,
info: *const u8,
info_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_SSKDF_hmac"]
pub fn SSKDF_hmac(
out_key: *mut u8,
out_len: usize,
digest: *const EVP_MD,
secret: *const u8,
secret_len: usize,
info: *const u8,
info_len: usize,
salt: *const u8,
salt_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_KBKDF_ctr_hmac"]
pub fn KBKDF_ctr_hmac(
out_key: *mut u8,
out_len: usize,
digest: *const EVP_MD,
secret: *const u8,
secret_len: usize,
info: *const u8,
info_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_EVP_PKEY_CTX_hkdf_mode"]
pub fn EVP_PKEY_CTX_hkdf_mode(
ctx: *mut EVP_PKEY_CTX,
mode: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_EVP_PKEY_CTX_set_hkdf_md"]
pub fn EVP_PKEY_CTX_set_hkdf_md(
ctx: *mut EVP_PKEY_CTX,
md: *const EVP_MD,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_EVP_PKEY_CTX_set1_hkdf_key"]
pub fn EVP_PKEY_CTX_set1_hkdf_key(
ctx: *mut EVP_PKEY_CTX,
key: *const u8,
key_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_EVP_PKEY_CTX_set1_hkdf_salt"]
pub fn EVP_PKEY_CTX_set1_hkdf_salt(
ctx: *mut EVP_PKEY_CTX,
salt: *const u8,
salt_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_EVP_PKEY_CTX_add1_hkdf_info"]
pub fn EVP_PKEY_CTX_add1_hkdf_info(
ctx: *mut EVP_PKEY_CTX,
info: *const u8,
info_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_MD4_Init"]
pub fn MD4_Init(md4: *mut MD4_CTX) -> ::std::os::raw::c_int;
Expand Down Expand Up @@ -28234,22 +28366,6 @@ extern "C" {
encrypted_bit: u8,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_CRYPTO_tls1_prf"]
pub fn CRYPTO_tls1_prf(
digest: *const EVP_MD,
out: *mut u8,
out_len: usize,
secret: *const u8,
secret_len: usize,
label: *const ::std::os::raw::c_char,
label_len: usize,
seed1: *const u8,
seed1_len: usize,
seed2: *const u8,
seed2_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}aws_lc_fips_0_13_0_ERR_GET_LIB_RUST"]
pub fn ERR_GET_LIB_RUST(packed_error: u32) -> ::std::os::raw::c_int;
Expand Down

0 comments on commit 56bceec

Please sign in to comment.