| 1 |
/* automatically generated by rust-bindgen 0.72.1 */ |
| 2 |
|
| 3 |
|
| 4 |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 5 |
// SPDX-License-Identifier: Apache-2.0 OR ISC |
| 6 |
|
| 7 |
|
| 8 |
#![allow( |
| 9 |
clippy::cast_lossless, |
| 10 |
clippy::cast_possible_truncation, |
| 11 |
clippy::cast_possible_wrap, |
| 12 |
clippy::default_trait_access, |
| 13 |
clippy::doc_markdown, |
| 14 |
clippy::missing_safety_doc, |
| 15 |
clippy::must_use_candidate, |
| 16 |
clippy::not_unsafe_ptr_arg_deref, |
| 17 |
clippy::ptr_as_ptr, |
| 18 |
clippy::ptr_offset_with_cast, |
| 19 |
clippy::pub_underscore_fields, |
| 20 |
clippy::semicolon_if_nothing_returned, |
| 21 |
clippy::too_many_lines, |
| 22 |
clippy::unreadable_literal, |
| 23 |
clippy::used_underscore_binding, |
| 24 |
clippy::useless_transmute, |
| 25 |
dead_code, |
| 26 |
improper_ctypes, |
| 27 |
non_camel_case_types, |
| 28 |
non_snake_case, |
| 29 |
non_upper_case_globals, |
| 30 |
unpredictable_function_pointer_comparisons, |
| 31 |
unused_imports |
| 32 |
)] |
| 33 |
|
| 34 |
|
| 35 |
#[repr(C)] |
| 36 |
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] |
| 37 |
pub struct __BindgenBitfieldUnit<Storage> { |
| 38 |
storage: Storage, |
| 39 |
} |
| 40 |
impl<Storage> __BindgenBitfieldUnit<Storage> { |
| 41 |
#[inline] |
| 42 |
pub const fn new(storage: Storage) -> Self { |
| 43 |
Self { storage } |
| 44 |
} |
| 45 |
} |
| 46 |
impl<Storage> __BindgenBitfieldUnit<Storage> |
| 47 |
where |
| 48 |
Storage: AsRef<[u8]> + AsMut<[u8]>, |
| 49 |
{ |
| 50 |
#[inline] |
| 51 |
fn extract_bit(byte: u8, index: usize) -> bool { |
| 52 |
let bit_index = if cfg!(target_endian = "big") { |
| 53 |
7 - (index % 8) |
| 54 |
} else { |
| 55 |
index % 8 |
| 56 |
}; |
| 57 |
let mask = 1 << bit_index; |
| 58 |
byte & mask == mask |
| 59 |
} |
| 60 |
#[inline] |
| 61 |
pub fn get_bit(&self, index: usize) -> bool { |
| 62 |
debug_assert!(index / 8 < self.storage.as_ref().len()); |
| 63 |
let byte_index = index / 8; |
| 64 |
let byte = self.storage.as_ref()[byte_index]; |
| 65 |
Self::extract_bit(byte, index) |
| 66 |
} |
| 67 |
#[inline] |
| 68 |
pub unsafe fn raw_get_bit(this: *const Self, index: usize) -> bool { |
| 69 |
debug_assert!(index / 8 < core::mem::size_of::<Storage>()); |
| 70 |
let byte_index = index / 8; |
| 71 |
let byte = unsafe { |
| 72 |
*(core::ptr::addr_of!((*this).storage) as *const u8).offset(byte_index as isize) |
| 73 |
}; |
| 74 |
Self::extract_bit(byte, index) |
| 75 |
} |
| 76 |
#[inline] |
| 77 |
fn change_bit(byte: u8, index: usize, val: bool) -> u8 { |
| 78 |
let bit_index = if cfg!(target_endian = "big") { |
| 79 |
7 - (index % 8) |
| 80 |
} else { |
| 81 |
index % 8 |
| 82 |
}; |
| 83 |
let mask = 1 << bit_index; |
| 84 |
if val { |
| 85 |
byte | mask |
| 86 |
} else { |
| 87 |
byte & !mask |
| 88 |
} |
| 89 |
} |
| 90 |
#[inline] |
| 91 |
pub fn set_bit(&mut self, index: usize, val: bool) { |
| 92 |
debug_assert!(index / 8 < self.storage.as_ref().len()); |
| 93 |
let byte_index = index / 8; |
| 94 |
let byte = &mut self.storage.as_mut()[byte_index]; |
| 95 |
*byte = Self::change_bit(*byte, index, val); |
| 96 |
} |
| 97 |
#[inline] |
| 98 |
pub unsafe fn raw_set_bit(this: *mut Self, index: usize, val: bool) { |
| 99 |
debug_assert!(index / 8 < core::mem::size_of::<Storage>()); |
| 100 |
let byte_index = index / 8; |
| 101 |
let byte = unsafe { |
| 102 |
(core::ptr::addr_of_mut!((*this).storage) as *mut u8).offset(byte_index as isize) |
| 103 |
}; |
| 104 |
unsafe { *byte = Self::change_bit(*byte, index, val) }; |
| 105 |
} |
| 106 |
#[inline] |
| 107 |
pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { |
| 108 |
debug_assert!(bit_width <= 64); |
| 109 |
debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); |
| 110 |
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); |
| 111 |
let mut val = 0; |
| 112 |
for i in 0..(bit_width as usize) { |
| 113 |
if self.get_bit(i + bit_offset) { |
| 114 |
let index = if cfg!(target_endian = "big") { |
| 115 |
bit_width as usize - 1 - i |
| 116 |
} else { |
| 117 |
i |
| 118 |
}; |
| 119 |
val |= 1 << index; |
| 120 |
} |
| 121 |
} |
| 122 |
val |
| 123 |
} |
| 124 |
#[inline] |
| 125 |
pub unsafe fn raw_get(this: *const Self, bit_offset: usize, bit_width: u8) -> u64 { |
| 126 |
debug_assert!(bit_width <= 64); |
| 127 |
debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>()); |
| 128 |
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>()); |
| 129 |
let mut val = 0; |
| 130 |
for i in 0..(bit_width as usize) { |
| 131 |
if unsafe { Self::raw_get_bit(this, i + bit_offset) } { |
| 132 |
let index = if cfg!(target_endian = "big") { |
| 133 |
bit_width as usize - 1 - i |
| 134 |
} else { |
| 135 |
i |
| 136 |
}; |
| 137 |
val |= 1 << index; |
| 138 |
} |
| 139 |
} |
| 140 |
val |
| 141 |
} |
| 142 |
#[inline] |
| 143 |
pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { |
| 144 |
debug_assert!(bit_width <= 64); |
| 145 |
debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); |
| 146 |
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); |
| 147 |
for i in 0..(bit_width as usize) { |
| 148 |
let mask = 1 << i; |
| 149 |
let val_bit_is_set = val & mask == mask; |
| 150 |
let index = if cfg!(target_endian = "big") { |
| 151 |
bit_width as usize - 1 - i |
| 152 |
} else { |
| 153 |
i |
| 154 |
}; |
| 155 |
self.set_bit(index + bit_offset, val_bit_is_set); |
| 156 |
} |
| 157 |
} |
| 158 |
#[inline] |
| 159 |
pub unsafe fn raw_set(this: *mut Self, bit_offset: usize, bit_width: u8, val: u64) { |
| 160 |
debug_assert!(bit_width <= 64); |
| 161 |
debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>()); |
| 162 |
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>()); |
| 163 |
for i in 0..(bit_width as usize) { |
| 164 |
let mask = 1 << i; |
| 165 |
let val_bit_is_set = val & mask == mask; |
| 166 |
let index = if cfg!(target_endian = "big") { |
| 167 |
bit_width as usize - 1 - i |
| 168 |
} else { |
| 169 |
i |
| 170 |
}; |
| 171 |
unsafe { Self::raw_set_bit(this, index + bit_offset, val_bit_is_set) }; |
| 172 |
} |
| 173 |
} |
| 174 |
} |
| 175 |
#[doc = r" If Bindgen could only determine the size and alignment of a"] |
| 176 |
#[doc = r" type, it is represented like this."] |
| 177 |
#[derive(PartialEq, Copy, Clone, Debug, Hash)] |
| 178 |
#[repr(C)] |
| 179 |
pub struct __BindgenOpaqueArray<T: Copy, const N: usize>(pub [T; N]); |
| 180 |
impl<T: Copy + Default, const N: usize> Default for __BindgenOpaqueArray<T, N> { |
| 181 |
fn default() -> Self { |
| 182 |
Self([<T as Default>::default(); N]) |
| 183 |
} |
| 184 |
} |
| 185 |
pub const AWSLC_VERSION_NAME: &[u8; 7] = b"AWS-LC\0"; |
| 186 |
pub const OPENSSL_VERSION_NUMBER: i32 = 269488255; |
| 187 |
pub const SSLEAY_VERSION_NUMBER: i32 = 269488255; |
| 188 |
pub const AWSLC_API_VERSION: i32 = 35; |
| 189 |
pub const AWSLC_VERSION_NUMBER_STRING: &[u8; 7] = b"1.73.0\0"; |
| 190 |
pub const AES_ENCRYPT: i32 = 1; |
| 191 |
pub const AES_DECRYPT: i32 = 0; |
| 192 |
pub const AES_MAXNR: i32 = 14; |
| 193 |
pub const AES_BLOCK_SIZE: i32 = 16; |
| 194 |
pub const SHA_CBLOCK: i32 = 64; |
| 195 |
pub const SHA_DIGEST_LENGTH: i32 = 20; |
| 196 |
pub const SHA224_CBLOCK: i32 = 64; |
| 197 |
pub const SHA224_DIGEST_LENGTH: i32 = 28; |
| 198 |
pub const SHA256_CBLOCK: i32 = 64; |
| 199 |
pub const SHA256_DIGEST_LENGTH: i32 = 32; |
| 200 |
pub const SHA384_CBLOCK: i32 = 128; |
| 201 |
pub const SHA384_DIGEST_LENGTH: i32 = 48; |
| 202 |
pub const SHA512_CBLOCK: i32 = 128; |
| 203 |
pub const SHA512_DIGEST_LENGTH: i32 = 64; |
| 204 |
pub const SHA512_224_DIGEST_LENGTH: i32 = 28; |
| 205 |
pub const SHA512_256_DIGEST_LENGTH: i32 = 32; |
| 206 |
pub const CRYPTO_LOCK: i32 = 1; |
| 207 |
pub const CRYPTO_UNLOCK: i32 = 2; |
| 208 |
pub const CRYPTO_READ: i32 = 4; |
| 209 |
pub const CRYPTO_WRITE: i32 = 8; |
| 210 |
pub const OPENSSL_VERSION_TEXT: &[u8; 42] = b"OpenSSL 1.1.1 (compatible; AWS-LC 1.73.0)\0"; |
| 211 |
pub const OPENSSL_VERSION: i32 = 0; |
| 212 |
pub const OPENSSL_CFLAGS: i32 = 1; |
| 213 |
pub const OPENSSL_BUILT_ON: i32 = 2; |
| 214 |
pub const OPENSSL_PLATFORM: i32 = 3; |
| 215 |
pub const OPENSSL_DIR: i32 = 4; |
| 216 |
pub const SSLEAY_VERSION: i32 = 0; |
| 217 |
pub const SSLEAY_CFLAGS: i32 = 1; |
| 218 |
pub const SSLEAY_BUILT_ON: i32 = 2; |
| 219 |
pub const SSLEAY_PLATFORM: i32 = 3; |
| 220 |
pub const SSLEAY_DIR: i32 = 4; |
| 221 |
pub const OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS: i32 = 0; |
| 222 |
pub const OPENSSL_INIT_LOAD_CRYPTO_STRINGS: i32 = 0; |
| 223 |
pub const OPENSSL_INIT_ADD_ALL_CIPHERS: i32 = 0; |
| 224 |
pub const OPENSSL_INIT_ADD_ALL_DIGESTS: i32 = 0; |
| 225 |
pub const OPENSSL_INIT_NO_ADD_ALL_CIPHERS: i32 = 0; |
| 226 |
pub const OPENSSL_INIT_NO_ADD_ALL_DIGESTS: i32 = 0; |
| 227 |
pub const OPENSSL_INIT_LOAD_CONFIG: i32 = 0; |
| 228 |
pub const OPENSSL_INIT_NO_LOAD_CONFIG: i32 = 0; |
| 229 |
pub const OPENSSL_INIT_ENGINE_ALL_BUILTIN: i32 = 0; |
| 230 |
pub const OPENSSL_INIT_ATFORK: i32 = 0; |
| 231 |
pub const CRYPTO_MEM_CHECK_ON: i32 = 0; |
| 232 |
pub const ERR_FLAG_STRING: i32 = 1; |
| 233 |
pub const ERR_FLAG_MALLOCED: i32 = 2; |
| 234 |
pub const ERR_LIB_NONE: i32 = 1; |
| 235 |
pub const ERR_LIB_SYS: i32 = 2; |
| 236 |
pub const ERR_LIB_BN: i32 = 3; |
| 237 |
pub const ERR_LIB_RSA: i32 = 4; |
| 238 |
pub const ERR_LIB_DH: i32 = 5; |
| 239 |
pub const ERR_LIB_EVP: i32 = 6; |
| 240 |
pub const ERR_LIB_BUF: i32 = 7; |
| 241 |
pub const ERR_LIB_OBJ: i32 = 8; |
| 242 |
pub const ERR_LIB_PEM: i32 = 9; |
| 243 |
pub const ERR_LIB_DSA: i32 = 10; |
| 244 |
pub const ERR_LIB_X509: i32 = 11; |
| 245 |
pub const ERR_LIB_ASN1: i32 = 12; |
| 246 |
pub const ERR_LIB_CONF: i32 = 13; |
| 247 |
pub const ERR_LIB_CRYPTO: i32 = 14; |
| 248 |
pub const ERR_LIB_EC: i32 = 15; |
| 249 |
pub const ERR_LIB_SSL: i32 = 16; |
| 250 |
pub const ERR_LIB_BIO: i32 = 17; |
| 251 |
pub const ERR_LIB_PKCS7: i32 = 18; |
| 252 |
pub const ERR_LIB_PKCS8: i32 = 19; |
| 253 |
pub const ERR_LIB_X509V3: i32 = 20; |
| 254 |
pub const ERR_LIB_RAND: i32 = 21; |
| 255 |
pub const ERR_LIB_ENGINE: i32 = 22; |
| 256 |
pub const ERR_LIB_OCSP: i32 = 23; |
| 257 |
pub const ERR_LIB_UI: i32 = 24; |
| 258 |
pub const ERR_LIB_COMP: i32 = 25; |
| 259 |
pub const ERR_LIB_ECDSA: i32 = 26; |
| 260 |
pub const ERR_LIB_ECDH: i32 = 27; |
| 261 |
pub const ERR_LIB_HMAC: i32 = 28; |
| 262 |
pub const ERR_LIB_DIGEST: i32 = 29; |
| 263 |
pub const ERR_LIB_CIPHER: i32 = 30; |
| 264 |
pub const ERR_LIB_HKDF: i32 = 31; |
| 265 |
pub const ERR_LIB_TRUST_TOKEN: i32 = 32; |
| 266 |
pub const ERR_LIB_USER: i32 = 33; |
| 267 |
pub const ERR_NUM_LIBS: i32 = 34; |
| 268 |
pub const ERR_LIB_PKCS12: i32 = 35; |
| 269 |
pub const ERR_LIB_DSO: i32 = 36; |
| 270 |
pub const ERR_LIB_OSSL_STORE: i32 = 37; |
| 271 |
pub const ERR_LIB_FIPS: i32 = 38; |
| 272 |
pub const ERR_LIB_CMS: i32 = 39; |
| 273 |
pub const ERR_LIB_TS: i32 = 40; |
| 274 |
pub const ERR_LIB_CT: i32 = 41; |
| 275 |
pub const ERR_LIB_ASYNC: i32 = 42; |
| 276 |
pub const ERR_LIB_KDF: i32 = 43; |
| 277 |
pub const ERR_LIB_SM2: i32 = 44; |
| 278 |
pub const ERR_R_SYS_LIB: i32 = 2; |
| 279 |
pub const ERR_R_BN_LIB: i32 = 3; |
| 280 |
pub const ERR_R_RSA_LIB: i32 = 4; |
| 281 |
pub const ERR_R_DH_LIB: i32 = 5; |
| 282 |
pub const ERR_R_EVP_LIB: i32 = 6; |
| 283 |
pub const ERR_R_BUF_LIB: i32 = 7; |
| 284 |
pub const ERR_R_OBJ_LIB: i32 = 8; |
| 285 |
pub const ERR_R_PEM_LIB: i32 = 9; |
| 286 |
pub const ERR_R_DSA_LIB: i32 = 10; |
| 287 |
pub const ERR_R_X509_LIB: i32 = 11; |
| 288 |
pub const ERR_R_ASN1_LIB: i32 = 12; |
| 289 |
pub const ERR_R_CONF_LIB: i32 = 13; |
| 290 |
pub const ERR_R_CRYPTO_LIB: i32 = 14; |
| 291 |
pub const ERR_R_EC_LIB: i32 = 15; |
| 292 |
pub const ERR_R_SSL_LIB: i32 = 16; |
| 293 |
pub const ERR_R_BIO_LIB: i32 = 17; |
| 294 |
pub const ERR_R_PKCS7_LIB: i32 = 18; |
| 295 |
pub const ERR_R_PKCS8_LIB: i32 = 19; |
| 296 |
pub const ERR_R_X509V3_LIB: i32 = 20; |
| 297 |
pub const ERR_R_RAND_LIB: i32 = 21; |
| 298 |
pub const ERR_R_DSO_LIB: i32 = 36; |
| 299 |
pub const ERR_R_ENGINE_LIB: i32 = 22; |
| 300 |
pub const ERR_R_OCSP_LIB: i32 = 23; |
| 301 |
pub const ERR_R_UI_LIB: i32 = 24; |
| 302 |
pub const ERR_R_COMP_LIB: i32 = 25; |
| 303 |
pub const ERR_R_ECDSA_LIB: i32 = 26; |
| 304 |
pub const ERR_R_ECDH_LIB: i32 = 27; |
| 305 |
pub const ERR_R_FIPS_LIB: i32 = 38; |
| 306 |
pub const ERR_R_CMS_LIB: i32 = 39; |
| 307 |
pub const ERR_R_TS_LIB: i32 = 40; |
| 308 |
pub const ERR_R_HMAC_LIB: i32 = 28; |
| 309 |
pub const ERR_R_USER_LIB: i32 = 33; |
| 310 |
pub const ERR_R_DIGEST_LIB: i32 = 29; |
| 311 |
pub const ERR_R_CIPHER_LIB: i32 = 30; |
| 312 |
pub const ERR_R_HKDF_LIB: i32 = 31; |
| 313 |
pub const ERR_R_TRUST_TOKEN_LIB: i32 = 32; |
| 314 |
pub const ERR_R_FATAL: i32 = 64; |
| 315 |
pub const ERR_R_MALLOC_FAILURE: i32 = 65; |
| 316 |
pub const ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED: i32 = 66; |
| 317 |
pub const ERR_R_PASSED_NULL_PARAMETER: i32 = 67; |
| 318 |
pub const ERR_R_INTERNAL_ERROR: i32 = 68; |
| 319 |
pub const ERR_R_OVERFLOW: i32 = 69; |
| 320 |
pub const ERR_ERROR_STRING_BUF_LEN: i32 = 120; |
| 321 |
pub const ERR_TXT_STRING: i32 = 1; |
| 322 |
pub const ERR_TXT_MALLOCED: i32 = 2; |
| 323 |
pub const ERR_NUM_ERRORS: i32 = 16; |
| 324 |
pub const BIO_RR_CONNECT: i32 = 2; |
| 325 |
pub const BIO_RR_ACCEPT: i32 = 3; |
| 326 |
pub const BIO_CB_FREE: i32 = 1; |
| 327 |
pub const BIO_CB_READ: i32 = 2; |
| 328 |
pub const BIO_CB_WRITE: i32 = 3; |
| 329 |
pub const BIO_CB_PUTS: i32 = 4; |
| 330 |
pub const BIO_CB_GETS: i32 = 5; |
| 331 |
pub const BIO_CB_CTRL: i32 = 6; |
| 332 |
pub const BIO_CB_RETURN: i32 = 128; |
| 333 |
pub const BIO_NOCLOSE: i32 = 0; |
| 334 |
pub const BIO_CLOSE: i32 = 1; |
| 335 |
pub const BIO_FP_TEXT: i32 = 16; |
| 336 |
pub const BIO_CTRL_DGRAM_CONNECT: i32 = 31; |
| 337 |
pub const BIO_CTRL_DGRAM_SET_CONNECTED: i32 = 32; |
| 338 |
pub const BIO_CTRL_DGRAM_SET_RECV_TIMEOUT: i32 = 33; |
| 339 |
pub const BIO_CTRL_DGRAM_GET_RECV_TIMEOUT: i32 = 34; |
| 340 |
pub const BIO_CTRL_DGRAM_SET_SEND_TIMEOUT: i32 = 35; |
| 341 |
pub const BIO_CTRL_DGRAM_GET_SEND_TIMEOUT: i32 = 36; |
| 342 |
pub const BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP: i32 = 37; |
| 343 |
pub const BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP: i32 = 38; |
| 344 |
pub const BIO_CTRL_DGRAM_QUERY_MTU: i32 = 40; |
| 345 |
pub const BIO_CTRL_DGRAM_GET_MTU: i32 = 41; |
| 346 |
pub const BIO_CTRL_DGRAM_SET_MTU: i32 = 42; |
| 347 |
pub const BIO_CTRL_DGRAM_MTU_EXCEEDED: i32 = 43; |
| 348 |
pub const BIO_CTRL_DGRAM_SET_PEER: i32 = 44; |
| 349 |
pub const BIO_CTRL_DGRAM_GET_PEER: i32 = 46; |
| 350 |
pub const BIO_CTRL_DGRAM_GET_FALLBACK_MTU: i32 = 47; |
| 351 |
pub const BIO_CTRL_RESET: i32 = 1; |
| 352 |
pub const BIO_CTRL_EOF: i32 = 2; |
| 353 |
pub const BIO_CTRL_INFO: i32 = 3; |
| 354 |
pub const BIO_CTRL_GET_CLOSE: i32 = 8; |
| 355 |
pub const BIO_CTRL_SET_CLOSE: i32 = 9; |
| 356 |
pub const BIO_CTRL_PENDING: i32 = 10; |
| 357 |
pub const BIO_CTRL_FLUSH: i32 = 11; |
| 358 |
pub const BIO_CTRL_WPENDING: i32 = 13; |
| 359 |
pub const BIO_CTRL_SET_CALLBACK: i32 = 14; |
| 360 |
pub const BIO_CTRL_GET_CALLBACK: i32 = 15; |
| 361 |
pub const BIO_CTRL_SET: i32 = 4; |
| 362 |
pub const BIO_CTRL_GET: i32 = 5; |
| 363 |
pub const BIO_CTRL_PUSH: i32 = 6; |
| 364 |
pub const BIO_CTRL_POP: i32 = 7; |
| 365 |
pub const BIO_CTRL_DUP: i32 = 12; |
| 366 |
pub const BIO_CTRL_SET_FILENAME: i32 = 30; |
| 367 |
pub const BIO_FLAGS_READ: i32 = 1; |
| 368 |
pub const BIO_FLAGS_WRITE: i32 = 2; |
| 369 |
pub const BIO_FLAGS_IO_SPECIAL: i32 = 4; |
| 370 |
pub const BIO_FLAGS_RWS: i32 = 7; |
| 371 |
pub const BIO_FLAGS_SHOULD_RETRY: i32 = 8; |
| 372 |
pub const BIO_FLAGS_BASE64_NO_NL: i32 = 256; |
| 373 |
pub const BIO_FLAGS_MEM_RDONLY: i32 = 512; |
| 374 |
pub const BIO_TYPE_DESCRIPTOR: i32 = 256; |
| 375 |
pub const BIO_TYPE_FILTER: i32 = 512; |
| 376 |
pub const BIO_TYPE_SOURCE_SINK: i32 = 1024; |
| 377 |
pub const BIO_TYPE_NONE: i32 = 0; |
| 378 |
pub const BIO_TYPE_MEM: i32 = 1025; |
| 379 |
pub const BIO_TYPE_FILE: i32 = 1026; |
| 380 |
pub const BIO_TYPE_FD: i32 = 1284; |
| 381 |
pub const BIO_TYPE_SOCKET: i32 = 1285; |
| 382 |
pub const BIO_TYPE_NULL: i32 = 1030; |
| 383 |
pub const BIO_TYPE_SSL: i32 = 519; |
| 384 |
pub const BIO_TYPE_MD: i32 = 520; |
| 385 |
pub const BIO_TYPE_BUFFER: i32 = 521; |
| 386 |
pub const BIO_TYPE_CIPHER: i32 = 522; |
| 387 |
pub const BIO_TYPE_BASE64: i32 = 523; |
| 388 |
pub const BIO_TYPE_CONNECT: i32 = 1292; |
| 389 |
pub const BIO_TYPE_ACCEPT: i32 = 1293; |
| 390 |
pub const BIO_TYPE_PROXY_CLIENT: i32 = 526; |
| 391 |
pub const BIO_TYPE_PROXY_SERVER: i32 = 527; |
| 392 |
pub const BIO_TYPE_NBIO_TEST: i32 = 528; |
| 393 |
pub const BIO_TYPE_NULL_FILTER: i32 = 529; |
| 394 |
pub const BIO_TYPE_BER: i32 = 530; |
| 395 |
pub const BIO_TYPE_BIO: i32 = 1043; |
| 396 |
pub const BIO_TYPE_LINEBUFFER: i32 = 532; |
| 397 |
pub const BIO_TYPE_DGRAM: i32 = 1301; |
| 398 |
pub const BIO_TYPE_ASN1: i32 = 534; |
| 399 |
pub const BIO_TYPE_COMP: i32 = 535; |
| 400 |
pub const BIO_TYPE_START: i32 = 128; |
| 401 |
pub const BIO_C_SET_CONNECT: i32 = 100; |
| 402 |
pub const BIO_C_DO_STATE_MACHINE: i32 = 101; |
| 403 |
pub const BIO_C_SET_NBIO: i32 = 102; |
| 404 |
pub const BIO_C_SET_PROXY_PARAM: i32 = 103; |
| 405 |
pub const BIO_C_SET_FD: i32 = 104; |
| 406 |
pub const BIO_C_GET_FD: i32 = 105; |
| 407 |
pub const BIO_C_SET_FILE_PTR: i32 = 106; |
| 408 |
pub const BIO_C_GET_FILE_PTR: i32 = 107; |
| 409 |
pub const BIO_C_SET_FILENAME: i32 = 108; |
| 410 |
pub const BIO_C_SET_SSL: i32 = 109; |
| 411 |
pub const BIO_C_GET_SSL: i32 = 110; |
| 412 |
pub const BIO_C_SET_MD: i32 = 111; |
| 413 |
pub const BIO_C_GET_MD: i32 = 112; |
| 414 |
pub const BIO_C_GET_CIPHER_STATUS: i32 = 113; |
| 415 |
pub const BIO_C_SET_BUF_MEM: i32 = 114; |
| 416 |
pub const BIO_C_GET_BUF_MEM_PTR: i32 = 115; |
| 417 |
pub const BIO_C_GET_BUFF_NUM_LINES: i32 = 116; |
| 418 |
pub const BIO_C_SET_BUFF_SIZE: i32 = 117; |
| 419 |
pub const BIO_C_SET_ACCEPT: i32 = 118; |
| 420 |
pub const BIO_C_SSL_MODE: i32 = 119; |
| 421 |
pub const BIO_C_GET_MD_CTX: i32 = 120; |
| 422 |
pub const BIO_C_GET_PROXY_PARAM: i32 = 121; |
| 423 |
pub const BIO_C_SET_BUFF_READ_DATA: i32 = 122; |
| 424 |
pub const BIO_C_GET_ACCEPT: i32 = 124; |
| 425 |
pub const BIO_C_FILE_SEEK: i32 = 128; |
| 426 |
pub const BIO_C_GET_CIPHER_CTX: i32 = 129; |
| 427 |
pub const BIO_C_SET_BUF_MEM_EOF_RETURN: i32 = 130; |
| 428 |
pub const BIO_C_SET_BIND_MODE: i32 = 131; |
| 429 |
pub const BIO_C_GET_BIND_MODE: i32 = 132; |
| 430 |
pub const BIO_C_FILE_TELL: i32 = 133; |
| 431 |
pub const BIO_C_GET_SOCKS: i32 = 134; |
| 432 |
pub const BIO_C_SET_SOCKS: i32 = 135; |
| 433 |
pub const BIO_C_SET_WRITE_BUF_SIZE: i32 = 136; |
| 434 |
pub const BIO_C_GET_WRITE_BUF_SIZE: i32 = 137; |
| 435 |
pub const BIO_C_GET_WRITE_GUARANTEE: i32 = 140; |
| 436 |
pub const BIO_C_GET_READ_REQUEST: i32 = 141; |
| 437 |
pub const BIO_C_SHUTDOWN_WR: i32 = 142; |
| 438 |
pub const BIO_C_NREAD0: i32 = 143; |
| 439 |
pub const BIO_C_NREAD: i32 = 144; |
| 440 |
pub const BIO_C_NWRITE0: i32 = 145; |
| 441 |
pub const BIO_C_NWRITE: i32 = 146; |
| 442 |
pub const BIO_C_RESET_READ_REQUEST: i32 = 147; |
| 443 |
pub const BIO_C_SET_MD_CTX: i32 = 148; |
| 444 |
pub const BIO_C_SET_PREFIX: i32 = 149; |
| 445 |
pub const BIO_C_GET_PREFIX: i32 = 150; |
| 446 |
pub const BIO_C_SET_SUFFIX: i32 = 151; |
| 447 |
pub const BIO_C_GET_SUFFIX: i32 = 152; |
| 448 |
pub const BIO_C_SET_EX_ARG: i32 = 153; |
| 449 |
pub const BIO_C_GET_EX_ARG: i32 = 154; |
| 450 |
pub const BIO_R_BAD_FOPEN_MODE: i32 = 100; |
| 451 |
pub const BIO_R_BROKEN_PIPE: i32 = 101; |
| 452 |
pub const BIO_R_CONNECT_ERROR: i32 = 102; |
| 453 |
pub const BIO_R_ERROR_SETTING_NBIO: i32 = 103; |
| 454 |
pub const BIO_R_INVALID_ARGUMENT: i32 = 104; |
| 455 |
pub const BIO_R_IN_USE: i32 = 105; |
| 456 |
pub const BIO_R_KEEPALIVE: i32 = 106; |
| 457 |
pub const BIO_R_NBIO_CONNECT_ERROR: i32 = 107; |
| 458 |
pub const BIO_R_NO_HOSTNAME_SPECIFIED: i32 = 108; |
| 459 |
pub const BIO_R_NO_PORT_SPECIFIED: i32 = 109; |
| 460 |
pub const BIO_R_NO_SUCH_FILE: i32 = 110; |
| 461 |
pub const BIO_R_NULL_PARAMETER: i32 = 111; |
| 462 |
pub const BIO_R_SYS_LIB: i32 = 112; |
| 463 |
pub const BIO_R_UNABLE_TO_CREATE_SOCKET: i32 = 113; |
| 464 |
pub const BIO_R_UNINITIALIZED: i32 = 114; |
| 465 |
pub const BIO_R_UNSUPPORTED_METHOD: i32 = 115; |
| 466 |
pub const BIO_R_WRITE_TO_READ_ONLY_BIO: i32 = 116; |
| 467 |
pub const BN_BITS2: i32 = 64; |
| 468 |
pub const BN_DEC_FMT1: &[u8; 4] = b"%lu\0"; |
| 469 |
pub const BN_HEX_FMT1: &[u8; 4] = b"%lx\0"; |
| 470 |
pub const BN_HEX_FMT2: &[u8; 7] = b"%016lx\0"; |
| 471 |
pub const BN_RAND_TOP_ANY: i32 = -1; |
| 472 |
pub const BN_RAND_TOP_ONE: i32 = 0; |
| 473 |
pub const BN_RAND_TOP_TWO: i32 = 1; |
| 474 |
pub const BN_RAND_BOTTOM_ANY: i32 = 0; |
| 475 |
pub const BN_RAND_BOTTOM_ODD: i32 = 1; |
| 476 |
pub const BN_GENCB_GENERATED: i32 = 0; |
| 477 |
pub const BN_GENCB_PRIME_TEST: i32 = 1; |
| 478 |
pub const BN_prime_checks_for_validation: i32 = 64; |
| 479 |
pub const BN_prime_checks_for_generation: i32 = 0; |
| 480 |
pub const BN_prime_checks: i32 = 64; |
| 481 |
pub const BN_FLG_MALLOCED: i32 = 1; |
| 482 |
pub const BN_FLG_STATIC_DATA: i32 = 2; |
| 483 |
pub const BN_R_ARG2_LT_ARG3: i32 = 100; |
| 484 |
pub const BN_R_BAD_RECIPROCAL: i32 = 101; |
| 485 |
pub const BN_R_BIGNUM_TOO_LONG: i32 = 102; |
| 486 |
pub const BN_R_BITS_TOO_SMALL: i32 = 103; |
| 487 |
pub const BN_R_CALLED_WITH_EVEN_MODULUS: i32 = 104; |
| 488 |
pub const BN_R_DIV_BY_ZERO: i32 = 105; |
| 489 |
pub const BN_R_EXPAND_ON_STATIC_BIGNUM_DATA: i32 = 106; |
| 490 |
pub const BN_R_INPUT_NOT_REDUCED: i32 = 107; |
| 491 |
pub const BN_R_INVALID_RANGE: i32 = 108; |
| 492 |
pub const BN_R_NEGATIVE_NUMBER: i32 = 109; |
| 493 |
pub const BN_R_NOT_A_SQUARE: i32 = 110; |
| 494 |
pub const BN_R_NOT_INITIALIZED: i32 = 111; |
| 495 |
pub const BN_R_NO_INVERSE: i32 = 112; |
| 496 |
pub const BN_R_PRIVATE_KEY_TOO_LARGE: i32 = 113; |
| 497 |
pub const BN_R_P_IS_NOT_PRIME: i32 = 114; |
| 498 |
pub const BN_R_TOO_MANY_ITERATIONS: i32 = 115; |
| 499 |
pub const BN_R_TOO_MANY_TEMPORARY_VARIABLES: i32 = 116; |
| 500 |
pub const BN_R_BAD_ENCODING: i32 = 117; |
| 501 |
pub const BN_R_ENCODE_ERROR: i32 = 118; |
| 502 |
pub const BN_R_INVALID_INPUT: i32 = 119; |
| 503 |
pub const BN_F_BN_GENERATE_PRIME_EX: i32 = 0; |
| 504 |
pub const V_ASN1_UNIVERSAL: i32 = 0; |
| 505 |
pub const V_ASN1_APPLICATION: i32 = 64; |
| 506 |
pub const V_ASN1_CONTEXT_SPECIFIC: i32 = 128; |
| 507 |
pub const V_ASN1_PRIVATE: i32 = 192; |
| 508 |
pub const V_ASN1_CONSTRUCTED: i32 = 32; |
| 509 |
pub const V_ASN1_PRIMITIVE_TAG: i32 = 31; |
| 510 |
pub const V_ASN1_MAX_UNIVERSAL: i32 = 255; |
| 511 |
pub const V_ASN1_UNDEF: i32 = -1; |
| 512 |
pub const V_ASN1_OTHER: i32 = -3; |
| 513 |
pub const V_ASN1_ANY: i32 = -4; |
| 514 |
pub const V_ASN1_EOC: i32 = 0; |
| 515 |
pub const V_ASN1_BOOLEAN: i32 = 1; |
| 516 |
pub const V_ASN1_INTEGER: i32 = 2; |
| 517 |
pub const V_ASN1_BIT_STRING: i32 = 3; |
| 518 |
pub const V_ASN1_OCTET_STRING: i32 = 4; |
| 519 |
pub const V_ASN1_NULL: i32 = 5; |
| 520 |
pub const V_ASN1_OBJECT: i32 = 6; |
| 521 |
pub const V_ASN1_OBJECT_DESCRIPTOR: i32 = 7; |
| 522 |
pub const V_ASN1_EXTERNAL: i32 = 8; |
| 523 |
pub const V_ASN1_REAL: i32 = 9; |
| 524 |
pub const V_ASN1_ENUMERATED: i32 = 10; |
| 525 |
pub const V_ASN1_UTF8STRING: i32 = 12; |
| 526 |
pub const V_ASN1_SEQUENCE: i32 = 16; |
| 527 |
pub const V_ASN1_SET: i32 = 17; |
| 528 |
pub const V_ASN1_NUMERICSTRING: i32 = 18; |
| 529 |
pub const V_ASN1_PRINTABLESTRING: i32 = 19; |
| 530 |
pub const V_ASN1_T61STRING: i32 = 20; |
| 531 |
pub const V_ASN1_TELETEXSTRING: i32 = 20; |
| 532 |
pub const V_ASN1_VIDEOTEXSTRING: i32 = 21; |
| 533 |
pub const V_ASN1_IA5STRING: i32 = 22; |
| 534 |
pub const V_ASN1_UTCTIME: i32 = 23; |
| 535 |
pub const V_ASN1_GENERALIZEDTIME: i32 = 24; |
| 536 |
pub const V_ASN1_GRAPHICSTRING: i32 = 25; |
| 537 |
pub const V_ASN1_ISO64STRING: i32 = 26; |
| 538 |
pub const V_ASN1_VISIBLESTRING: i32 = 26; |
| 539 |
pub const V_ASN1_GENERALSTRING: i32 = 27; |
| 540 |
pub const V_ASN1_UNIVERSALSTRING: i32 = 28; |
| 541 |
pub const V_ASN1_BMPSTRING: i32 = 30; |
| 542 |
pub const V_ASN1_NEG: i32 = 256; |
| 543 |
pub const V_ASN1_NEG_INTEGER: i32 = 258; |
| 544 |
pub const V_ASN1_NEG_ENUMERATED: i32 = 266; |
| 545 |
pub const B_ASN1_NUMERICSTRING: i32 = 1; |
| 546 |
pub const B_ASN1_PRINTABLESTRING: i32 = 2; |
| 547 |
pub const B_ASN1_T61STRING: i32 = 4; |
| 548 |
pub const B_ASN1_TELETEXSTRING: i32 = 4; |
| 549 |
pub const B_ASN1_VIDEOTEXSTRING: i32 = 8; |
| 550 |
pub const B_ASN1_IA5STRING: i32 = 16; |
| 551 |
pub const B_ASN1_GRAPHICSTRING: i32 = 32; |
| 552 |
pub const B_ASN1_ISO64STRING: i32 = 64; |
| 553 |
pub const B_ASN1_VISIBLESTRING: i32 = 64; |
| 554 |
pub const B_ASN1_GENERALSTRING: i32 = 128; |
| 555 |
pub const B_ASN1_UNIVERSALSTRING: i32 = 256; |
| 556 |
pub const B_ASN1_OCTET_STRING: i32 = 512; |
| 557 |
pub const B_ASN1_BIT_STRING: i32 = 1024; |
| 558 |
pub const B_ASN1_BMPSTRING: i32 = 2048; |
| 559 |
pub const B_ASN1_UNKNOWN: i32 = 4096; |
| 560 |
pub const B_ASN1_UTF8STRING: i32 = 8192; |
| 561 |
pub const B_ASN1_UTCTIME: i32 = 16384; |
| 562 |
pub const B_ASN1_GENERALIZEDTIME: i32 = 32768; |
| 563 |
pub const B_ASN1_SEQUENCE: i32 = 65536; |
| 564 |
pub const ASN1_BOOLEAN_FALSE: i32 = 0; |
| 565 |
pub const ASN1_BOOLEAN_TRUE: i32 = 255; |
| 566 |
pub const ASN1_BOOLEAN_NONE: i32 = -1; |
| 567 |
pub const ASN1_STRING_FLAG_BITS_LEFT: i32 = 8; |
| 568 |
pub const MBSTRING_FLAG: i32 = 4096; |
| 569 |
pub const MBSTRING_UTF8: i32 = 4096; |
| 570 |
pub const MBSTRING_ASC: i32 = 4097; |
| 571 |
pub const MBSTRING_BMP: i32 = 4098; |
| 572 |
pub const MBSTRING_UNIV: i32 = 4100; |
| 573 |
pub const DIRSTRING_TYPE: i32 = 10246; |
| 574 |
pub const PKCS9STRING_TYPE: i32 = 10262; |
| 575 |
pub const STABLE_NO_MASK: i32 = 2; |
| 576 |
pub const B_ASN1_DIRECTORYSTRING: i32 = 10502; |
| 577 |
pub const B_ASN1_DISPLAYTEXT: i32 = 10320; |
| 578 |
pub const B_ASN1_TIME: i32 = 49152; |
| 579 |
pub const ASN1_STRFLGS_ESC_2253: i32 = 1; |
| 580 |
pub const ASN1_STRFLGS_ESC_CTRL: i32 = 2; |
| 581 |
pub const ASN1_STRFLGS_ESC_MSB: i32 = 4; |
| 582 |
pub const ASN1_STRFLGS_ESC_QUOTE: i32 = 8; |
| 583 |
pub const ASN1_STRFLGS_UTF8_CONVERT: i32 = 16; |
| 584 |
pub const ASN1_STRFLGS_IGNORE_TYPE: i32 = 32; |
| 585 |
pub const ASN1_STRFLGS_SHOW_TYPE: i32 = 64; |
| 586 |
pub const ASN1_STRFLGS_DUMP_ALL: i32 = 128; |
| 587 |
pub const ASN1_STRFLGS_DUMP_UNKNOWN: i32 = 256; |
| 588 |
pub const ASN1_STRFLGS_DUMP_DER: i32 = 512; |
| 589 |
pub const ASN1_STRFLGS_RFC2253: i32 = 791; |
| 590 |
pub const B_ASN1_PRINTABLE: i32 = 81175; |
| 591 |
pub const ASN1_R_ASN1_LENGTH_MISMATCH: i32 = 100; |
| 592 |
pub const ASN1_R_AUX_ERROR: i32 = 101; |
| 593 |
pub const ASN1_R_BAD_GET_ASN1_OBJECT_CALL: i32 = 102; |
| 594 |
pub const ASN1_R_BAD_OBJECT_HEADER: i32 = 103; |
| 595 |
pub const ASN1_R_BMPSTRING_IS_WRONG_LENGTH: i32 = 104; |
| 596 |
pub const ASN1_R_BN_LIB: i32 = 105; |
| 597 |
pub const ASN1_R_BOOLEAN_IS_WRONG_LENGTH: i32 = 106; |
| 598 |
pub const ASN1_R_BUFFER_TOO_SMALL: i32 = 107; |
| 599 |
pub const ASN1_R_CONTEXT_NOT_INITIALISED: i32 = 108; |
| 600 |
pub const ASN1_R_DECODE_ERROR: i32 = 109; |
| 601 |
pub const ASN1_R_DEPTH_EXCEEDED: i32 = 110; |
| 602 |
pub const ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED: i32 = 111; |
| 603 |
pub const ASN1_R_ENCODE_ERROR: i32 = 112; |
| 604 |
pub const ASN1_R_ERROR_GETTING_TIME: i32 = 113; |
| 605 |
pub const ASN1_R_EXPECTING_AN_ASN1_SEQUENCE: i32 = 114; |
| 606 |
pub const ASN1_R_EXPECTING_AN_INTEGER: i32 = 115; |
| 607 |
pub const ASN1_R_EXPECTING_AN_OBJECT: i32 = 116; |
| 608 |
pub const ASN1_R_EXPECTING_A_BOOLEAN: i32 = 117; |
| 609 |
pub const ASN1_R_EXPECTING_A_TIME: i32 = 118; |
| 610 |
pub const ASN1_R_EXPLICIT_LENGTH_MISMATCH: i32 = 119; |
| 611 |
pub const ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED: i32 = 120; |
| 612 |
pub const ASN1_R_FIELD_MISSING: i32 = 121; |
| 613 |
pub const ASN1_R_FIRST_NUM_TOO_LARGE: i32 = 122; |
| 614 |
pub const ASN1_R_HEADER_TOO_LONG: i32 = 123; |
| 615 |
pub const ASN1_R_ILLEGAL_BITSTRING_FORMAT: i32 = 124; |
| 616 |
pub const ASN1_R_ILLEGAL_BOOLEAN: i32 = 125; |
| 617 |
pub const ASN1_R_ILLEGAL_CHARACTERS: i32 = 126; |
| 618 |
pub const ASN1_R_ILLEGAL_FORMAT: i32 = 127; |
| 619 |
pub const ASN1_R_ILLEGAL_HEX: i32 = 128; |
| 620 |
pub const ASN1_R_ILLEGAL_IMPLICIT_TAG: i32 = 129; |
| 621 |
pub const ASN1_R_ILLEGAL_INTEGER: i32 = 130; |
| 622 |
pub const ASN1_R_ILLEGAL_NESTED_TAGGING: i32 = 131; |
| 623 |
pub const ASN1_R_ILLEGAL_NULL: i32 = 132; |
| 624 |
pub const ASN1_R_ILLEGAL_NULL_VALUE: i32 = 133; |
| 625 |
pub const ASN1_R_ILLEGAL_OBJECT: i32 = 134; |
| 626 |
pub const ASN1_R_ILLEGAL_OPTIONAL_ANY: i32 = 135; |
| 627 |
pub const ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE: i32 = 136; |
| 628 |
pub const ASN1_R_ILLEGAL_TAGGED_ANY: i32 = 137; |
| 629 |
pub const ASN1_R_ILLEGAL_TIME_VALUE: i32 = 138; |
| 630 |
pub const ASN1_R_INTEGER_NOT_ASCII_FORMAT: i32 = 139; |
| 631 |
pub const ASN1_R_INTEGER_TOO_LARGE_FOR_LONG: i32 = 140; |
| 632 |
pub const ASN1_R_INVALID_BIT_STRING_BITS_LEFT: i32 = 141; |
| 633 |
pub const ASN1_R_INVALID_BMPSTRING: i32 = 142; |
| 634 |
pub const ASN1_R_INVALID_DIGIT: i32 = 143; |
| 635 |
pub const ASN1_R_INVALID_MODIFIER: i32 = 144; |
| 636 |
pub const ASN1_R_INVALID_NUMBER: i32 = 145; |
| 637 |
pub const ASN1_R_INVALID_OBJECT_ENCODING: i32 = 146; |
| 638 |
pub const ASN1_R_INVALID_SEPARATOR: i32 = 147; |
| 639 |
pub const ASN1_R_INVALID_TIME_FORMAT: i32 = 148; |
| 640 |
pub const ASN1_R_INVALID_UNIVERSALSTRING: i32 = 149; |
| 641 |
pub const ASN1_R_INVALID_UTF8STRING: i32 = 150; |
| 642 |
pub const ASN1_R_LIST_ERROR: i32 = 151; |
| 643 |
pub const ASN1_R_MISSING_ASN1_EOS: i32 = 152; |
| 644 |
pub const ASN1_R_MISSING_EOC: i32 = 153; |
| 645 |
pub const ASN1_R_MISSING_SECOND_NUMBER: i32 = 154; |
| 646 |
pub const ASN1_R_MISSING_VALUE: i32 = 155; |
| 647 |
pub const ASN1_R_MSTRING_NOT_UNIVERSAL: i32 = 156; |
| 648 |
pub const ASN1_R_MSTRING_WRONG_TAG: i32 = 157; |
| 649 |
pub const ASN1_R_NESTED_ASN1_ERROR: i32 = 158; |
| 650 |
pub const ASN1_R_NESTED_ASN1_STRING: i32 = 159; |
| 651 |
pub const ASN1_R_NON_HEX_CHARACTERS: i32 = 160; |
| 652 |
pub const ASN1_R_NOT_ASCII_FORMAT: i32 = 161; |
| 653 |
pub const ASN1_R_NOT_ENOUGH_DATA: i32 = 162; |
| 654 |
pub const ASN1_R_NO_MATCHING_CHOICE_TYPE: i32 = 163; |
| 655 |
pub const ASN1_R_NULL_IS_WRONG_LENGTH: i32 = 164; |
| 656 |
pub const ASN1_R_OBJECT_NOT_ASCII_FORMAT: i32 = 165; |
| 657 |
pub const ASN1_R_ODD_NUMBER_OF_CHARS: i32 = 166; |
| 658 |
pub const ASN1_R_SECOND_NUMBER_TOO_LARGE: i32 = 167; |
| 659 |
pub const ASN1_R_SEQUENCE_LENGTH_MISMATCH: i32 = 168; |
| 660 |
pub const ASN1_R_SEQUENCE_NOT_CONSTRUCTED: i32 = 169; |
| 661 |
pub const ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG: i32 = 170; |
| 662 |
pub const ASN1_R_SHORT_LINE: i32 = 171; |
| 663 |
pub const ASN1_R_STREAMING_NOT_SUPPORTED: i32 = 172; |
| 664 |
pub const ASN1_R_STRING_TOO_LONG: i32 = 173; |
| 665 |
pub const ASN1_R_STRING_TOO_SHORT: i32 = 174; |
| 666 |
pub const ASN1_R_TAG_VALUE_TOO_HIGH: i32 = 175; |
| 667 |
pub const ASN1_R_TIME_NOT_ASCII_FORMAT: i32 = 176; |
| 668 |
pub const ASN1_R_TOO_LONG: i32 = 177; |
| 669 |
pub const ASN1_R_TYPE_NOT_CONSTRUCTED: i32 = 178; |
| 670 |
pub const ASN1_R_TYPE_NOT_PRIMITIVE: i32 = 179; |
| 671 |
pub const ASN1_R_UNEXPECTED_EOC: i32 = 180; |
| 672 |
pub const ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH: i32 = 181; |
| 673 |
pub const ASN1_R_UNKNOWN_FORMAT: i32 = 182; |
| 674 |
pub const ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM: i32 = 183; |
| 675 |
pub const ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM: i32 = 184; |
| 676 |
pub const ASN1_R_UNKNOWN_TAG: i32 = 185; |
| 677 |
pub const ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE: i32 = 186; |
| 678 |
pub const ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE: i32 = 187; |
| 679 |
pub const ASN1_R_UNSUPPORTED_TYPE: i32 = 188; |
| 680 |
pub const ASN1_R_WRONG_PUBLIC_KEY_TYPE: i32 = 189; |
| 681 |
pub const ASN1_R_WRONG_TAG: i32 = 190; |
| 682 |
pub const ASN1_R_WRONG_TYPE: i32 = 191; |
| 683 |
pub const ASN1_R_NESTED_TOO_DEEP: i32 = 192; |
| 684 |
pub const ASN1_R_BAD_TEMPLATE: i32 = 193; |
| 685 |
pub const ASN1_R_INVALID_BIT_STRING_PADDING: i32 = 194; |
| 686 |
pub const ASN1_R_WRONG_INTEGER_TYPE: i32 = 195; |
| 687 |
pub const ASN1_R_INVALID_INTEGER: i32 = 196; |
| 688 |
pub const ASN1_TFLG_OPTIONAL: i32 = 1; |
| 689 |
pub const ASN1_TFLG_SET_OF: i32 = 2; |
| 690 |
pub const ASN1_TFLG_SEQUENCE_OF: i32 = 4; |
| 691 |
pub const ASN1_TFLG_SK_MASK: i32 = 6; |
| 692 |
pub const ASN1_TFLG_IMPTAG: i32 = 8; |
| 693 |
pub const ASN1_TFLG_EXPTAG: i32 = 16; |
| 694 |
pub const ASN1_TFLG_TAG_MASK: i32 = 24; |
| 695 |
pub const ASN1_TFLG_UNIVERSAL: i32 = 0; |
| 696 |
pub const ASN1_TFLG_APPLICATION: i32 = 64; |
| 697 |
pub const ASN1_TFLG_CONTEXT: i32 = 128; |
| 698 |
pub const ASN1_TFLG_PRIVATE: i32 = 192; |
| 699 |
pub const ASN1_TFLG_TAG_CLASS: i32 = 192; |
| 700 |
pub const ASN1_TFLG_ADB_MASK: i32 = 768; |
| 701 |
pub const ASN1_TFLG_ADB_OID: i32 = 256; |
| 702 |
pub const ASN1_TFLG_COMBINE: i32 = 1024; |
| 703 |
pub const ASN1_ITYPE_PRIMITIVE: i32 = 0; |
| 704 |
pub const ASN1_ITYPE_SEQUENCE: i32 = 1; |
| 705 |
pub const ASN1_ITYPE_CHOICE: i32 = 2; |
| 706 |
pub const ASN1_ITYPE_EXTERN: i32 = 4; |
| 707 |
pub const ASN1_ITYPE_MSTRING: i32 = 5; |
| 708 |
pub const ASN1_AFLG_REFCOUNT: i32 = 1; |
| 709 |
pub const ASN1_AFLG_ENCODING: i32 = 2; |
| 710 |
pub const ASN1_OP_NEW_PRE: i32 = 0; |
| 711 |
pub const ASN1_OP_NEW_POST: i32 = 1; |
| 712 |
pub const ASN1_OP_FREE_PRE: i32 = 2; |
| 713 |
pub const ASN1_OP_FREE_POST: i32 = 3; |
| 714 |
pub const ASN1_OP_D2I_PRE: i32 = 4; |
| 715 |
pub const ASN1_OP_D2I_POST: i32 = 5; |
| 716 |
pub const ASN1_OP_PRINT_PRE: i32 = 8; |
| 717 |
pub const ASN1_OP_PRINT_POST: i32 = 9; |
| 718 |
pub const ASN1_OP_STREAM_PRE: i32 = 10; |
| 719 |
pub const ASN1_OP_STREAM_POST: i32 = 11; |
| 720 |
pub const ASN1_OP_DETACHED_PRE: i32 = 12; |
| 721 |
pub const ASN1_OP_DETACHED_POST: i32 = 13; |
| 722 |
pub const BLAKE2B256_DIGEST_LENGTH: i32 = 32; |
| 723 |
pub const BLAKE2B_CBLOCK: i32 = 128; |
| 724 |
pub const BF_ENCRYPT: i32 = 1; |
| 725 |
pub const BF_DECRYPT: i32 = 0; |
| 726 |
pub const BF_ROUNDS: i32 = 16; |
| 727 |
pub const BF_BLOCK: i32 = 8; |
| 728 |
pub const CBS_ASN1_TAG_SHIFT: i32 = 24; |
| 729 |
pub const CBS_ASN1_CONSTRUCTED: i32 = 536870912; |
| 730 |
pub const CBS_ASN1_UNIVERSAL: i32 = 0; |
| 731 |
pub const CBS_ASN1_APPLICATION: i32 = 1073741824; |
| 732 |
pub const CBS_ASN1_CONTEXT_SPECIFIC: i64 = 2147483648; |
| 733 |
pub const CBS_ASN1_PRIVATE: i64 = 3221225472; |
| 734 |
pub const CBS_ASN1_CLASS_MASK: i64 = 3221225472; |
| 735 |
pub const CBS_ASN1_TAG_NUMBER_MASK: i32 = 536870911; |
| 736 |
pub const CBS_ASN1_BOOLEAN: i32 = 1; |
| 737 |
pub const CBS_ASN1_INTEGER: i32 = 2; |
| 738 |
pub const CBS_ASN1_BITSTRING: i32 = 3; |
| 739 |
pub const CBS_ASN1_OCTETSTRING: i32 = 4; |
| 740 |
pub const CBS_ASN1_NULL: i32 = 5; |
| 741 |
pub const CBS_ASN1_OBJECT: i32 = 6; |
| 742 |
pub const CBS_ASN1_ENUMERATED: i32 = 10; |
| 743 |
pub const CBS_ASN1_UTF8STRING: i32 = 12; |
| 744 |
pub const CBS_ASN1_SEQUENCE: i32 = 536870928; |
| 745 |
pub const CBS_ASN1_SET: i32 = 536870929; |
| 746 |
pub const CBS_ASN1_NUMERICSTRING: i32 = 18; |
| 747 |
pub const CBS_ASN1_PRINTABLESTRING: i32 = 19; |
| 748 |
pub const CBS_ASN1_T61STRING: i32 = 20; |
| 749 |
pub const CBS_ASN1_VIDEOTEXSTRING: i32 = 21; |
| 750 |
pub const CBS_ASN1_IA5STRING: i32 = 22; |
| 751 |
pub const CBS_ASN1_UTCTIME: i32 = 23; |
| 752 |
pub const CBS_ASN1_GENERALIZEDTIME: i32 = 24; |
| 753 |
pub const CBS_ASN1_GRAPHICSTRING: i32 = 25; |
| 754 |
pub const CBS_ASN1_VISIBLESTRING: i32 = 26; |
| 755 |
pub const CBS_ASN1_GENERALSTRING: i32 = 27; |
| 756 |
pub const CBS_ASN1_UNIVERSALSTRING: i32 = 28; |
| 757 |
pub const CBS_ASN1_BMPSTRING: i32 = 30; |
| 758 |
pub const EVP_CIPH_STREAM_CIPHER: i32 = 0; |
| 759 |
pub const EVP_CIPH_ECB_MODE: i32 = 1; |
| 760 |
pub const EVP_CIPH_CBC_MODE: i32 = 2; |
| 761 |
pub const EVP_CIPH_CFB_MODE: i32 = 3; |
| 762 |
pub const EVP_CIPH_OFB_MODE: i32 = 4; |
| 763 |
pub const EVP_CIPH_CTR_MODE: i32 = 5; |
| 764 |
pub const EVP_CIPH_GCM_MODE: i32 = 6; |
| 765 |
pub const EVP_CIPH_XTS_MODE: i32 = 7; |
| 766 |
pub const EVP_CIPH_CCM_MODE: i32 = 8; |
| 767 |
pub const EVP_CIPH_FLAG_LENGTH_BITS: i32 = 8192; |
| 768 |
pub const EVP_CIPH_OCB_MODE: i32 = 9; |
| 769 |
pub const EVP_CIPH_WRAP_MODE: i32 = 10; |
| 770 |
pub const EVP_CIPH_VARIABLE_LENGTH: i32 = 64; |
| 771 |
pub const EVP_CIPH_ALWAYS_CALL_INIT: i32 = 128; |
| 772 |
pub const EVP_CIPH_CUSTOM_IV: i32 = 256; |
| 773 |
pub const EVP_CIPH_CTRL_INIT: i32 = 512; |
| 774 |
pub const EVP_CIPH_FLAG_CUSTOM_CIPHER: i32 = 1024; |
| 775 |
pub const EVP_CIPH_FLAG_AEAD_CIPHER: i32 = 2048; |
| 776 |
pub const EVP_CIPH_CUSTOM_COPY: i32 = 4096; |
| 777 |
pub const EVP_CIPH_FLAG_NON_FIPS_ALLOW: i32 = 0; |
| 778 |
pub const EVP_CIPHER_CTX_FLAG_WRAP_ALLOW: i32 = 0; |
| 779 |
pub const EVP_CIPH_NO_PADDING: i32 = 2048; |
| 780 |
pub const EVP_CTRL_INIT: i32 = 0; |
| 781 |
pub const EVP_CTRL_SET_KEY_LENGTH: i32 = 1; |
| 782 |
pub const EVP_CTRL_GET_RC2_KEY_BITS: i32 = 2; |
| 783 |
pub const EVP_CTRL_SET_RC2_KEY_BITS: i32 = 3; |
| 784 |
pub const EVP_CTRL_GET_RC5_ROUNDS: i32 = 4; |
| 785 |
pub const EVP_CTRL_SET_RC5_ROUNDS: i32 = 5; |
| 786 |
pub const EVP_CTRL_RAND_KEY: i32 = 6; |
| 787 |
pub const EVP_CTRL_PBE_PRF_NID: i32 = 7; |
| 788 |
pub const EVP_CTRL_COPY: i32 = 8; |
| 789 |
pub const EVP_CTRL_AEAD_SET_IVLEN: i32 = 9; |
| 790 |
pub const EVP_CTRL_AEAD_GET_TAG: i32 = 16; |
| 791 |
pub const EVP_CTRL_AEAD_SET_TAG: i32 = 17; |
| 792 |
pub const EVP_CTRL_AEAD_SET_IV_FIXED: i32 = 18; |
| 793 |
pub const EVP_CTRL_GCM_IV_GEN: i32 = 19; |
| 794 |
pub const EVP_CTRL_CCM_SET_L: i32 = 20; |
| 795 |
pub const EVP_CTRL_AEAD_SET_MAC_KEY: i32 = 23; |
| 796 |
pub const EVP_CTRL_GCM_SET_IV_INV: i32 = 24; |
| 797 |
pub const EVP_CTRL_GET_IVLEN: i32 = 25; |
| 798 |
pub const EVP_GCM_TLS_FIXED_IV_LEN: i32 = 4; |
| 799 |
pub const EVP_GCM_TLS_EXPLICIT_IV_LEN: i32 = 8; |
| 800 |
pub const EVP_GCM_TLS_TAG_LEN: i32 = 16; |
| 801 |
pub const EVP_CTRL_GCM_SET_IVLEN: i32 = 9; |
| 802 |
pub const EVP_CTRL_GCM_GET_TAG: i32 = 16; |
| 803 |
pub const EVP_CTRL_GCM_SET_TAG: i32 = 17; |
| 804 |
pub const EVP_CTRL_GCM_SET_IV_FIXED: i32 = 18; |
| 805 |
pub const EVP_MAX_KEY_LENGTH: i32 = 64; |
| 806 |
pub const EVP_MAX_IV_LENGTH: i32 = 16; |
| 807 |
pub const EVP_MAX_BLOCK_LENGTH: i32 = 32; |
| 808 |
pub const EVP_CTRL_AEAD_TLS1_AAD: i32 = 22; |
| 809 |
pub const EVP_AEAD_TLS1_AAD_LEN: i32 = 13; |
| 810 |
pub const CIPHER_R_AES_KEY_SETUP_FAILED: i32 = 100; |
| 811 |
pub const CIPHER_R_BAD_DECRYPT: i32 = 101; |
| 812 |
pub const CIPHER_R_BAD_KEY_LENGTH: i32 = 102; |
| 813 |
pub const CIPHER_R_BUFFER_TOO_SMALL: i32 = 103; |
| 814 |
pub const CIPHER_R_CTRL_NOT_IMPLEMENTED: i32 = 104; |
| 815 |
pub const CIPHER_R_CTRL_OPERATION_NOT_IMPLEMENTED: i32 = 105; |
| 816 |
pub const CIPHER_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH: i32 = 106; |
| 817 |
pub const CIPHER_R_INITIALIZATION_ERROR: i32 = 107; |
| 818 |
pub const CIPHER_R_INPUT_NOT_INITIALIZED: i32 = 108; |
| 819 |
pub const CIPHER_R_INVALID_AD_SIZE: i32 = 109; |
| 820 |
pub const CIPHER_R_INVALID_KEY_LENGTH: i32 = 110; |
| 821 |
pub const CIPHER_R_INVALID_NONCE_SIZE: i32 = 111; |
| 822 |
pub const CIPHER_R_INVALID_OPERATION: i32 = 112; |
| 823 |
pub const CIPHER_R_IV_TOO_LARGE: i32 = 113; |
| 824 |
pub const CIPHER_R_NO_CIPHER_SET: i32 = 114; |
| 825 |
pub const CIPHER_R_OUTPUT_ALIASES_INPUT: i32 = 115; |
| 826 |
pub const CIPHER_R_TAG_TOO_LARGE: i32 = 116; |
| 827 |
pub const CIPHER_R_TOO_LARGE: i32 = 117; |
| 828 |
pub const CIPHER_R_UNSUPPORTED_AD_SIZE: i32 = 118; |
| 829 |
pub const CIPHER_R_UNSUPPORTED_INPUT_SIZE: i32 = 119; |
| 830 |
pub const CIPHER_R_UNSUPPORTED_KEY_SIZE: i32 = 120; |
| 831 |
pub const CIPHER_R_UNSUPPORTED_NONCE_SIZE: i32 = 121; |
| 832 |
pub const CIPHER_R_UNSUPPORTED_TAG_SIZE: i32 = 122; |
| 833 |
pub const CIPHER_R_WRONG_FINAL_BLOCK_LENGTH: i32 = 123; |
| 834 |
pub const CIPHER_R_NO_DIRECTION_SET: i32 = 124; |
| 835 |
pub const CIPHER_R_INVALID_NONCE: i32 = 125; |
| 836 |
pub const CIPHER_R_XTS_DUPLICATED_KEYS: i32 = 138; |
| 837 |
pub const CIPHER_R_XTS_DATA_UNIT_IS_TOO_LARGE: i32 = 139; |
| 838 |
pub const CIPHER_R_CTRL_OPERATION_NOT_PERFORMED: i32 = 140; |
| 839 |
pub const CIPHER_R_SERIALIZATION_INVALID_EVP_AEAD_CTX: i32 = 141; |
| 840 |
pub const CIPHER_R_ALIGNMENT_CHANGED: i32 = 142; |
| 841 |
pub const CIPHER_R_SERIALIZATION_INVALID_SERDE_VERSION: i32 = 143; |
| 842 |
pub const CIPHER_R_SERIALIZATION_INVALID_CIPHER_ID: i32 = 144; |
| 843 |
pub const CONF_MFLAGS_DEFAULT_SECTION: i32 = 0; |
| 844 |
pub const CONF_MFLAGS_IGNORE_MISSING_FILE: i32 = 0; |
| 845 |
pub const CONF_R_LIST_CANNOT_BE_NULL: i32 = 100; |
| 846 |
pub const CONF_R_MISSING_CLOSE_SQUARE_BRACKET: i32 = 101; |
| 847 |
pub const CONF_R_MISSING_EQUAL_SIGN: i32 = 102; |
| 848 |
pub const CONF_R_NO_CLOSE_BRACE: i32 = 103; |
| 849 |
pub const CONF_R_UNABLE_TO_CREATE_NEW_SECTION: i32 = 104; |
| 850 |
pub const CONF_R_VARIABLE_HAS_NO_VALUE: i32 = 105; |
| 851 |
pub const CONF_R_VARIABLE_EXPANSION_TOO_LONG: i32 = 106; |
| 852 |
pub const CONF_R_VARIABLE_EXPANSION_NOT_SUPPORTED: i32 = 107; |
| 853 |
pub const CONF_R_NO_CLOSE_QUOTE: i32 = 108; |
| 854 |
pub const CTR_DRBG_ENTROPY_LEN: i32 = 48; |
| 855 |
pub const CTR_DRBG_MAX_GENERATE_LENGTH: i32 = 65536; |
| 856 |
pub const X25519_PRIVATE_KEY_LEN: i32 = 32; |
| 857 |
pub const X25519_PUBLIC_VALUE_LEN: i32 = 32; |
| 858 |
pub const X25519_SHARED_KEY_LEN: i32 = 32; |
| 859 |
pub const ED25519_PRIVATE_KEY_LEN: i32 = 64; |
| 860 |
pub const ED25519_PRIVATE_KEY_SEED_LEN: i32 = 32; |
| 861 |
pub const ED25519_PUBLIC_KEY_LEN: i32 = 32; |
| 862 |
pub const ED25519_SIGNATURE_LEN: i32 = 64; |
| 863 |
pub const ED25519_SEED_LEN: i32 = 32; |
| 864 |
pub const SPAKE2_MAX_MSG_SIZE: i32 = 32; |
| 865 |
pub const SPAKE2_MAX_KEY_SIZE: i32 = 64; |
| 866 |
pub const DES_ENCRYPT: i32 = 1; |
| 867 |
pub const DES_DECRYPT: i32 = 0; |
| 868 |
pub const DES_CBC_MODE: i32 = 0; |
| 869 |
pub const DES_PCBC_MODE: i32 = 1; |
| 870 |
pub const DH_GENERATOR_2: i32 = 2; |
| 871 |
pub const DH_GENERATOR_5: i32 = 5; |
| 872 |
pub const DH_CHECK_P_NOT_PRIME: i32 = 1; |
| 873 |
pub const DH_CHECK_P_NOT_SAFE_PRIME: i32 = 2; |
| 874 |
pub const DH_CHECK_UNABLE_TO_CHECK_GENERATOR: i32 = 4; |
| 875 |
pub const DH_CHECK_NOT_SUITABLE_GENERATOR: i32 = 8; |
| 876 |
pub const DH_CHECK_Q_NOT_PRIME: i32 = 16; |
| 877 |
pub const DH_CHECK_INVALID_Q_VALUE: i32 = 32; |
| 878 |
pub const DH_NOT_SUITABLE_GENERATOR: i32 = 8; |
| 879 |
pub const DH_UNABLE_TO_CHECK_GENERATOR: i32 = 4; |
| 880 |
pub const DH_CHECK_PUBKEY_TOO_SMALL: i32 = 1; |
| 881 |
pub const DH_CHECK_PUBKEY_TOO_LARGE: i32 = 2; |
| 882 |
pub const DH_CHECK_PUBKEY_INVALID: i32 = 4; |
| 883 |
pub const DH_FLAG_CACHE_MONT_P: i32 = 0; |
| 884 |
pub const DH_R_BAD_GENERATOR: i32 = 100; |
| 885 |
pub const DH_R_INVALID_PUBKEY: i32 = 101; |
| 886 |
pub const DH_R_MODULUS_TOO_LARGE: i32 = 102; |
| 887 |
pub const DH_R_NO_PRIVATE_VALUE: i32 = 103; |
| 888 |
pub const DH_R_DECODE_ERROR: i32 = 104; |
| 889 |
pub const DH_R_ENCODE_ERROR: i32 = 105; |
| 890 |
pub const DH_R_INVALID_NID: i32 = 106; |
| 891 |
pub const DH_R_INVALID_PARAMETERS: i32 = 107; |
| 892 |
pub const DH_F_DH_BUILTIN_GENPARAMS: i32 = 0; |
| 893 |
pub const EVP_MAX_MD_SIZE: i32 = 64; |
| 894 |
pub const EVP_MAX_MD_CHAINING_LENGTH: i32 = 64; |
| 895 |
pub const EVP_MAX_MD_BLOCK_SIZE: i32 = 144; |
| 896 |
pub const EVP_MD_FLAG_DIGALGID_ABSENT: i32 = 2; |
| 897 |
pub const EVP_MD_FLAG_XOF: i32 = 4; |
| 898 |
pub const EVP_MD_CTX_FLAG_NON_FIPS_ALLOW: i32 = 0; |
| 899 |
pub const DIGEST_R_INPUT_NOT_INITIALIZED: i32 = 100; |
| 900 |
pub const DIGEST_R_DECODE_ERROR: i32 = 101; |
| 901 |
pub const DIGEST_R_UNKNOWN_HASH: i32 = 102; |
| 902 |
pub const OPENSSL_DSA_MAX_MODULUS_BITS: i32 = 10000; |
| 903 |
pub const DSA_R_BAD_Q_VALUE: i32 = 100; |
| 904 |
pub const DSA_R_MISSING_PARAMETERS: i32 = 101; |
| 905 |
pub const DSA_R_MODULUS_TOO_LARGE: i32 = 102; |
| 906 |
pub const DSA_R_NEED_NEW_SETUP_VALUES: i32 = 103; |
| 907 |
pub const DSA_R_BAD_VERSION: i32 = 104; |
| 908 |
pub const DSA_R_DECODE_ERROR: i32 = 105; |
| 909 |
pub const DSA_R_ENCODE_ERROR: i32 = 106; |
| 910 |
pub const DSA_R_INVALID_PARAMETERS: i32 = 107; |
| 911 |
pub const DSA_R_TOO_MANY_ITERATIONS: i32 = 108; |
| 912 |
pub const OPENSSL_EC_EXPLICIT_CURVE: i32 = 0; |
| 913 |
pub const OPENSSL_EC_NAMED_CURVE: i32 = 1; |
| 914 |
pub const ENGINE_R_OPERATION_NOT_SUPPORTED: i32 = 100; |
| 915 |
pub const EC_PKEY_NO_PARAMETERS: i32 = 1; |
| 916 |
pub const EC_PKEY_NO_PUBKEY: i32 = 2; |
| 917 |
pub const ECDSA_FLAG_OPAQUE: i32 = 1; |
| 918 |
pub const EC_R_BUFFER_TOO_SMALL: i32 = 100; |
| 919 |
pub const EC_R_COORDINATES_OUT_OF_RANGE: i32 = 101; |
| 920 |
pub const EC_R_D2I_ECPKPARAMETERS_FAILURE: i32 = 102; |
| 921 |
pub const EC_R_EC_GROUP_NEW_BY_NAME_FAILURE: i32 = 103; |
| 922 |
pub const EC_R_GROUP2PKPARAMETERS_FAILURE: i32 = 104; |
| 923 |
pub const EC_R_I2D_ECPKPARAMETERS_FAILURE: i32 = 105; |
| 924 |
pub const EC_R_INCOMPATIBLE_OBJECTS: i32 = 106; |
| 925 |
pub const EC_R_INVALID_COMPRESSED_POINT: i32 = 107; |
| 926 |
pub const EC_R_INVALID_COMPRESSION_BIT: i32 = 108; |
| 927 |
pub const EC_R_INVALID_ENCODING: i32 = 109; |
| 928 |
pub const EC_R_INVALID_FIELD: i32 = 110; |
| 929 |
pub const EC_R_INVALID_FORM: i32 = 111; |
| 930 |
pub const EC_R_INVALID_GROUP_ORDER: i32 = 112; |
| 931 |
pub const EC_R_INVALID_PRIVATE_KEY: i32 = 113; |
| 932 |
pub const EC_R_MISSING_PARAMETERS: i32 = 114; |
| 933 |
pub const EC_R_MISSING_PRIVATE_KEY: i32 = 115; |
| 934 |
pub const EC_R_NON_NAMED_CURVE: i32 = 116; |
| 935 |
pub const EC_R_NOT_INITIALIZED: i32 = 117; |
| 936 |
pub const EC_R_PKPARAMETERS2GROUP_FAILURE: i32 = 118; |
| 937 |
pub const EC_R_POINT_AT_INFINITY: i32 = 119; |
| 938 |
pub const EC_R_POINT_IS_NOT_ON_CURVE: i32 = 120; |
| 939 |
pub const EC_R_SLOT_FULL: i32 = 121; |
| 940 |
pub const EC_R_UNDEFINED_GENERATOR: i32 = 122; |
| 941 |
pub const EC_R_UNKNOWN_GROUP: i32 = 123; |
| 942 |
pub const EC_R_UNKNOWN_ORDER: i32 = 124; |
| 943 |
pub const EC_R_WRONG_ORDER: i32 = 125; |
| 944 |
pub const EC_R_BIGNUM_OUT_OF_RANGE: i32 = 126; |
| 945 |
pub const EC_R_WRONG_CURVE_PARAMETERS: i32 = 127; |
| 946 |
pub const EC_R_DECODE_ERROR: i32 = 128; |
| 947 |
pub const EC_R_ENCODE_ERROR: i32 = 129; |
| 948 |
pub const EC_R_GROUP_MISMATCH: i32 = 130; |
| 949 |
pub const EC_R_INVALID_COFACTOR: i32 = 131; |
| 950 |
pub const EC_R_PUBLIC_KEY_VALIDATION_FAILED: i32 = 132; |
| 951 |
pub const EC_R_INVALID_SCALAR: i32 = 133; |
| 952 |
pub const ECDH_R_KDF_FAILED: i32 = 100; |
| 953 |
pub const ECDH_R_NO_PRIVATE_VALUE: i32 = 101; |
| 954 |
pub const ECDH_R_POINT_ARITHMETIC_FAILURE: i32 = 102; |
| 955 |
pub const ECDH_R_UNKNOWN_DIGEST_LENGTH: i32 = 103; |
| 956 |
pub const ECDSA_R_BAD_SIGNATURE: i32 = 100; |
| 957 |
pub const ECDSA_R_MISSING_PARAMETERS: i32 = 101; |
| 958 |
pub const ECDSA_R_NEED_NEW_SETUP_VALUES: i32 = 102; |
| 959 |
pub const ECDSA_R_NOT_IMPLEMENTED: i32 = 103; |
| 960 |
pub const ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED: i32 = 104; |
| 961 |
pub const ECDSA_R_ENCODE_ERROR: i32 = 105; |
| 962 |
pub const ECDSA_R_MISMATCHED_SIGNATURE: i32 = 205; |
| 963 |
pub const ECDSA_R_TOO_MANY_ITERATIONS: i32 = 106; |
| 964 |
pub const EVP_R_BUFFER_TOO_SMALL: i32 = 100; |
| 965 |
pub const EVP_R_COMMAND_NOT_SUPPORTED: i32 = 101; |
| 966 |
pub const EVP_R_DECODE_ERROR: i32 = 102; |
| 967 |
pub const EVP_R_DIFFERENT_KEY_TYPES: i32 = 103; |
| 968 |
pub const EVP_R_DIFFERENT_PARAMETERS: i32 = 104; |
| 969 |
pub const EVP_R_ENCODE_ERROR: i32 = 105; |
| 970 |
pub const EVP_R_EXPECTING_A_EC_KEY_KEY: i32 = 106; |
| 971 |
pub const EVP_R_EXPECTING_AN_RSA_KEY: i32 = 107; |
| 972 |
pub const EVP_R_EXPECTING_A_DSA_KEY: i32 = 108; |
| 973 |
pub const EVP_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE: i32 = 109; |
| 974 |
pub const EVP_R_INVALID_DIGEST_LENGTH: i32 = 110; |
| 975 |
pub const EVP_R_INVALID_DIGEST_TYPE: i32 = 111; |
| 976 |
pub const EVP_R_INVALID_KEYBITS: i32 = 112; |
| 977 |
pub const EVP_R_INVALID_MGF1_MD: i32 = 113; |
| 978 |
pub const EVP_R_INVALID_OPERATION: i32 = 114; |
| 979 |
pub const EVP_R_INVALID_PADDING_MODE: i32 = 115; |
| 980 |
pub const EVP_R_INVALID_PSS_SALTLEN: i32 = 116; |
| 981 |
pub const EVP_R_KEYS_NOT_SET: i32 = 117; |
| 982 |
pub const EVP_R_MISSING_PARAMETERS: i32 = 118; |
| 983 |
pub const EVP_R_NO_DEFAULT_DIGEST: i32 = 119; |
| 984 |
pub const EVP_R_NO_KEY_SET: i32 = 120; |
| 985 |
pub const EVP_R_NO_MDC2_SUPPORT: i32 = 121; |
| 986 |
pub const EVP_R_NO_NID_FOR_CURVE: i32 = 122; |
| 987 |
pub const EVP_R_NO_OPERATION_SET: i32 = 123; |
| 988 |
pub const EVP_R_NO_PARAMETERS_SET: i32 = 124; |
| 989 |
pub const EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE: i32 = 125; |
| 990 |
pub const EVP_R_OPERATON_NOT_INITIALIZED: i32 = 126; |
| 991 |
pub const EVP_R_UNKNOWN_PUBLIC_KEY_TYPE: i32 = 127; |
| 992 |
pub const EVP_R_UNSUPPORTED_ALGORITHM: i32 = 128; |
| 993 |
pub const EVP_R_UNSUPPORTED_PUBLIC_KEY_TYPE: i32 = 129; |
| 994 |
pub const EVP_R_NOT_A_PRIVATE_KEY: i32 = 130; |
| 995 |
pub const EVP_R_INVALID_SIGNATURE: i32 = 131; |
| 996 |
pub const EVP_R_MEMORY_LIMIT_EXCEEDED: i32 = 132; |
| 997 |
pub const EVP_R_INVALID_PARAMETERS: i32 = 133; |
| 998 |
pub const EVP_R_INVALID_PEER_KEY: i32 = 134; |
| 999 |
pub const EVP_R_NOT_XOF_OR_INVALID_LENGTH: i32 = 135; |
| 1000 |
pub const EVP_R_EMPTY_PSK: i32 = 136; |
| 1001 |
pub const EVP_R_INVALID_BUFFER_SIZE: i32 = 137; |
| 1002 |
pub const EVP_R_BAD_DECRYPT: i32 = 138; |
| 1003 |
pub const EVP_R_EXPECTING_A_DH_KEY: i32 = 139; |
| 1004 |
pub const EVP_R_EXPECTING_A_PQDSA_KEY: i32 = 140; |
| 1005 |
pub const EVP_R_EXPECTING_A_KEM_KEY: i32 = 141; |
| 1006 |
pub const EVP_R_INVALID_PSS_MD: i32 = 500; |
| 1007 |
pub const EVP_R_INVALID_PSS_SALT_LEN: i32 = 501; |
| 1008 |
pub const EVP_R_INVALID_PSS_TRAILER_FIELD: i32 = 502; |
| 1009 |
pub const EVP_AEAD_MAX_KEY_LENGTH: i32 = 80; |
| 1010 |
pub const EVP_AEAD_MAX_NONCE_LENGTH: i32 = 24; |
| 1011 |
pub const EVP_AEAD_MAX_OVERHEAD: i32 = 64; |
| 1012 |
pub const EVP_AEAD_DEFAULT_TAG_LENGTH: i32 = 0; |
| 1013 |
pub const FIPS_AES_GCM_NONCE_LENGTH: i32 = 12; |
| 1014 |
pub const SN_undef: &[u8; 6] = b"UNDEF\0"; |
| 1015 |
pub const LN_undef: &[u8; 10] = b"undefined\0"; |
| 1016 |
pub const NID_undef: i32 = 0; |
| 1017 |
pub const OBJ_undef: i32 = 0; |
| 1018 |
pub const SN_rsadsi: &[u8; 7] = b"rsadsi\0"; |
| 1019 |
pub const LN_rsadsi: &[u8; 24] = b"RSA Data Security, Inc.\0"; |
| 1020 |
pub const NID_rsadsi: i32 = 1; |
| 1021 |
pub const SN_pkcs: &[u8; 5] = b"pkcs\0"; |
| 1022 |
pub const LN_pkcs: &[u8; 29] = b"RSA Data Security, Inc. PKCS\0"; |
| 1023 |
pub const NID_pkcs: i32 = 2; |
| 1024 |
pub const SN_md2: &[u8; 4] = b"MD2\0"; |
| 1025 |
pub const LN_md2: &[u8; 4] = b"md2\0"; |
| 1026 |
pub const NID_md2: i32 = 3; |
| 1027 |
pub const SN_md5: &[u8; 4] = b"MD5\0"; |
| 1028 |
pub const LN_md5: &[u8; 4] = b"md5\0"; |
| 1029 |
pub const NID_md5: i32 = 4; |
| 1030 |
pub const SN_rc4: &[u8; 4] = b"RC4\0"; |
| 1031 |
pub const LN_rc4: &[u8; 4] = b"rc4\0"; |
| 1032 |
pub const NID_rc4: i32 = 5; |
| 1033 |
pub const LN_rsaEncryption: &[u8; 14] = b"rsaEncryption\0"; |
| 1034 |
pub const NID_rsaEncryption: i32 = 6; |
| 1035 |
pub const SN_md2WithRSAEncryption: &[u8; 8] = b"RSA-MD2\0"; |
| 1036 |
pub const LN_md2WithRSAEncryption: &[u8; 21] = b"md2WithRSAEncryption\0"; |
| 1037 |
pub const NID_md2WithRSAEncryption: i32 = 7; |
| 1038 |
pub const SN_md5WithRSAEncryption: &[u8; 8] = b"RSA-MD5\0"; |
| 1039 |
pub const LN_md5WithRSAEncryption: &[u8; 21] = b"md5WithRSAEncryption\0"; |
| 1040 |
pub const NID_md5WithRSAEncryption: i32 = 8; |
| 1041 |
pub const SN_pbeWithMD2AndDES_CBC: &[u8; 12] = b"PBE-MD2-DES\0"; |
| 1042 |
pub const LN_pbeWithMD2AndDES_CBC: &[u8; 21] = b"pbeWithMD2AndDES-CBC\0"; |
| 1043 |
pub const NID_pbeWithMD2AndDES_CBC: i32 = 9; |
| 1044 |
pub const SN_pbeWithMD5AndDES_CBC: &[u8; 12] = b"PBE-MD5-DES\0"; |
| 1045 |
pub const LN_pbeWithMD5AndDES_CBC: &[u8; 21] = b"pbeWithMD5AndDES-CBC\0"; |
| 1046 |
pub const NID_pbeWithMD5AndDES_CBC: i32 = 10; |
| 1047 |
pub const SN_X500: &[u8; 5] = b"X500\0"; |
| 1048 |
pub const LN_X500: &[u8; 27] = b"directory services (X.500)\0"; |
| 1049 |
pub const NID_X500: i32 = 11; |
| 1050 |
pub const SN_X509: &[u8; 5] = b"X509\0"; |
| 1051 |
pub const NID_X509: i32 = 12; |
| 1052 |
pub const SN_commonName: &[u8; 3] = b"CN\0"; |
| 1053 |
pub const LN_commonName: &[u8; 11] = b"commonName\0"; |
| 1054 |
pub const NID_commonName: i32 = 13; |
| 1055 |
pub const SN_countryName: &[u8; 2] = b"C\0"; |
| 1056 |
pub const LN_countryName: &[u8; 12] = b"countryName\0"; |
| 1057 |
pub const NID_countryName: i32 = 14; |
| 1058 |
pub const SN_localityName: &[u8; 2] = b"L\0"; |
| 1059 |
pub const LN_localityName: &[u8; 13] = b"localityName\0"; |
| 1060 |
pub const NID_localityName: i32 = 15; |
| 1061 |
pub const SN_stateOrProvinceName: &[u8; 3] = b"ST\0"; |
| 1062 |
pub const LN_stateOrProvinceName: &[u8; 20] = b"stateOrProvinceName\0"; |
| 1063 |
pub const NID_stateOrProvinceName: i32 = 16; |
| 1064 |
pub const SN_organizationName: &[u8; 2] = b"O\0"; |
| 1065 |
pub const LN_organizationName: &[u8; 17] = b"organizationName\0"; |
| 1066 |
pub const NID_organizationName: i32 = 17; |
| 1067 |
pub const SN_organizationalUnitName: &[u8; 3] = b"OU\0"; |
| 1068 |
pub const LN_organizationalUnitName: &[u8; 23] = b"organizationalUnitName\0"; |
| 1069 |
pub const NID_organizationalUnitName: i32 = 18; |
| 1070 |
pub const SN_rsa: &[u8; 4] = b"RSA\0"; |
| 1071 |
pub const LN_rsa: &[u8; 4] = b"rsa\0"; |
| 1072 |
pub const NID_rsa: i32 = 19; |
| 1073 |
pub const SN_pkcs7: &[u8; 6] = b"pkcs7\0"; |
| 1074 |
pub const NID_pkcs7: i32 = 20; |
| 1075 |
pub const LN_pkcs7_data: &[u8; 11] = b"pkcs7-data\0"; |
| 1076 |
pub const NID_pkcs7_data: i32 = 21; |
| 1077 |
pub const LN_pkcs7_signed: &[u8; 17] = b"pkcs7-signedData\0"; |
| 1078 |
pub const NID_pkcs7_signed: i32 = 22; |
| 1079 |
pub const LN_pkcs7_enveloped: &[u8; 20] = b"pkcs7-envelopedData\0"; |
| 1080 |
pub const NID_pkcs7_enveloped: i32 = 23; |
| 1081 |
pub const LN_pkcs7_signedAndEnveloped: &[u8; 29] = b"pkcs7-signedAndEnvelopedData\0"; |
| 1082 |
pub const NID_pkcs7_signedAndEnveloped: i32 = 24; |
| 1083 |
pub const LN_pkcs7_digest: &[u8; 17] = b"pkcs7-digestData\0"; |
| 1084 |
pub const NID_pkcs7_digest: i32 = 25; |
| 1085 |
pub const LN_pkcs7_encrypted: &[u8; 20] = b"pkcs7-encryptedData\0"; |
| 1086 |
pub const NID_pkcs7_encrypted: i32 = 26; |
| 1087 |
pub const SN_pkcs3: &[u8; 6] = b"pkcs3\0"; |
| 1088 |
pub const NID_pkcs3: i32 = 27; |
| 1089 |
pub const LN_dhKeyAgreement: &[u8; 15] = b"dhKeyAgreement\0"; |
| 1090 |
pub const NID_dhKeyAgreement: i32 = 28; |
| 1091 |
pub const SN_des_ecb: &[u8; 8] = b"DES-ECB\0"; |
| 1092 |
pub const LN_des_ecb: &[u8; 8] = b"des-ecb\0"; |
| 1093 |
pub const NID_des_ecb: i32 = 29; |
| 1094 |
pub const SN_des_cfb64: &[u8; 8] = b"DES-CFB\0"; |
| 1095 |
pub const LN_des_cfb64: &[u8; 8] = b"des-cfb\0"; |
| 1096 |
pub const NID_des_cfb64: i32 = 30; |
| 1097 |
pub const SN_des_cbc: &[u8; 8] = b"DES-CBC\0"; |
| 1098 |
pub const LN_des_cbc: &[u8; 8] = b"des-cbc\0"; |
| 1099 |
pub const NID_des_cbc: i32 = 31; |
| 1100 |
pub const SN_des_ede_ecb: &[u8; 8] = b"DES-EDE\0"; |
| 1101 |
pub const LN_des_ede_ecb: &[u8; 8] = b"des-ede\0"; |
| 1102 |
pub const NID_des_ede_ecb: i32 = 32; |
| 1103 |
pub const SN_des_ede3_ecb: &[u8; 9] = b"DES-EDE3\0"; |
| 1104 |
pub const LN_des_ede3_ecb: &[u8; 9] = b"des-ede3\0"; |
| 1105 |
pub const NID_des_ede3_ecb: i32 = 33; |
| 1106 |
pub const SN_idea_cbc: &[u8; 9] = b"IDEA-CBC\0"; |
| 1107 |
pub const LN_idea_cbc: &[u8; 9] = b"idea-cbc\0"; |
| 1108 |
pub const NID_idea_cbc: i32 = 34; |
| 1109 |
pub const SN_idea_cfb64: &[u8; 9] = b"IDEA-CFB\0"; |
| 1110 |
pub const LN_idea_cfb64: &[u8; 9] = b"idea-cfb\0"; |
| 1111 |
pub const NID_idea_cfb64: i32 = 35; |
| 1112 |
pub const SN_idea_ecb: &[u8; 9] = b"IDEA-ECB\0"; |
| 1113 |
pub const LN_idea_ecb: &[u8; 9] = b"idea-ecb\0"; |
| 1114 |
pub const NID_idea_ecb: i32 = 36; |
| 1115 |
pub const SN_rc2_cbc: &[u8; 8] = b"RC2-CBC\0"; |
| 1116 |
pub const LN_rc2_cbc: &[u8; 8] = b"rc2-cbc\0"; |
| 1117 |
pub const NID_rc2_cbc: i32 = 37; |
| 1118 |
pub const SN_rc2_ecb: &[u8; 8] = b"RC2-ECB\0"; |
| 1119 |
pub const LN_rc2_ecb: &[u8; 8] = b"rc2-ecb\0"; |
| 1120 |
pub const NID_rc2_ecb: i32 = 38; |
| 1121 |
pub const SN_rc2_cfb64: &[u8; 8] = b"RC2-CFB\0"; |
| 1122 |
pub const LN_rc2_cfb64: &[u8; 8] = b"rc2-cfb\0"; |
| 1123 |
pub const NID_rc2_cfb64: i32 = 39; |
| 1124 |
pub const SN_rc2_ofb64: &[u8; 8] = b"RC2-OFB\0"; |
| 1125 |
pub const LN_rc2_ofb64: &[u8; 8] = b"rc2-ofb\0"; |
| 1126 |
pub const NID_rc2_ofb64: i32 = 40; |
| 1127 |
pub const SN_sha: &[u8; 4] = b"SHA\0"; |
| 1128 |
pub const LN_sha: &[u8; 4] = b"sha\0"; |
| 1129 |
pub const NID_sha: i32 = 41; |
| 1130 |
pub const SN_shaWithRSAEncryption: &[u8; 8] = b"RSA-SHA\0"; |
| 1131 |
pub const LN_shaWithRSAEncryption: &[u8; 21] = b"shaWithRSAEncryption\0"; |
| 1132 |
pub const NID_shaWithRSAEncryption: i32 = 42; |
| 1133 |
pub const SN_des_ede_cbc: &[u8; 12] = b"DES-EDE-CBC\0"; |
| 1134 |
pub const LN_des_ede_cbc: &[u8; 12] = b"des-ede-cbc\0"; |
| 1135 |
pub const NID_des_ede_cbc: i32 = 43; |
| 1136 |
pub const SN_des_ede3_cbc: &[u8; 13] = b"DES-EDE3-CBC\0"; |
| 1137 |
pub const LN_des_ede3_cbc: &[u8; 13] = b"des-ede3-cbc\0"; |
| 1138 |
pub const NID_des_ede3_cbc: i32 = 44; |
| 1139 |
pub const SN_des_ofb64: &[u8; 8] = b"DES-OFB\0"; |
| 1140 |
pub const LN_des_ofb64: &[u8; 8] = b"des-ofb\0"; |
| 1141 |
pub const NID_des_ofb64: i32 = 45; |
| 1142 |
pub const SN_idea_ofb64: &[u8; 9] = b"IDEA-OFB\0"; |
| 1143 |
pub const LN_idea_ofb64: &[u8; 9] = b"idea-ofb\0"; |
| 1144 |
pub const NID_idea_ofb64: i32 = 46; |
| 1145 |
pub const SN_pkcs9: &[u8; 6] = b"pkcs9\0"; |
| 1146 |
pub const NID_pkcs9: i32 = 47; |
| 1147 |
pub const LN_pkcs9_emailAddress: &[u8; 13] = b"emailAddress\0"; |
| 1148 |
pub const NID_pkcs9_emailAddress: i32 = 48; |
| 1149 |
pub const LN_pkcs9_unstructuredName: &[u8; 17] = b"unstructuredName\0"; |
| 1150 |
pub const NID_pkcs9_unstructuredName: i32 = 49; |
| 1151 |
pub const LN_pkcs9_contentType: &[u8; 12] = b"contentType\0"; |
| 1152 |
pub const NID_pkcs9_contentType: i32 = 50; |
| 1153 |
pub const LN_pkcs9_messageDigest: &[u8; 14] = b"messageDigest\0"; |
| 1154 |
pub const NID_pkcs9_messageDigest: i32 = 51; |
| 1155 |
pub const LN_pkcs9_signingTime: &[u8; 12] = b"signingTime\0"; |
| 1156 |
pub const NID_pkcs9_signingTime: i32 = 52; |
| 1157 |
pub const LN_pkcs9_countersignature: &[u8; 17] = b"countersignature\0"; |
| 1158 |
pub const NID_pkcs9_countersignature: i32 = 53; |
| 1159 |
pub const LN_pkcs9_challengePassword: &[u8; 18] = b"challengePassword\0"; |
| 1160 |
pub const NID_pkcs9_challengePassword: i32 = 54; |
| 1161 |
pub const LN_pkcs9_unstructuredAddress: &[u8; 20] = b"unstructuredAddress\0"; |
| 1162 |
pub const NID_pkcs9_unstructuredAddress: i32 = 55; |
| 1163 |
pub const LN_pkcs9_extCertAttributes: &[u8; 30] = b"extendedCertificateAttributes\0"; |
| 1164 |
pub const NID_pkcs9_extCertAttributes: i32 = 56; |
| 1165 |
pub const SN_netscape: &[u8; 9] = b"Netscape\0"; |
| 1166 |
pub const LN_netscape: &[u8; 30] = b"Netscape Communications Corp.\0"; |
| 1167 |
pub const NID_netscape: i32 = 57; |
| 1168 |
pub const SN_netscape_cert_extension: &[u8; 10] = b"nsCertExt\0"; |
| 1169 |
pub const LN_netscape_cert_extension: &[u8; 31] = b"Netscape Certificate Extension\0"; |
| 1170 |
pub const NID_netscape_cert_extension: i32 = 58; |
| 1171 |
pub const SN_netscape_data_type: &[u8; 11] = b"nsDataType\0"; |
| 1172 |
pub const LN_netscape_data_type: &[u8; 19] = b"Netscape Data Type\0"; |
| 1173 |
pub const NID_netscape_data_type: i32 = 59; |
| 1174 |
pub const SN_des_ede_cfb64: &[u8; 12] = b"DES-EDE-CFB\0"; |
| 1175 |
pub const LN_des_ede_cfb64: &[u8; 12] = b"des-ede-cfb\0"; |
| 1176 |
pub const NID_des_ede_cfb64: i32 = 60; |
| 1177 |
pub const SN_des_ede3_cfb64: &[u8; 13] = b"DES-EDE3-CFB\0"; |
| 1178 |
pub const LN_des_ede3_cfb64: &[u8; 13] = b"des-ede3-cfb\0"; |
| 1179 |
pub const NID_des_ede3_cfb64: i32 = 61; |
| 1180 |
pub const SN_des_ede_ofb64: &[u8; 12] = b"DES-EDE-OFB\0"; |
| 1181 |
pub const LN_des_ede_ofb64: &[u8; 12] = b"des-ede-ofb\0"; |
| 1182 |
pub const NID_des_ede_ofb64: i32 = 62; |
| 1183 |
pub const SN_des_ede3_ofb64: &[u8; 13] = b"DES-EDE3-OFB\0"; |
| 1184 |
pub const LN_des_ede3_ofb64: &[u8; 13] = b"des-ede3-ofb\0"; |
| 1185 |
pub const NID_des_ede3_ofb64: i32 = 63; |
| 1186 |
pub const SN_sha1: &[u8; 5] = b"SHA1\0"; |
| 1187 |
pub const LN_sha1: &[u8; 5] = b"sha1\0"; |
| 1188 |
pub const NID_sha1: i32 = 64; |
| 1189 |
pub const SN_sha1WithRSAEncryption: &[u8; 9] = b"RSA-SHA1\0"; |
| 1190 |
pub const LN_sha1WithRSAEncryption: &[u8; 22] = b"sha1WithRSAEncryption\0"; |
| 1191 |
pub const NID_sha1WithRSAEncryption: i32 = 65; |
| 1192 |
pub const SN_dsaWithSHA: &[u8; 8] = b"DSA-SHA\0"; |
| 1193 |
pub const LN_dsaWithSHA: &[u8; 11] = b"dsaWithSHA\0"; |
| 1194 |
pub const NID_dsaWithSHA: i32 = 66; |
| 1195 |
pub const SN_dsa_2: &[u8; 8] = b"DSA-old\0"; |
| 1196 |
pub const LN_dsa_2: &[u8; 18] = b"dsaEncryption-old\0"; |
| 1197 |
pub const NID_dsa_2: i32 = 67; |
| 1198 |
pub const SN_pbeWithSHA1AndRC2_CBC: &[u8; 16] = b"PBE-SHA1-RC2-64\0"; |
| 1199 |
pub const LN_pbeWithSHA1AndRC2_CBC: &[u8; 22] = b"pbeWithSHA1AndRC2-CBC\0"; |
| 1200 |
pub const NID_pbeWithSHA1AndRC2_CBC: i32 = 68; |
| 1201 |
pub const LN_id_pbkdf2: &[u8; 7] = b"PBKDF2\0"; |
| 1202 |
pub const NID_id_pbkdf2: i32 = 69; |
| 1203 |
pub const SN_dsaWithSHA1_2: &[u8; 13] = b"DSA-SHA1-old\0"; |
| 1204 |
pub const LN_dsaWithSHA1_2: &[u8; 16] = b"dsaWithSHA1-old\0"; |
| 1205 |
pub const NID_dsaWithSHA1_2: i32 = 70; |
| 1206 |
pub const SN_netscape_cert_type: &[u8; 11] = b"nsCertType\0"; |
| 1207 |
pub const LN_netscape_cert_type: &[u8; 19] = b"Netscape Cert Type\0"; |
| 1208 |
pub const NID_netscape_cert_type: i32 = 71; |
| 1209 |
pub const SN_netscape_base_url: &[u8; 10] = b"nsBaseUrl\0"; |
| 1210 |
pub const LN_netscape_base_url: &[u8; 18] = b"Netscape Base Url\0"; |
| 1211 |
pub const NID_netscape_base_url: i32 = 72; |
| 1212 |
pub const SN_netscape_revocation_url: &[u8; 16] = b"nsRevocationUrl\0"; |
| 1213 |
pub const LN_netscape_revocation_url: &[u8; 24] = b"Netscape Revocation Url\0"; |
| 1214 |
pub const NID_netscape_revocation_url: i32 = 73; |
| 1215 |
pub const SN_netscape_ca_revocation_url: &[u8; 18] = b"nsCaRevocationUrl\0"; |
| 1216 |
pub const LN_netscape_ca_revocation_url: &[u8; 27] = b"Netscape CA Revocation Url\0"; |
| 1217 |
pub const NID_netscape_ca_revocation_url: i32 = 74; |
| 1218 |
pub const SN_netscape_renewal_url: &[u8; 13] = b"nsRenewalUrl\0"; |
| 1219 |
pub const LN_netscape_renewal_url: &[u8; 21] = b"Netscape Renewal Url\0"; |
| 1220 |
pub const NID_netscape_renewal_url: i32 = 75; |
| 1221 |
pub const SN_netscape_ca_policy_url: &[u8; 14] = b"nsCaPolicyUrl\0"; |
| 1222 |
pub const LN_netscape_ca_policy_url: &[u8; 23] = b"Netscape CA Policy Url\0"; |
| 1223 |
pub const NID_netscape_ca_policy_url: i32 = 76; |
| 1224 |
pub const SN_netscape_ssl_server_name: &[u8; 16] = b"nsSslServerName\0"; |
| 1225 |
pub const LN_netscape_ssl_server_name: &[u8; 25] = b"Netscape SSL Server Name\0"; |
| 1226 |
pub const NID_netscape_ssl_server_name: i32 = 77; |
| 1227 |
pub const SN_netscape_comment: &[u8; 10] = b"nsComment\0"; |
| 1228 |
pub const LN_netscape_comment: &[u8; 17] = b"Netscape Comment\0"; |
| 1229 |
pub const NID_netscape_comment: i32 = 78; |
| 1230 |
pub const SN_netscape_cert_sequence: &[u8; 15] = b"nsCertSequence\0"; |
| 1231 |
pub const LN_netscape_cert_sequence: &[u8; 30] = b"Netscape Certificate Sequence\0"; |
| 1232 |
pub const NID_netscape_cert_sequence: i32 = 79; |
| 1233 |
pub const SN_desx_cbc: &[u8; 9] = b"DESX-CBC\0"; |
| 1234 |
pub const LN_desx_cbc: &[u8; 9] = b"desx-cbc\0"; |
| 1235 |
pub const NID_desx_cbc: i32 = 80; |
| 1236 |
pub const SN_id_ce: &[u8; 6] = b"id-ce\0"; |
| 1237 |
pub const NID_id_ce: i32 = 81; |
| 1238 |
pub const SN_subject_key_identifier: &[u8; 21] = b"subjectKeyIdentifier\0"; |
| 1239 |
pub const LN_subject_key_identifier: &[u8; 30] = b"X509v3 Subject Key Identifier\0"; |
| 1240 |
pub const NID_subject_key_identifier: i32 = 82; |
| 1241 |
pub const SN_key_usage: &[u8; 9] = b"keyUsage\0"; |
| 1242 |
pub const LN_key_usage: &[u8; 17] = b"X509v3 Key Usage\0"; |
| 1243 |
pub const NID_key_usage: i32 = 83; |
| 1244 |
pub const SN_private_key_usage_period: &[u8; 22] = b"privateKeyUsagePeriod\0"; |
| 1245 |
pub const LN_private_key_usage_period: &[u8; 32] = b"X509v3 Private Key Usage Period\0"; |
| 1246 |
pub const NID_private_key_usage_period: i32 = 84; |
| 1247 |
pub const SN_subject_alt_name: &[u8; 15] = b"subjectAltName\0"; |
| 1248 |
pub const LN_subject_alt_name: &[u8; 32] = b"X509v3 Subject Alternative Name\0"; |
| 1249 |
pub const NID_subject_alt_name: i32 = 85; |
| 1250 |
pub const SN_issuer_alt_name: &[u8; 14] = b"issuerAltName\0"; |
| 1251 |
pub const LN_issuer_alt_name: &[u8; 31] = b"X509v3 Issuer Alternative Name\0"; |
| 1252 |
pub const NID_issuer_alt_name: i32 = 86; |
| 1253 |
pub const SN_basic_constraints: &[u8; 17] = b"basicConstraints\0"; |
| 1254 |
pub const LN_basic_constraints: &[u8; 25] = b"X509v3 Basic Constraints\0"; |
| 1255 |
pub const NID_basic_constraints: i32 = 87; |
| 1256 |
pub const SN_crl_number: &[u8; 10] = b"crlNumber\0"; |
| 1257 |
pub const LN_crl_number: &[u8; 18] = b"X509v3 CRL Number\0"; |
| 1258 |
pub const NID_crl_number: i32 = 88; |
| 1259 |
pub const SN_certificate_policies: &[u8; 20] = b"certificatePolicies\0"; |
| 1260 |
pub const LN_certificate_policies: &[u8; 28] = b"X509v3 Certificate Policies\0"; |
| 1261 |
pub const NID_certificate_policies: i32 = 89; |
| 1262 |
pub const SN_authority_key_identifier: &[u8; 23] = b"authorityKeyIdentifier\0"; |
| 1263 |
pub const LN_authority_key_identifier: &[u8; 32] = b"X509v3 Authority Key Identifier\0"; |
| 1264 |
pub const NID_authority_key_identifier: i32 = 90; |
| 1265 |
pub const SN_bf_cbc: &[u8; 7] = b"BF-CBC\0"; |
| 1266 |
pub const LN_bf_cbc: &[u8; 7] = b"bf-cbc\0"; |
| 1267 |
pub const NID_bf_cbc: i32 = 91; |
| 1268 |
pub const SN_bf_ecb: &[u8; 7] = b"BF-ECB\0"; |
| 1269 |
pub const LN_bf_ecb: &[u8; 7] = b"bf-ecb\0"; |
| 1270 |
pub const NID_bf_ecb: i32 = 92; |
| 1271 |
pub const SN_bf_cfb64: &[u8; 7] = b"BF-CFB\0"; |
| 1272 |
pub const LN_bf_cfb64: &[u8; 7] = b"bf-cfb\0"; |
| 1273 |
pub const NID_bf_cfb64: i32 = 93; |
| 1274 |
pub const SN_bf_ofb64: &[u8; 7] = b"BF-OFB\0"; |
| 1275 |
pub const LN_bf_ofb64: &[u8; 7] = b"bf-ofb\0"; |
| 1276 |
pub const NID_bf_ofb64: i32 = 94; |
| 1277 |
pub const SN_mdc2: &[u8; 5] = b"MDC2\0"; |
| 1278 |
pub const LN_mdc2: &[u8; 5] = b"mdc2\0"; |
| 1279 |
pub const NID_mdc2: i32 = 95; |
| 1280 |
pub const SN_mdc2WithRSA: &[u8; 9] = b"RSA-MDC2\0"; |
| 1281 |
pub const LN_mdc2WithRSA: &[u8; 12] = b"mdc2WithRSA\0"; |
| 1282 |
pub const NID_mdc2WithRSA: i32 = 96; |
| 1283 |
pub const SN_rc4_40: &[u8; 7] = b"RC4-40\0"; |
| 1284 |
pub const LN_rc4_40: &[u8; 7] = b"rc4-40\0"; |
| 1285 |
pub const NID_rc4_40: i32 = 97; |
| 1286 |
pub const SN_rc2_40_cbc: &[u8; 11] = b"RC2-40-CBC\0"; |
| 1287 |
pub const LN_rc2_40_cbc: &[u8; 11] = b"rc2-40-cbc\0"; |
| 1288 |
pub const NID_rc2_40_cbc: i32 = 98; |
| 1289 |
pub const SN_givenName: &[u8; 3] = b"GN\0"; |
| 1290 |
pub const LN_givenName: &[u8; 10] = b"givenName\0"; |
| 1291 |
pub const NID_givenName: i32 = 99; |
| 1292 |
pub const SN_surname: &[u8; 3] = b"SN\0"; |
| 1293 |
pub const LN_surname: &[u8; 8] = b"surname\0"; |
| 1294 |
pub const NID_surname: i32 = 100; |
| 1295 |
pub const SN_initials: &[u8; 9] = b"initials\0"; |
| 1296 |
pub const LN_initials: &[u8; 9] = b"initials\0"; |
| 1297 |
pub const NID_initials: i32 = 101; |
| 1298 |
pub const SN_crl_distribution_points: &[u8; 22] = b"crlDistributionPoints\0"; |
| 1299 |
pub const LN_crl_distribution_points: &[u8; 31] = b"X509v3 CRL Distribution Points\0"; |
| 1300 |
pub const NID_crl_distribution_points: i32 = 103; |
| 1301 |
pub const SN_md5WithRSA: &[u8; 11] = b"RSA-NP-MD5\0"; |
| 1302 |
pub const LN_md5WithRSA: &[u8; 11] = b"md5WithRSA\0"; |
| 1303 |
pub const NID_md5WithRSA: i32 = 104; |
| 1304 |
pub const LN_serialNumber: &[u8; 13] = b"serialNumber\0"; |
| 1305 |
pub const NID_serialNumber: i32 = 105; |
| 1306 |
pub const SN_title: &[u8; 6] = b"title\0"; |
| 1307 |
pub const LN_title: &[u8; 6] = b"title\0"; |
| 1308 |
pub const NID_title: i32 = 106; |
| 1309 |
pub const LN_description: &[u8; 12] = b"description\0"; |
| 1310 |
pub const NID_description: i32 = 107; |
| 1311 |
pub const SN_cast5_cbc: &[u8; 10] = b"CAST5-CBC\0"; |
| 1312 |
pub const LN_cast5_cbc: &[u8; 10] = b"cast5-cbc\0"; |
| 1313 |
pub const NID_cast5_cbc: i32 = 108; |
| 1314 |
pub const SN_cast5_ecb: &[u8; 10] = b"CAST5-ECB\0"; |
| 1315 |
pub const LN_cast5_ecb: &[u8; 10] = b"cast5-ecb\0"; |
| 1316 |
pub const NID_cast5_ecb: i32 = 109; |
| 1317 |
pub const SN_cast5_cfb64: &[u8; 10] = b"CAST5-CFB\0"; |
| 1318 |
pub const LN_cast5_cfb64: &[u8; 10] = b"cast5-cfb\0"; |
| 1319 |
pub const NID_cast5_cfb64: i32 = 110; |
| 1320 |
pub const SN_cast5_ofb64: &[u8; 10] = b"CAST5-OFB\0"; |
| 1321 |
pub const LN_cast5_ofb64: &[u8; 10] = b"cast5-ofb\0"; |
| 1322 |
pub const NID_cast5_ofb64: i32 = 111; |
| 1323 |
pub const LN_pbeWithMD5AndCast5_CBC: &[u8; 22] = b"pbeWithMD5AndCast5CBC\0"; |
| 1324 |
pub const NID_pbeWithMD5AndCast5_CBC: i32 = 112; |
| 1325 |
pub const SN_dsaWithSHA1: &[u8; 9] = b"DSA-SHA1\0"; |
| 1326 |
pub const LN_dsaWithSHA1: &[u8; 12] = b"dsaWithSHA1\0"; |
| 1327 |
pub const NID_dsaWithSHA1: i32 = 113; |
| 1328 |
pub const SN_md5_sha1: &[u8; 9] = b"MD5-SHA1\0"; |
| 1329 |
pub const LN_md5_sha1: &[u8; 9] = b"md5-sha1\0"; |
| 1330 |
pub const NID_md5_sha1: i32 = 114; |
| 1331 |
pub const SN_sha1WithRSA: &[u8; 11] = b"RSA-SHA1-2\0"; |
| 1332 |
pub const LN_sha1WithRSA: &[u8; 12] = b"sha1WithRSA\0"; |
| 1333 |
pub const NID_sha1WithRSA: i32 = 115; |
| 1334 |
pub const SN_dsa: &[u8; 4] = b"DSA\0"; |
| 1335 |
pub const LN_dsa: &[u8; 14] = b"dsaEncryption\0"; |
| 1336 |
pub const NID_dsa: i32 = 116; |
| 1337 |
pub const SN_ripemd160: &[u8; 10] = b"RIPEMD160\0"; |
| 1338 |
pub const LN_ripemd160: &[u8; 10] = b"ripemd160\0"; |
| 1339 |
pub const NID_ripemd160: i32 = 117; |
| 1340 |
pub const SN_ripemd160WithRSA: &[u8; 14] = b"RSA-RIPEMD160\0"; |
| 1341 |
pub const LN_ripemd160WithRSA: &[u8; 17] = b"ripemd160WithRSA\0"; |
| 1342 |
pub const NID_ripemd160WithRSA: i32 = 119; |
| 1343 |
pub const SN_rc5_cbc: &[u8; 8] = b"RC5-CBC\0"; |
| 1344 |
pub const LN_rc5_cbc: &[u8; 8] = b"rc5-cbc\0"; |
| 1345 |
pub const NID_rc5_cbc: i32 = 120; |
| 1346 |
pub const SN_rc5_ecb: &[u8; 8] = b"RC5-ECB\0"; |
| 1347 |
pub const LN_rc5_ecb: &[u8; 8] = b"rc5-ecb\0"; |
| 1348 |
pub const NID_rc5_ecb: i32 = 121; |
| 1349 |
pub const SN_rc5_cfb64: &[u8; 8] = b"RC5-CFB\0"; |
| 1350 |
pub const LN_rc5_cfb64: &[u8; 8] = b"rc5-cfb\0"; |
| 1351 |
pub const NID_rc5_cfb64: i32 = 122; |
| 1352 |
pub const SN_rc5_ofb64: &[u8; 8] = b"RC5-OFB\0"; |
| 1353 |
pub const LN_rc5_ofb64: &[u8; 8] = b"rc5-ofb\0"; |
| 1354 |
pub const NID_rc5_ofb64: i32 = 123; |
| 1355 |
pub const SN_zlib_compression: &[u8; 5] = b"ZLIB\0"; |
| 1356 |
pub const LN_zlib_compression: &[u8; 17] = b"zlib compression\0"; |
| 1357 |
pub const NID_zlib_compression: i32 = 125; |
| 1358 |
pub const SN_ext_key_usage: &[u8; 17] = b"extendedKeyUsage\0"; |
| 1359 |
pub const LN_ext_key_usage: &[u8; 26] = b"X509v3 Extended Key Usage\0"; |
| 1360 |
pub const NID_ext_key_usage: i32 = 126; |
| 1361 |
pub const SN_id_pkix: &[u8; 5] = b"PKIX\0"; |
| 1362 |
pub const NID_id_pkix: i32 = 127; |
| 1363 |
pub const SN_id_kp: &[u8; 6] = b"id-kp\0"; |
| 1364 |
pub const NID_id_kp: i32 = 128; |
| 1365 |
pub const SN_server_auth: &[u8; 11] = b"serverAuth\0"; |
| 1366 |
pub const LN_server_auth: &[u8; 30] = b"TLS Web Server Authentication\0"; |
| 1367 |
pub const NID_server_auth: i32 = 129; |
| 1368 |
pub const SN_client_auth: &[u8; 11] = b"clientAuth\0"; |
| 1369 |
pub const LN_client_auth: &[u8; 30] = b"TLS Web Client Authentication\0"; |
| 1370 |
pub const NID_client_auth: i32 = 130; |
| 1371 |
pub const SN_code_sign: &[u8; 12] = b"codeSigning\0"; |
| 1372 |
pub const LN_code_sign: &[u8; 13] = b"Code Signing\0"; |
| 1373 |
pub const NID_code_sign: i32 = 131; |
| 1374 |
pub const SN_email_protect: &[u8; 16] = b"emailProtection\0"; |
| 1375 |
pub const LN_email_protect: &[u8; 18] = b"E-mail Protection\0"; |
| 1376 |
pub const NID_email_protect: i32 = 132; |
| 1377 |
pub const SN_time_stamp: &[u8; 13] = b"timeStamping\0"; |
| 1378 |
pub const LN_time_stamp: &[u8; 14] = b"Time Stamping\0"; |
| 1379 |
pub const NID_time_stamp: i32 = 133; |
| 1380 |
pub const SN_ms_code_ind: &[u8; 10] = b"msCodeInd\0"; |
| 1381 |
pub const LN_ms_code_ind: &[u8; 34] = b"Microsoft Individual Code Signing\0"; |
| 1382 |
pub const NID_ms_code_ind: i32 = 134; |
| 1383 |
pub const SN_ms_code_com: &[u8; 10] = b"msCodeCom\0"; |
| 1384 |
pub const LN_ms_code_com: &[u8; 34] = b"Microsoft Commercial Code Signing\0"; |
| 1385 |
pub const NID_ms_code_com: i32 = 135; |
| 1386 |
pub const SN_ms_ctl_sign: &[u8; 10] = b"msCTLSign\0"; |
| 1387 |
pub const LN_ms_ctl_sign: &[u8; 29] = b"Microsoft Trust List Signing\0"; |
| 1388 |
pub const NID_ms_ctl_sign: i32 = 136; |
| 1389 |
pub const SN_ms_sgc: &[u8; 6] = b"msSGC\0"; |
| 1390 |
pub const LN_ms_sgc: &[u8; 30] = b"Microsoft Server Gated Crypto\0"; |
| 1391 |
pub const NID_ms_sgc: i32 = 137; |
| 1392 |
pub const SN_ms_efs: &[u8; 6] = b"msEFS\0"; |
| 1393 |
pub const LN_ms_efs: &[u8; 32] = b"Microsoft Encrypted File System\0"; |
| 1394 |
pub const NID_ms_efs: i32 = 138; |
| 1395 |
pub const SN_ns_sgc: &[u8; 6] = b"nsSGC\0"; |
| 1396 |
pub const LN_ns_sgc: &[u8; 29] = b"Netscape Server Gated Crypto\0"; |
| 1397 |
pub const NID_ns_sgc: i32 = 139; |
| 1398 |
pub const SN_delta_crl: &[u8; 9] = b"deltaCRL\0"; |
| 1399 |
pub const LN_delta_crl: &[u8; 27] = b"X509v3 Delta CRL Indicator\0"; |
| 1400 |
pub const NID_delta_crl: i32 = 140; |
| 1401 |
pub const SN_crl_reason: &[u8; 10] = b"CRLReason\0"; |
| 1402 |
pub const LN_crl_reason: &[u8; 23] = b"X509v3 CRL Reason Code\0"; |
| 1403 |
pub const NID_crl_reason: i32 = 141; |
| 1404 |
pub const SN_invalidity_date: &[u8; 15] = b"invalidityDate\0"; |
| 1405 |
pub const LN_invalidity_date: &[u8; 16] = b"Invalidity Date\0"; |
| 1406 |
pub const NID_invalidity_date: i32 = 142; |
| 1407 |
pub const SN_sxnet: &[u8; 8] = b"SXNetID\0"; |
| 1408 |
pub const LN_sxnet: &[u8; 19] = b"Strong Extranet ID\0"; |
| 1409 |
pub const NID_sxnet: i32 = 143; |
| 1410 |
pub const SN_pbe_WithSHA1And128BitRC4: &[u8; 17] = b"PBE-SHA1-RC4-128\0"; |
| 1411 |
pub const LN_pbe_WithSHA1And128BitRC4: &[u8; 24] = b"pbeWithSHA1And128BitRC4\0"; |
| 1412 |
pub const NID_pbe_WithSHA1And128BitRC4: i32 = 144; |
| 1413 |
pub const SN_pbe_WithSHA1And40BitRC4: &[u8; 16] = b"PBE-SHA1-RC4-40\0"; |
| 1414 |
pub const LN_pbe_WithSHA1And40BitRC4: &[u8; 23] = b"pbeWithSHA1And40BitRC4\0"; |
| 1415 |
pub const NID_pbe_WithSHA1And40BitRC4: i32 = 145; |
| 1416 |
pub const SN_pbe_WithSHA1And3_Key_TripleDES_CBC: &[u8; 14] = b"PBE-SHA1-3DES\0"; |
| 1417 |
pub const LN_pbe_WithSHA1And3_Key_TripleDES_CBC: &[u8; 33] = b"pbeWithSHA1And3-KeyTripleDES-CBC\0"; |
| 1418 |
pub const NID_pbe_WithSHA1And3_Key_TripleDES_CBC: i32 = 146; |
| 1419 |
pub const SN_pbe_WithSHA1And2_Key_TripleDES_CBC: &[u8; 14] = b"PBE-SHA1-2DES\0"; |
| 1420 |
pub const LN_pbe_WithSHA1And2_Key_TripleDES_CBC: &[u8; 33] = b"pbeWithSHA1And2-KeyTripleDES-CBC\0"; |
| 1421 |
pub const NID_pbe_WithSHA1And2_Key_TripleDES_CBC: i32 = 147; |
| 1422 |
pub const SN_pbe_WithSHA1And128BitRC2_CBC: &[u8; 17] = b"PBE-SHA1-RC2-128\0"; |
| 1423 |
pub const LN_pbe_WithSHA1And128BitRC2_CBC: &[u8; 28] = b"pbeWithSHA1And128BitRC2-CBC\0"; |
| 1424 |
pub const NID_pbe_WithSHA1And128BitRC2_CBC: i32 = 148; |
| 1425 |
pub const SN_pbe_WithSHA1And40BitRC2_CBC: &[u8; 16] = b"PBE-SHA1-RC2-40\0"; |
| 1426 |
pub const LN_pbe_WithSHA1And40BitRC2_CBC: &[u8; 27] = b"pbeWithSHA1And40BitRC2-CBC\0"; |
| 1427 |
pub const NID_pbe_WithSHA1And40BitRC2_CBC: i32 = 149; |
| 1428 |
pub const LN_keyBag: &[u8; 7] = b"keyBag\0"; |
| 1429 |
pub const NID_keyBag: i32 = 150; |
| 1430 |
pub const LN_pkcs8ShroudedKeyBag: &[u8; 20] = b"pkcs8ShroudedKeyBag\0"; |
| 1431 |
pub const NID_pkcs8ShroudedKeyBag: i32 = 151; |
| 1432 |
pub const LN_certBag: &[u8; 8] = b"certBag\0"; |
| 1433 |
pub const NID_certBag: i32 = 152; |
| 1434 |
pub const LN_crlBag: &[u8; 7] = b"crlBag\0"; |
| 1435 |
pub const NID_crlBag: i32 = 153; |
| 1436 |
pub const LN_secretBag: &[u8; 10] = b"secretBag\0"; |
| 1437 |
pub const NID_secretBag: i32 = 154; |
| 1438 |
pub const LN_safeContentsBag: &[u8; 16] = b"safeContentsBag\0"; |
| 1439 |
pub const NID_safeContentsBag: i32 = 155; |
| 1440 |
pub const LN_friendlyName: &[u8; 13] = b"friendlyName\0"; |
| 1441 |
pub const NID_friendlyName: i32 = 156; |
| 1442 |
pub const LN_localKeyID: &[u8; 11] = b"localKeyID\0"; |
| 1443 |
pub const NID_localKeyID: i32 = 157; |
| 1444 |
pub const LN_x509Certificate: &[u8; 16] = b"x509Certificate\0"; |
| 1445 |
pub const NID_x509Certificate: i32 = 158; |
| 1446 |
pub const LN_sdsiCertificate: &[u8; 16] = b"sdsiCertificate\0"; |
| 1447 |
pub const NID_sdsiCertificate: i32 = 159; |
| 1448 |
pub const LN_x509Crl: &[u8; 8] = b"x509Crl\0"; |
| 1449 |
pub const NID_x509Crl: i32 = 160; |
| 1450 |
pub const LN_pbes2: &[u8; 6] = b"PBES2\0"; |
| 1451 |
pub const NID_pbes2: i32 = 161; |
| 1452 |
pub const LN_pbmac1: &[u8; 7] = b"PBMAC1\0"; |
| 1453 |
pub const NID_pbmac1: i32 = 162; |
| 1454 |
pub const LN_hmacWithSHA1: &[u8; 13] = b"hmacWithSHA1\0"; |
| 1455 |
pub const NID_hmacWithSHA1: i32 = 163; |
| 1456 |
pub const SN_id_qt_cps: &[u8; 10] = b"id-qt-cps\0"; |
| 1457 |
pub const LN_id_qt_cps: &[u8; 21] = b"Policy Qualifier CPS\0"; |
| 1458 |
pub const NID_id_qt_cps: i32 = 164; |
| 1459 |
pub const SN_id_qt_unotice: &[u8; 14] = b"id-qt-unotice\0"; |
| 1460 |
pub const LN_id_qt_unotice: &[u8; 29] = b"Policy Qualifier User Notice\0"; |
| 1461 |
pub const NID_id_qt_unotice: i32 = 165; |
| 1462 |
pub const SN_rc2_64_cbc: &[u8; 11] = b"RC2-64-CBC\0"; |
| 1463 |
pub const LN_rc2_64_cbc: &[u8; 11] = b"rc2-64-cbc\0"; |
| 1464 |
pub const NID_rc2_64_cbc: i32 = 166; |
| 1465 |
pub const SN_SMIMECapabilities: &[u8; 11] = b"SMIME-CAPS\0"; |
| 1466 |
pub const LN_SMIMECapabilities: &[u8; 20] = b"S/MIME Capabilities\0"; |
| 1467 |
pub const NID_SMIMECapabilities: i32 = 167; |
| 1468 |
pub const SN_pbeWithMD2AndRC2_CBC: &[u8; 15] = b"PBE-MD2-RC2-64\0"; |
| 1469 |
pub const LN_pbeWithMD2AndRC2_CBC: &[u8; 21] = b"pbeWithMD2AndRC2-CBC\0"; |
| 1470 |
pub const NID_pbeWithMD2AndRC2_CBC: i32 = 168; |
| 1471 |
pub const SN_pbeWithMD5AndRC2_CBC: &[u8; 15] = b"PBE-MD5-RC2-64\0"; |
| 1472 |
pub const LN_pbeWithMD5AndRC2_CBC: &[u8; 21] = b"pbeWithMD5AndRC2-CBC\0"; |
| 1473 |
pub const NID_pbeWithMD5AndRC2_CBC: i32 = 169; |
| 1474 |
pub const SN_pbeWithSHA1AndDES_CBC: &[u8; 13] = b"PBE-SHA1-DES\0"; |
| 1475 |
pub const LN_pbeWithSHA1AndDES_CBC: &[u8; 22] = b"pbeWithSHA1AndDES-CBC\0"; |
| 1476 |
pub const NID_pbeWithSHA1AndDES_CBC: i32 = 170; |
| 1477 |
pub const SN_ms_ext_req: &[u8; 9] = b"msExtReq\0"; |
| 1478 |
pub const LN_ms_ext_req: &[u8; 28] = b"Microsoft Extension Request\0"; |
| 1479 |
pub const NID_ms_ext_req: i32 = 171; |
| 1480 |
pub const SN_ext_req: &[u8; 7] = b"extReq\0"; |
| 1481 |
pub const LN_ext_req: &[u8; 18] = b"Extension Request\0"; |
| 1482 |
pub const NID_ext_req: i32 = 172; |
| 1483 |
pub const SN_name: &[u8; 5] = b"name\0"; |
| 1484 |
pub const LN_name: &[u8; 5] = b"name\0"; |
| 1485 |
pub const NID_name: i32 = 173; |
| 1486 |
pub const SN_dnQualifier: &[u8; 12] = b"dnQualifier\0"; |
| 1487 |
pub const LN_dnQualifier: &[u8; 12] = b"dnQualifier\0"; |
| 1488 |
pub const NID_dnQualifier: i32 = 174; |
| 1489 |
pub const SN_id_pe: &[u8; 6] = b"id-pe\0"; |
| 1490 |
pub const NID_id_pe: i32 = 175; |
| 1491 |
pub const SN_id_ad: &[u8; 6] = b"id-ad\0"; |
| 1492 |
pub const NID_id_ad: i32 = 176; |
| 1493 |
pub const SN_info_access: &[u8; 20] = b"authorityInfoAccess\0"; |
| 1494 |
pub const LN_info_access: &[u8; 29] = b"Authority Information Access\0"; |
| 1495 |
pub const NID_info_access: i32 = 177; |
| 1496 |
pub const SN_ad_OCSP: &[u8; 5] = b"OCSP\0"; |
| 1497 |
pub const LN_ad_OCSP: &[u8; 5] = b"OCSP\0"; |
| 1498 |
pub const NID_ad_OCSP: i32 = 178; |
| 1499 |
pub const SN_ad_ca_issuers: &[u8; 10] = b"caIssuers\0"; |
| 1500 |
pub const LN_ad_ca_issuers: &[u8; 11] = b"CA Issuers\0"; |
| 1501 |
pub const NID_ad_ca_issuers: i32 = 179; |
| 1502 |
pub const SN_OCSP_sign: &[u8; 12] = b"OCSPSigning\0"; |
| 1503 |
pub const LN_OCSP_sign: &[u8; 13] = b"OCSP Signing\0"; |
| 1504 |
pub const NID_OCSP_sign: i32 = 180; |
| 1505 |
pub const SN_iso: &[u8; 4] = b"ISO\0"; |
| 1506 |
pub const LN_iso: &[u8; 4] = b"iso\0"; |
| 1507 |
pub const NID_iso: i32 = 181; |
| 1508 |
pub const OBJ_iso: i32 = 1; |
| 1509 |
pub const SN_member_body: &[u8; 12] = b"member-body\0"; |
| 1510 |
pub const LN_member_body: &[u8; 16] = b"ISO Member Body\0"; |
| 1511 |
pub const NID_member_body: i32 = 182; |
| 1512 |
pub const SN_ISO_US: &[u8; 7] = b"ISO-US\0"; |
| 1513 |
pub const LN_ISO_US: &[u8; 19] = b"ISO US Member Body\0"; |
| 1514 |
pub const NID_ISO_US: i32 = 183; |
| 1515 |
pub const SN_X9_57: &[u8; 6] = b"X9-57\0"; |
| 1516 |
pub const LN_X9_57: &[u8; 6] = b"X9.57\0"; |
| 1517 |
pub const NID_X9_57: i32 = 184; |
| 1518 |
pub const SN_X9cm: &[u8; 5] = b"X9cm\0"; |
| 1519 |
pub const LN_X9cm: &[u8; 11] = b"X9.57 CM ?\0"; |
| 1520 |
pub const NID_X9cm: i32 = 185; |
| 1521 |
pub const SN_pkcs1: &[u8; 6] = b"pkcs1\0"; |
| 1522 |
pub const NID_pkcs1: i32 = 186; |
| 1523 |
pub const SN_pkcs5: &[u8; 6] = b"pkcs5\0"; |
| 1524 |
pub const NID_pkcs5: i32 = 187; |
| 1525 |
pub const SN_SMIME: &[u8; 6] = b"SMIME\0"; |
| 1526 |
pub const LN_SMIME: &[u8; 7] = b"S/MIME\0"; |
| 1527 |
pub const NID_SMIME: i32 = 188; |
| 1528 |
pub const SN_id_smime_mod: &[u8; 13] = b"id-smime-mod\0"; |
| 1529 |
pub const NID_id_smime_mod: i32 = 189; |
| 1530 |
pub const SN_id_smime_ct: &[u8; 12] = b"id-smime-ct\0"; |
| 1531 |
pub const NID_id_smime_ct: i32 = 190; |
| 1532 |
pub const SN_id_smime_aa: &[u8; 12] = b"id-smime-aa\0"; |
| 1533 |
pub const NID_id_smime_aa: i32 = 191; |
| 1534 |
pub const SN_id_smime_alg: &[u8; 13] = b"id-smime-alg\0"; |
| 1535 |
pub const NID_id_smime_alg: i32 = 192; |
| 1536 |
pub const SN_id_smime_cd: &[u8; 12] = b"id-smime-cd\0"; |
| 1537 |
pub const NID_id_smime_cd: i32 = 193; |
| 1538 |
pub const SN_id_smime_spq: &[u8; 13] = b"id-smime-spq\0"; |
| 1539 |
pub const NID_id_smime_spq: i32 = 194; |
| 1540 |
pub const SN_id_smime_cti: &[u8; 13] = b"id-smime-cti\0"; |
| 1541 |
pub const NID_id_smime_cti: i32 = 195; |
| 1542 |
pub const SN_id_smime_mod_cms: &[u8; 17] = b"id-smime-mod-cms\0"; |
| 1543 |
pub const NID_id_smime_mod_cms: i32 = 196; |
| 1544 |
pub const SN_id_smime_mod_ess: &[u8; 17] = b"id-smime-mod-ess\0"; |
| 1545 |
pub const NID_id_smime_mod_ess: i32 = 197; |
| 1546 |
pub const SN_id_smime_mod_oid: &[u8; 17] = b"id-smime-mod-oid\0"; |
| 1547 |
pub const NID_id_smime_mod_oid: i32 = 198; |
| 1548 |
pub const SN_id_smime_mod_msg_v3: &[u8; 20] = b"id-smime-mod-msg-v3\0"; |
| 1549 |
pub const NID_id_smime_mod_msg_v3: i32 = 199; |
| 1550 |
pub const SN_id_smime_mod_ets_eSignature_88: &[u8; 31] = b"id-smime-mod-ets-eSignature-88\0"; |
| 1551 |
pub const NID_id_smime_mod_ets_eSignature_88: i32 = 200; |
| 1552 |
pub const SN_id_smime_mod_ets_eSignature_97: &[u8; 31] = b"id-smime-mod-ets-eSignature-97\0"; |
| 1553 |
pub const NID_id_smime_mod_ets_eSignature_97: i32 = 201; |
| 1554 |
pub const SN_id_smime_mod_ets_eSigPolicy_88: &[u8; 31] = b"id-smime-mod-ets-eSigPolicy-88\0"; |
| 1555 |
pub const NID_id_smime_mod_ets_eSigPolicy_88: i32 = 202; |
| 1556 |
pub const SN_id_smime_mod_ets_eSigPolicy_97: &[u8; 31] = b"id-smime-mod-ets-eSigPolicy-97\0"; |
| 1557 |
pub const NID_id_smime_mod_ets_eSigPolicy_97: i32 = 203; |
| 1558 |
pub const SN_id_smime_ct_receipt: &[u8; 20] = b"id-smime-ct-receipt\0"; |
| 1559 |
pub const NID_id_smime_ct_receipt: i32 = 204; |
| 1560 |
pub const SN_id_smime_ct_authData: &[u8; 21] = b"id-smime-ct-authData\0"; |
| 1561 |
pub const NID_id_smime_ct_authData: i32 = 205; |
| 1562 |
pub const SN_id_smime_ct_publishCert: &[u8; 24] = b"id-smime-ct-publishCert\0"; |
| 1563 |
pub const NID_id_smime_ct_publishCert: i32 = 206; |
| 1564 |
pub const SN_id_smime_ct_TSTInfo: &[u8; 20] = b"id-smime-ct-TSTInfo\0"; |
| 1565 |
pub const NID_id_smime_ct_TSTInfo: i32 = 207; |
| 1566 |
pub const SN_id_smime_ct_TDTInfo: &[u8; 20] = b"id-smime-ct-TDTInfo\0"; |
| 1567 |
pub const NID_id_smime_ct_TDTInfo: i32 = 208; |
| 1568 |
pub const SN_id_smime_ct_contentInfo: &[u8; 24] = b"id-smime-ct-contentInfo\0"; |
| 1569 |
pub const NID_id_smime_ct_contentInfo: i32 = 209; |
| 1570 |
pub const SN_id_smime_ct_DVCSRequestData: &[u8; 28] = b"id-smime-ct-DVCSRequestData\0"; |
| 1571 |
pub const NID_id_smime_ct_DVCSRequestData: i32 = 210; |
| 1572 |
pub const SN_id_smime_ct_DVCSResponseData: &[u8; 29] = b"id-smime-ct-DVCSResponseData\0"; |
| 1573 |
pub const NID_id_smime_ct_DVCSResponseData: i32 = 211; |
| 1574 |
pub const SN_id_smime_aa_receiptRequest: &[u8; 27] = b"id-smime-aa-receiptRequest\0"; |
| 1575 |
pub const NID_id_smime_aa_receiptRequest: i32 = 212; |
| 1576 |
pub const SN_id_smime_aa_securityLabel: &[u8; 26] = b"id-smime-aa-securityLabel\0"; |
| 1577 |
pub const NID_id_smime_aa_securityLabel: i32 = 213; |
| 1578 |
pub const SN_id_smime_aa_mlExpandHistory: &[u8; 28] = b"id-smime-aa-mlExpandHistory\0"; |
| 1579 |
pub const NID_id_smime_aa_mlExpandHistory: i32 = 214; |
| 1580 |
pub const SN_id_smime_aa_contentHint: &[u8; 24] = b"id-smime-aa-contentHint\0"; |
| 1581 |
pub const NID_id_smime_aa_contentHint: i32 = 215; |
| 1582 |
pub const SN_id_smime_aa_msgSigDigest: &[u8; 25] = b"id-smime-aa-msgSigDigest\0"; |
| 1583 |
pub const NID_id_smime_aa_msgSigDigest: i32 = 216; |
| 1584 |
pub const SN_id_smime_aa_encapContentType: &[u8; 29] = b"id-smime-aa-encapContentType\0"; |
| 1585 |
pub const NID_id_smime_aa_encapContentType: i32 = 217; |
| 1586 |
pub const SN_id_smime_aa_contentIdentifier: &[u8; 30] = b"id-smime-aa-contentIdentifier\0"; |
| 1587 |
pub const NID_id_smime_aa_contentIdentifier: i32 = 218; |
| 1588 |
pub const SN_id_smime_aa_macValue: &[u8; 21] = b"id-smime-aa-macValue\0"; |
| 1589 |
pub const NID_id_smime_aa_macValue: i32 = 219; |
| 1590 |
pub const SN_id_smime_aa_equivalentLabels: &[u8; 29] = b"id-smime-aa-equivalentLabels\0"; |
| 1591 |
pub const NID_id_smime_aa_equivalentLabels: i32 = 220; |
| 1592 |
pub const SN_id_smime_aa_contentReference: &[u8; 29] = b"id-smime-aa-contentReference\0"; |
| 1593 |
pub const NID_id_smime_aa_contentReference: i32 = 221; |
| 1594 |
pub const SN_id_smime_aa_encrypKeyPref: &[u8; 26] = b"id-smime-aa-encrypKeyPref\0"; |
| 1595 |
pub const NID_id_smime_aa_encrypKeyPref: i32 = 222; |
| 1596 |
pub const SN_id_smime_aa_signingCertificate: &[u8; 31] = b"id-smime-aa-signingCertificate\0"; |
| 1597 |
pub const NID_id_smime_aa_signingCertificate: i32 = 223; |
| 1598 |
pub const SN_id_smime_aa_smimeEncryptCerts: &[u8; 30] = b"id-smime-aa-smimeEncryptCerts\0"; |
| 1599 |
pub const NID_id_smime_aa_smimeEncryptCerts: i32 = 224; |
| 1600 |
pub const SN_id_smime_aa_timeStampToken: &[u8; 27] = b"id-smime-aa-timeStampToken\0"; |
| 1601 |
pub const NID_id_smime_aa_timeStampToken: i32 = 225; |
| 1602 |
pub const SN_id_smime_aa_ets_sigPolicyId: &[u8; 28] = b"id-smime-aa-ets-sigPolicyId\0"; |
| 1603 |
pub const NID_id_smime_aa_ets_sigPolicyId: i32 = 226; |
| 1604 |
pub const SN_id_smime_aa_ets_commitmentType: &[u8; 31] = b"id-smime-aa-ets-commitmentType\0"; |
| 1605 |
pub const NID_id_smime_aa_ets_commitmentType: i32 = 227; |
| 1606 |
pub const SN_id_smime_aa_ets_signerLocation: &[u8; 31] = b"id-smime-aa-ets-signerLocation\0"; |
| 1607 |
pub const NID_id_smime_aa_ets_signerLocation: i32 = 228; |
| 1608 |
pub const SN_id_smime_aa_ets_signerAttr: &[u8; 27] = b"id-smime-aa-ets-signerAttr\0"; |
| 1609 |
pub const NID_id_smime_aa_ets_signerAttr: i32 = 229; |
| 1610 |
pub const SN_id_smime_aa_ets_otherSigCert: &[u8; 29] = b"id-smime-aa-ets-otherSigCert\0"; |
| 1611 |
pub const NID_id_smime_aa_ets_otherSigCert: i32 = 230; |
| 1612 |
pub const SN_id_smime_aa_ets_contentTimestamp: &[u8; 33] = b"id-smime-aa-ets-contentTimestamp\0"; |
| 1613 |
pub const NID_id_smime_aa_ets_contentTimestamp: i32 = 231; |
| 1614 |
pub const SN_id_smime_aa_ets_CertificateRefs: &[u8; 32] = b"id-smime-aa-ets-CertificateRefs\0"; |
| 1615 |
pub const NID_id_smime_aa_ets_CertificateRefs: i32 = 232; |
| 1616 |
pub const SN_id_smime_aa_ets_RevocationRefs: &[u8; 31] = b"id-smime-aa-ets-RevocationRefs\0"; |
| 1617 |
pub const NID_id_smime_aa_ets_RevocationRefs: i32 = 233; |
| 1618 |
pub const SN_id_smime_aa_ets_certValues: &[u8; 27] = b"id-smime-aa-ets-certValues\0"; |
| 1619 |
pub const NID_id_smime_aa_ets_certValues: i32 = 234; |
| 1620 |
pub const SN_id_smime_aa_ets_revocationValues: &[u8; 33] = b"id-smime-aa-ets-revocationValues\0"; |
| 1621 |
pub const NID_id_smime_aa_ets_revocationValues: i32 = 235; |
| 1622 |
pub const SN_id_smime_aa_ets_escTimeStamp: &[u8; 29] = b"id-smime-aa-ets-escTimeStamp\0"; |
| 1623 |
pub const NID_id_smime_aa_ets_escTimeStamp: i32 = 236; |
| 1624 |
pub const SN_id_smime_aa_ets_certCRLTimestamp: &[u8; 33] = b"id-smime-aa-ets-certCRLTimestamp\0"; |
| 1625 |
pub const NID_id_smime_aa_ets_certCRLTimestamp: i32 = 237; |
| 1626 |
pub const SN_id_smime_aa_ets_archiveTimeStamp: &[u8; 33] = b"id-smime-aa-ets-archiveTimeStamp\0"; |
| 1627 |
pub const NID_id_smime_aa_ets_archiveTimeStamp: i32 = 238; |
| 1628 |
pub const SN_id_smime_aa_signatureType: &[u8; 26] = b"id-smime-aa-signatureType\0"; |
| 1629 |
pub const NID_id_smime_aa_signatureType: i32 = 239; |
| 1630 |
pub const SN_id_smime_aa_dvcs_dvc: &[u8; 21] = b"id-smime-aa-dvcs-dvc\0"; |
| 1631 |
pub const NID_id_smime_aa_dvcs_dvc: i32 = 240; |
| 1632 |
pub const SN_id_smime_alg_ESDHwith3DES: &[u8; 26] = b"id-smime-alg-ESDHwith3DES\0"; |
| 1633 |
pub const NID_id_smime_alg_ESDHwith3DES: i32 = 241; |
| 1634 |
pub const SN_id_smime_alg_ESDHwithRC2: &[u8; 25] = b"id-smime-alg-ESDHwithRC2\0"; |
| 1635 |
pub const NID_id_smime_alg_ESDHwithRC2: i32 = 242; |
| 1636 |
pub const SN_id_smime_alg_3DESwrap: &[u8; 22] = b"id-smime-alg-3DESwrap\0"; |
| 1637 |
pub const NID_id_smime_alg_3DESwrap: i32 = 243; |
| 1638 |
pub const SN_id_smime_alg_RC2wrap: &[u8; 21] = b"id-smime-alg-RC2wrap\0"; |
| 1639 |
pub const NID_id_smime_alg_RC2wrap: i32 = 244; |
| 1640 |
pub const SN_id_smime_alg_ESDH: &[u8; 18] = b"id-smime-alg-ESDH\0"; |
| 1641 |
pub const NID_id_smime_alg_ESDH: i32 = 245; |
| 1642 |
pub const SN_id_smime_alg_CMS3DESwrap: &[u8; 25] = b"id-smime-alg-CMS3DESwrap\0"; |
| 1643 |
pub const NID_id_smime_alg_CMS3DESwrap: i32 = 246; |
| 1644 |
pub const SN_id_smime_alg_CMSRC2wrap: &[u8; 24] = b"id-smime-alg-CMSRC2wrap\0"; |
| 1645 |
pub const NID_id_smime_alg_CMSRC2wrap: i32 = 247; |
| 1646 |
pub const SN_id_smime_cd_ldap: &[u8; 17] = b"id-smime-cd-ldap\0"; |
| 1647 |
pub const NID_id_smime_cd_ldap: i32 = 248; |
| 1648 |
pub const SN_id_smime_spq_ets_sqt_uri: &[u8; 25] = b"id-smime-spq-ets-sqt-uri\0"; |
| 1649 |
pub const NID_id_smime_spq_ets_sqt_uri: i32 = 249; |
| 1650 |
pub const SN_id_smime_spq_ets_sqt_unotice: &[u8; 29] = b"id-smime-spq-ets-sqt-unotice\0"; |
| 1651 |
pub const NID_id_smime_spq_ets_sqt_unotice: i32 = 250; |
| 1652 |
pub const SN_id_smime_cti_ets_proofOfOrigin: &[u8; 31] = b"id-smime-cti-ets-proofOfOrigin\0"; |
| 1653 |
pub const NID_id_smime_cti_ets_proofOfOrigin: i32 = 251; |
| 1654 |
pub const SN_id_smime_cti_ets_proofOfReceipt: &[u8; 32] = b"id-smime-cti-ets-proofOfReceipt\0"; |
| 1655 |
pub const NID_id_smime_cti_ets_proofOfReceipt: i32 = 252; |
| 1656 |
pub const SN_id_smime_cti_ets_proofOfDelivery: &[u8; 33] = b"id-smime-cti-ets-proofOfDelivery\0"; |
| 1657 |
pub const NID_id_smime_cti_ets_proofOfDelivery: i32 = 253; |
| 1658 |
pub const SN_id_smime_cti_ets_proofOfSender: &[u8; 31] = b"id-smime-cti-ets-proofOfSender\0"; |
| 1659 |
pub const NID_id_smime_cti_ets_proofOfSender: i32 = 254; |
| 1660 |
pub const SN_id_smime_cti_ets_proofOfApproval: &[u8; 33] = b"id-smime-cti-ets-proofOfApproval\0"; |
| 1661 |
pub const NID_id_smime_cti_ets_proofOfApproval: i32 = 255; |
| 1662 |
pub const SN_id_smime_cti_ets_proofOfCreation: &[u8; 33] = b"id-smime-cti-ets-proofOfCreation\0"; |
| 1663 |
pub const NID_id_smime_cti_ets_proofOfCreation: i32 = 256; |
| 1664 |
pub const SN_md4: &[u8; 4] = b"MD4\0"; |
| 1665 |
pub const LN_md4: &[u8; 4] = b"md4\0"; |
| 1666 |
pub const NID_md4: i32 = 257; |
| 1667 |
pub const SN_id_pkix_mod: &[u8; 12] = b"id-pkix-mod\0"; |
| 1668 |
pub const NID_id_pkix_mod: i32 = 258; |
| 1669 |
pub const SN_id_qt: &[u8; 6] = b"id-qt\0"; |
| 1670 |
pub const NID_id_qt: i32 = 259; |
| 1671 |
pub const SN_id_it: &[u8; 6] = b"id-it\0"; |
| 1672 |
pub const NID_id_it: i32 = 260; |
| 1673 |
pub const SN_id_pkip: &[u8; 8] = b"id-pkip\0"; |
| 1674 |
pub const NID_id_pkip: i32 = 261; |
| 1675 |
pub const SN_id_alg: &[u8; 7] = b"id-alg\0"; |
| 1676 |
pub const NID_id_alg: i32 = 262; |
| 1677 |
pub const SN_id_cmc: &[u8; 7] = b"id-cmc\0"; |
| 1678 |
pub const NID_id_cmc: i32 = 263; |
| 1679 |
pub const SN_id_on: &[u8; 6] = b"id-on\0"; |
| 1680 |
pub const NID_id_on: i32 = 264; |
| 1681 |
pub const SN_id_pda: &[u8; 7] = b"id-pda\0"; |
| 1682 |
pub const NID_id_pda: i32 = 265; |
| 1683 |
pub const SN_id_aca: &[u8; 7] = b"id-aca\0"; |
| 1684 |
pub const NID_id_aca: i32 = 266; |
| 1685 |
pub const SN_id_qcs: &[u8; 7] = b"id-qcs\0"; |
| 1686 |
pub const NID_id_qcs: i32 = 267; |
| 1687 |
pub const SN_id_cct: &[u8; 7] = b"id-cct\0"; |
| 1688 |
pub const NID_id_cct: i32 = 268; |
| 1689 |
pub const SN_id_pkix1_explicit_88: &[u8; 21] = b"id-pkix1-explicit-88\0"; |
| 1690 |
pub const NID_id_pkix1_explicit_88: i32 = 269; |
| 1691 |
pub const SN_id_pkix1_implicit_88: &[u8; 21] = b"id-pkix1-implicit-88\0"; |
| 1692 |
pub const NID_id_pkix1_implicit_88: i32 = 270; |
| 1693 |
pub const SN_id_pkix1_explicit_93: &[u8; 21] = b"id-pkix1-explicit-93\0"; |
| 1694 |
pub const NID_id_pkix1_explicit_93: i32 = 271; |
| 1695 |
pub const SN_id_pkix1_implicit_93: &[u8; 21] = b"id-pkix1-implicit-93\0"; |
| 1696 |
pub const NID_id_pkix1_implicit_93: i32 = 272; |
| 1697 |
pub const SN_id_mod_crmf: &[u8; 12] = b"id-mod-crmf\0"; |
| 1698 |
pub const NID_id_mod_crmf: i32 = 273; |
| 1699 |
pub const SN_id_mod_cmc: &[u8; 11] = b"id-mod-cmc\0"; |
| 1700 |
pub const NID_id_mod_cmc: i32 = 274; |
| 1701 |
pub const SN_id_mod_kea_profile_88: &[u8; 22] = b"id-mod-kea-profile-88\0"; |
| 1702 |
pub const NID_id_mod_kea_profile_88: i32 = 275; |
| 1703 |
pub const SN_id_mod_kea_profile_93: &[u8; 22] = b"id-mod-kea-profile-93\0"; |
| 1704 |
pub const NID_id_mod_kea_profile_93: i32 = 276; |
| 1705 |
pub const SN_id_mod_cmp: &[u8; 11] = b"id-mod-cmp\0"; |
| 1706 |
pub const NID_id_mod_cmp: i32 = 277; |
| 1707 |
pub const SN_id_mod_qualified_cert_88: &[u8; 25] = b"id-mod-qualified-cert-88\0"; |
| 1708 |
pub const NID_id_mod_qualified_cert_88: i32 = 278; |
| 1709 |
pub const SN_id_mod_qualified_cert_93: &[u8; 25] = b"id-mod-qualified-cert-93\0"; |
| 1710 |
pub const NID_id_mod_qualified_cert_93: i32 = 279; |
| 1711 |
pub const SN_id_mod_attribute_cert: &[u8; 22] = b"id-mod-attribute-cert\0"; |
| 1712 |
pub const NID_id_mod_attribute_cert: i32 = 280; |
| 1713 |
pub const SN_id_mod_timestamp_protocol: &[u8; 26] = b"id-mod-timestamp-protocol\0"; |
| 1714 |
pub const NID_id_mod_timestamp_protocol: i32 = 281; |
| 1715 |
pub const SN_id_mod_ocsp: &[u8; 12] = b"id-mod-ocsp\0"; |
| 1716 |
pub const NID_id_mod_ocsp: i32 = 282; |
| 1717 |
pub const SN_id_mod_dvcs: &[u8; 12] = b"id-mod-dvcs\0"; |
| 1718 |
pub const NID_id_mod_dvcs: i32 = 283; |
| 1719 |
pub const SN_id_mod_cmp2000: &[u8; 15] = b"id-mod-cmp2000\0"; |
| 1720 |
pub const NID_id_mod_cmp2000: i32 = 284; |
| 1721 |
pub const SN_biometricInfo: &[u8; 14] = b"biometricInfo\0"; |
| 1722 |
pub const LN_biometricInfo: &[u8; 15] = b"Biometric Info\0"; |
| 1723 |
pub const NID_biometricInfo: i32 = 285; |
| 1724 |
pub const SN_qcStatements: &[u8; 13] = b"qcStatements\0"; |
| 1725 |
pub const NID_qcStatements: i32 = 286; |
| 1726 |
pub const SN_ac_auditEntity: &[u8; 15] = b"ac-auditEntity\0"; |
| 1727 |
pub const NID_ac_auditEntity: i32 = 287; |
| 1728 |
pub const SN_ac_targeting: &[u8; 13] = b"ac-targeting\0"; |
| 1729 |
pub const NID_ac_targeting: i32 = 288; |
| 1730 |
pub const SN_aaControls: &[u8; 11] = b"aaControls\0"; |
| 1731 |
pub const NID_aaControls: i32 = 289; |
| 1732 |
pub const SN_sbgp_ipAddrBlock: &[u8; 17] = b"sbgp-ipAddrBlock\0"; |
| 1733 |
pub const NID_sbgp_ipAddrBlock: i32 = 290; |
| 1734 |
pub const SN_sbgp_autonomousSysNum: &[u8; 22] = b"sbgp-autonomousSysNum\0"; |
| 1735 |
pub const NID_sbgp_autonomousSysNum: i32 = 291; |
| 1736 |
pub const SN_sbgp_routerIdentifier: &[u8; 22] = b"sbgp-routerIdentifier\0"; |
| 1737 |
pub const NID_sbgp_routerIdentifier: i32 = 292; |
| 1738 |
pub const SN_textNotice: &[u8; 11] = b"textNotice\0"; |
| 1739 |
pub const NID_textNotice: i32 = 293; |
| 1740 |
pub const SN_ipsecEndSystem: &[u8; 15] = b"ipsecEndSystem\0"; |
| 1741 |
pub const LN_ipsecEndSystem: &[u8; 17] = b"IPSec End System\0"; |
| 1742 |
pub const NID_ipsecEndSystem: i32 = 294; |
| 1743 |
pub const SN_ipsecTunnel: &[u8; 12] = b"ipsecTunnel\0"; |
| 1744 |
pub const LN_ipsecTunnel: &[u8; 13] = b"IPSec Tunnel\0"; |
| 1745 |
pub const NID_ipsecTunnel: i32 = 295; |
| 1746 |
pub const SN_ipsecUser: &[u8; 10] = b"ipsecUser\0"; |
| 1747 |
pub const LN_ipsecUser: &[u8; 11] = b"IPSec User\0"; |
| 1748 |
pub const NID_ipsecUser: i32 = 296; |
| 1749 |
pub const SN_dvcs: &[u8; 5] = b"DVCS\0"; |
| 1750 |
pub const LN_dvcs: &[u8; 5] = b"dvcs\0"; |
| 1751 |
pub const NID_dvcs: i32 = 297; |
| 1752 |
pub const SN_id_it_caProtEncCert: &[u8; 20] = b"id-it-caProtEncCert\0"; |
| 1753 |
pub const NID_id_it_caProtEncCert: i32 = 298; |
| 1754 |
pub const SN_id_it_signKeyPairTypes: &[u8; 23] = b"id-it-signKeyPairTypes\0"; |
| 1755 |
pub const NID_id_it_signKeyPairTypes: i32 = 299; |
| 1756 |
pub const SN_id_it_encKeyPairTypes: &[u8; 22] = b"id-it-encKeyPairTypes\0"; |
| 1757 |
pub const NID_id_it_encKeyPairTypes: i32 = 300; |
| 1758 |
pub const SN_id_it_preferredSymmAlg: &[u8; 23] = b"id-it-preferredSymmAlg\0"; |
| 1759 |
pub const NID_id_it_preferredSymmAlg: i32 = 301; |
| 1760 |
pub const SN_id_it_caKeyUpdateInfo: &[u8; 22] = b"id-it-caKeyUpdateInfo\0"; |
| 1761 |
pub const NID_id_it_caKeyUpdateInfo: i32 = 302; |
| 1762 |
pub const SN_id_it_currentCRL: &[u8; 17] = b"id-it-currentCRL\0"; |
| 1763 |
pub const NID_id_it_currentCRL: i32 = 303; |
| 1764 |
pub const SN_id_it_unsupportedOIDs: &[u8; 22] = b"id-it-unsupportedOIDs\0"; |
| 1765 |
pub const NID_id_it_unsupportedOIDs: i32 = 304; |
| 1766 |
pub const SN_id_it_subscriptionRequest: &[u8; 26] = b"id-it-subscriptionRequest\0"; |
| 1767 |
pub const NID_id_it_subscriptionRequest: i32 = 305; |
| 1768 |
pub const SN_id_it_subscriptionResponse: &[u8; 27] = b"id-it-subscriptionResponse\0"; |
| 1769 |
pub const NID_id_it_subscriptionResponse: i32 = 306; |
| 1770 |
pub const SN_id_it_keyPairParamReq: &[u8; 22] = b"id-it-keyPairParamReq\0"; |
| 1771 |
pub const NID_id_it_keyPairParamReq: i32 = 307; |
| 1772 |
pub const SN_id_it_keyPairParamRep: &[u8; 22] = b"id-it-keyPairParamRep\0"; |
| 1773 |
pub const NID_id_it_keyPairParamRep: i32 = 308; |
| 1774 |
pub const SN_id_it_revPassphrase: &[u8; 20] = b"id-it-revPassphrase\0"; |
| 1775 |
pub const NID_id_it_revPassphrase: i32 = 309; |
| 1776 |
pub const SN_id_it_implicitConfirm: &[u8; 22] = b"id-it-implicitConfirm\0"; |
| 1777 |
pub const NID_id_it_implicitConfirm: i32 = 310; |
| 1778 |
pub const SN_id_it_confirmWaitTime: &[u8; 22] = b"id-it-confirmWaitTime\0"; |
| 1779 |
pub const NID_id_it_confirmWaitTime: i32 = 311; |
| 1780 |
pub const SN_id_it_origPKIMessage: &[u8; 21] = b"id-it-origPKIMessage\0"; |
| 1781 |
pub const NID_id_it_origPKIMessage: i32 = 312; |
| 1782 |
pub const SN_id_regCtrl: &[u8; 11] = b"id-regCtrl\0"; |
| 1783 |
pub const NID_id_regCtrl: i32 = 313; |
| 1784 |
pub const SN_id_regInfo: &[u8; 11] = b"id-regInfo\0"; |
| 1785 |
pub const NID_id_regInfo: i32 = 314; |
| 1786 |
pub const SN_id_regCtrl_regToken: &[u8; 20] = b"id-regCtrl-regToken\0"; |
| 1787 |
pub const NID_id_regCtrl_regToken: i32 = 315; |
| 1788 |
pub const SN_id_regCtrl_authenticator: &[u8; 25] = b"id-regCtrl-authenticator\0"; |
| 1789 |
pub const NID_id_regCtrl_authenticator: i32 = 316; |
| 1790 |
pub const SN_id_regCtrl_pkiPublicationInfo: &[u8; 30] = b"id-regCtrl-pkiPublicationInfo\0"; |
| 1791 |
pub const NID_id_regCtrl_pkiPublicationInfo: i32 = 317; |
| 1792 |
pub const SN_id_regCtrl_pkiArchiveOptions: &[u8; 29] = b"id-regCtrl-pkiArchiveOptions\0"; |
| 1793 |
pub const NID_id_regCtrl_pkiArchiveOptions: i32 = 318; |
| 1794 |
pub const SN_id_regCtrl_oldCertID: &[u8; 21] = b"id-regCtrl-oldCertID\0"; |
| 1795 |
pub const NID_id_regCtrl_oldCertID: i32 = 319; |
| 1796 |
pub const SN_id_regCtrl_protocolEncrKey: &[u8; 27] = b"id-regCtrl-protocolEncrKey\0"; |
| 1797 |
pub const NID_id_regCtrl_protocolEncrKey: i32 = 320; |
| 1798 |
pub const SN_id_regInfo_utf8Pairs: &[u8; 21] = b"id-regInfo-utf8Pairs\0"; |
| 1799 |
pub const NID_id_regInfo_utf8Pairs: i32 = 321; |
| 1800 |
pub const SN_id_regInfo_certReq: &[u8; 19] = b"id-regInfo-certReq\0"; |
| 1801 |
pub const NID_id_regInfo_certReq: i32 = 322; |
| 1802 |
pub const SN_id_alg_des40: &[u8; 13] = b"id-alg-des40\0"; |
| 1803 |
pub const NID_id_alg_des40: i32 = 323; |
| 1804 |
pub const SN_id_alg_noSignature: &[u8; 19] = b"id-alg-noSignature\0"; |
| 1805 |
pub const NID_id_alg_noSignature: i32 = 324; |
| 1806 |
pub const SN_id_alg_dh_sig_hmac_sha1: &[u8; 24] = b"id-alg-dh-sig-hmac-sha1\0"; |
| 1807 |
pub const NID_id_alg_dh_sig_hmac_sha1: i32 = 325; |
| 1808 |
pub const SN_id_alg_dh_pop: &[u8; 14] = b"id-alg-dh-pop\0"; |
| 1809 |
pub const NID_id_alg_dh_pop: i32 = 326; |
| 1810 |
pub const SN_id_cmc_statusInfo: &[u8; 18] = b"id-cmc-statusInfo\0"; |
| 1811 |
pub const NID_id_cmc_statusInfo: i32 = 327; |
| 1812 |
pub const SN_id_cmc_identification: &[u8; 22] = b"id-cmc-identification\0"; |
| 1813 |
pub const NID_id_cmc_identification: i32 = 328; |
| 1814 |
pub const SN_id_cmc_identityProof: &[u8; 21] = b"id-cmc-identityProof\0"; |
| 1815 |
pub const NID_id_cmc_identityProof: i32 = 329; |
| 1816 |
pub const SN_id_cmc_dataReturn: &[u8; 18] = b"id-cmc-dataReturn\0"; |
| 1817 |
pub const NID_id_cmc_dataReturn: i32 = 330; |
| 1818 |
pub const SN_id_cmc_transactionId: &[u8; 21] = b"id-cmc-transactionId\0"; |
| 1819 |
pub const NID_id_cmc_transactionId: i32 = 331; |
| 1820 |
pub const SN_id_cmc_senderNonce: &[u8; 19] = b"id-cmc-senderNonce\0"; |
| 1821 |
pub const NID_id_cmc_senderNonce: i32 = 332; |
| 1822 |
pub const SN_id_cmc_recipientNonce: &[u8; 22] = b"id-cmc-recipientNonce\0"; |
| 1823 |
pub const NID_id_cmc_recipientNonce: i32 = 333; |
| 1824 |
pub const SN_id_cmc_addExtensions: &[u8; 21] = b"id-cmc-addExtensions\0"; |
| 1825 |
pub const NID_id_cmc_addExtensions: i32 = 334; |
| 1826 |
pub const SN_id_cmc_encryptedPOP: &[u8; 20] = b"id-cmc-encryptedPOP\0"; |
| 1827 |
pub const NID_id_cmc_encryptedPOP: i32 = 335; |
| 1828 |
pub const SN_id_cmc_decryptedPOP: &[u8; 20] = b"id-cmc-decryptedPOP\0"; |
| 1829 |
pub const NID_id_cmc_decryptedPOP: i32 = 336; |
| 1830 |
pub const SN_id_cmc_lraPOPWitness: &[u8; 21] = b"id-cmc-lraPOPWitness\0"; |
| 1831 |
pub const NID_id_cmc_lraPOPWitness: i32 = 337; |
| 1832 |
pub const SN_id_cmc_getCert: &[u8; 15] = b"id-cmc-getCert\0"; |
| 1833 |
pub const NID_id_cmc_getCert: i32 = 338; |
| 1834 |
pub const SN_id_cmc_getCRL: &[u8; 14] = b"id-cmc-getCRL\0"; |
| 1835 |
pub const NID_id_cmc_getCRL: i32 = 339; |
| 1836 |
pub const SN_id_cmc_revokeRequest: &[u8; 21] = b"id-cmc-revokeRequest\0"; |
| 1837 |
pub const NID_id_cmc_revokeRequest: i32 = 340; |
| 1838 |
pub const SN_id_cmc_regInfo: &[u8; 15] = b"id-cmc-regInfo\0"; |
| 1839 |
pub const NID_id_cmc_regInfo: i32 = 341; |
| 1840 |
pub const SN_id_cmc_responseInfo: &[u8; 20] = b"id-cmc-responseInfo\0"; |
| 1841 |
pub const NID_id_cmc_responseInfo: i32 = 342; |
| 1842 |
pub const SN_id_cmc_queryPending: &[u8; 20] = b"id-cmc-queryPending\0"; |
| 1843 |
pub const NID_id_cmc_queryPending: i32 = 343; |
| 1844 |
pub const SN_id_cmc_popLinkRandom: &[u8; 21] = b"id-cmc-popLinkRandom\0"; |
| 1845 |
pub const NID_id_cmc_popLinkRandom: i32 = 344; |
| 1846 |
pub const SN_id_cmc_popLinkWitness: &[u8; 22] = b"id-cmc-popLinkWitness\0"; |
| 1847 |
pub const NID_id_cmc_popLinkWitness: i32 = 345; |
| 1848 |
pub const SN_id_cmc_confirmCertAcceptance: &[u8; 29] = b"id-cmc-confirmCertAcceptance\0"; |
| 1849 |
pub const NID_id_cmc_confirmCertAcceptance: i32 = 346; |
| 1850 |
pub const SN_id_on_personalData: &[u8; 19] = b"id-on-personalData\0"; |
| 1851 |
pub const NID_id_on_personalData: i32 = 347; |
| 1852 |
pub const SN_id_pda_dateOfBirth: &[u8; 19] = b"id-pda-dateOfBirth\0"; |
| 1853 |
pub const NID_id_pda_dateOfBirth: i32 = 348; |
| 1854 |
pub const SN_id_pda_placeOfBirth: &[u8; 20] = b"id-pda-placeOfBirth\0"; |
| 1855 |
pub const NID_id_pda_placeOfBirth: i32 = 349; |
| 1856 |
pub const SN_id_pda_gender: &[u8; 14] = b"id-pda-gender\0"; |
| 1857 |
pub const NID_id_pda_gender: i32 = 351; |
| 1858 |
pub const SN_id_pda_countryOfCitizenship: &[u8; 28] = b"id-pda-countryOfCitizenship\0"; |
| 1859 |
pub const NID_id_pda_countryOfCitizenship: i32 = 352; |
| 1860 |
pub const SN_id_pda_countryOfResidence: &[u8; 26] = b"id-pda-countryOfResidence\0"; |
| 1861 |
pub const NID_id_pda_countryOfResidence: i32 = 353; |
| 1862 |
pub const SN_id_aca_authenticationInfo: &[u8; 26] = b"id-aca-authenticationInfo\0"; |
| 1863 |
pub const NID_id_aca_authenticationInfo: i32 = 354; |
| 1864 |
pub const SN_id_aca_accessIdentity: &[u8; 22] = b"id-aca-accessIdentity\0"; |
| 1865 |
pub const NID_id_aca_accessIdentity: i32 = 355; |
| 1866 |
pub const SN_id_aca_chargingIdentity: &[u8; 24] = b"id-aca-chargingIdentity\0"; |
| 1867 |
pub const NID_id_aca_chargingIdentity: i32 = 356; |
| 1868 |
pub const SN_id_aca_group: &[u8; 13] = b"id-aca-group\0"; |
| 1869 |
pub const NID_id_aca_group: i32 = 357; |
| 1870 |
pub const SN_id_aca_role: &[u8; 12] = b"id-aca-role\0"; |
| 1871 |
pub const NID_id_aca_role: i32 = 358; |
| 1872 |
pub const SN_id_qcs_pkixQCSyntax_v1: &[u8; 23] = b"id-qcs-pkixQCSyntax-v1\0"; |
| 1873 |
pub const NID_id_qcs_pkixQCSyntax_v1: i32 = 359; |
| 1874 |
pub const SN_id_cct_crs: &[u8; 11] = b"id-cct-crs\0"; |
| 1875 |
pub const NID_id_cct_crs: i32 = 360; |
| 1876 |
pub const SN_id_cct_PKIData: &[u8; 15] = b"id-cct-PKIData\0"; |
| 1877 |
pub const NID_id_cct_PKIData: i32 = 361; |
| 1878 |
pub const SN_id_cct_PKIResponse: &[u8; 19] = b"id-cct-PKIResponse\0"; |
| 1879 |
pub const NID_id_cct_PKIResponse: i32 = 362; |
| 1880 |
pub const SN_ad_timeStamping: &[u8; 16] = b"ad_timestamping\0"; |
| 1881 |
pub const LN_ad_timeStamping: &[u8; 17] = b"AD Time Stamping\0"; |
| 1882 |
pub const NID_ad_timeStamping: i32 = 363; |
| 1883 |
pub const SN_ad_dvcs: &[u8; 8] = b"AD_DVCS\0"; |
| 1884 |
pub const LN_ad_dvcs: &[u8; 8] = b"ad dvcs\0"; |
| 1885 |
pub const NID_ad_dvcs: i32 = 364; |
| 1886 |
pub const SN_id_pkix_OCSP_basic: &[u8; 18] = b"basicOCSPResponse\0"; |
| 1887 |
pub const LN_id_pkix_OCSP_basic: &[u8; 20] = b"Basic OCSP Response\0"; |
| 1888 |
pub const NID_id_pkix_OCSP_basic: i32 = 365; |
| 1889 |
pub const SN_id_pkix_OCSP_Nonce: &[u8; 6] = b"Nonce\0"; |
| 1890 |
pub const LN_id_pkix_OCSP_Nonce: &[u8; 11] = b"OCSP Nonce\0"; |
| 1891 |
pub const NID_id_pkix_OCSP_Nonce: i32 = 366; |
| 1892 |
pub const SN_id_pkix_OCSP_CrlID: &[u8; 6] = b"CrlID\0"; |
| 1893 |
pub const LN_id_pkix_OCSP_CrlID: &[u8; 12] = b"OCSP CRL ID\0"; |
| 1894 |
pub const NID_id_pkix_OCSP_CrlID: i32 = 367; |
| 1895 |
pub const SN_id_pkix_OCSP_acceptableResponses: &[u8; 20] = b"acceptableResponses\0"; |
| 1896 |
pub const LN_id_pkix_OCSP_acceptableResponses: &[u8; 26] = b"Acceptable OCSP Responses\0"; |
| 1897 |
pub const NID_id_pkix_OCSP_acceptableResponses: i32 = 368; |
| 1898 |
pub const SN_id_pkix_OCSP_noCheck: &[u8; 8] = b"noCheck\0"; |
| 1899 |
pub const LN_id_pkix_OCSP_noCheck: &[u8; 14] = b"OCSP No Check\0"; |
| 1900 |
pub const NID_id_pkix_OCSP_noCheck: i32 = 369; |
| 1901 |
pub const SN_id_pkix_OCSP_archiveCutoff: &[u8; 14] = b"archiveCutoff\0"; |
| 1902 |
pub const LN_id_pkix_OCSP_archiveCutoff: &[u8; 20] = b"OCSP Archive Cutoff\0"; |
| 1903 |
pub const NID_id_pkix_OCSP_archiveCutoff: i32 = 370; |
| 1904 |
pub const SN_id_pkix_OCSP_serviceLocator: &[u8; 15] = b"serviceLocator\0"; |
| 1905 |
pub const LN_id_pkix_OCSP_serviceLocator: &[u8; 21] = b"OCSP Service Locator\0"; |
| 1906 |
pub const NID_id_pkix_OCSP_serviceLocator: i32 = 371; |
| 1907 |
pub const SN_id_pkix_OCSP_extendedStatus: &[u8; 15] = b"extendedStatus\0"; |
| 1908 |
pub const LN_id_pkix_OCSP_extendedStatus: &[u8; 21] = b"Extended OCSP Status\0"; |
| 1909 |
pub const NID_id_pkix_OCSP_extendedStatus: i32 = 372; |
| 1910 |
pub const SN_id_pkix_OCSP_valid: &[u8; 6] = b"valid\0"; |
| 1911 |
pub const NID_id_pkix_OCSP_valid: i32 = 373; |
| 1912 |
pub const SN_id_pkix_OCSP_path: &[u8; 5] = b"path\0"; |
| 1913 |
pub const NID_id_pkix_OCSP_path: i32 = 374; |
| 1914 |
pub const SN_id_pkix_OCSP_trustRoot: &[u8; 10] = b"trustRoot\0"; |
| 1915 |
pub const LN_id_pkix_OCSP_trustRoot: &[u8; 11] = b"Trust Root\0"; |
| 1916 |
pub const NID_id_pkix_OCSP_trustRoot: i32 = 375; |
| 1917 |
pub const SN_algorithm: &[u8; 10] = b"algorithm\0"; |
| 1918 |
pub const LN_algorithm: &[u8; 10] = b"algorithm\0"; |
| 1919 |
pub const NID_algorithm: i32 = 376; |
| 1920 |
pub const SN_rsaSignature: &[u8; 13] = b"rsaSignature\0"; |
| 1921 |
pub const NID_rsaSignature: i32 = 377; |
| 1922 |
pub const SN_X500algorithms: &[u8; 15] = b"X500algorithms\0"; |
| 1923 |
pub const LN_X500algorithms: &[u8; 32] = b"directory services - algorithms\0"; |
| 1924 |
pub const NID_X500algorithms: i32 = 378; |
| 1925 |
pub const SN_org: &[u8; 4] = b"ORG\0"; |
| 1926 |
pub const LN_org: &[u8; 4] = b"org\0"; |
| 1927 |
pub const NID_org: i32 = 379; |
| 1928 |
pub const SN_dod: &[u8; 4] = b"DOD\0"; |
| 1929 |
pub const LN_dod: &[u8; 4] = b"dod\0"; |
| 1930 |
pub const NID_dod: i32 = 380; |
| 1931 |
pub const SN_iana: &[u8; 5] = b"IANA\0"; |
| 1932 |
pub const LN_iana: &[u8; 5] = b"iana\0"; |
| 1933 |
pub const NID_iana: i32 = 381; |
| 1934 |
pub const SN_Directory: &[u8; 10] = b"directory\0"; |
| 1935 |
pub const LN_Directory: &[u8; 10] = b"Directory\0"; |
| 1936 |
pub const NID_Directory: i32 = 382; |
| 1937 |
pub const SN_Management: &[u8; 5] = b"mgmt\0"; |
| 1938 |
pub const LN_Management: &[u8; 11] = b"Management\0"; |
| 1939 |
pub const NID_Management: i32 = 383; |
| 1940 |
pub const SN_Experimental: &[u8; 13] = b"experimental\0"; |
| 1941 |
pub const LN_Experimental: &[u8; 13] = b"Experimental\0"; |
| 1942 |
pub const NID_Experimental: i32 = 384; |
| 1943 |
pub const SN_Private: &[u8; 8] = b"private\0"; |
| 1944 |
pub const LN_Private: &[u8; 8] = b"Private\0"; |
| 1945 |
pub const NID_Private: i32 = 385; |
| 1946 |
pub const SN_Security: &[u8; 9] = b"security\0"; |
| 1947 |
pub const LN_Security: &[u8; 9] = b"Security\0"; |
| 1948 |
pub const NID_Security: i32 = 386; |
| 1949 |
pub const SN_SNMPv2: &[u8; 7] = b"snmpv2\0"; |
| 1950 |
pub const LN_SNMPv2: &[u8; 7] = b"SNMPv2\0"; |
| 1951 |
pub const NID_SNMPv2: i32 = 387; |
| 1952 |
pub const LN_Mail: &[u8; 5] = b"Mail\0"; |
| 1953 |
pub const NID_Mail: i32 = 388; |
| 1954 |
pub const SN_Enterprises: &[u8; 12] = b"enterprises\0"; |
| 1955 |
pub const LN_Enterprises: &[u8; 12] = b"Enterprises\0"; |
| 1956 |
pub const NID_Enterprises: i32 = 389; |
| 1957 |
pub const SN_dcObject: &[u8; 9] = b"dcobject\0"; |
| 1958 |
pub const LN_dcObject: &[u8; 9] = b"dcObject\0"; |
| 1959 |
pub const NID_dcObject: i32 = 390; |
| 1960 |
pub const SN_domainComponent: &[u8; 3] = b"DC\0"; |
| 1961 |
pub const LN_domainComponent: &[u8; 16] = b"domainComponent\0"; |
| 1962 |
pub const NID_domainComponent: i32 = 391; |
| 1963 |
pub const SN_Domain: &[u8; 7] = b"domain\0"; |
| 1964 |
pub const LN_Domain: &[u8; 7] = b"Domain\0"; |
| 1965 |
pub const NID_Domain: i32 = 392; |
| 1966 |
pub const SN_selected_attribute_types: &[u8; 25] = b"selected-attribute-types\0"; |
| 1967 |
pub const LN_selected_attribute_types: &[u8; 25] = b"Selected Attribute Types\0"; |
| 1968 |
pub const NID_selected_attribute_types: i32 = 394; |
| 1969 |
pub const SN_clearance: &[u8; 10] = b"clearance\0"; |
| 1970 |
pub const NID_clearance: i32 = 395; |
| 1971 |
pub const SN_md4WithRSAEncryption: &[u8; 8] = b"RSA-MD4\0"; |
| 1972 |
pub const LN_md4WithRSAEncryption: &[u8; 21] = b"md4WithRSAEncryption\0"; |
| 1973 |
pub const NID_md4WithRSAEncryption: i32 = 396; |
| 1974 |
pub const SN_ac_proxying: &[u8; 12] = b"ac-proxying\0"; |
| 1975 |
pub const NID_ac_proxying: i32 = 397; |
| 1976 |
pub const SN_sinfo_access: &[u8; 18] = b"subjectInfoAccess\0"; |
| 1977 |
pub const LN_sinfo_access: &[u8; 27] = b"Subject Information Access\0"; |
| 1978 |
pub const NID_sinfo_access: i32 = 398; |
| 1979 |
pub const SN_id_aca_encAttrs: &[u8; 16] = b"id-aca-encAttrs\0"; |
| 1980 |
pub const NID_id_aca_encAttrs: i32 = 399; |
| 1981 |
pub const SN_role: &[u8; 5] = b"role\0"; |
| 1982 |
pub const LN_role: &[u8; 5] = b"role\0"; |
| 1983 |
pub const NID_role: i32 = 400; |
| 1984 |
pub const SN_policy_constraints: &[u8; 18] = b"policyConstraints\0"; |
| 1985 |
pub const LN_policy_constraints: &[u8; 26] = b"X509v3 Policy Constraints\0"; |
| 1986 |
pub const NID_policy_constraints: i32 = 401; |
| 1987 |
pub const SN_target_information: &[u8; 18] = b"targetInformation\0"; |
| 1988 |
pub const LN_target_information: &[u8; 20] = b"X509v3 AC Targeting\0"; |
| 1989 |
pub const NID_target_information: i32 = 402; |
| 1990 |
pub const SN_no_rev_avail: &[u8; 11] = b"noRevAvail\0"; |
| 1991 |
pub const LN_no_rev_avail: &[u8; 31] = b"X509v3 No Revocation Available\0"; |
| 1992 |
pub const NID_no_rev_avail: i32 = 403; |
| 1993 |
pub const SN_ansi_X9_62: &[u8; 11] = b"ansi-X9-62\0"; |
| 1994 |
pub const LN_ansi_X9_62: &[u8; 11] = b"ANSI X9.62\0"; |
| 1995 |
pub const NID_ansi_X9_62: i32 = 405; |
| 1996 |
pub const SN_X9_62_prime_field: &[u8; 12] = b"prime-field\0"; |
| 1997 |
pub const NID_X9_62_prime_field: i32 = 406; |
| 1998 |
pub const SN_X9_62_characteristic_two_field: &[u8; 25] = b"characteristic-two-field\0"; |
| 1999 |
pub const NID_X9_62_characteristic_two_field: i32 = 407; |
| 2000 |
pub const SN_X9_62_id_ecPublicKey: &[u8; 15] = b"id-ecPublicKey\0"; |
| 2001 |
pub const NID_X9_62_id_ecPublicKey: i32 = 408; |
| 2002 |
pub const SN_X9_62_prime192v1: &[u8; 11] = b"prime192v1\0"; |
| 2003 |
pub const NID_X9_62_prime192v1: i32 = 409; |
| 2004 |
pub const SN_X9_62_prime192v2: &[u8; 11] = b"prime192v2\0"; |
| 2005 |
pub const NID_X9_62_prime192v2: i32 = 410; |
| 2006 |
pub const SN_X9_62_prime192v3: &[u8; 11] = b"prime192v3\0"; |
| 2007 |
pub const NID_X9_62_prime192v3: i32 = 411; |
| 2008 |
pub const SN_X9_62_prime239v1: &[u8; 11] = b"prime239v1\0"; |
| 2009 |
pub const NID_X9_62_prime239v1: i32 = 412; |
| 2010 |
pub const SN_X9_62_prime239v2: &[u8; 11] = b"prime239v2\0"; |
| 2011 |
pub const NID_X9_62_prime239v2: i32 = 413; |
| 2012 |
pub const SN_X9_62_prime239v3: &[u8; 11] = b"prime239v3\0"; |
| 2013 |
pub const NID_X9_62_prime239v3: i32 = 414; |
| 2014 |
pub const SN_X9_62_prime256v1: &[u8; 11] = b"prime256v1\0"; |
| 2015 |
pub const NID_X9_62_prime256v1: i32 = 415; |
| 2016 |
pub const SN_ecdsa_with_SHA1: &[u8; 16] = b"ecdsa-with-SHA1\0"; |
| 2017 |
pub const NID_ecdsa_with_SHA1: i32 = 416; |
| 2018 |
pub const SN_ms_csp_name: &[u8; 8] = b"CSPName\0"; |
| 2019 |
pub const LN_ms_csp_name: &[u8; 19] = b"Microsoft CSP Name\0"; |
| 2020 |
pub const NID_ms_csp_name: i32 = 417; |
| 2021 |
pub const SN_aes_128_ecb: &[u8; 12] = b"AES-128-ECB\0"; |
| 2022 |
pub const LN_aes_128_ecb: &[u8; 12] = b"aes-128-ecb\0"; |
| 2023 |
pub const NID_aes_128_ecb: i32 = 418; |
| 2024 |
pub const SN_aes_128_cbc: &[u8; 12] = b"AES-128-CBC\0"; |
| 2025 |
pub const LN_aes_128_cbc: &[u8; 12] = b"aes-128-cbc\0"; |
| 2026 |
pub const NID_aes_128_cbc: i32 = 419; |
| 2027 |
pub const SN_aes_128_ofb128: &[u8; 12] = b"AES-128-OFB\0"; |
| 2028 |
pub const LN_aes_128_ofb128: &[u8; 12] = b"aes-128-ofb\0"; |
| 2029 |
pub const NID_aes_128_ofb128: i32 = 420; |
| 2030 |
pub const SN_aes_128_cfb128: &[u8; 12] = b"AES-128-CFB\0"; |
| 2031 |
pub const LN_aes_128_cfb128: &[u8; 12] = b"aes-128-cfb\0"; |
| 2032 |
pub const NID_aes_128_cfb128: i32 = 421; |
| 2033 |
pub const SN_aes_192_ecb: &[u8; 12] = b"AES-192-ECB\0"; |
| 2034 |
pub const LN_aes_192_ecb: &[u8; 12] = b"aes-192-ecb\0"; |
| 2035 |
pub const NID_aes_192_ecb: i32 = 422; |
| 2036 |
pub const SN_aes_192_cbc: &[u8; 12] = b"AES-192-CBC\0"; |
| 2037 |
pub const LN_aes_192_cbc: &[u8; 12] = b"aes-192-cbc\0"; |
| 2038 |
pub const NID_aes_192_cbc: i32 = 423; |
| 2039 |
pub const SN_aes_192_ofb128: &[u8; 12] = b"AES-192-OFB\0"; |
| 2040 |
pub const LN_aes_192_ofb128: &[u8; 12] = b"aes-192-ofb\0"; |
| 2041 |
pub const NID_aes_192_ofb128: i32 = 424; |
| 2042 |
pub const SN_aes_192_cfb128: &[u8; 12] = b"AES-192-CFB\0"; |
| 2043 |
pub const LN_aes_192_cfb128: &[u8; 12] = b"aes-192-cfb\0"; |
| 2044 |
pub const NID_aes_192_cfb128: i32 = 425; |
| 2045 |
pub const SN_aes_256_ecb: &[u8; 12] = b"AES-256-ECB\0"; |
| 2046 |
pub const LN_aes_256_ecb: &[u8; 12] = b"aes-256-ecb\0"; |
| 2047 |
pub const NID_aes_256_ecb: i32 = 426; |
| 2048 |
pub const SN_aes_256_cbc: &[u8; 12] = b"AES-256-CBC\0"; |
| 2049 |
pub const LN_aes_256_cbc: &[u8; 12] = b"aes-256-cbc\0"; |
| 2050 |
pub const NID_aes_256_cbc: i32 = 427; |
| 2051 |
pub const SN_aes_256_ofb128: &[u8; 12] = b"AES-256-OFB\0"; |
| 2052 |
pub const LN_aes_256_ofb128: &[u8; 12] = b"aes-256-ofb\0"; |
| 2053 |
pub const NID_aes_256_ofb128: i32 = 428; |
| 2054 |
pub const SN_aes_256_cfb128: &[u8; 12] = b"AES-256-CFB\0"; |
| 2055 |
pub const LN_aes_256_cfb128: &[u8; 12] = b"aes-256-cfb\0"; |
| 2056 |
pub const NID_aes_256_cfb128: i32 = 429; |
| 2057 |
pub const SN_hold_instruction_code: &[u8; 20] = b"holdInstructionCode\0"; |
| 2058 |
pub const LN_hold_instruction_code: &[u8; 22] = b"Hold Instruction Code\0"; |
| 2059 |
pub const NID_hold_instruction_code: i32 = 430; |
| 2060 |
pub const SN_hold_instruction_none: &[u8; 20] = b"holdInstructionNone\0"; |
| 2061 |
pub const LN_hold_instruction_none: &[u8; 22] = b"Hold Instruction None\0"; |
| 2062 |
pub const NID_hold_instruction_none: i32 = 431; |
| 2063 |
pub const SN_hold_instruction_call_issuer: &[u8; 26] = b"holdInstructionCallIssuer\0"; |
| 2064 |
pub const LN_hold_instruction_call_issuer: &[u8; 29] = b"Hold Instruction Call Issuer\0"; |
| 2065 |
pub const NID_hold_instruction_call_issuer: i32 = 432; |
| 2066 |
pub const SN_hold_instruction_reject: &[u8; 22] = b"holdInstructionReject\0"; |
| 2067 |
pub const LN_hold_instruction_reject: &[u8; 24] = b"Hold Instruction Reject\0"; |
| 2068 |
pub const NID_hold_instruction_reject: i32 = 433; |
| 2069 |
pub const SN_data: &[u8; 5] = b"data\0"; |
| 2070 |
pub const NID_data: i32 = 434; |
| 2071 |
pub const SN_pss: &[u8; 4] = b"pss\0"; |
| 2072 |
pub const NID_pss: i32 = 435; |
| 2073 |
pub const SN_ucl: &[u8; 4] = b"ucl\0"; |
| 2074 |
pub const NID_ucl: i32 = 436; |
| 2075 |
pub const SN_pilot: &[u8; 6] = b"pilot\0"; |
| 2076 |
pub const NID_pilot: i32 = 437; |
| 2077 |
pub const LN_pilotAttributeType: &[u8; 19] = b"pilotAttributeType\0"; |
| 2078 |
pub const NID_pilotAttributeType: i32 = 438; |
| 2079 |
pub const LN_pilotAttributeSyntax: &[u8; 21] = b"pilotAttributeSyntax\0"; |
| 2080 |
pub const NID_pilotAttributeSyntax: i32 = 439; |
| 2081 |
pub const LN_pilotObjectClass: &[u8; 17] = b"pilotObjectClass\0"; |
| 2082 |
pub const NID_pilotObjectClass: i32 = 440; |
| 2083 |
pub const LN_pilotGroups: &[u8; 12] = b"pilotGroups\0"; |
| 2084 |
pub const NID_pilotGroups: i32 = 441; |
| 2085 |
pub const LN_iA5StringSyntax: &[u8; 16] = b"iA5StringSyntax\0"; |
| 2086 |
pub const NID_iA5StringSyntax: i32 = 442; |
| 2087 |
pub const LN_caseIgnoreIA5StringSyntax: &[u8; 26] = b"caseIgnoreIA5StringSyntax\0"; |
| 2088 |
pub const NID_caseIgnoreIA5StringSyntax: i32 = 443; |
| 2089 |
pub const LN_pilotObject: &[u8; 12] = b"pilotObject\0"; |
| 2090 |
pub const NID_pilotObject: i32 = 444; |
| 2091 |
pub const LN_pilotPerson: &[u8; 12] = b"pilotPerson\0"; |
| 2092 |
pub const NID_pilotPerson: i32 = 445; |
| 2093 |
pub const SN_account: &[u8; 8] = b"account\0"; |
| 2094 |
pub const NID_account: i32 = 446; |
| 2095 |
pub const SN_document: &[u8; 9] = b"document\0"; |
| 2096 |
pub const NID_document: i32 = 447; |
| 2097 |
pub const SN_room: &[u8; 5] = b"room\0"; |
| 2098 |
pub const NID_room: i32 = 448; |
| 2099 |
pub const LN_documentSeries: &[u8; 15] = b"documentSeries\0"; |
| 2100 |
pub const NID_documentSeries: i32 = 449; |
| 2101 |
pub const LN_rFC822localPart: &[u8; 16] = b"rFC822localPart\0"; |
| 2102 |
pub const NID_rFC822localPart: i32 = 450; |
| 2103 |
pub const LN_dNSDomain: &[u8; 10] = b"dNSDomain\0"; |
| 2104 |
pub const NID_dNSDomain: i32 = 451; |
| 2105 |
pub const LN_domainRelatedObject: &[u8; 20] = b"domainRelatedObject\0"; |
| 2106 |
pub const NID_domainRelatedObject: i32 = 452; |
| 2107 |
pub const LN_friendlyCountry: &[u8; 16] = b"friendlyCountry\0"; |
| 2108 |
pub const NID_friendlyCountry: i32 = 453; |
| 2109 |
pub const LN_simpleSecurityObject: &[u8; 21] = b"simpleSecurityObject\0"; |
| 2110 |
pub const NID_simpleSecurityObject: i32 = 454; |
| 2111 |
pub const LN_pilotOrganization: &[u8; 18] = b"pilotOrganization\0"; |
| 2112 |
pub const NID_pilotOrganization: i32 = 455; |
| 2113 |
pub const LN_pilotDSA: &[u8; 9] = b"pilotDSA\0"; |
| 2114 |
pub const NID_pilotDSA: i32 = 456; |
| 2115 |
pub const LN_qualityLabelledData: &[u8; 20] = b"qualityLabelledData\0"; |
| 2116 |
pub const NID_qualityLabelledData: i32 = 457; |
| 2117 |
pub const SN_userId: &[u8; 4] = b"UID\0"; |
| 2118 |
pub const LN_userId: &[u8; 7] = b"userId\0"; |
| 2119 |
pub const NID_userId: i32 = 458; |
| 2120 |
pub const LN_textEncodedORAddress: &[u8; 21] = b"textEncodedORAddress\0"; |
| 2121 |
pub const NID_textEncodedORAddress: i32 = 459; |
| 2122 |
pub const SN_rfc822Mailbox: &[u8; 5] = b"mail\0"; |
| 2123 |
pub const LN_rfc822Mailbox: &[u8; 14] = b"rfc822Mailbox\0"; |
| 2124 |
pub const NID_rfc822Mailbox: i32 = 460; |
| 2125 |
pub const SN_info: &[u8; 5] = b"info\0"; |
| 2126 |
pub const NID_info: i32 = 461; |
| 2127 |
pub const LN_favouriteDrink: &[u8; 15] = b"favouriteDrink\0"; |
| 2128 |
pub const NID_favouriteDrink: i32 = 462; |
| 2129 |
pub const LN_roomNumber: &[u8; 11] = b"roomNumber\0"; |
| 2130 |
pub const NID_roomNumber: i32 = 463; |
| 2131 |
pub const SN_photo: &[u8; 6] = b"photo\0"; |
| 2132 |
pub const NID_photo: i32 = 464; |
| 2133 |
pub const LN_userClass: &[u8; 10] = b"userClass\0"; |
| 2134 |
pub const NID_userClass: i32 = 465; |
| 2135 |
pub const SN_host: &[u8; 5] = b"host\0"; |
| 2136 |
pub const NID_host: i32 = 466; |
| 2137 |
pub const SN_manager: &[u8; 8] = b"manager\0"; |
| 2138 |
pub const NID_manager: i32 = 467; |
| 2139 |
pub const LN_documentIdentifier: &[u8; 19] = b"documentIdentifier\0"; |
| 2140 |
pub const NID_documentIdentifier: i32 = 468; |
| 2141 |
pub const LN_documentTitle: &[u8; 14] = b"documentTitle\0"; |
| 2142 |
pub const NID_documentTitle: i32 = 469; |
| 2143 |
pub const LN_documentVersion: &[u8; 16] = b"documentVersion\0"; |
| 2144 |
pub const NID_documentVersion: i32 = 470; |
| 2145 |
pub const LN_documentAuthor: &[u8; 15] = b"documentAuthor\0"; |
| 2146 |
pub const NID_documentAuthor: i32 = 471; |
| 2147 |
pub const LN_documentLocation: &[u8; 17] = b"documentLocation\0"; |
| 2148 |
pub const NID_documentLocation: i32 = 472; |
| 2149 |
pub const LN_homeTelephoneNumber: &[u8; 20] = b"homeTelephoneNumber\0"; |
| 2150 |
pub const NID_homeTelephoneNumber: i32 = 473; |
| 2151 |
pub const SN_secretary: &[u8; 10] = b"secretary\0"; |
| 2152 |
pub const NID_secretary: i32 = 474; |
| 2153 |
pub const LN_otherMailbox: &[u8; 13] = b"otherMailbox\0"; |
| 2154 |
pub const NID_otherMailbox: i32 = 475; |
| 2155 |
pub const LN_lastModifiedTime: &[u8; 17] = b"lastModifiedTime\0"; |
| 2156 |
pub const NID_lastModifiedTime: i32 = 476; |
| 2157 |
pub const LN_lastModifiedBy: &[u8; 15] = b"lastModifiedBy\0"; |
| 2158 |
pub const NID_lastModifiedBy: i32 = 477; |
| 2159 |
pub const LN_aRecord: &[u8; 8] = b"aRecord\0"; |
| 2160 |
pub const NID_aRecord: i32 = 478; |
| 2161 |
pub const LN_pilotAttributeType27: &[u8; 21] = b"pilotAttributeType27\0"; |
| 2162 |
pub const NID_pilotAttributeType27: i32 = 479; |
| 2163 |
pub const LN_mXRecord: &[u8; 9] = b"mXRecord\0"; |
| 2164 |
pub const NID_mXRecord: i32 = 480; |
| 2165 |
pub const LN_nSRecord: &[u8; 9] = b"nSRecord\0"; |
| 2166 |
pub const NID_nSRecord: i32 = 481; |
| 2167 |
pub const LN_sOARecord: &[u8; 10] = b"sOARecord\0"; |
| 2168 |
pub const NID_sOARecord: i32 = 482; |
| 2169 |
pub const LN_cNAMERecord: &[u8; 12] = b"cNAMERecord\0"; |
| 2170 |
pub const NID_cNAMERecord: i32 = 483; |
| 2171 |
pub const LN_associatedDomain: &[u8; 17] = b"associatedDomain\0"; |
| 2172 |
pub const NID_associatedDomain: i32 = 484; |
| 2173 |
pub const LN_associatedName: &[u8; 15] = b"associatedName\0"; |
| 2174 |
pub const NID_associatedName: i32 = 485; |
| 2175 |
pub const LN_homePostalAddress: &[u8; 18] = b"homePostalAddress\0"; |
| 2176 |
pub const NID_homePostalAddress: i32 = 486; |
| 2177 |
pub const LN_personalTitle: &[u8; 14] = b"personalTitle\0"; |
| 2178 |
pub const NID_personalTitle: i32 = 487; |
| 2179 |
pub const LN_mobileTelephoneNumber: &[u8; 22] = b"mobileTelephoneNumber\0"; |
| 2180 |
pub const NID_mobileTelephoneNumber: i32 = 488; |
| 2181 |
pub const LN_pagerTelephoneNumber: &[u8; 21] = b"pagerTelephoneNumber\0"; |
| 2182 |
pub const NID_pagerTelephoneNumber: i32 = 489; |
| 2183 |
pub const LN_friendlyCountryName: &[u8; 20] = b"friendlyCountryName\0"; |
| 2184 |
pub const NID_friendlyCountryName: i32 = 490; |
| 2185 |
pub const LN_organizationalStatus: &[u8; 21] = b"organizationalStatus\0"; |
| 2186 |
pub const NID_organizationalStatus: i32 = 491; |
| 2187 |
pub const LN_janetMailbox: &[u8; 13] = b"janetMailbox\0"; |
| 2188 |
pub const NID_janetMailbox: i32 = 492; |
| 2189 |
pub const LN_mailPreferenceOption: &[u8; 21] = b"mailPreferenceOption\0"; |
| 2190 |
pub const NID_mailPreferenceOption: i32 = 493; |
| 2191 |
pub const LN_buildingName: &[u8; 13] = b"buildingName\0"; |
| 2192 |
pub const NID_buildingName: i32 = 494; |
| 2193 |
pub const LN_dSAQuality: &[u8; 11] = b"dSAQuality\0"; |
| 2194 |
pub const NID_dSAQuality: i32 = 495; |
| 2195 |
pub const LN_singleLevelQuality: &[u8; 19] = b"singleLevelQuality\0"; |
| 2196 |
pub const NID_singleLevelQuality: i32 = 496; |
| 2197 |
pub const LN_subtreeMinimumQuality: &[u8; 22] = b"subtreeMinimumQuality\0"; |
| 2198 |
pub const NID_subtreeMinimumQuality: i32 = 497; |
| 2199 |
pub const LN_subtreeMaximumQuality: &[u8; 22] = b"subtreeMaximumQuality\0"; |
| 2200 |
pub const NID_subtreeMaximumQuality: i32 = 498; |
| 2201 |
pub const LN_personalSignature: &[u8; 18] = b"personalSignature\0"; |
| 2202 |
pub const NID_personalSignature: i32 = 499; |
| 2203 |
pub const LN_dITRedirect: &[u8; 12] = b"dITRedirect\0"; |
| 2204 |
pub const NID_dITRedirect: i32 = 500; |
| 2205 |
pub const SN_audio: &[u8; 6] = b"audio\0"; |
| 2206 |
pub const NID_audio: i32 = 501; |
| 2207 |
pub const LN_documentPublisher: &[u8; 18] = b"documentPublisher\0"; |
| 2208 |
pub const NID_documentPublisher: i32 = 502; |
| 2209 |
pub const LN_x500UniqueIdentifier: &[u8; 21] = b"x500UniqueIdentifier\0"; |
| 2210 |
pub const NID_x500UniqueIdentifier: i32 = 503; |
| 2211 |
pub const SN_mime_mhs: &[u8; 9] = b"mime-mhs\0"; |
| 2212 |
pub const LN_mime_mhs: &[u8; 9] = b"MIME MHS\0"; |
| 2213 |
pub const NID_mime_mhs: i32 = 504; |
| 2214 |
pub const SN_mime_mhs_headings: &[u8; 18] = b"mime-mhs-headings\0"; |
| 2215 |
pub const LN_mime_mhs_headings: &[u8; 18] = b"mime-mhs-headings\0"; |
| 2216 |
pub const NID_mime_mhs_headings: i32 = 505; |
| 2217 |
pub const SN_mime_mhs_bodies: &[u8; 16] = b"mime-mhs-bodies\0"; |
| 2218 |
pub const LN_mime_mhs_bodies: &[u8; 16] = b"mime-mhs-bodies\0"; |
| 2219 |
pub const NID_mime_mhs_bodies: i32 = 506; |
| 2220 |
pub const SN_id_hex_partial_message: &[u8; 23] = b"id-hex-partial-message\0"; |
| 2221 |
pub const LN_id_hex_partial_message: &[u8; 23] = b"id-hex-partial-message\0"; |
| 2222 |
pub const NID_id_hex_partial_message: i32 = 507; |
| 2223 |
pub const SN_id_hex_multipart_message: &[u8; 25] = b"id-hex-multipart-message\0"; |
| 2224 |
pub const LN_id_hex_multipart_message: &[u8; 25] = b"id-hex-multipart-message\0"; |
| 2225 |
pub const NID_id_hex_multipart_message: i32 = 508; |
| 2226 |
pub const LN_generationQualifier: &[u8; 20] = b"generationQualifier\0"; |
| 2227 |
pub const NID_generationQualifier: i32 = 509; |
| 2228 |
pub const LN_pseudonym: &[u8; 10] = b"pseudonym\0"; |
| 2229 |
pub const NID_pseudonym: i32 = 510; |
| 2230 |
pub const SN_id_set: &[u8; 7] = b"id-set\0"; |
| 2231 |
pub const LN_id_set: &[u8; 31] = b"Secure Electronic Transactions\0"; |
| 2232 |
pub const NID_id_set: i32 = 512; |
| 2233 |
pub const SN_set_ctype: &[u8; 10] = b"set-ctype\0"; |
| 2234 |
pub const LN_set_ctype: &[u8; 14] = b"content types\0"; |
| 2235 |
pub const NID_set_ctype: i32 = 513; |
| 2236 |
pub const SN_set_msgExt: &[u8; 11] = b"set-msgExt\0"; |
| 2237 |
pub const LN_set_msgExt: &[u8; 19] = b"message extensions\0"; |
| 2238 |
pub const NID_set_msgExt: i32 = 514; |
| 2239 |
pub const SN_set_attr: &[u8; 9] = b"set-attr\0"; |
| 2240 |
pub const NID_set_attr: i32 = 515; |
| 2241 |
pub const SN_set_policy: &[u8; 11] = b"set-policy\0"; |
| 2242 |
pub const NID_set_policy: i32 = 516; |
| 2243 |
pub const SN_set_certExt: &[u8; 12] = b"set-certExt\0"; |
| 2244 |
pub const LN_set_certExt: &[u8; 23] = b"certificate extensions\0"; |
| 2245 |
pub const NID_set_certExt: i32 = 517; |
| 2246 |
pub const SN_set_brand: &[u8; 10] = b"set-brand\0"; |
| 2247 |
pub const NID_set_brand: i32 = 518; |
| 2248 |
pub const SN_setct_PANData: &[u8; 14] = b"setct-PANData\0"; |
| 2249 |
pub const NID_setct_PANData: i32 = 519; |
| 2250 |
pub const SN_setct_PANToken: &[u8; 15] = b"setct-PANToken\0"; |
| 2251 |
pub const NID_setct_PANToken: i32 = 520; |
| 2252 |
pub const SN_setct_PANOnly: &[u8; 14] = b"setct-PANOnly\0"; |
| 2253 |
pub const NID_setct_PANOnly: i32 = 521; |
| 2254 |
pub const SN_setct_OIData: &[u8; 13] = b"setct-OIData\0"; |
| 2255 |
pub const NID_setct_OIData: i32 = 522; |
| 2256 |
pub const SN_setct_PI: &[u8; 9] = b"setct-PI\0"; |
| 2257 |
pub const NID_setct_PI: i32 = 523; |
| 2258 |
pub const SN_setct_PIData: &[u8; 13] = b"setct-PIData\0"; |
| 2259 |
pub const NID_setct_PIData: i32 = 524; |
| 2260 |
pub const SN_setct_PIDataUnsigned: &[u8; 21] = b"setct-PIDataUnsigned\0"; |
| 2261 |
pub const NID_setct_PIDataUnsigned: i32 = 525; |
| 2262 |
pub const SN_setct_HODInput: &[u8; 15] = b"setct-HODInput\0"; |
| 2263 |
pub const NID_setct_HODInput: i32 = 526; |
| 2264 |
pub const SN_setct_AuthResBaggage: &[u8; 21] = b"setct-AuthResBaggage\0"; |
| 2265 |
pub const NID_setct_AuthResBaggage: i32 = 527; |
| 2266 |
pub const SN_setct_AuthRevReqBaggage: &[u8; 24] = b"setct-AuthRevReqBaggage\0"; |
| 2267 |
pub const NID_setct_AuthRevReqBaggage: i32 = 528; |
| 2268 |
pub const SN_setct_AuthRevResBaggage: &[u8; 24] = b"setct-AuthRevResBaggage\0"; |
| 2269 |
pub const NID_setct_AuthRevResBaggage: i32 = 529; |
| 2270 |
pub const SN_setct_CapTokenSeq: &[u8; 18] = b"setct-CapTokenSeq\0"; |
| 2271 |
pub const NID_setct_CapTokenSeq: i32 = 530; |
| 2272 |
pub const SN_setct_PInitResData: &[u8; 19] = b"setct-PInitResData\0"; |
| 2273 |
pub const NID_setct_PInitResData: i32 = 531; |
| 2274 |
pub const SN_setct_PI_TBS: &[u8; 13] = b"setct-PI-TBS\0"; |
| 2275 |
pub const NID_setct_PI_TBS: i32 = 532; |
| 2276 |
pub const SN_setct_PResData: &[u8; 15] = b"setct-PResData\0"; |
| 2277 |
pub const NID_setct_PResData: i32 = 533; |
| 2278 |
pub const SN_setct_AuthReqTBS: &[u8; 17] = b"setct-AuthReqTBS\0"; |
| 2279 |
pub const NID_setct_AuthReqTBS: i32 = 534; |
| 2280 |
pub const SN_setct_AuthResTBS: &[u8; 17] = b"setct-AuthResTBS\0"; |
| 2281 |
pub const NID_setct_AuthResTBS: i32 = 535; |
| 2282 |
pub const SN_setct_AuthResTBSX: &[u8; 18] = b"setct-AuthResTBSX\0"; |
| 2283 |
pub const NID_setct_AuthResTBSX: i32 = 536; |
| 2284 |
pub const SN_setct_AuthTokenTBS: &[u8; 19] = b"setct-AuthTokenTBS\0"; |
| 2285 |
pub const NID_setct_AuthTokenTBS: i32 = 537; |
| 2286 |
pub const SN_setct_CapTokenData: &[u8; 19] = b"setct-CapTokenData\0"; |
| 2287 |
pub const NID_setct_CapTokenData: i32 = 538; |
| 2288 |
pub const SN_setct_CapTokenTBS: &[u8; 18] = b"setct-CapTokenTBS\0"; |
| 2289 |
pub const NID_setct_CapTokenTBS: i32 = 539; |
| 2290 |
pub const SN_setct_AcqCardCodeMsg: &[u8; 21] = b"setct-AcqCardCodeMsg\0"; |
| 2291 |
pub const NID_setct_AcqCardCodeMsg: i32 = 540; |
| 2292 |
pub const SN_setct_AuthRevReqTBS: &[u8; 20] = b"setct-AuthRevReqTBS\0"; |
| 2293 |
pub const NID_setct_AuthRevReqTBS: i32 = 541; |
| 2294 |
pub const SN_setct_AuthRevResData: &[u8; 21] = b"setct-AuthRevResData\0"; |
| 2295 |
pub const NID_setct_AuthRevResData: i32 = 542; |
| 2296 |
pub const SN_setct_AuthRevResTBS: &[u8; 20] = b"setct-AuthRevResTBS\0"; |
| 2297 |
pub const NID_setct_AuthRevResTBS: i32 = 543; |
| 2298 |
pub const SN_setct_CapReqTBS: &[u8; 16] = b"setct-CapReqTBS\0"; |
| 2299 |
pub const NID_setct_CapReqTBS: i32 = 544; |
| 2300 |
pub const SN_setct_CapReqTBSX: &[u8; 17] = b"setct-CapReqTBSX\0"; |
| 2301 |
pub const NID_setct_CapReqTBSX: i32 = 545; |
| 2302 |
pub const SN_setct_CapResData: &[u8; 17] = b"setct-CapResData\0"; |
| 2303 |
pub const NID_setct_CapResData: i32 = 546; |
| 2304 |
pub const SN_setct_CapRevReqTBS: &[u8; 19] = b"setct-CapRevReqTBS\0"; |
| 2305 |
pub const NID_setct_CapRevReqTBS: i32 = 547; |
| 2306 |
pub const SN_setct_CapRevReqTBSX: &[u8; 20] = b"setct-CapRevReqTBSX\0"; |
| 2307 |
pub const NID_setct_CapRevReqTBSX: i32 = 548; |
| 2308 |
pub const SN_setct_CapRevResData: &[u8; 20] = b"setct-CapRevResData\0"; |
| 2309 |
pub const NID_setct_CapRevResData: i32 = 549; |
| 2310 |
pub const SN_setct_CredReqTBS: &[u8; 17] = b"setct-CredReqTBS\0"; |
| 2311 |
pub const NID_setct_CredReqTBS: i32 = 550; |
| 2312 |
pub const SN_setct_CredReqTBSX: &[u8; 18] = b"setct-CredReqTBSX\0"; |
| 2313 |
pub const NID_setct_CredReqTBSX: i32 = 551; |
| 2314 |
pub const SN_setct_CredResData: &[u8; 18] = b"setct-CredResData\0"; |
| 2315 |
pub const NID_setct_CredResData: i32 = 552; |
| 2316 |
pub const SN_setct_CredRevReqTBS: &[u8; 20] = b"setct-CredRevReqTBS\0"; |
| 2317 |
pub const NID_setct_CredRevReqTBS: i32 = 553; |
| 2318 |
pub const SN_setct_CredRevReqTBSX: &[u8; 21] = b"setct-CredRevReqTBSX\0"; |
| 2319 |
pub const NID_setct_CredRevReqTBSX: i32 = 554; |
| 2320 |
pub const SN_setct_CredRevResData: &[u8; 21] = b"setct-CredRevResData\0"; |
| 2321 |
pub const NID_setct_CredRevResData: i32 = 555; |
| 2322 |
pub const SN_setct_PCertReqData: &[u8; 19] = b"setct-PCertReqData\0"; |
| 2323 |
pub const NID_setct_PCertReqData: i32 = 556; |
| 2324 |
pub const SN_setct_PCertResTBS: &[u8; 18] = b"setct-PCertResTBS\0"; |
| 2325 |
pub const NID_setct_PCertResTBS: i32 = 557; |
| 2326 |
pub const SN_setct_BatchAdminReqData: &[u8; 24] = b"setct-BatchAdminReqData\0"; |
| 2327 |
pub const NID_setct_BatchAdminReqData: i32 = 558; |
| 2328 |
pub const SN_setct_BatchAdminResData: &[u8; 24] = b"setct-BatchAdminResData\0"; |
| 2329 |
pub const NID_setct_BatchAdminResData: i32 = 559; |
| 2330 |
pub const SN_setct_CardCInitResTBS: &[u8; 22] = b"setct-CardCInitResTBS\0"; |
| 2331 |
pub const NID_setct_CardCInitResTBS: i32 = 560; |
| 2332 |
pub const SN_setct_MeAqCInitResTBS: &[u8; 22] = b"setct-MeAqCInitResTBS\0"; |
| 2333 |
pub const NID_setct_MeAqCInitResTBS: i32 = 561; |
| 2334 |
pub const SN_setct_RegFormResTBS: &[u8; 20] = b"setct-RegFormResTBS\0"; |
| 2335 |
pub const NID_setct_RegFormResTBS: i32 = 562; |
| 2336 |
pub const SN_setct_CertReqData: &[u8; 18] = b"setct-CertReqData\0"; |
| 2337 |
pub const NID_setct_CertReqData: i32 = 563; |
| 2338 |
pub const SN_setct_CertReqTBS: &[u8; 17] = b"setct-CertReqTBS\0"; |
| 2339 |
pub const NID_setct_CertReqTBS: i32 = 564; |
| 2340 |
pub const SN_setct_CertResData: &[u8; 18] = b"setct-CertResData\0"; |
| 2341 |
pub const NID_setct_CertResData: i32 = 565; |
| 2342 |
pub const SN_setct_CertInqReqTBS: &[u8; 20] = b"setct-CertInqReqTBS\0"; |
| 2343 |
pub const NID_setct_CertInqReqTBS: i32 = 566; |
| 2344 |
pub const SN_setct_ErrorTBS: &[u8; 15] = b"setct-ErrorTBS\0"; |
| 2345 |
pub const NID_setct_ErrorTBS: i32 = 567; |
| 2346 |
pub const SN_setct_PIDualSignedTBE: &[u8; 22] = b"setct-PIDualSignedTBE\0"; |
| 2347 |
pub const NID_setct_PIDualSignedTBE: i32 = 568; |
| 2348 |
pub const SN_setct_PIUnsignedTBE: &[u8; 20] = b"setct-PIUnsignedTBE\0"; |
| 2349 |
pub const NID_setct_PIUnsignedTBE: i32 = 569; |
| 2350 |
pub const SN_setct_AuthReqTBE: &[u8; 17] = b"setct-AuthReqTBE\0"; |
| 2351 |
pub const NID_setct_AuthReqTBE: i32 = 570; |
| 2352 |
pub const SN_setct_AuthResTBE: &[u8; 17] = b"setct-AuthResTBE\0"; |
| 2353 |
pub const NID_setct_AuthResTBE: i32 = 571; |
| 2354 |
pub const SN_setct_AuthResTBEX: &[u8; 18] = b"setct-AuthResTBEX\0"; |
| 2355 |
pub const NID_setct_AuthResTBEX: i32 = 572; |
| 2356 |
pub const SN_setct_AuthTokenTBE: &[u8; 19] = b"setct-AuthTokenTBE\0"; |
| 2357 |
pub const NID_setct_AuthTokenTBE: i32 = 573; |
| 2358 |
pub const SN_setct_CapTokenTBE: &[u8; 18] = b"setct-CapTokenTBE\0"; |
| 2359 |
pub const NID_setct_CapTokenTBE: i32 = 574; |
| 2360 |
pub const SN_setct_CapTokenTBEX: &[u8; 19] = b"setct-CapTokenTBEX\0"; |
| 2361 |
pub const NID_setct_CapTokenTBEX: i32 = 575; |
| 2362 |
pub const SN_setct_AcqCardCodeMsgTBE: &[u8; 24] = b"setct-AcqCardCodeMsgTBE\0"; |
| 2363 |
pub const NID_setct_AcqCardCodeMsgTBE: i32 = 576; |
| 2364 |
pub const SN_setct_AuthRevReqTBE: &[u8; 20] = b"setct-AuthRevReqTBE\0"; |
| 2365 |
pub const NID_setct_AuthRevReqTBE: i32 = 577; |
| 2366 |
pub const SN_setct_AuthRevResTBE: &[u8; 20] = b"setct-AuthRevResTBE\0"; |
| 2367 |
pub const NID_setct_AuthRevResTBE: i32 = 578; |
| 2368 |
pub const SN_setct_AuthRevResTBEB: &[u8; 21] = b"setct-AuthRevResTBEB\0"; |
| 2369 |
pub const NID_setct_AuthRevResTBEB: i32 = 579; |
| 2370 |
pub const SN_setct_CapReqTBE: &[u8; 16] = b"setct-CapReqTBE\0"; |
| 2371 |
pub const NID_setct_CapReqTBE: i32 = 580; |
| 2372 |
pub const SN_setct_CapReqTBEX: &[u8; 17] = b"setct-CapReqTBEX\0"; |
| 2373 |
pub const NID_setct_CapReqTBEX: i32 = 581; |
| 2374 |
pub const SN_setct_CapResTBE: &[u8; 16] = b"setct-CapResTBE\0"; |
| 2375 |
pub const NID_setct_CapResTBE: i32 = 582; |
| 2376 |
pub const SN_setct_CapRevReqTBE: &[u8; 19] = b"setct-CapRevReqTBE\0"; |
| 2377 |
pub const NID_setct_CapRevReqTBE: i32 = 583; |
| 2378 |
pub const SN_setct_CapRevReqTBEX: &[u8; 20] = b"setct-CapRevReqTBEX\0"; |
| 2379 |
pub const NID_setct_CapRevReqTBEX: i32 = 584; |
| 2380 |
pub const SN_setct_CapRevResTBE: &[u8; 19] = b"setct-CapRevResTBE\0"; |
| 2381 |
pub const NID_setct_CapRevResTBE: i32 = 585; |
| 2382 |
pub const SN_setct_CredReqTBE: &[u8; 17] = b"setct-CredReqTBE\0"; |
| 2383 |
pub const NID_setct_CredReqTBE: i32 = 586; |
| 2384 |
pub const SN_setct_CredReqTBEX: &[u8; 18] = b"setct-CredReqTBEX\0"; |
| 2385 |
pub const NID_setct_CredReqTBEX: i32 = 587; |
| 2386 |
pub const SN_setct_CredResTBE: &[u8; 17] = b"setct-CredResTBE\0"; |
| 2387 |
pub const NID_setct_CredResTBE: i32 = 588; |
| 2388 |
pub const SN_setct_CredRevReqTBE: &[u8; 20] = b"setct-CredRevReqTBE\0"; |
| 2389 |
pub const NID_setct_CredRevReqTBE: i32 = 589; |
| 2390 |
pub const SN_setct_CredRevReqTBEX: &[u8; 21] = b"setct-CredRevReqTBEX\0"; |
| 2391 |
pub const NID_setct_CredRevReqTBEX: i32 = 590; |
| 2392 |
pub const SN_setct_CredRevResTBE: &[u8; 20] = b"setct-CredRevResTBE\0"; |
| 2393 |
pub const NID_setct_CredRevResTBE: i32 = 591; |
| 2394 |
pub const SN_setct_BatchAdminReqTBE: &[u8; 23] = b"setct-BatchAdminReqTBE\0"; |
| 2395 |
pub const NID_setct_BatchAdminReqTBE: i32 = 592; |
| 2396 |
pub const SN_setct_BatchAdminResTBE: &[u8; 23] = b"setct-BatchAdminResTBE\0"; |
| 2397 |
pub const NID_setct_BatchAdminResTBE: i32 = 593; |
| 2398 |
pub const SN_setct_RegFormReqTBE: &[u8; 20] = b"setct-RegFormReqTBE\0"; |
| 2399 |
pub const NID_setct_RegFormReqTBE: i32 = 594; |
| 2400 |
pub const SN_setct_CertReqTBE: &[u8; 17] = b"setct-CertReqTBE\0"; |
| 2401 |
pub const NID_setct_CertReqTBE: i32 = 595; |
| 2402 |
pub const SN_setct_CertReqTBEX: &[u8; 18] = b"setct-CertReqTBEX\0"; |
| 2403 |
pub const NID_setct_CertReqTBEX: i32 = 596; |
| 2404 |
pub const SN_setct_CertResTBE: &[u8; 17] = b"setct-CertResTBE\0"; |
| 2405 |
pub const NID_setct_CertResTBE: i32 = 597; |
| 2406 |
pub const SN_setct_CRLNotificationTBS: &[u8; 25] = b"setct-CRLNotificationTBS\0"; |
| 2407 |
pub const NID_setct_CRLNotificationTBS: i32 = 598; |
| 2408 |
pub const SN_setct_CRLNotificationResTBS: &[u8; 28] = b"setct-CRLNotificationResTBS\0"; |
| 2409 |
pub const NID_setct_CRLNotificationResTBS: i32 = 599; |
| 2410 |
pub const SN_setct_BCIDistributionTBS: &[u8; 25] = b"setct-BCIDistributionTBS\0"; |
| 2411 |
pub const NID_setct_BCIDistributionTBS: i32 = 600; |
| 2412 |
pub const SN_setext_genCrypt: &[u8; 16] = b"setext-genCrypt\0"; |
| 2413 |
pub const LN_setext_genCrypt: &[u8; 19] = b"generic cryptogram\0"; |
| 2414 |
pub const NID_setext_genCrypt: i32 = 601; |
| 2415 |
pub const SN_setext_miAuth: &[u8; 14] = b"setext-miAuth\0"; |
| 2416 |
pub const LN_setext_miAuth: &[u8; 24] = b"merchant initiated auth\0"; |
| 2417 |
pub const NID_setext_miAuth: i32 = 602; |
| 2418 |
pub const SN_setext_pinSecure: &[u8; 17] = b"setext-pinSecure\0"; |
| 2419 |
pub const NID_setext_pinSecure: i32 = 603; |
| 2420 |
pub const SN_setext_pinAny: &[u8; 14] = b"setext-pinAny\0"; |
| 2421 |
pub const NID_setext_pinAny: i32 = 604; |
| 2422 |
pub const SN_setext_track2: &[u8; 14] = b"setext-track2\0"; |
| 2423 |
pub const NID_setext_track2: i32 = 605; |
| 2424 |
pub const SN_setext_cv: &[u8; 10] = b"setext-cv\0"; |
| 2425 |
pub const LN_setext_cv: &[u8; 24] = b"additional verification\0"; |
| 2426 |
pub const NID_setext_cv: i32 = 606; |
| 2427 |
pub const SN_set_policy_root: &[u8; 16] = b"set-policy-root\0"; |
| 2428 |
pub const NID_set_policy_root: i32 = 607; |
| 2429 |
pub const SN_setCext_hashedRoot: &[u8; 19] = b"setCext-hashedRoot\0"; |
| 2430 |
pub const NID_setCext_hashedRoot: i32 = 608; |
| 2431 |
pub const SN_setCext_certType: &[u8; 17] = b"setCext-certType\0"; |
| 2432 |
pub const NID_setCext_certType: i32 = 609; |
| 2433 |
pub const SN_setCext_merchData: &[u8; 18] = b"setCext-merchData\0"; |
| 2434 |
pub const NID_setCext_merchData: i32 = 610; |
| 2435 |
pub const SN_setCext_cCertRequired: &[u8; 22] = b"setCext-cCertRequired\0"; |
| 2436 |
pub const NID_setCext_cCertRequired: i32 = 611; |
| 2437 |
pub const SN_setCext_tunneling: &[u8; 18] = b"setCext-tunneling\0"; |
| 2438 |
pub const NID_setCext_tunneling: i32 = 612; |
| 2439 |
pub const SN_setCext_setExt: &[u8; 15] = b"setCext-setExt\0"; |
| 2440 |
pub const NID_setCext_setExt: i32 = 613; |
| 2441 |
pub const SN_setCext_setQualf: &[u8; 17] = b"setCext-setQualf\0"; |
| 2442 |
pub const NID_setCext_setQualf: i32 = 614; |
| 2443 |
pub const SN_setCext_PGWYcapabilities: &[u8; 25] = b"setCext-PGWYcapabilities\0"; |
| 2444 |
pub const NID_setCext_PGWYcapabilities: i32 = 615; |
| 2445 |
pub const SN_setCext_TokenIdentifier: &[u8; 24] = b"setCext-TokenIdentifier\0"; |
| 2446 |
pub const NID_setCext_TokenIdentifier: i32 = 616; |
| 2447 |
pub const SN_setCext_Track2Data: &[u8; 19] = b"setCext-Track2Data\0"; |
| 2448 |
pub const NID_setCext_Track2Data: i32 = 617; |
| 2449 |
pub const SN_setCext_TokenType: &[u8; 18] = b"setCext-TokenType\0"; |
| 2450 |
pub const NID_setCext_TokenType: i32 = 618; |
| 2451 |
pub const SN_setCext_IssuerCapabilities: &[u8; 27] = b"setCext-IssuerCapabilities\0"; |
| 2452 |
pub const NID_setCext_IssuerCapabilities: i32 = 619; |
| 2453 |
pub const SN_setAttr_Cert: &[u8; 13] = b"setAttr-Cert\0"; |
| 2454 |
pub const NID_setAttr_Cert: i32 = 620; |
| 2455 |
pub const SN_setAttr_PGWYcap: &[u8; 16] = b"setAttr-PGWYcap\0"; |
| 2456 |
pub const LN_setAttr_PGWYcap: &[u8; 29] = b"payment gateway capabilities\0"; |
| 2457 |
pub const NID_setAttr_PGWYcap: i32 = 621; |
| 2458 |
pub const SN_setAttr_TokenType: &[u8; 18] = b"setAttr-TokenType\0"; |
| 2459 |
pub const NID_setAttr_TokenType: i32 = 622; |
| 2460 |
pub const SN_setAttr_IssCap: &[u8; 15] = b"setAttr-IssCap\0"; |
| 2461 |
pub const LN_setAttr_IssCap: &[u8; 20] = b"issuer capabilities\0"; |
| 2462 |
pub const NID_setAttr_IssCap: i32 = 623; |
| 2463 |
pub const SN_set_rootKeyThumb: &[u8; 17] = b"set-rootKeyThumb\0"; |
| 2464 |
pub const NID_set_rootKeyThumb: i32 = 624; |
| 2465 |
pub const SN_set_addPolicy: &[u8; 14] = b"set-addPolicy\0"; |
| 2466 |
pub const NID_set_addPolicy: i32 = 625; |
| 2467 |
pub const SN_setAttr_Token_EMV: &[u8; 18] = b"setAttr-Token-EMV\0"; |
| 2468 |
pub const NID_setAttr_Token_EMV: i32 = 626; |
| 2469 |
pub const SN_setAttr_Token_B0Prime: &[u8; 22] = b"setAttr-Token-B0Prime\0"; |
| 2470 |
pub const NID_setAttr_Token_B0Prime: i32 = 627; |
| 2471 |
pub const SN_setAttr_IssCap_CVM: &[u8; 19] = b"setAttr-IssCap-CVM\0"; |
| 2472 |
pub const NID_setAttr_IssCap_CVM: i32 = 628; |
| 2473 |
pub const SN_setAttr_IssCap_T2: &[u8; 18] = b"setAttr-IssCap-T2\0"; |
| 2474 |
pub const NID_setAttr_IssCap_T2: i32 = 629; |
| 2475 |
pub const SN_setAttr_IssCap_Sig: &[u8; 19] = b"setAttr-IssCap-Sig\0"; |
| 2476 |
pub const NID_setAttr_IssCap_Sig: i32 = 630; |
| 2477 |
pub const SN_setAttr_GenCryptgrm: &[u8; 20] = b"setAttr-GenCryptgrm\0"; |
| 2478 |
pub const LN_setAttr_GenCryptgrm: &[u8; 20] = b"generate cryptogram\0"; |
| 2479 |
pub const NID_setAttr_GenCryptgrm: i32 = 631; |
| 2480 |
pub const SN_setAttr_T2Enc: &[u8; 14] = b"setAttr-T2Enc\0"; |
| 2481 |
pub const LN_setAttr_T2Enc: &[u8; 18] = b"encrypted track 2\0"; |
| 2482 |
pub const NID_setAttr_T2Enc: i32 = 632; |
| 2483 |
pub const SN_setAttr_T2cleartxt: &[u8; 19] = b"setAttr-T2cleartxt\0"; |
| 2484 |
pub const LN_setAttr_T2cleartxt: &[u8; 18] = b"cleartext track 2\0"; |
| 2485 |
pub const NID_setAttr_T2cleartxt: i32 = 633; |
| 2486 |
pub const SN_setAttr_TokICCsig: &[u8; 18] = b"setAttr-TokICCsig\0"; |
| 2487 |
pub const LN_setAttr_TokICCsig: &[u8; 23] = b"ICC or token signature\0"; |
| 2488 |
pub const NID_setAttr_TokICCsig: i32 = 634; |
| 2489 |
pub const SN_setAttr_SecDevSig: &[u8; 18] = b"setAttr-SecDevSig\0"; |
| 2490 |
pub const LN_setAttr_SecDevSig: &[u8; 24] = b"secure device signature\0"; |
| 2491 |
pub const NID_setAttr_SecDevSig: i32 = 635; |
| 2492 |
pub const SN_set_brand_IATA_ATA: &[u8; 19] = b"set-brand-IATA-ATA\0"; |
| 2493 |
pub const NID_set_brand_IATA_ATA: i32 = 636; |
| 2494 |
pub const SN_set_brand_Diners: &[u8; 17] = b"set-brand-Diners\0"; |
| 2495 |
pub const NID_set_brand_Diners: i32 = 637; |
| 2496 |
pub const SN_set_brand_AmericanExpress: &[u8; 26] = b"set-brand-AmericanExpress\0"; |
| 2497 |
pub const NID_set_brand_AmericanExpress: i32 = 638; |
| 2498 |
pub const SN_set_brand_JCB: &[u8; 14] = b"set-brand-JCB\0"; |
| 2499 |
pub const NID_set_brand_JCB: i32 = 639; |
| 2500 |
pub const SN_set_brand_Visa: &[u8; 15] = b"set-brand-Visa\0"; |
| 2501 |
pub const NID_set_brand_Visa: i32 = 640; |
| 2502 |
pub const SN_set_brand_MasterCard: &[u8; 21] = b"set-brand-MasterCard\0"; |
| 2503 |
pub const NID_set_brand_MasterCard: i32 = 641; |
| 2504 |
pub const SN_set_brand_Novus: &[u8; 16] = b"set-brand-Novus\0"; |
| 2505 |
pub const NID_set_brand_Novus: i32 = 642; |
| 2506 |
pub const SN_des_cdmf: &[u8; 9] = b"DES-CDMF\0"; |
| 2507 |
pub const LN_des_cdmf: &[u8; 9] = b"des-cdmf\0"; |
| 2508 |
pub const NID_des_cdmf: i32 = 643; |
| 2509 |
pub const SN_rsaOAEPEncryptionSET: &[u8; 21] = b"rsaOAEPEncryptionSET\0"; |
| 2510 |
pub const NID_rsaOAEPEncryptionSET: i32 = 644; |
| 2511 |
pub const SN_itu_t: &[u8; 6] = b"ITU-T\0"; |
| 2512 |
pub const LN_itu_t: &[u8; 6] = b"itu-t\0"; |
| 2513 |
pub const NID_itu_t: i32 = 645; |
| 2514 |
pub const OBJ_itu_t: i32 = 0; |
| 2515 |
pub const SN_joint_iso_itu_t: &[u8; 16] = b"JOINT-ISO-ITU-T\0"; |
| 2516 |
pub const LN_joint_iso_itu_t: &[u8; 16] = b"joint-iso-itu-t\0"; |
| 2517 |
pub const NID_joint_iso_itu_t: i32 = 646; |
| 2518 |
pub const OBJ_joint_iso_itu_t: i32 = 2; |
| 2519 |
pub const SN_international_organizations: &[u8; 28] = b"international-organizations\0"; |
| 2520 |
pub const LN_international_organizations: &[u8; 28] = b"International Organizations\0"; |
| 2521 |
pub const NID_international_organizations: i32 = 647; |
| 2522 |
pub const SN_ms_smartcard_login: &[u8; 17] = b"msSmartcardLogin\0"; |
| 2523 |
pub const LN_ms_smartcard_login: &[u8; 25] = b"Microsoft Smartcardlogin\0"; |
| 2524 |
pub const NID_ms_smartcard_login: i32 = 648; |
| 2525 |
pub const SN_ms_upn: &[u8; 6] = b"msUPN\0"; |
| 2526 |
pub const LN_ms_upn: &[u8; 35] = b"Microsoft Universal Principal Name\0"; |
| 2527 |
pub const NID_ms_upn: i32 = 649; |
| 2528 |
pub const SN_aes_128_cfb1: &[u8; 13] = b"AES-128-CFB1\0"; |
| 2529 |
pub const LN_aes_128_cfb1: &[u8; 13] = b"aes-128-cfb1\0"; |
| 2530 |
pub const NID_aes_128_cfb1: i32 = 650; |
| 2531 |
pub const SN_aes_192_cfb1: &[u8; 13] = b"AES-192-CFB1\0"; |
| 2532 |
pub const LN_aes_192_cfb1: &[u8; 13] = b"aes-192-cfb1\0"; |
| 2533 |
pub const NID_aes_192_cfb1: i32 = 651; |
| 2534 |
pub const SN_aes_256_cfb1: &[u8; 13] = b"AES-256-CFB1\0"; |
| 2535 |
pub const LN_aes_256_cfb1: &[u8; 13] = b"aes-256-cfb1\0"; |
| 2536 |
pub const NID_aes_256_cfb1: i32 = 652; |
| 2537 |
pub const SN_aes_128_cfb8: &[u8; 13] = b"AES-128-CFB8\0"; |
| 2538 |
pub const LN_aes_128_cfb8: &[u8; 13] = b"aes-128-cfb8\0"; |
| 2539 |
pub const NID_aes_128_cfb8: i32 = 653; |
| 2540 |
pub const SN_aes_192_cfb8: &[u8; 13] = b"AES-192-CFB8\0"; |
| 2541 |
pub const LN_aes_192_cfb8: &[u8; 13] = b"aes-192-cfb8\0"; |
| 2542 |
pub const NID_aes_192_cfb8: i32 = 654; |
| 2543 |
pub const SN_aes_256_cfb8: &[u8; 13] = b"AES-256-CFB8\0"; |
| 2544 |
pub const LN_aes_256_cfb8: &[u8; 13] = b"aes-256-cfb8\0"; |
| 2545 |
pub const NID_aes_256_cfb8: i32 = 655; |
| 2546 |
pub const SN_des_cfb1: &[u8; 9] = b"DES-CFB1\0"; |
| 2547 |
pub const LN_des_cfb1: &[u8; 9] = b"des-cfb1\0"; |
| 2548 |
pub const NID_des_cfb1: i32 = 656; |
| 2549 |
pub const SN_des_cfb8: &[u8; 9] = b"DES-CFB8\0"; |
| 2550 |
pub const LN_des_cfb8: &[u8; 9] = b"des-cfb8\0"; |
| 2551 |
pub const NID_des_cfb8: i32 = 657; |
| 2552 |
pub const SN_des_ede3_cfb1: &[u8; 14] = b"DES-EDE3-CFB1\0"; |
| 2553 |
pub const LN_des_ede3_cfb1: &[u8; 14] = b"des-ede3-cfb1\0"; |
| 2554 |
pub const NID_des_ede3_cfb1: i32 = 658; |
| 2555 |
pub const SN_des_ede3_cfb8: &[u8; 14] = b"DES-EDE3-CFB8\0"; |
| 2556 |
pub const LN_des_ede3_cfb8: &[u8; 14] = b"des-ede3-cfb8\0"; |
| 2557 |
pub const NID_des_ede3_cfb8: i32 = 659; |
| 2558 |
pub const SN_streetAddress: &[u8; 7] = b"street\0"; |
| 2559 |
pub const LN_streetAddress: &[u8; 14] = b"streetAddress\0"; |
| 2560 |
pub const NID_streetAddress: i32 = 660; |
| 2561 |
pub const LN_postalCode: &[u8; 11] = b"postalCode\0"; |
| 2562 |
pub const NID_postalCode: i32 = 661; |
| 2563 |
pub const SN_id_ppl: &[u8; 7] = b"id-ppl\0"; |
| 2564 |
pub const NID_id_ppl: i32 = 662; |
| 2565 |
pub const SN_proxyCertInfo: &[u8; 14] = b"proxyCertInfo\0"; |
| 2566 |
pub const LN_proxyCertInfo: &[u8; 30] = b"Proxy Certificate Information\0"; |
| 2567 |
pub const NID_proxyCertInfo: i32 = 663; |
| 2568 |
pub const SN_id_ppl_anyLanguage: &[u8; 19] = b"id-ppl-anyLanguage\0"; |
| 2569 |
pub const LN_id_ppl_anyLanguage: &[u8; 13] = b"Any language\0"; |
| 2570 |
pub const NID_id_ppl_anyLanguage: i32 = 664; |
| 2571 |
pub const SN_id_ppl_inheritAll: &[u8; 18] = b"id-ppl-inheritAll\0"; |
| 2572 |
pub const LN_id_ppl_inheritAll: &[u8; 12] = b"Inherit all\0"; |
| 2573 |
pub const NID_id_ppl_inheritAll: i32 = 665; |
| 2574 |
pub const SN_name_constraints: &[u8; 16] = b"nameConstraints\0"; |
| 2575 |
pub const LN_name_constraints: &[u8; 24] = b"X509v3 Name Constraints\0"; |
| 2576 |
pub const NID_name_constraints: i32 = 666; |
| 2577 |
pub const SN_Independent: &[u8; 19] = b"id-ppl-independent\0"; |
| 2578 |
pub const LN_Independent: &[u8; 12] = b"Independent\0"; |
| 2579 |
pub const NID_Independent: i32 = 667; |
| 2580 |
pub const SN_sha256WithRSAEncryption: &[u8; 11] = b"RSA-SHA256\0"; |
| 2581 |
pub const LN_sha256WithRSAEncryption: &[u8; 24] = b"sha256WithRSAEncryption\0"; |
| 2582 |
pub const NID_sha256WithRSAEncryption: i32 = 668; |
| 2583 |
pub const SN_sha384WithRSAEncryption: &[u8; 11] = b"RSA-SHA384\0"; |
| 2584 |
pub const LN_sha384WithRSAEncryption: &[u8; 24] = b"sha384WithRSAEncryption\0"; |
| 2585 |
pub const NID_sha384WithRSAEncryption: i32 = 669; |
| 2586 |
pub const SN_sha512WithRSAEncryption: &[u8; 11] = b"RSA-SHA512\0"; |
| 2587 |
pub const LN_sha512WithRSAEncryption: &[u8; 24] = b"sha512WithRSAEncryption\0"; |
| 2588 |
pub const NID_sha512WithRSAEncryption: i32 = 670; |
| 2589 |
pub const SN_sha224WithRSAEncryption: &[u8; 11] = b"RSA-SHA224\0"; |
| 2590 |
pub const LN_sha224WithRSAEncryption: &[u8; 24] = b"sha224WithRSAEncryption\0"; |
| 2591 |
pub const NID_sha224WithRSAEncryption: i32 = 671; |
| 2592 |
pub const SN_sha256: &[u8; 7] = b"SHA256\0"; |
| 2593 |
pub const LN_sha256: &[u8; 7] = b"sha256\0"; |
| 2594 |
pub const NID_sha256: i32 = 672; |
| 2595 |
pub const SN_sha384: &[u8; 7] = b"SHA384\0"; |
| 2596 |
pub const LN_sha384: &[u8; 7] = b"sha384\0"; |
| 2597 |
pub const NID_sha384: i32 = 673; |
| 2598 |
pub const SN_sha512: &[u8; 7] = b"SHA512\0"; |
| 2599 |
pub const LN_sha512: &[u8; 7] = b"sha512\0"; |
| 2600 |
pub const NID_sha512: i32 = 674; |
| 2601 |
pub const SN_sha224: &[u8; 7] = b"SHA224\0"; |
| 2602 |
pub const LN_sha224: &[u8; 7] = b"sha224\0"; |
| 2603 |
pub const NID_sha224: i32 = 675; |
| 2604 |
pub const SN_identified_organization: &[u8; 24] = b"identified-organization\0"; |
| 2605 |
pub const NID_identified_organization: i32 = 676; |
| 2606 |
pub const SN_certicom_arc: &[u8; 13] = b"certicom-arc\0"; |
| 2607 |
pub const NID_certicom_arc: i32 = 677; |
| 2608 |
pub const SN_wap: &[u8; 4] = b"wap\0"; |
| 2609 |
pub const NID_wap: i32 = 678; |
| 2610 |
pub const SN_wap_wsg: &[u8; 8] = b"wap-wsg\0"; |
| 2611 |
pub const NID_wap_wsg: i32 = 679; |
| 2612 |
pub const SN_X9_62_id_characteristic_two_basis: &[u8; 28] = b"id-characteristic-two-basis\0"; |
| 2613 |
pub const NID_X9_62_id_characteristic_two_basis: i32 = 680; |
| 2614 |
pub const SN_X9_62_onBasis: &[u8; 8] = b"onBasis\0"; |
| 2615 |
pub const NID_X9_62_onBasis: i32 = 681; |
| 2616 |
pub const SN_X9_62_tpBasis: &[u8; 8] = b"tpBasis\0"; |
| 2617 |
pub const NID_X9_62_tpBasis: i32 = 682; |
| 2618 |
pub const SN_X9_62_ppBasis: &[u8; 8] = b"ppBasis\0"; |
| 2619 |
pub const NID_X9_62_ppBasis: i32 = 683; |
| 2620 |
pub const SN_X9_62_c2pnb163v1: &[u8; 11] = b"c2pnb163v1\0"; |
| 2621 |
pub const NID_X9_62_c2pnb163v1: i32 = 684; |
| 2622 |
pub const SN_X9_62_c2pnb163v2: &[u8; 11] = b"c2pnb163v2\0"; |
| 2623 |
pub const NID_X9_62_c2pnb163v2: i32 = 685; |
| 2624 |
pub const SN_X9_62_c2pnb163v3: &[u8; 11] = b"c2pnb163v3\0"; |
| 2625 |
pub const NID_X9_62_c2pnb163v3: i32 = 686; |
| 2626 |
pub const SN_X9_62_c2pnb176v1: &[u8; 11] = b"c2pnb176v1\0"; |
| 2627 |
pub const NID_X9_62_c2pnb176v1: i32 = 687; |
| 2628 |
pub const SN_X9_62_c2tnb191v1: &[u8; 11] = b"c2tnb191v1\0"; |
| 2629 |
pub const NID_X9_62_c2tnb191v1: i32 = 688; |
| 2630 |
pub const SN_X9_62_c2tnb191v2: &[u8; 11] = b"c2tnb191v2\0"; |
| 2631 |
pub const NID_X9_62_c2tnb191v2: i32 = 689; |
| 2632 |
pub const SN_X9_62_c2tnb191v3: &[u8; 11] = b"c2tnb191v3\0"; |
| 2633 |
pub const NID_X9_62_c2tnb191v3: i32 = 690; |
| 2634 |
pub const SN_X9_62_c2onb191v4: &[u8; 11] = b"c2onb191v4\0"; |
| 2635 |
pub const NID_X9_62_c2onb191v4: i32 = 691; |
| 2636 |
pub const SN_X9_62_c2onb191v5: &[u8; 11] = b"c2onb191v5\0"; |
| 2637 |
pub const NID_X9_62_c2onb191v5: i32 = 692; |
| 2638 |
pub const SN_X9_62_c2pnb208w1: &[u8; 11] = b"c2pnb208w1\0"; |
| 2639 |
pub const NID_X9_62_c2pnb208w1: i32 = 693; |
| 2640 |
pub const SN_X9_62_c2tnb239v1: &[u8; 11] = b"c2tnb239v1\0"; |
| 2641 |
pub const NID_X9_62_c2tnb239v1: i32 = 694; |
| 2642 |
pub const SN_X9_62_c2tnb239v2: &[u8; 11] = b"c2tnb239v2\0"; |
| 2643 |
pub const NID_X9_62_c2tnb239v2: i32 = 695; |
| 2644 |
pub const SN_X9_62_c2tnb239v3: &[u8; 11] = b"c2tnb239v3\0"; |
| 2645 |
pub const NID_X9_62_c2tnb239v3: i32 = 696; |
| 2646 |
pub const SN_X9_62_c2onb239v4: &[u8; 11] = b"c2onb239v4\0"; |
| 2647 |
pub const NID_X9_62_c2onb239v4: i32 = 697; |
| 2648 |
pub const SN_X9_62_c2onb239v5: &[u8; 11] = b"c2onb239v5\0"; |
| 2649 |
pub const NID_X9_62_c2onb239v5: i32 = 698; |
| 2650 |
pub const SN_X9_62_c2pnb272w1: &[u8; 11] = b"c2pnb272w1\0"; |
| 2651 |
pub const NID_X9_62_c2pnb272w1: i32 = 699; |
| 2652 |
pub const SN_X9_62_c2pnb304w1: &[u8; 11] = b"c2pnb304w1\0"; |
| 2653 |
pub const NID_X9_62_c2pnb304w1: i32 = 700; |
| 2654 |
pub const SN_X9_62_c2tnb359v1: &[u8; 11] = b"c2tnb359v1\0"; |
| 2655 |
pub const NID_X9_62_c2tnb359v1: i32 = 701; |
| 2656 |
pub const SN_X9_62_c2pnb368w1: &[u8; 11] = b"c2pnb368w1\0"; |
| 2657 |
pub const NID_X9_62_c2pnb368w1: i32 = 702; |
| 2658 |
pub const SN_X9_62_c2tnb431r1: &[u8; 11] = b"c2tnb431r1\0"; |
| 2659 |
pub const NID_X9_62_c2tnb431r1: i32 = 703; |
| 2660 |
pub const SN_secp112r1: &[u8; 10] = b"secp112r1\0"; |
| 2661 |
pub const NID_secp112r1: i32 = 704; |
| 2662 |
pub const SN_secp112r2: &[u8; 10] = b"secp112r2\0"; |
| 2663 |
pub const NID_secp112r2: i32 = 705; |
| 2664 |
pub const SN_secp128r1: &[u8; 10] = b"secp128r1\0"; |
| 2665 |
pub const NID_secp128r1: i32 = 706; |
| 2666 |
pub const SN_secp128r2: &[u8; 10] = b"secp128r2\0"; |
| 2667 |
pub const NID_secp128r2: i32 = 707; |
| 2668 |
pub const SN_secp160k1: &[u8; 10] = b"secp160k1\0"; |
| 2669 |
pub const NID_secp160k1: i32 = 708; |
| 2670 |
pub const SN_secp160r1: &[u8; 10] = b"secp160r1\0"; |
| 2671 |
pub const NID_secp160r1: i32 = 709; |
| 2672 |
pub const SN_secp160r2: &[u8; 10] = b"secp160r2\0"; |
| 2673 |
pub const NID_secp160r2: i32 = 710; |
| 2674 |
pub const SN_secp192k1: &[u8; 10] = b"secp192k1\0"; |
| 2675 |
pub const NID_secp192k1: i32 = 711; |
| 2676 |
pub const SN_secp224k1: &[u8; 10] = b"secp224k1\0"; |
| 2677 |
pub const NID_secp224k1: i32 = 712; |
| 2678 |
pub const SN_secp224r1: &[u8; 10] = b"secp224r1\0"; |
| 2679 |
pub const NID_secp224r1: i32 = 713; |
| 2680 |
pub const SN_secp256k1: &[u8; 10] = b"secp256k1\0"; |
| 2681 |
pub const NID_secp256k1: i32 = 714; |
| 2682 |
pub const SN_secp384r1: &[u8; 10] = b"secp384r1\0"; |
| 2683 |
pub const NID_secp384r1: i32 = 715; |
| 2684 |
pub const SN_secp521r1: &[u8; 10] = b"secp521r1\0"; |
| 2685 |
pub const NID_secp521r1: i32 = 716; |
| 2686 |
pub const SN_sect113r1: &[u8; 10] = b"sect113r1\0"; |
| 2687 |
pub const NID_sect113r1: i32 = 717; |
| 2688 |
pub const SN_sect113r2: &[u8; 10] = b"sect113r2\0"; |
| 2689 |
pub const NID_sect113r2: i32 = 718; |
| 2690 |
pub const SN_sect131r1: &[u8; 10] = b"sect131r1\0"; |
| 2691 |
pub const NID_sect131r1: i32 = 719; |
| 2692 |
pub const SN_sect131r2: &[u8; 10] = b"sect131r2\0"; |
| 2693 |
pub const NID_sect131r2: i32 = 720; |
| 2694 |
pub const SN_sect163k1: &[u8; 10] = b"sect163k1\0"; |
| 2695 |
pub const NID_sect163k1: i32 = 721; |
| 2696 |
pub const SN_sect163r1: &[u8; 10] = b"sect163r1\0"; |
| 2697 |
pub const NID_sect163r1: i32 = 722; |
| 2698 |
pub const SN_sect163r2: &[u8; 10] = b"sect163r2\0"; |
| 2699 |
pub const NID_sect163r2: i32 = 723; |
| 2700 |
pub const SN_sect193r1: &[u8; 10] = b"sect193r1\0"; |
| 2701 |
pub const NID_sect193r1: i32 = 724; |
| 2702 |
pub const SN_sect193r2: &[u8; 10] = b"sect193r2\0"; |
| 2703 |
pub const NID_sect193r2: i32 = 725; |
| 2704 |
pub const SN_sect233k1: &[u8; 10] = b"sect233k1\0"; |
| 2705 |
pub const NID_sect233k1: i32 = 726; |
| 2706 |
pub const SN_sect233r1: &[u8; 10] = b"sect233r1\0"; |
| 2707 |
pub const NID_sect233r1: i32 = 727; |
| 2708 |
pub const SN_sect239k1: &[u8; 10] = b"sect239k1\0"; |
| 2709 |
pub const NID_sect239k1: i32 = 728; |
| 2710 |
pub const SN_sect283k1: &[u8; 10] = b"sect283k1\0"; |
| 2711 |
pub const NID_sect283k1: i32 = 729; |
| 2712 |
pub const SN_sect283r1: &[u8; 10] = b"sect283r1\0"; |
| 2713 |
pub const NID_sect283r1: i32 = 730; |
| 2714 |
pub const SN_sect409k1: &[u8; 10] = b"sect409k1\0"; |
| 2715 |
pub const NID_sect409k1: i32 = 731; |
| 2716 |
pub const SN_sect409r1: &[u8; 10] = b"sect409r1\0"; |
| 2717 |
pub const NID_sect409r1: i32 = 732; |
| 2718 |
pub const SN_sect571k1: &[u8; 10] = b"sect571k1\0"; |
| 2719 |
pub const NID_sect571k1: i32 = 733; |
| 2720 |
pub const SN_sect571r1: &[u8; 10] = b"sect571r1\0"; |
| 2721 |
pub const NID_sect571r1: i32 = 734; |
| 2722 |
pub const SN_wap_wsg_idm_ecid_wtls1: &[u8; 23] = b"wap-wsg-idm-ecid-wtls1\0"; |
| 2723 |
pub const NID_wap_wsg_idm_ecid_wtls1: i32 = 735; |
| 2724 |
pub const SN_wap_wsg_idm_ecid_wtls3: &[u8; 23] = b"wap-wsg-idm-ecid-wtls3\0"; |
| 2725 |
pub const NID_wap_wsg_idm_ecid_wtls3: i32 = 736; |
| 2726 |
pub const SN_wap_wsg_idm_ecid_wtls4: &[u8; 23] = b"wap-wsg-idm-ecid-wtls4\0"; |
| 2727 |
pub const NID_wap_wsg_idm_ecid_wtls4: i32 = 737; |
| 2728 |
pub const SN_wap_wsg_idm_ecid_wtls5: &[u8; 23] = b"wap-wsg-idm-ecid-wtls5\0"; |
| 2729 |
pub const NID_wap_wsg_idm_ecid_wtls5: i32 = 738; |
| 2730 |
pub const SN_wap_wsg_idm_ecid_wtls6: &[u8; 23] = b"wap-wsg-idm-ecid-wtls6\0"; |
| 2731 |
pub const NID_wap_wsg_idm_ecid_wtls6: i32 = 739; |
| 2732 |
pub const SN_wap_wsg_idm_ecid_wtls7: &[u8; 23] = b"wap-wsg-idm-ecid-wtls7\0"; |
| 2733 |
pub const NID_wap_wsg_idm_ecid_wtls7: i32 = 740; |
| 2734 |
pub const SN_wap_wsg_idm_ecid_wtls8: &[u8; 23] = b"wap-wsg-idm-ecid-wtls8\0"; |
| 2735 |
pub const NID_wap_wsg_idm_ecid_wtls8: i32 = 741; |
| 2736 |
pub const SN_wap_wsg_idm_ecid_wtls9: &[u8; 23] = b"wap-wsg-idm-ecid-wtls9\0"; |
| 2737 |
pub const NID_wap_wsg_idm_ecid_wtls9: i32 = 742; |
| 2738 |
pub const SN_wap_wsg_idm_ecid_wtls10: &[u8; 24] = b"wap-wsg-idm-ecid-wtls10\0"; |
| 2739 |
pub const NID_wap_wsg_idm_ecid_wtls10: i32 = 743; |
| 2740 |
pub const SN_wap_wsg_idm_ecid_wtls11: &[u8; 24] = b"wap-wsg-idm-ecid-wtls11\0"; |
| 2741 |
pub const NID_wap_wsg_idm_ecid_wtls11: i32 = 744; |
| 2742 |
pub const SN_wap_wsg_idm_ecid_wtls12: &[u8; 24] = b"wap-wsg-idm-ecid-wtls12\0"; |
| 2743 |
pub const NID_wap_wsg_idm_ecid_wtls12: i32 = 745; |
| 2744 |
pub const SN_any_policy: &[u8; 10] = b"anyPolicy\0"; |
| 2745 |
pub const LN_any_policy: &[u8; 18] = b"X509v3 Any Policy\0"; |
| 2746 |
pub const NID_any_policy: i32 = 746; |
| 2747 |
pub const SN_policy_mappings: &[u8; 15] = b"policyMappings\0"; |
| 2748 |
pub const LN_policy_mappings: &[u8; 23] = b"X509v3 Policy Mappings\0"; |
| 2749 |
pub const NID_policy_mappings: i32 = 747; |
| 2750 |
pub const SN_inhibit_any_policy: &[u8; 17] = b"inhibitAnyPolicy\0"; |
| 2751 |
pub const LN_inhibit_any_policy: &[u8; 26] = b"X509v3 Inhibit Any Policy\0"; |
| 2752 |
pub const NID_inhibit_any_policy: i32 = 748; |
| 2753 |
pub const SN_ipsec3: &[u8; 14] = b"Oakley-EC2N-3\0"; |
| 2754 |
pub const LN_ipsec3: &[u8; 7] = b"ipsec3\0"; |
| 2755 |
pub const NID_ipsec3: i32 = 749; |
| 2756 |
pub const SN_ipsec4: &[u8; 14] = b"Oakley-EC2N-4\0"; |
| 2757 |
pub const LN_ipsec4: &[u8; 7] = b"ipsec4\0"; |
| 2758 |
pub const NID_ipsec4: i32 = 750; |
| 2759 |
pub const SN_camellia_128_cbc: &[u8; 17] = b"CAMELLIA-128-CBC\0"; |
| 2760 |
pub const LN_camellia_128_cbc: &[u8; 17] = b"camellia-128-cbc\0"; |
| 2761 |
pub const NID_camellia_128_cbc: i32 = 751; |
| 2762 |
pub const SN_camellia_192_cbc: &[u8; 17] = b"CAMELLIA-192-CBC\0"; |
| 2763 |
pub const LN_camellia_192_cbc: &[u8; 17] = b"camellia-192-cbc\0"; |
| 2764 |
pub const NID_camellia_192_cbc: i32 = 752; |
| 2765 |
pub const SN_camellia_256_cbc: &[u8; 17] = b"CAMELLIA-256-CBC\0"; |
| 2766 |
pub const LN_camellia_256_cbc: &[u8; 17] = b"camellia-256-cbc\0"; |
| 2767 |
pub const NID_camellia_256_cbc: i32 = 753; |
| 2768 |
pub const SN_camellia_128_ecb: &[u8; 17] = b"CAMELLIA-128-ECB\0"; |
| 2769 |
pub const LN_camellia_128_ecb: &[u8; 17] = b"camellia-128-ecb\0"; |
| 2770 |
pub const NID_camellia_128_ecb: i32 = 754; |
| 2771 |
pub const SN_camellia_192_ecb: &[u8; 17] = b"CAMELLIA-192-ECB\0"; |
| 2772 |
pub const LN_camellia_192_ecb: &[u8; 17] = b"camellia-192-ecb\0"; |
| 2773 |
pub const NID_camellia_192_ecb: i32 = 755; |
| 2774 |
pub const SN_camellia_256_ecb: &[u8; 17] = b"CAMELLIA-256-ECB\0"; |
| 2775 |
pub const LN_camellia_256_ecb: &[u8; 17] = b"camellia-256-ecb\0"; |
| 2776 |
pub const NID_camellia_256_ecb: i32 = 756; |
| 2777 |
pub const SN_camellia_128_cfb128: &[u8; 17] = b"CAMELLIA-128-CFB\0"; |
| 2778 |
pub const LN_camellia_128_cfb128: &[u8; 17] = b"camellia-128-cfb\0"; |
| 2779 |
pub const NID_camellia_128_cfb128: i32 = 757; |
| 2780 |
pub const SN_camellia_192_cfb128: &[u8; 17] = b"CAMELLIA-192-CFB\0"; |
| 2781 |
pub const LN_camellia_192_cfb128: &[u8; 17] = b"camellia-192-cfb\0"; |
| 2782 |
pub const NID_camellia_192_cfb128: i32 = 758; |
| 2783 |
pub const SN_camellia_256_cfb128: &[u8; 17] = b"CAMELLIA-256-CFB\0"; |
| 2784 |
pub const LN_camellia_256_cfb128: &[u8; 17] = b"camellia-256-cfb\0"; |
| 2785 |
pub const NID_camellia_256_cfb128: i32 = 759; |
| 2786 |
pub const SN_camellia_128_cfb1: &[u8; 18] = b"CAMELLIA-128-CFB1\0"; |
| 2787 |
pub const LN_camellia_128_cfb1: &[u8; 18] = b"camellia-128-cfb1\0"; |
| 2788 |
pub const NID_camellia_128_cfb1: i32 = 760; |
| 2789 |
pub const SN_camellia_192_cfb1: &[u8; 18] = b"CAMELLIA-192-CFB1\0"; |
| 2790 |
pub const LN_camellia_192_cfb1: &[u8; 18] = b"camellia-192-cfb1\0"; |
| 2791 |
pub const NID_camellia_192_cfb1: i32 = 761; |
| 2792 |
pub const SN_camellia_256_cfb1: &[u8; 18] = b"CAMELLIA-256-CFB1\0"; |
| 2793 |
pub const LN_camellia_256_cfb1: &[u8; 18] = b"camellia-256-cfb1\0"; |
| 2794 |
pub const NID_camellia_256_cfb1: i32 = 762; |
| 2795 |
pub const SN_camellia_128_cfb8: &[u8; 18] = b"CAMELLIA-128-CFB8\0"; |
| 2796 |
pub const LN_camellia_128_cfb8: &[u8; 18] = b"camellia-128-cfb8\0"; |
| 2797 |
pub const NID_camellia_128_cfb8: i32 = 763; |
| 2798 |
pub const SN_camellia_192_cfb8: &[u8; 18] = b"CAMELLIA-192-CFB8\0"; |
| 2799 |
pub const LN_camellia_192_cfb8: &[u8; 18] = b"camellia-192-cfb8\0"; |
| 2800 |
pub const NID_camellia_192_cfb8: i32 = 764; |
| 2801 |
pub const SN_camellia_256_cfb8: &[u8; 18] = b"CAMELLIA-256-CFB8\0"; |
| 2802 |
pub const LN_camellia_256_cfb8: &[u8; 18] = b"camellia-256-cfb8\0"; |
| 2803 |
pub const NID_camellia_256_cfb8: i32 = 765; |
| 2804 |
pub const SN_camellia_128_ofb128: &[u8; 17] = b"CAMELLIA-128-OFB\0"; |
| 2805 |
pub const LN_camellia_128_ofb128: &[u8; 17] = b"camellia-128-ofb\0"; |
| 2806 |
pub const NID_camellia_128_ofb128: i32 = 766; |
| 2807 |
pub const SN_camellia_192_ofb128: &[u8; 17] = b"CAMELLIA-192-OFB\0"; |
| 2808 |
pub const LN_camellia_192_ofb128: &[u8; 17] = b"camellia-192-ofb\0"; |
| 2809 |
pub const NID_camellia_192_ofb128: i32 = 767; |
| 2810 |
pub const SN_camellia_256_ofb128: &[u8; 17] = b"CAMELLIA-256-OFB\0"; |
| 2811 |
pub const LN_camellia_256_ofb128: &[u8; 17] = b"camellia-256-ofb\0"; |
| 2812 |
pub const NID_camellia_256_ofb128: i32 = 768; |
| 2813 |
pub const SN_subject_directory_attributes: &[u8; 27] = b"subjectDirectoryAttributes\0"; |
| 2814 |
pub const LN_subject_directory_attributes: &[u8; 36] = b"X509v3 Subject Directory Attributes\0"; |
| 2815 |
pub const NID_subject_directory_attributes: i32 = 769; |
| 2816 |
pub const SN_issuing_distribution_point: &[u8; 25] = b"issuingDistributionPoint\0"; |
| 2817 |
pub const LN_issuing_distribution_point: &[u8; 34] = b"X509v3 Issuing Distribution Point\0"; |
| 2818 |
pub const NID_issuing_distribution_point: i32 = 770; |
| 2819 |
pub const SN_certificate_issuer: &[u8; 18] = b"certificateIssuer\0"; |
| 2820 |
pub const LN_certificate_issuer: &[u8; 26] = b"X509v3 Certificate Issuer\0"; |
| 2821 |
pub const NID_certificate_issuer: i32 = 771; |
| 2822 |
pub const SN_kisa: &[u8; 5] = b"KISA\0"; |
| 2823 |
pub const LN_kisa: &[u8; 5] = b"kisa\0"; |
| 2824 |
pub const NID_kisa: i32 = 773; |
| 2825 |
pub const SN_seed_ecb: &[u8; 9] = b"SEED-ECB\0"; |
| 2826 |
pub const LN_seed_ecb: &[u8; 9] = b"seed-ecb\0"; |
| 2827 |
pub const NID_seed_ecb: i32 = 776; |
| 2828 |
pub const SN_seed_cbc: &[u8; 9] = b"SEED-CBC\0"; |
| 2829 |
pub const LN_seed_cbc: &[u8; 9] = b"seed-cbc\0"; |
| 2830 |
pub const NID_seed_cbc: i32 = 777; |
| 2831 |
pub const SN_seed_ofb128: &[u8; 9] = b"SEED-OFB\0"; |
| 2832 |
pub const LN_seed_ofb128: &[u8; 9] = b"seed-ofb\0"; |
| 2833 |
pub const NID_seed_ofb128: i32 = 778; |
| 2834 |
pub const SN_seed_cfb128: &[u8; 9] = b"SEED-CFB\0"; |
| 2835 |
pub const LN_seed_cfb128: &[u8; 9] = b"seed-cfb\0"; |
| 2836 |
pub const NID_seed_cfb128: i32 = 779; |
| 2837 |
pub const SN_hmac_md5: &[u8; 9] = b"HMAC-MD5\0"; |
| 2838 |
pub const LN_hmac_md5: &[u8; 9] = b"hmac-md5\0"; |
| 2839 |
pub const NID_hmac_md5: i32 = 780; |
| 2840 |
pub const SN_hmac_sha1: &[u8; 10] = b"HMAC-SHA1\0"; |
| 2841 |
pub const LN_hmac_sha1: &[u8; 10] = b"hmac-sha1\0"; |
| 2842 |
pub const NID_hmac_sha1: i32 = 781; |
| 2843 |
pub const SN_id_PasswordBasedMAC: &[u8; 20] = b"id-PasswordBasedMAC\0"; |
| 2844 |
pub const LN_id_PasswordBasedMAC: &[u8; 19] = b"password based MAC\0"; |
| 2845 |
pub const NID_id_PasswordBasedMAC: i32 = 782; |
| 2846 |
pub const SN_id_DHBasedMac: &[u8; 14] = b"id-DHBasedMac\0"; |
| 2847 |
pub const LN_id_DHBasedMac: &[u8; 25] = b"Diffie-Hellman based MAC\0"; |
| 2848 |
pub const NID_id_DHBasedMac: i32 = 783; |
| 2849 |
pub const SN_id_it_suppLangTags: &[u8; 19] = b"id-it-suppLangTags\0"; |
| 2850 |
pub const NID_id_it_suppLangTags: i32 = 784; |
| 2851 |
pub const SN_caRepository: &[u8; 13] = b"caRepository\0"; |
| 2852 |
pub const LN_caRepository: &[u8; 14] = b"CA Repository\0"; |
| 2853 |
pub const NID_caRepository: i32 = 785; |
| 2854 |
pub const SN_id_smime_ct_compressedData: &[u8; 27] = b"id-smime-ct-compressedData\0"; |
| 2855 |
pub const NID_id_smime_ct_compressedData: i32 = 786; |
| 2856 |
pub const SN_id_ct_asciiTextWithCRLF: &[u8; 24] = b"id-ct-asciiTextWithCRLF\0"; |
| 2857 |
pub const NID_id_ct_asciiTextWithCRLF: i32 = 787; |
| 2858 |
pub const SN_id_aes128_wrap: &[u8; 15] = b"id-aes128-wrap\0"; |
| 2859 |
pub const NID_id_aes128_wrap: i32 = 788; |
| 2860 |
pub const SN_id_aes192_wrap: &[u8; 15] = b"id-aes192-wrap\0"; |
| 2861 |
pub const NID_id_aes192_wrap: i32 = 789; |
| 2862 |
pub const SN_id_aes256_wrap: &[u8; 15] = b"id-aes256-wrap\0"; |
| 2863 |
pub const NID_id_aes256_wrap: i32 = 790; |
| 2864 |
pub const SN_ecdsa_with_Recommended: &[u8; 23] = b"ecdsa-with-Recommended\0"; |
| 2865 |
pub const NID_ecdsa_with_Recommended: i32 = 791; |
| 2866 |
pub const SN_ecdsa_with_Specified: &[u8; 21] = b"ecdsa-with-Specified\0"; |
| 2867 |
pub const NID_ecdsa_with_Specified: i32 = 792; |
| 2868 |
pub const SN_ecdsa_with_SHA224: &[u8; 18] = b"ecdsa-with-SHA224\0"; |
| 2869 |
pub const NID_ecdsa_with_SHA224: i32 = 793; |
| 2870 |
pub const SN_ecdsa_with_SHA256: &[u8; 18] = b"ecdsa-with-SHA256\0"; |
| 2871 |
pub const NID_ecdsa_with_SHA256: i32 = 794; |
| 2872 |
pub const SN_ecdsa_with_SHA384: &[u8; 18] = b"ecdsa-with-SHA384\0"; |
| 2873 |
pub const NID_ecdsa_with_SHA384: i32 = 795; |
| 2874 |
pub const SN_ecdsa_with_SHA512: &[u8; 18] = b"ecdsa-with-SHA512\0"; |
| 2875 |
pub const NID_ecdsa_with_SHA512: i32 = 796; |
| 2876 |
pub const LN_hmacWithMD5: &[u8; 12] = b"hmacWithMD5\0"; |
| 2877 |
pub const NID_hmacWithMD5: i32 = 797; |
| 2878 |
pub const LN_hmacWithSHA224: &[u8; 15] = b"hmacWithSHA224\0"; |
| 2879 |
pub const NID_hmacWithSHA224: i32 = 798; |
| 2880 |
pub const LN_hmacWithSHA256: &[u8; 15] = b"hmacWithSHA256\0"; |
| 2881 |
pub const NID_hmacWithSHA256: i32 = 799; |
| 2882 |
pub const LN_hmacWithSHA384: &[u8; 15] = b"hmacWithSHA384\0"; |
| 2883 |
pub const NID_hmacWithSHA384: i32 = 800; |
| 2884 |
pub const LN_hmacWithSHA512: &[u8; 15] = b"hmacWithSHA512\0"; |
| 2885 |
pub const NID_hmacWithSHA512: i32 = 801; |
| 2886 |
pub const SN_dsa_with_SHA224: &[u8; 16] = b"dsa_with_SHA224\0"; |
| 2887 |
pub const NID_dsa_with_SHA224: i32 = 802; |
| 2888 |
pub const SN_dsa_with_SHA256: &[u8; 16] = b"dsa_with_SHA256\0"; |
| 2889 |
pub const NID_dsa_with_SHA256: i32 = 803; |
| 2890 |
pub const SN_whirlpool: &[u8; 10] = b"whirlpool\0"; |
| 2891 |
pub const NID_whirlpool: i32 = 804; |
| 2892 |
pub const SN_cryptopro: &[u8; 10] = b"cryptopro\0"; |
| 2893 |
pub const NID_cryptopro: i32 = 805; |
| 2894 |
pub const SN_cryptocom: &[u8; 10] = b"cryptocom\0"; |
| 2895 |
pub const NID_cryptocom: i32 = 806; |
| 2896 |
pub const SN_id_GostR3411_94_with_GostR3410_2001: &[u8; 36] = |
| 2897 |
b"id-GostR3411-94-with-GostR3410-2001\0"; |
| 2898 |
pub const LN_id_GostR3411_94_with_GostR3410_2001: &[u8; 39] = |
| 2899 |
b"GOST R 34.11-94 with GOST R 34.10-2001\0"; |
| 2900 |
pub const NID_id_GostR3411_94_with_GostR3410_2001: i32 = 807; |
| 2901 |
pub const SN_id_GostR3411_94_with_GostR3410_94: &[u8; 34] = b"id-GostR3411-94-with-GostR3410-94\0"; |
| 2902 |
pub const LN_id_GostR3411_94_with_GostR3410_94: &[u8; 37] = |
| 2903 |
b"GOST R 34.11-94 with GOST R 34.10-94\0"; |
| 2904 |
pub const NID_id_GostR3411_94_with_GostR3410_94: i32 = 808; |
| 2905 |
pub const SN_id_GostR3411_94: &[u8; 10] = b"md_gost94\0"; |
| 2906 |
pub const LN_id_GostR3411_94: &[u8; 16] = b"GOST R 34.11-94\0"; |
| 2907 |
pub const NID_id_GostR3411_94: i32 = 809; |
| 2908 |
pub const SN_id_HMACGostR3411_94: &[u8; 20] = b"id-HMACGostR3411-94\0"; |
| 2909 |
pub const LN_id_HMACGostR3411_94: &[u8; 19] = b"HMAC GOST 34.11-94\0"; |
| 2910 |
pub const NID_id_HMACGostR3411_94: i32 = 810; |
| 2911 |
pub const SN_id_GostR3410_2001: &[u8; 9] = b"gost2001\0"; |
| 2912 |
pub const LN_id_GostR3410_2001: &[u8; 18] = b"GOST R 34.10-2001\0"; |
| 2913 |
pub const NID_id_GostR3410_2001: i32 = 811; |
| 2914 |
pub const SN_id_GostR3410_94: &[u8; 7] = b"gost94\0"; |
| 2915 |
pub const LN_id_GostR3410_94: &[u8; 16] = b"GOST R 34.10-94\0"; |
| 2916 |
pub const NID_id_GostR3410_94: i32 = 812; |
| 2917 |
pub const SN_id_Gost28147_89: &[u8; 7] = b"gost89\0"; |
| 2918 |
pub const LN_id_Gost28147_89: &[u8; 14] = b"GOST 28147-89\0"; |
| 2919 |
pub const NID_id_Gost28147_89: i32 = 813; |
| 2920 |
pub const SN_gost89_cnt: &[u8; 11] = b"gost89-cnt\0"; |
| 2921 |
pub const NID_gost89_cnt: i32 = 814; |
| 2922 |
pub const SN_id_Gost28147_89_MAC: &[u8; 9] = b"gost-mac\0"; |
| 2923 |
pub const LN_id_Gost28147_89_MAC: &[u8; 18] = b"GOST 28147-89 MAC\0"; |
| 2924 |
pub const NID_id_Gost28147_89_MAC: i32 = 815; |
| 2925 |
pub const SN_id_GostR3411_94_prf: &[u8; 17] = b"prf-gostr3411-94\0"; |
| 2926 |
pub const LN_id_GostR3411_94_prf: &[u8; 20] = b"GOST R 34.11-94 PRF\0"; |
| 2927 |
pub const NID_id_GostR3411_94_prf: i32 = 816; |
| 2928 |
pub const SN_id_GostR3410_2001DH: &[u8; 20] = b"id-GostR3410-2001DH\0"; |
| 2929 |
pub const LN_id_GostR3410_2001DH: &[u8; 21] = b"GOST R 34.10-2001 DH\0"; |
| 2930 |
pub const NID_id_GostR3410_2001DH: i32 = 817; |
| 2931 |
pub const SN_id_GostR3410_94DH: &[u8; 18] = b"id-GostR3410-94DH\0"; |
| 2932 |
pub const LN_id_GostR3410_94DH: &[u8; 19] = b"GOST R 34.10-94 DH\0"; |
| 2933 |
pub const NID_id_GostR3410_94DH: i32 = 818; |
| 2934 |
pub const SN_id_Gost28147_89_CryptoPro_KeyMeshing: &[u8; 37] = |
| 2935 |
b"id-Gost28147-89-CryptoPro-KeyMeshing\0"; |
| 2936 |
pub const NID_id_Gost28147_89_CryptoPro_KeyMeshing: i32 = 819; |
| 2937 |
pub const SN_id_Gost28147_89_None_KeyMeshing: &[u8; 32] = b"id-Gost28147-89-None-KeyMeshing\0"; |
| 2938 |
pub const NID_id_Gost28147_89_None_KeyMeshing: i32 = 820; |
| 2939 |
pub const SN_id_GostR3411_94_TestParamSet: &[u8; 29] = b"id-GostR3411-94-TestParamSet\0"; |
| 2940 |
pub const NID_id_GostR3411_94_TestParamSet: i32 = 821; |
| 2941 |
pub const SN_id_GostR3411_94_CryptoProParamSet: &[u8; 34] = b"id-GostR3411-94-CryptoProParamSet\0"; |
| 2942 |
pub const NID_id_GostR3411_94_CryptoProParamSet: i32 = 822; |
| 2943 |
pub const SN_id_Gost28147_89_TestParamSet: &[u8; 29] = b"id-Gost28147-89-TestParamSet\0"; |
| 2944 |
pub const NID_id_Gost28147_89_TestParamSet: i32 = 823; |
| 2945 |
pub const SN_id_Gost28147_89_CryptoPro_A_ParamSet: &[u8; 37] = |
| 2946 |
b"id-Gost28147-89-CryptoPro-A-ParamSet\0"; |
| 2947 |
pub const NID_id_Gost28147_89_CryptoPro_A_ParamSet: i32 = 824; |
| 2948 |
pub const SN_id_Gost28147_89_CryptoPro_B_ParamSet: &[u8; 37] = |
| 2949 |
b"id-Gost28147-89-CryptoPro-B-ParamSet\0"; |
| 2950 |
pub const NID_id_Gost28147_89_CryptoPro_B_ParamSet: i32 = 825; |
| 2951 |
pub const SN_id_Gost28147_89_CryptoPro_C_ParamSet: &[u8; 37] = |
| 2952 |
b"id-Gost28147-89-CryptoPro-C-ParamSet\0"; |
| 2953 |
pub const NID_id_Gost28147_89_CryptoPro_C_ParamSet: i32 = 826; |
| 2954 |
pub const SN_id_Gost28147_89_CryptoPro_D_ParamSet: &[u8; 37] = |
| 2955 |
b"id-Gost28147-89-CryptoPro-D-ParamSet\0"; |
| 2956 |
pub const NID_id_Gost28147_89_CryptoPro_D_ParamSet: i32 = 827; |
| 2957 |
pub const SN_id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet: &[u8; 45] = |
| 2958 |
b"id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet\0"; |
| 2959 |
pub const NID_id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet: i32 = 828; |
| 2960 |
pub const SN_id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet: &[u8; 45] = |
| 2961 |
b"id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet\0"; |
| 2962 |
pub const NID_id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet: i32 = 829; |
| 2963 |
pub const SN_id_Gost28147_89_CryptoPro_RIC_1_ParamSet: &[u8; 41] = |
| 2964 |
b"id-Gost28147-89-CryptoPro-RIC-1-ParamSet\0"; |
| 2965 |
pub const NID_id_Gost28147_89_CryptoPro_RIC_1_ParamSet: i32 = 830; |
| 2966 |
pub const SN_id_GostR3410_94_TestParamSet: &[u8; 29] = b"id-GostR3410-94-TestParamSet\0"; |
| 2967 |
pub const NID_id_GostR3410_94_TestParamSet: i32 = 831; |
| 2968 |
pub const SN_id_GostR3410_94_CryptoPro_A_ParamSet: &[u8; 37] = |
| 2969 |
b"id-GostR3410-94-CryptoPro-A-ParamSet\0"; |
| 2970 |
pub const NID_id_GostR3410_94_CryptoPro_A_ParamSet: i32 = 832; |
| 2971 |
pub const SN_id_GostR3410_94_CryptoPro_B_ParamSet: &[u8; 37] = |
| 2972 |
b"id-GostR3410-94-CryptoPro-B-ParamSet\0"; |
| 2973 |
pub const NID_id_GostR3410_94_CryptoPro_B_ParamSet: i32 = 833; |
| 2974 |
pub const SN_id_GostR3410_94_CryptoPro_C_ParamSet: &[u8; 37] = |
| 2975 |
b"id-GostR3410-94-CryptoPro-C-ParamSet\0"; |
| 2976 |
pub const NID_id_GostR3410_94_CryptoPro_C_ParamSet: i32 = 834; |
| 2977 |
pub const SN_id_GostR3410_94_CryptoPro_D_ParamSet: &[u8; 37] = |
| 2978 |
b"id-GostR3410-94-CryptoPro-D-ParamSet\0"; |
| 2979 |
pub const NID_id_GostR3410_94_CryptoPro_D_ParamSet: i32 = 835; |
| 2980 |
pub const SN_id_GostR3410_94_CryptoPro_XchA_ParamSet: &[u8; 40] = |
| 2981 |
b"id-GostR3410-94-CryptoPro-XchA-ParamSet\0"; |
| 2982 |
pub const NID_id_GostR3410_94_CryptoPro_XchA_ParamSet: i32 = 836; |
| 2983 |
pub const SN_id_GostR3410_94_CryptoPro_XchB_ParamSet: &[u8; 40] = |
| 2984 |
b"id-GostR3410-94-CryptoPro-XchB-ParamSet\0"; |
| 2985 |
pub const NID_id_GostR3410_94_CryptoPro_XchB_ParamSet: i32 = 837; |
| 2986 |
pub const SN_id_GostR3410_94_CryptoPro_XchC_ParamSet: &[u8; 40] = |
| 2987 |
b"id-GostR3410-94-CryptoPro-XchC-ParamSet\0"; |
| 2988 |
pub const NID_id_GostR3410_94_CryptoPro_XchC_ParamSet: i32 = 838; |
| 2989 |
pub const SN_id_GostR3410_2001_TestParamSet: &[u8; 31] = b"id-GostR3410-2001-TestParamSet\0"; |
| 2990 |
pub const NID_id_GostR3410_2001_TestParamSet: i32 = 839; |
| 2991 |
pub const SN_id_GostR3410_2001_CryptoPro_A_ParamSet: &[u8; 39] = |
| 2992 |
b"id-GostR3410-2001-CryptoPro-A-ParamSet\0"; |
| 2993 |
pub const NID_id_GostR3410_2001_CryptoPro_A_ParamSet: i32 = 840; |
| 2994 |
pub const SN_id_GostR3410_2001_CryptoPro_B_ParamSet: &[u8; 39] = |
| 2995 |
b"id-GostR3410-2001-CryptoPro-B-ParamSet\0"; |
| 2996 |
pub const NID_id_GostR3410_2001_CryptoPro_B_ParamSet: i32 = 841; |
| 2997 |
pub const SN_id_GostR3410_2001_CryptoPro_C_ParamSet: &[u8; 39] = |
| 2998 |
b"id-GostR3410-2001-CryptoPro-C-ParamSet\0"; |
| 2999 |
pub const NID_id_GostR3410_2001_CryptoPro_C_ParamSet: i32 = 842; |
| 3000 |
pub const SN_id_GostR3410_2001_CryptoPro_XchA_ParamSet: &[u8; 42] = |
| 3001 |
b"id-GostR3410-2001-CryptoPro-XchA-ParamSet\0"; |
| 3002 |
pub const NID_id_GostR3410_2001_CryptoPro_XchA_ParamSet: i32 = 843; |
| 3003 |
pub const SN_id_GostR3410_2001_CryptoPro_XchB_ParamSet: &[u8; 42] = |
| 3004 |
b"id-GostR3410-2001-CryptoPro-XchB-ParamSet\0"; |
| 3005 |
pub const NID_id_GostR3410_2001_CryptoPro_XchB_ParamSet: i32 = 844; |
| 3006 |
pub const SN_id_GostR3410_94_a: &[u8; 18] = b"id-GostR3410-94-a\0"; |
| 3007 |
pub const NID_id_GostR3410_94_a: i32 = 845; |
| 3008 |
pub const SN_id_GostR3410_94_aBis: &[u8; 21] = b"id-GostR3410-94-aBis\0"; |
| 3009 |
pub const NID_id_GostR3410_94_aBis: i32 = 846; |
| 3010 |
pub const SN_id_GostR3410_94_b: &[u8; 18] = b"id-GostR3410-94-b\0"; |
| 3011 |
pub const NID_id_GostR3410_94_b: i32 = 847; |
| 3012 |
pub const SN_id_GostR3410_94_bBis: &[u8; 21] = b"id-GostR3410-94-bBis\0"; |
| 3013 |
pub const NID_id_GostR3410_94_bBis: i32 = 848; |
| 3014 |
pub const SN_id_Gost28147_89_cc: &[u8; 19] = b"id-Gost28147-89-cc\0"; |
| 3015 |
pub const LN_id_Gost28147_89_cc: &[u8; 33] = b"GOST 28147-89 Cryptocom ParamSet\0"; |
| 3016 |
pub const NID_id_Gost28147_89_cc: i32 = 849; |
| 3017 |
pub const SN_id_GostR3410_94_cc: &[u8; 9] = b"gost94cc\0"; |
| 3018 |
pub const LN_id_GostR3410_94_cc: &[u8; 24] = b"GOST 34.10-94 Cryptocom\0"; |
| 3019 |
pub const NID_id_GostR3410_94_cc: i32 = 850; |
| 3020 |
pub const SN_id_GostR3410_2001_cc: &[u8; 11] = b"gost2001cc\0"; |
| 3021 |
pub const LN_id_GostR3410_2001_cc: &[u8; 26] = b"GOST 34.10-2001 Cryptocom\0"; |
| 3022 |
pub const NID_id_GostR3410_2001_cc: i32 = 851; |
| 3023 |
pub const SN_id_GostR3411_94_with_GostR3410_94_cc: &[u8; 37] = |
| 3024 |
b"id-GostR3411-94-with-GostR3410-94-cc\0"; |
| 3025 |
pub const LN_id_GostR3411_94_with_GostR3410_94_cc: &[u8; 47] = |
| 3026 |
b"GOST R 34.11-94 with GOST R 34.10-94 Cryptocom\0"; |
| 3027 |
pub const NID_id_GostR3411_94_with_GostR3410_94_cc: i32 = 852; |
| 3028 |
pub const SN_id_GostR3411_94_with_GostR3410_2001_cc: &[u8; 39] = |
| 3029 |
b"id-GostR3411-94-with-GostR3410-2001-cc\0"; |
| 3030 |
pub const LN_id_GostR3411_94_with_GostR3410_2001_cc: &[u8; 49] = |
| 3031 |
b"GOST R 34.11-94 with GOST R 34.10-2001 Cryptocom\0"; |
| 3032 |
pub const NID_id_GostR3411_94_with_GostR3410_2001_cc: i32 = 853; |
| 3033 |
pub const SN_id_GostR3410_2001_ParamSet_cc: &[u8; 30] = b"id-GostR3410-2001-ParamSet-cc\0"; |
| 3034 |
pub const LN_id_GostR3410_2001_ParamSet_cc: &[u8; 41] = |
| 3035 |
b"GOST R 3410-2001 Parameter Set Cryptocom\0"; |
| 3036 |
pub const NID_id_GostR3410_2001_ParamSet_cc: i32 = 854; |
| 3037 |
pub const SN_hmac: &[u8; 5] = b"HMAC\0"; |
| 3038 |
pub const LN_hmac: &[u8; 5] = b"hmac\0"; |
| 3039 |
pub const NID_hmac: i32 = 855; |
| 3040 |
pub const SN_LocalKeySet: &[u8; 12] = b"LocalKeySet\0"; |
| 3041 |
pub const LN_LocalKeySet: &[u8; 24] = b"Microsoft Local Key set\0"; |
| 3042 |
pub const NID_LocalKeySet: i32 = 856; |
| 3043 |
pub const SN_freshest_crl: &[u8; 12] = b"freshestCRL\0"; |
| 3044 |
pub const LN_freshest_crl: &[u8; 20] = b"X509v3 Freshest CRL\0"; |
| 3045 |
pub const NID_freshest_crl: i32 = 857; |
| 3046 |
pub const SN_id_on_permanentIdentifier: &[u8; 26] = b"id-on-permanentIdentifier\0"; |
| 3047 |
pub const LN_id_on_permanentIdentifier: &[u8; 21] = b"Permanent Identifier\0"; |
| 3048 |
pub const NID_id_on_permanentIdentifier: i32 = 858; |
| 3049 |
pub const LN_searchGuide: &[u8; 12] = b"searchGuide\0"; |
| 3050 |
pub const NID_searchGuide: i32 = 859; |
| 3051 |
pub const LN_businessCategory: &[u8; 17] = b"businessCategory\0"; |
| 3052 |
pub const NID_businessCategory: i32 = 860; |
| 3053 |
pub const LN_postalAddress: &[u8; 14] = b"postalAddress\0"; |
| 3054 |
pub const NID_postalAddress: i32 = 861; |
| 3055 |
pub const LN_postOfficeBox: &[u8; 14] = b"postOfficeBox\0"; |
| 3056 |
pub const NID_postOfficeBox: i32 = 862; |
| 3057 |
pub const LN_physicalDeliveryOfficeName: &[u8; 27] = b"physicalDeliveryOfficeName\0"; |
| 3058 |
pub const NID_physicalDeliveryOfficeName: i32 = 863; |
| 3059 |
pub const LN_telephoneNumber: &[u8; 16] = b"telephoneNumber\0"; |
| 3060 |
pub const NID_telephoneNumber: i32 = 864; |
| 3061 |
pub const LN_telexNumber: &[u8; 12] = b"telexNumber\0"; |
| 3062 |
pub const NID_telexNumber: i32 = 865; |
| 3063 |
pub const LN_teletexTerminalIdentifier: &[u8; 26] = b"teletexTerminalIdentifier\0"; |
| 3064 |
pub const NID_teletexTerminalIdentifier: i32 = 866; |
| 3065 |
pub const LN_facsimileTelephoneNumber: &[u8; 25] = b"facsimileTelephoneNumber\0"; |
| 3066 |
pub const NID_facsimileTelephoneNumber: i32 = 867; |
| 3067 |
pub const LN_x121Address: &[u8; 12] = b"x121Address\0"; |
| 3068 |
pub const NID_x121Address: i32 = 868; |
| 3069 |
pub const LN_internationaliSDNNumber: &[u8; 24] = b"internationaliSDNNumber\0"; |
| 3070 |
pub const NID_internationaliSDNNumber: i32 = 869; |
| 3071 |
pub const LN_registeredAddress: &[u8; 18] = b"registeredAddress\0"; |
| 3072 |
pub const NID_registeredAddress: i32 = 870; |
| 3073 |
pub const LN_destinationIndicator: &[u8; 21] = b"destinationIndicator\0"; |
| 3074 |
pub const NID_destinationIndicator: i32 = 871; |
| 3075 |
pub const LN_preferredDeliveryMethod: &[u8; 24] = b"preferredDeliveryMethod\0"; |
| 3076 |
pub const NID_preferredDeliveryMethod: i32 = 872; |
| 3077 |
pub const LN_presentationAddress: &[u8; 20] = b"presentationAddress\0"; |
| 3078 |
pub const NID_presentationAddress: i32 = 873; |
| 3079 |
pub const LN_supportedApplicationContext: &[u8; 28] = b"supportedApplicationContext\0"; |
| 3080 |
pub const NID_supportedApplicationContext: i32 = 874; |
| 3081 |
pub const SN_member: &[u8; 7] = b"member\0"; |
| 3082 |
pub const NID_member: i32 = 875; |
| 3083 |
pub const SN_owner: &[u8; 6] = b"owner\0"; |
| 3084 |
pub const NID_owner: i32 = 876; |
| 3085 |
pub const LN_roleOccupant: &[u8; 13] = b"roleOccupant\0"; |
| 3086 |
pub const NID_roleOccupant: i32 = 877; |
| 3087 |
pub const SN_seeAlso: &[u8; 8] = b"seeAlso\0"; |
| 3088 |
pub const NID_seeAlso: i32 = 878; |
| 3089 |
pub const LN_userPassword: &[u8; 13] = b"userPassword\0"; |
| 3090 |
pub const NID_userPassword: i32 = 879; |
| 3091 |
pub const LN_userCertificate: &[u8; 16] = b"userCertificate\0"; |
| 3092 |
pub const NID_userCertificate: i32 = 880; |
| 3093 |
pub const LN_cACertificate: &[u8; 14] = b"cACertificate\0"; |
| 3094 |
pub const NID_cACertificate: i32 = 881; |
| 3095 |
pub const LN_authorityRevocationList: &[u8; 24] = b"authorityRevocationList\0"; |
| 3096 |
pub const NID_authorityRevocationList: i32 = 882; |
| 3097 |
pub const LN_certificateRevocationList: &[u8; 26] = b"certificateRevocationList\0"; |
| 3098 |
pub const NID_certificateRevocationList: i32 = 883; |
| 3099 |
pub const LN_crossCertificatePair: &[u8; 21] = b"crossCertificatePair\0"; |
| 3100 |
pub const NID_crossCertificatePair: i32 = 884; |
| 3101 |
pub const LN_enhancedSearchGuide: &[u8; 20] = b"enhancedSearchGuide\0"; |
| 3102 |
pub const NID_enhancedSearchGuide: i32 = 885; |
| 3103 |
pub const LN_protocolInformation: &[u8; 20] = b"protocolInformation\0"; |
| 3104 |
pub const NID_protocolInformation: i32 = 886; |
| 3105 |
pub const LN_distinguishedName: &[u8; 18] = b"distinguishedName\0"; |
| 3106 |
pub const NID_distinguishedName: i32 = 887; |
| 3107 |
pub const LN_uniqueMember: &[u8; 13] = b"uniqueMember\0"; |
| 3108 |
pub const NID_uniqueMember: i32 = 888; |
| 3109 |
pub const LN_houseIdentifier: &[u8; 16] = b"houseIdentifier\0"; |
| 3110 |
pub const NID_houseIdentifier: i32 = 889; |
| 3111 |
pub const LN_supportedAlgorithms: &[u8; 20] = b"supportedAlgorithms\0"; |
| 3112 |
pub const NID_supportedAlgorithms: i32 = 890; |
| 3113 |
pub const LN_deltaRevocationList: &[u8; 20] = b"deltaRevocationList\0"; |
| 3114 |
pub const NID_deltaRevocationList: i32 = 891; |
| 3115 |
pub const SN_dmdName: &[u8; 8] = b"dmdName\0"; |
| 3116 |
pub const NID_dmdName: i32 = 892; |
| 3117 |
pub const SN_id_alg_PWRI_KEK: &[u8; 16] = b"id-alg-PWRI-KEK\0"; |
| 3118 |
pub const NID_id_alg_PWRI_KEK: i32 = 893; |
| 3119 |
pub const SN_cmac: &[u8; 5] = b"CMAC\0"; |
| 3120 |
pub const LN_cmac: &[u8; 5] = b"cmac\0"; |
| 3121 |
pub const NID_cmac: i32 = 894; |
| 3122 |
pub const SN_aes_128_gcm: &[u8; 14] = b"id-aes128-GCM\0"; |
| 3123 |
pub const LN_aes_128_gcm: &[u8; 12] = b"aes-128-gcm\0"; |
| 3124 |
pub const NID_aes_128_gcm: i32 = 895; |
| 3125 |
pub const SN_aes_128_ccm: &[u8; 14] = b"id-aes128-CCM\0"; |
| 3126 |
pub const LN_aes_128_ccm: &[u8; 12] = b"aes-128-ccm\0"; |
| 3127 |
pub const NID_aes_128_ccm: i32 = 896; |
| 3128 |
pub const SN_id_aes128_wrap_pad: &[u8; 19] = b"id-aes128-wrap-pad\0"; |
| 3129 |
pub const NID_id_aes128_wrap_pad: i32 = 897; |
| 3130 |
pub const SN_aes_192_gcm: &[u8; 14] = b"id-aes192-GCM\0"; |
| 3131 |
pub const LN_aes_192_gcm: &[u8; 12] = b"aes-192-gcm\0"; |
| 3132 |
pub const NID_aes_192_gcm: i32 = 898; |
| 3133 |
pub const SN_aes_192_ccm: &[u8; 14] = b"id-aes192-CCM\0"; |
| 3134 |
pub const LN_aes_192_ccm: &[u8; 12] = b"aes-192-ccm\0"; |
| 3135 |
pub const NID_aes_192_ccm: i32 = 899; |
| 3136 |
pub const SN_id_aes192_wrap_pad: &[u8; 19] = b"id-aes192-wrap-pad\0"; |
| 3137 |
pub const NID_id_aes192_wrap_pad: i32 = 900; |
| 3138 |
pub const SN_aes_256_gcm: &[u8; 14] = b"id-aes256-GCM\0"; |
| 3139 |
pub const LN_aes_256_gcm: &[u8; 12] = b"aes-256-gcm\0"; |
| 3140 |
pub const NID_aes_256_gcm: i32 = 901; |
| 3141 |
pub const SN_aes_256_ccm: &[u8; 14] = b"id-aes256-CCM\0"; |
| 3142 |
pub const LN_aes_256_ccm: &[u8; 12] = b"aes-256-ccm\0"; |
| 3143 |
pub const NID_aes_256_ccm: i32 = 902; |
| 3144 |
pub const SN_id_aes256_wrap_pad: &[u8; 19] = b"id-aes256-wrap-pad\0"; |
| 3145 |
pub const NID_id_aes256_wrap_pad: i32 = 903; |
| 3146 |
pub const SN_aes_128_ctr: &[u8; 12] = b"AES-128-CTR\0"; |
| 3147 |
pub const LN_aes_128_ctr: &[u8; 12] = b"aes-128-ctr\0"; |
| 3148 |
pub const NID_aes_128_ctr: i32 = 904; |
| 3149 |
pub const SN_aes_192_ctr: &[u8; 12] = b"AES-192-CTR\0"; |
| 3150 |
pub const LN_aes_192_ctr: &[u8; 12] = b"aes-192-ctr\0"; |
| 3151 |
pub const NID_aes_192_ctr: i32 = 905; |
| 3152 |
pub const SN_aes_256_ctr: &[u8; 12] = b"AES-256-CTR\0"; |
| 3153 |
pub const LN_aes_256_ctr: &[u8; 12] = b"aes-256-ctr\0"; |
| 3154 |
pub const NID_aes_256_ctr: i32 = 906; |
| 3155 |
pub const SN_id_camellia128_wrap: &[u8; 20] = b"id-camellia128-wrap\0"; |
| 3156 |
pub const NID_id_camellia128_wrap: i32 = 907; |
| 3157 |
pub const SN_id_camellia192_wrap: &[u8; 20] = b"id-camellia192-wrap\0"; |
| 3158 |
pub const NID_id_camellia192_wrap: i32 = 908; |
| 3159 |
pub const SN_id_camellia256_wrap: &[u8; 20] = b"id-camellia256-wrap\0"; |
| 3160 |
pub const NID_id_camellia256_wrap: i32 = 909; |
| 3161 |
pub const SN_anyExtendedKeyUsage: &[u8; 20] = b"anyExtendedKeyUsage\0"; |
| 3162 |
pub const LN_anyExtendedKeyUsage: &[u8; 23] = b"Any Extended Key Usage\0"; |
| 3163 |
pub const NID_anyExtendedKeyUsage: i32 = 910; |
| 3164 |
pub const SN_mgf1: &[u8; 5] = b"MGF1\0"; |
| 3165 |
pub const LN_mgf1: &[u8; 5] = b"mgf1\0"; |
| 3166 |
pub const NID_mgf1: i32 = 911; |
| 3167 |
pub const SN_rsassaPss: &[u8; 11] = b"RSASSA-PSS\0"; |
| 3168 |
pub const LN_rsassaPss: &[u8; 10] = b"rsassaPss\0"; |
| 3169 |
pub const NID_rsassaPss: i32 = 912; |
| 3170 |
pub const SN_aes_128_xts: &[u8; 12] = b"AES-128-XTS\0"; |
| 3171 |
pub const LN_aes_128_xts: &[u8; 12] = b"aes-128-xts\0"; |
| 3172 |
pub const NID_aes_128_xts: i32 = 913; |
| 3173 |
pub const SN_aes_256_xts: &[u8; 12] = b"AES-256-XTS\0"; |
| 3174 |
pub const LN_aes_256_xts: &[u8; 12] = b"aes-256-xts\0"; |
| 3175 |
pub const NID_aes_256_xts: i32 = 914; |
| 3176 |
pub const SN_rc4_hmac_md5: &[u8; 13] = b"RC4-HMAC-MD5\0"; |
| 3177 |
pub const LN_rc4_hmac_md5: &[u8; 13] = b"rc4-hmac-md5\0"; |
| 3178 |
pub const NID_rc4_hmac_md5: i32 = 915; |
| 3179 |
pub const SN_aes_128_cbc_hmac_sha1: &[u8; 22] = b"AES-128-CBC-HMAC-SHA1\0"; |
| 3180 |
pub const LN_aes_128_cbc_hmac_sha1: &[u8; 22] = b"aes-128-cbc-hmac-sha1\0"; |
| 3181 |
pub const NID_aes_128_cbc_hmac_sha1: i32 = 916; |
| 3182 |
pub const SN_aes_192_cbc_hmac_sha1: &[u8; 22] = b"AES-192-CBC-HMAC-SHA1\0"; |
| 3183 |
pub const LN_aes_192_cbc_hmac_sha1: &[u8; 22] = b"aes-192-cbc-hmac-sha1\0"; |
| 3184 |
pub const NID_aes_192_cbc_hmac_sha1: i32 = 917; |
| 3185 |
pub const SN_aes_256_cbc_hmac_sha1: &[u8; 22] = b"AES-256-CBC-HMAC-SHA1\0"; |
| 3186 |
pub const LN_aes_256_cbc_hmac_sha1: &[u8; 22] = b"aes-256-cbc-hmac-sha1\0"; |
| 3187 |
pub const NID_aes_256_cbc_hmac_sha1: i32 = 918; |
| 3188 |
pub const SN_rsaesOaep: &[u8; 11] = b"RSAES-OAEP\0"; |
| 3189 |
pub const LN_rsaesOaep: &[u8; 10] = b"rsaesOaep\0"; |
| 3190 |
pub const NID_rsaesOaep: i32 = 919; |
| 3191 |
pub const SN_dhpublicnumber: &[u8; 15] = b"dhpublicnumber\0"; |
| 3192 |
pub const LN_dhpublicnumber: &[u8; 9] = b"X9.42 DH\0"; |
| 3193 |
pub const NID_dhpublicnumber: i32 = 920; |
| 3194 |
pub const SN_brainpoolP160r1: &[u8; 16] = b"brainpoolP160r1\0"; |
| 3195 |
pub const NID_brainpoolP160r1: i32 = 921; |
| 3196 |
pub const SN_brainpoolP160t1: &[u8; 16] = b"brainpoolP160t1\0"; |
| 3197 |
pub const NID_brainpoolP160t1: i32 = 922; |
| 3198 |
pub const SN_brainpoolP192r1: &[u8; 16] = b"brainpoolP192r1\0"; |
| 3199 |
pub const NID_brainpoolP192r1: i32 = 923; |
| 3200 |
pub const SN_brainpoolP192t1: &[u8; 16] = b"brainpoolP192t1\0"; |
| 3201 |
pub const NID_brainpoolP192t1: i32 = 924; |
| 3202 |
pub const SN_brainpoolP224r1: &[u8; 16] = b"brainpoolP224r1\0"; |
| 3203 |
pub const NID_brainpoolP224r1: i32 = 925; |
| 3204 |
pub const SN_brainpoolP224t1: &[u8; 16] = b"brainpoolP224t1\0"; |
| 3205 |
pub const NID_brainpoolP224t1: i32 = 926; |
| 3206 |
pub const SN_brainpoolP256r1: &[u8; 16] = b"brainpoolP256r1\0"; |
| 3207 |
pub const NID_brainpoolP256r1: i32 = 927; |
| 3208 |
pub const SN_brainpoolP256t1: &[u8; 16] = b"brainpoolP256t1\0"; |
| 3209 |
pub const NID_brainpoolP256t1: i32 = 928; |
| 3210 |
pub const SN_brainpoolP320r1: &[u8; 16] = b"brainpoolP320r1\0"; |
| 3211 |
pub const NID_brainpoolP320r1: i32 = 929; |
| 3212 |
pub const SN_brainpoolP320t1: &[u8; 16] = b"brainpoolP320t1\0"; |
| 3213 |
pub const NID_brainpoolP320t1: i32 = 930; |
| 3214 |
pub const SN_brainpoolP384r1: &[u8; 16] = b"brainpoolP384r1\0"; |
| 3215 |
pub const NID_brainpoolP384r1: i32 = 931; |
| 3216 |
pub const SN_brainpoolP384t1: &[u8; 16] = b"brainpoolP384t1\0"; |
| 3217 |
pub const NID_brainpoolP384t1: i32 = 932; |
| 3218 |
pub const SN_brainpoolP512r1: &[u8; 16] = b"brainpoolP512r1\0"; |
| 3219 |
pub const NID_brainpoolP512r1: i32 = 933; |
| 3220 |
pub const SN_brainpoolP512t1: &[u8; 16] = b"brainpoolP512t1\0"; |
| 3221 |
pub const NID_brainpoolP512t1: i32 = 934; |
| 3222 |
pub const SN_pSpecified: &[u8; 11] = b"PSPECIFIED\0"; |
| 3223 |
pub const LN_pSpecified: &[u8; 11] = b"pSpecified\0"; |
| 3224 |
pub const NID_pSpecified: i32 = 935; |
| 3225 |
pub const SN_dhSinglePass_stdDH_sha1kdf_scheme: &[u8; 34] = b"dhSinglePass-stdDH-sha1kdf-scheme\0"; |
| 3226 |
pub const NID_dhSinglePass_stdDH_sha1kdf_scheme: i32 = 936; |
| 3227 |
pub const SN_dhSinglePass_stdDH_sha224kdf_scheme: &[u8; 36] = |
| 3228 |
b"dhSinglePass-stdDH-sha224kdf-scheme\0"; |
| 3229 |
pub const NID_dhSinglePass_stdDH_sha224kdf_scheme: i32 = 937; |
| 3230 |
pub const SN_dhSinglePass_stdDH_sha256kdf_scheme: &[u8; 36] = |
| 3231 |
b"dhSinglePass-stdDH-sha256kdf-scheme\0"; |
| 3232 |
pub const NID_dhSinglePass_stdDH_sha256kdf_scheme: i32 = 938; |
| 3233 |
pub const SN_dhSinglePass_stdDH_sha384kdf_scheme: &[u8; 36] = |
| 3234 |
b"dhSinglePass-stdDH-sha384kdf-scheme\0"; |
| 3235 |
pub const NID_dhSinglePass_stdDH_sha384kdf_scheme: i32 = 939; |
| 3236 |
pub const SN_dhSinglePass_stdDH_sha512kdf_scheme: &[u8; 36] = |
| 3237 |
b"dhSinglePass-stdDH-sha512kdf-scheme\0"; |
| 3238 |
pub const NID_dhSinglePass_stdDH_sha512kdf_scheme: i32 = 940; |
| 3239 |
pub const SN_dhSinglePass_cofactorDH_sha1kdf_scheme: &[u8; 39] = |
| 3240 |
b"dhSinglePass-cofactorDH-sha1kdf-scheme\0"; |
| 3241 |
pub const NID_dhSinglePass_cofactorDH_sha1kdf_scheme: i32 = 941; |
| 3242 |
pub const SN_dhSinglePass_cofactorDH_sha224kdf_scheme: &[u8; 41] = |
| 3243 |
b"dhSinglePass-cofactorDH-sha224kdf-scheme\0"; |
| 3244 |
pub const NID_dhSinglePass_cofactorDH_sha224kdf_scheme: i32 = 942; |
| 3245 |
pub const SN_dhSinglePass_cofactorDH_sha256kdf_scheme: &[u8; 41] = |
| 3246 |
b"dhSinglePass-cofactorDH-sha256kdf-scheme\0"; |
| 3247 |
pub const NID_dhSinglePass_cofactorDH_sha256kdf_scheme: i32 = 943; |
| 3248 |
pub const SN_dhSinglePass_cofactorDH_sha384kdf_scheme: &[u8; 41] = |
| 3249 |
b"dhSinglePass-cofactorDH-sha384kdf-scheme\0"; |
| 3250 |
pub const NID_dhSinglePass_cofactorDH_sha384kdf_scheme: i32 = 944; |
| 3251 |
pub const SN_dhSinglePass_cofactorDH_sha512kdf_scheme: &[u8; 41] = |
| 3252 |
b"dhSinglePass-cofactorDH-sha512kdf-scheme\0"; |
| 3253 |
pub const NID_dhSinglePass_cofactorDH_sha512kdf_scheme: i32 = 945; |
| 3254 |
pub const SN_dh_std_kdf: &[u8; 11] = b"dh-std-kdf\0"; |
| 3255 |
pub const NID_dh_std_kdf: i32 = 946; |
| 3256 |
pub const SN_dh_cofactor_kdf: &[u8; 16] = b"dh-cofactor-kdf\0"; |
| 3257 |
pub const NID_dh_cofactor_kdf: i32 = 947; |
| 3258 |
pub const SN_X25519: &[u8; 7] = b"X25519\0"; |
| 3259 |
pub const NID_X25519: i32 = 948; |
| 3260 |
pub const SN_ED25519: &[u8; 8] = b"ED25519\0"; |
| 3261 |
pub const NID_ED25519: i32 = 949; |
| 3262 |
pub const SN_chacha20_poly1305: &[u8; 18] = b"ChaCha20-Poly1305\0"; |
| 3263 |
pub const LN_chacha20_poly1305: &[u8; 18] = b"chacha20-poly1305\0"; |
| 3264 |
pub const NID_chacha20_poly1305: i32 = 950; |
| 3265 |
pub const SN_kx_rsa: &[u8; 6] = b"KxRSA\0"; |
| 3266 |
pub const LN_kx_rsa: &[u8; 7] = b"kx-rsa\0"; |
| 3267 |
pub const NID_kx_rsa: i32 = 951; |
| 3268 |
pub const SN_kx_ecdhe: &[u8; 8] = b"KxECDHE\0"; |
| 3269 |
pub const LN_kx_ecdhe: &[u8; 9] = b"kx-ecdhe\0"; |
| 3270 |
pub const NID_kx_ecdhe: i32 = 952; |
| 3271 |
pub const SN_kx_psk: &[u8; 6] = b"KxPSK\0"; |
| 3272 |
pub const LN_kx_psk: &[u8; 7] = b"kx-psk\0"; |
| 3273 |
pub const NID_kx_psk: i32 = 953; |
| 3274 |
pub const SN_auth_rsa: &[u8; 8] = b"AuthRSA\0"; |
| 3275 |
pub const LN_auth_rsa: &[u8; 9] = b"auth-rsa\0"; |
| 3276 |
pub const NID_auth_rsa: i32 = 954; |
| 3277 |
pub const SN_auth_ecdsa: &[u8; 10] = b"AuthECDSA\0"; |
| 3278 |
pub const LN_auth_ecdsa: &[u8; 11] = b"auth-ecdsa\0"; |
| 3279 |
pub const NID_auth_ecdsa: i32 = 955; |
| 3280 |
pub const SN_auth_psk: &[u8; 8] = b"AuthPSK\0"; |
| 3281 |
pub const LN_auth_psk: &[u8; 9] = b"auth-psk\0"; |
| 3282 |
pub const NID_auth_psk: i32 = 956; |
| 3283 |
pub const SN_kx_any: &[u8; 6] = b"KxANY\0"; |
| 3284 |
pub const LN_kx_any: &[u8; 7] = b"kx-any\0"; |
| 3285 |
pub const NID_kx_any: i32 = 957; |
| 3286 |
pub const SN_auth_any: &[u8; 8] = b"AuthANY\0"; |
| 3287 |
pub const LN_auth_any: &[u8; 9] = b"auth-any\0"; |
| 3288 |
pub const NID_auth_any: i32 = 958; |
| 3289 |
pub const SN_ED448: &[u8; 6] = b"ED448\0"; |
| 3290 |
pub const NID_ED448: i32 = 960; |
| 3291 |
pub const SN_X448: &[u8; 5] = b"X448\0"; |
| 3292 |
pub const NID_X448: i32 = 961; |
| 3293 |
pub const SN_sha512_256: &[u8; 11] = b"SHA512-256\0"; |
| 3294 |
pub const LN_sha512_256: &[u8; 11] = b"sha512-256\0"; |
| 3295 |
pub const NID_sha512_256: i32 = 962; |
| 3296 |
pub const SN_aes_128_cbc_hmac_sha256: &[u8; 24] = b"AES-128-CBC-HMAC-SHA256\0"; |
| 3297 |
pub const LN_aes_128_cbc_hmac_sha256: &[u8; 24] = b"aes-128-cbc-hmac-sha256\0"; |
| 3298 |
pub const NID_aes_128_cbc_hmac_sha256: i32 = 963; |
| 3299 |
pub const SN_aes_256_cbc_hmac_sha256: &[u8; 24] = b"AES-256-CBC-HMAC-SHA256\0"; |
| 3300 |
pub const LN_aes_256_cbc_hmac_sha256: &[u8; 24] = b"aes-256-cbc-hmac-sha256\0"; |
| 3301 |
pub const NID_aes_256_cbc_hmac_sha256: i32 = 964; |
| 3302 |
pub const SN_sha3_224: &[u8; 9] = b"SHA3-224\0"; |
| 3303 |
pub const LN_sha3_224: &[u8; 9] = b"sha3-224\0"; |
| 3304 |
pub const NID_sha3_224: i32 = 965; |
| 3305 |
pub const SN_sha3_256: &[u8; 9] = b"SHA3-256\0"; |
| 3306 |
pub const LN_sha3_256: &[u8; 9] = b"sha3-256\0"; |
| 3307 |
pub const NID_sha3_256: i32 = 966; |
| 3308 |
pub const SN_sha3_384: &[u8; 9] = b"SHA3-384\0"; |
| 3309 |
pub const LN_sha3_384: &[u8; 9] = b"sha3-384\0"; |
| 3310 |
pub const NID_sha3_384: i32 = 967; |
| 3311 |
pub const SN_sha3_512: &[u8; 9] = b"SHA3-512\0"; |
| 3312 |
pub const LN_sha3_512: &[u8; 9] = b"sha3-512\0"; |
| 3313 |
pub const NID_sha3_512: i32 = 968; |
| 3314 |
pub const SN_hkdf: &[u8; 5] = b"HKDF\0"; |
| 3315 |
pub const LN_hkdf: &[u8; 5] = b"hkdf\0"; |
| 3316 |
pub const NID_hkdf: i32 = 969; |
| 3317 |
pub const SN_kem: &[u8; 4] = b"KEM\0"; |
| 3318 |
pub const LN_kem: &[u8; 4] = b"kem\0"; |
| 3319 |
pub const NID_kem: i32 = 970; |
| 3320 |
pub const SN_ffdhe2048: &[u8; 10] = b"ffdhe2048\0"; |
| 3321 |
pub const NID_ffdhe2048: i32 = 976; |
| 3322 |
pub const SN_ffdhe4096: &[u8; 10] = b"ffdhe4096\0"; |
| 3323 |
pub const NID_ffdhe4096: i32 = 977; |
| 3324 |
pub const SN_sha512_224: &[u8; 11] = b"SHA512-224\0"; |
| 3325 |
pub const LN_sha512_224: &[u8; 11] = b"sha512-224\0"; |
| 3326 |
pub const NID_sha512_224: i32 = 978; |
| 3327 |
pub const SN_shake128: &[u8; 9] = b"SHAKE128\0"; |
| 3328 |
pub const LN_shake128: &[u8; 9] = b"shake128\0"; |
| 3329 |
pub const NID_shake128: i32 = 979; |
| 3330 |
pub const SN_shake256: &[u8; 9] = b"SHAKE256\0"; |
| 3331 |
pub const LN_shake256: &[u8; 9] = b"shake256\0"; |
| 3332 |
pub const NID_shake256: i32 = 980; |
| 3333 |
pub const SN_ffdhe3072: &[u8; 10] = b"ffdhe3072\0"; |
| 3334 |
pub const NID_ffdhe3072: i32 = 983; |
| 3335 |
pub const SN_ffdhe8192: &[u8; 10] = b"ffdhe8192\0"; |
| 3336 |
pub const NID_ffdhe8192: i32 = 984; |
| 3337 |
pub const SN_MLKEM512IPD: &[u8; 12] = b"MLKEM512IPD\0"; |
| 3338 |
pub const NID_MLKEM512IPD: i32 = 985; |
| 3339 |
pub const SN_MLKEM768IPD: &[u8; 12] = b"MLKEM768IPD\0"; |
| 3340 |
pub const NID_MLKEM768IPD: i32 = 986; |
| 3341 |
pub const SN_MLKEM1024IPD: &[u8; 13] = b"MLKEM1024IPD\0"; |
| 3342 |
pub const NID_MLKEM1024IPD: i32 = 987; |
| 3343 |
pub const SN_MLKEM512: &[u8; 9] = b"MLKEM512\0"; |
| 3344 |
pub const NID_MLKEM512: i32 = 988; |
| 3345 |
pub const SN_MLKEM768: &[u8; 9] = b"MLKEM768\0"; |
| 3346 |
pub const NID_MLKEM768: i32 = 989; |
| 3347 |
pub const SN_MLKEM1024: &[u8; 10] = b"MLKEM1024\0"; |
| 3348 |
pub const NID_MLKEM1024: i32 = 990; |
| 3349 |
pub const SN_X25519MLKEM768: &[u8; 15] = b"X25519MLKEM768\0"; |
| 3350 |
pub const NID_X25519MLKEM768: i32 = 991; |
| 3351 |
pub const SN_SecP256r1MLKEM768: &[u8; 18] = b"SecP256r1MLKEM768\0"; |
| 3352 |
pub const NID_SecP256r1MLKEM768: i32 = 992; |
| 3353 |
pub const SN_PQDSA: &[u8; 6] = b"PQDSA\0"; |
| 3354 |
pub const NID_PQDSA: i32 = 993; |
| 3355 |
pub const SN_MLDSA44: &[u8; 8] = b"MLDSA44\0"; |
| 3356 |
pub const NID_MLDSA44: i32 = 994; |
| 3357 |
pub const SN_MLDSA65: &[u8; 8] = b"MLDSA65\0"; |
| 3358 |
pub const NID_MLDSA65: i32 = 995; |
| 3359 |
pub const SN_MLDSA87: &[u8; 8] = b"MLDSA87\0"; |
| 3360 |
pub const NID_MLDSA87: i32 = 996; |
| 3361 |
pub const SN_ED25519ph: &[u8; 10] = b"ED25519ph\0"; |
| 3362 |
pub const NID_ED25519ph: i32 = 997; |
| 3363 |
pub const SN_SecP384r1MLKEM1024: &[u8; 19] = b"SecP384r1MLKEM1024\0"; |
| 3364 |
pub const NID_SecP384r1MLKEM1024: i32 = 998; |
| 3365 |
pub const OBJ_NAME_TYPE_MD_METH: i32 = 1; |
| 3366 |
pub const OBJ_NAME_TYPE_CIPHER_METH: i32 = 2; |
| 3367 |
pub const OBJ_R_UNKNOWN_NID: i32 = 100; |
| 3368 |
pub const OBJ_R_INVALID_OID_STRING: i32 = 101; |
| 3369 |
pub const MD5_CBLOCK: i32 = 64; |
| 3370 |
pub const MD5_DIGEST_LENGTH: i32 = 16; |
| 3371 |
pub const HMAC_MD5_PRECOMPUTED_KEY_SIZE: i32 = 32; |
| 3372 |
pub const HMAC_SHA1_PRECOMPUTED_KEY_SIZE: i32 = 40; |
| 3373 |
pub const HMAC_SHA224_PRECOMPUTED_KEY_SIZE: i32 = 64; |
| 3374 |
pub const HMAC_SHA256_PRECOMPUTED_KEY_SIZE: i32 = 64; |
| 3375 |
pub const HMAC_SHA384_PRECOMPUTED_KEY_SIZE: i32 = 128; |
| 3376 |
pub const HMAC_SHA512_PRECOMPUTED_KEY_SIZE: i32 = 128; |
| 3377 |
pub const HMAC_SHA512_224_PRECOMPUTED_KEY_SIZE: i32 = 128; |
| 3378 |
pub const HMAC_SHA512_256_PRECOMPUTED_KEY_SIZE: i32 = 128; |
| 3379 |
pub const HMAC_MAX_PRECOMPUTED_KEY_SIZE: i32 = 128; |
| 3380 |
pub const HMAC_R_MISSING_PARAMETERS: i32 = 100; |
| 3381 |
pub const HMAC_R_BUFFER_TOO_SMALL: i32 = 102; |
| 3382 |
pub const HMAC_R_SET_PRECOMPUTED_KEY_EXPORT_NOT_CALLED: i32 = 103; |
| 3383 |
pub const HMAC_R_NOT_CALLED_JUST_AFTER_INIT: i32 = 104; |
| 3384 |
pub const HMAC_R_PRECOMPUTED_KEY_NOT_SUPPORTED_FOR_DIGEST: i32 = 105; |
| 3385 |
pub const HMAC_R_UNSUPPORTED_DIGEST: i32 = 106; |
| 3386 |
pub const EVP_PKEY_NONE: i32 = 0; |
| 3387 |
pub const EVP_PKEY_RSA: i32 = 6; |
| 3388 |
pub const EVP_PKEY_RSA_PSS: i32 = 912; |
| 3389 |
pub const EVP_PKEY_EC: i32 = 408; |
| 3390 |
pub const EVP_PKEY_ED25519: i32 = 949; |
| 3391 |
pub const EVP_PKEY_ED25519PH: i32 = 997; |
| 3392 |
pub const EVP_PKEY_X25519: i32 = 948; |
| 3393 |
pub const EVP_PKEY_HKDF: i32 = 969; |
| 3394 |
pub const EVP_PKEY_HMAC: i32 = 855; |
| 3395 |
pub const EVP_PKEY_DH: i32 = 28; |
| 3396 |
pub const EVP_PKEY_PQDSA: i32 = 993; |
| 3397 |
pub const EVP_PKEY_KEM: i32 = 970; |
| 3398 |
pub const PKCS5_SALT_LEN: i32 = 8; |
| 3399 |
pub const EVP_PKEY_RSA2: i32 = 19; |
| 3400 |
pub const EVP_PKEY_X448: i32 = 961; |
| 3401 |
pub const EVP_PKEY_ED448: i32 = 960; |
| 3402 |
pub const EVP_PKEY_DSA: i32 = 116; |
| 3403 |
pub const EVP_PKEY_HKDEF_MODE_EXTRACT_AND_EXPAND: i32 = 0; |
| 3404 |
pub const EVP_PKEY_HKDEF_MODE_EXTRACT_ONLY: i32 = 1; |
| 3405 |
pub const EVP_PKEY_HKDEF_MODE_EXPAND_ONLY: i32 = 2; |
| 3406 |
pub const HKDF_R_OUTPUT_TOO_LARGE: i32 = 100; |
| 3407 |
pub const HKDF_R_UNSUPPORTED_DIGEST: i32 = 101; |
| 3408 |
pub const EVP_HPKE_DHKEM_X25519_HKDF_SHA256: i32 = 32; |
| 3409 |
pub const EVP_HPKE_MAX_PUBLIC_KEY_LENGTH: i32 = 32; |
| 3410 |
pub const EVP_HPKE_MAX_PRIVATE_KEY_LENGTH: i32 = 32; |
| 3411 |
pub const EVP_HPKE_MAX_ENC_LENGTH: i32 = 32; |
| 3412 |
pub const EVP_HPKE_HKDF_SHA256: i32 = 1; |
| 3413 |
pub const EVP_HPKE_AES_128_GCM: i32 = 1; |
| 3414 |
pub const EVP_HPKE_AES_256_GCM: i32 = 2; |
| 3415 |
pub const EVP_HPKE_CHACHA20_POLY1305: i32 = 3; |
| 3416 |
pub const EVP_HPKE_MAX_OVERHEAD: i32 = 64; |
| 3417 |
pub const HRSS_SAMPLE_BYTES: i32 = 700; |
| 3418 |
pub const HRSS_GENERATE_KEY_BYTES: i32 = 1432; |
| 3419 |
pub const HRSS_ENCAP_BYTES: i32 = 1400; |
| 3420 |
pub const HRSS_PUBLIC_KEY_BYTES: i32 = 1138; |
| 3421 |
pub const HRSS_CIPHERTEXT_BYTES: i32 = 1138; |
| 3422 |
pub const HRSS_KEY_BYTES: i32 = 32; |
| 3423 |
pub const HRSS_POLY3_BYTES: i32 = 140; |
| 3424 |
pub const HRSS_PRIVATE_KEY_BYTES: i32 = 1452; |
| 3425 |
pub const MD4_CBLOCK: i32 = 64; |
| 3426 |
pub const MD4_DIGEST_LENGTH: i32 = 16; |
| 3427 |
pub const PKCS7_DETACHED: i32 = 64; |
| 3428 |
pub const PKCS7_BINARY: i32 = 128; |
| 3429 |
pub const PKCS7_NOINTERN: i32 = 16; |
| 3430 |
pub const PKCS7_NOATTR: i32 = 256; |
| 3431 |
pub const PKCS7_NOCERTS: i32 = 2; |
| 3432 |
pub const PKCS7_NOVERIFY: i32 = 32; |
| 3433 |
pub const PKCS7_TEXT: i32 = 1; |
| 3434 |
pub const PKCS7_NOSIGS: i32 = 4; |
| 3435 |
pub const PKCS7_NOCHAIN: i32 = 8; |
| 3436 |
pub const PKCS7_NOSMIMECAP: i32 = 512; |
| 3437 |
pub const PKCS7_STREAM: i32 = 4096; |
| 3438 |
pub const PKCS7_PARTIAL: i32 = 16384; |
| 3439 |
pub const PKCS7_R_BAD_PKCS7_VERSION: i32 = 100; |
| 3440 |
pub const PKCS7_R_NOT_PKCS7_SIGNED_DATA: i32 = 101; |
| 3441 |
pub const PKCS7_R_NO_CERTIFICATES_INCLUDED: i32 = 102; |
| 3442 |
pub const PKCS7_R_NO_CRLS_INCLUDED: i32 = 103; |
| 3443 |
pub const PKCS7_R_INVALID_NULL_POINTER: i32 = 104; |
| 3444 |
pub const PKCS7_R_NO_CONTENT: i32 = 105; |
| 3445 |
pub const PKCS7_R_CIPHER_NOT_INITIALIZED: i32 = 106; |
| 3446 |
pub const PKCS7_R_UNSUPPORTED_CONTENT_TYPE: i32 = 107; |
| 3447 |
pub const PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST: i32 = 108; |
| 3448 |
pub const PKCS7_R_UNABLE_TO_FIND_MEM_BIO: i32 = 109; |
| 3449 |
pub const PKCS7_R_WRONG_CONTENT_TYPE: i32 = 110; |
| 3450 |
pub const PKCS7_R_CONTENT_AND_DATA_PRESENT: i32 = 111; |
| 3451 |
pub const PKCS7_R_NO_SIGNATURES_ON_DATA: i32 = 112; |
| 3452 |
pub const PKCS7_R_CERTIFICATE_VERIFY_ERROR: i32 = 113; |
| 3453 |
pub const PKCS7_R_SMIME_TEXT_ERROR: i32 = 114; |
| 3454 |
pub const PKCS7_R_SIGNATURE_FAILURE: i32 = 115; |
| 3455 |
pub const PKCS7_R_NO_SIGNERS: i32 = 116; |
| 3456 |
pub const PKCS7_R_SIGNER_CERTIFICATE_NOT_FOUND: i32 = 117; |
| 3457 |
pub const PKCS7_R_ERROR_SETTING_CIPHER: i32 = 118; |
| 3458 |
pub const PKCS7_R_ERROR_ADDING_RECIPIENT: i32 = 119; |
| 3459 |
pub const PKCS7_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE: i32 = 120; |
| 3460 |
pub const PKCS7_R_DECRYPT_ERROR: i32 = 121; |
| 3461 |
pub const PKCS7_R_PKCS7_DATASIGN: i32 = 122; |
| 3462 |
pub const PKCS7_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER: i32 = 123; |
| 3463 |
pub const PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE: i32 = 124; |
| 3464 |
pub const PKCS7_R_UNKNOWN_DIGEST_TYPE: i32 = 125; |
| 3465 |
pub const PKCS7_R_INVALID_SIGNED_DATA_TYPE: i32 = 126; |
| 3466 |
pub const PKCS7_R_UNSUPPORTED_CIPHER_TYPE: i32 = 127; |
| 3467 |
pub const PKCS7_R_NO_RECIPIENT_MATCHES_CERTIFICATE: i32 = 128; |
| 3468 |
pub const PKCS7_R_DIGEST_FAILURE: i32 = 129; |
| 3469 |
pub const PKCS7_R_WRONG_PKCS7_TYPE: i32 = 130; |
| 3470 |
pub const PKCS7_R_PKCS7_ADD_SIGNER_ERROR: i32 = 131; |
| 3471 |
pub const PKCS7_R_PKCS7_ADD_SIGNATURE_ERROR: i32 = 132; |
| 3472 |
pub const PKCS7_R_NO_DEFAULT_DIGEST: i32 = 133; |
| 3473 |
pub const PKCS7_R_CERT_MUST_BE_RSA: i32 = 134; |
| 3474 |
pub const PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE: i32 = 135; |
| 3475 |
pub const RSA_PKCS1_PADDING: i32 = 1; |
| 3476 |
pub const RSA_NO_PADDING: i32 = 3; |
| 3477 |
pub const RSA_PKCS1_OAEP_PADDING: i32 = 4; |
| 3478 |
pub const RSA_X931_PADDING: i32 = 5; |
| 3479 |
pub const RSA_PKCS1_PSS_PADDING: i32 = 6; |
| 3480 |
pub const RSA_PSS_SALTLEN_DIGEST: i32 = -1; |
| 3481 |
pub const RSA_FLAG_OPAQUE: i32 = 1; |
| 3482 |
pub const RSA_FLAG_NO_BLINDING: i32 = 8; |
| 3483 |
pub const RSA_FLAG_EXT_PKEY: i32 = 32; |
| 3484 |
pub const RSA_FLAG_NO_PUBLIC_EXPONENT: i32 = 64; |
| 3485 |
pub const RSA_FLAG_LARGE_PUBLIC_EXPONENT: i32 = 128; |
| 3486 |
pub const RSA_3: i32 = 3; |
| 3487 |
pub const RSA_F4: i32 = 65537; |
| 3488 |
pub const RSA_METHOD_FLAG_NO_CHECK: i32 = 1; |
| 3489 |
pub const RSA_R_BAD_ENCODING: i32 = 100; |
| 3490 |
pub const RSA_R_BAD_E_VALUE: i32 = 101; |
| 3491 |
pub const RSA_R_BAD_FIXED_HEADER_DECRYPT: i32 = 102; |
| 3492 |
pub const RSA_R_BAD_PAD_BYTE_COUNT: i32 = 103; |
| 3493 |
pub const RSA_R_BAD_RSA_PARAMETERS: i32 = 104; |
| 3494 |
pub const RSA_R_BAD_SIGNATURE: i32 = 105; |
| 3495 |
pub const RSA_R_BAD_VERSION: i32 = 106; |
| 3496 |
pub const RSA_R_BLOCK_TYPE_IS_NOT_01: i32 = 107; |
| 3497 |
pub const RSA_R_BN_NOT_INITIALIZED: i32 = 108; |
| 3498 |
pub const RSA_R_CANNOT_RECOVER_MULTI_PRIME_KEY: i32 = 109; |
| 3499 |
pub const RSA_R_CRT_PARAMS_ALREADY_GIVEN: i32 = 110; |
| 3500 |
pub const RSA_R_CRT_VALUES_INCORRECT: i32 = 111; |
| 3501 |
pub const RSA_R_DATA_LEN_NOT_EQUAL_TO_MOD_LEN: i32 = 112; |
| 3502 |
pub const RSA_R_DATA_TOO_LARGE: i32 = 113; |
| 3503 |
pub const RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE: i32 = 114; |
| 3504 |
pub const RSA_R_DATA_TOO_LARGE_FOR_MODULUS: i32 = 115; |
| 3505 |
pub const RSA_R_DATA_TOO_SMALL: i32 = 116; |
| 3506 |
pub const RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE: i32 = 117; |
| 3507 |
pub const RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY: i32 = 118; |
| 3508 |
pub const RSA_R_D_E_NOT_CONGRUENT_TO_1: i32 = 119; |
| 3509 |
pub const RSA_R_EMPTY_PUBLIC_KEY: i32 = 120; |
| 3510 |
pub const RSA_R_ENCODE_ERROR: i32 = 121; |
| 3511 |
pub const RSA_R_FIRST_OCTET_INVALID: i32 = 122; |
| 3512 |
pub const RSA_R_INCONSISTENT_SET_OF_CRT_VALUES: i32 = 123; |
| 3513 |
pub const RSA_R_INTERNAL_ERROR: i32 = 124; |
| 3514 |
pub const RSA_R_INVALID_MESSAGE_LENGTH: i32 = 125; |
| 3515 |
pub const RSA_R_KEY_SIZE_TOO_SMALL: i32 = 126; |
| 3516 |
pub const RSA_R_LAST_OCTET_INVALID: i32 = 127; |
| 3517 |
pub const RSA_R_MODULUS_TOO_LARGE: i32 = 128; |
| 3518 |
pub const RSA_R_MUST_HAVE_AT_LEAST_TWO_PRIMES: i32 = 129; |
| 3519 |
pub const RSA_R_NO_PUBLIC_EXPONENT: i32 = 130; |
| 3520 |
pub const RSA_R_NULL_BEFORE_BLOCK_MISSING: i32 = 131; |
| 3521 |
pub const RSA_R_N_NOT_EQUAL_P_Q: i32 = 132; |
| 3522 |
pub const RSA_R_OAEP_DECODING_ERROR: i32 = 133; |
| 3523 |
pub const RSA_R_ONLY_ONE_OF_P_Q_GIVEN: i32 = 134; |
| 3524 |
pub const RSA_R_OUTPUT_BUFFER_TOO_SMALL: i32 = 135; |
| 3525 |
pub const RSA_R_PADDING_CHECK_FAILED: i32 = 136; |
| 3526 |
pub const RSA_R_PKCS_DECODING_ERROR: i32 = 137; |
| 3527 |
pub const RSA_R_SLEN_CHECK_FAILED: i32 = 138; |
| 3528 |
pub const RSA_R_SLEN_RECOVERY_FAILED: i32 = 139; |
| 3529 |
pub const RSA_R_TOO_LONG: i32 = 140; |
| 3530 |
pub const RSA_R_TOO_MANY_ITERATIONS: i32 = 141; |
| 3531 |
pub const RSA_R_UNKNOWN_ALGORITHM_TYPE: i32 = 142; |
| 3532 |
pub const RSA_R_UNKNOWN_PADDING_TYPE: i32 = 143; |
| 3533 |
pub const RSA_R_VALUE_MISSING: i32 = 144; |
| 3534 |
pub const RSA_R_WRONG_SIGNATURE_LENGTH: i32 = 145; |
| 3535 |
pub const RSA_R_PUBLIC_KEY_VALIDATION_FAILED: i32 = 146; |
| 3536 |
pub const RSA_R_D_OUT_OF_RANGE: i32 = 147; |
| 3537 |
pub const RSA_R_BLOCK_TYPE_IS_NOT_02: i32 = 148; |
| 3538 |
pub const RSA_R_MISMATCHED_SIGNATURE: i32 = 248; |
| 3539 |
pub const RSA_F_RSA_OSSL_PRIVATE_ENCRYPT: i32 = 0; |
| 3540 |
pub const X509V3_R_BAD_IP_ADDRESS: i32 = 100; |
| 3541 |
pub const X509V3_R_BAD_OBJECT: i32 = 101; |
| 3542 |
pub const X509V3_R_BN_DEC2BN_ERROR: i32 = 102; |
| 3543 |
pub const X509V3_R_BN_TO_ASN1_INTEGER_ERROR: i32 = 103; |
| 3544 |
pub const X509V3_R_CANNOT_FIND_FREE_FUNCTION: i32 = 104; |
| 3545 |
pub const X509V3_R_DIRNAME_ERROR: i32 = 105; |
| 3546 |
pub const X509V3_R_DISTPOINT_ALREADY_SET: i32 = 106; |
| 3547 |
pub const X509V3_R_DUPLICATE_ZONE_ID: i32 = 107; |
| 3548 |
pub const X509V3_R_ERROR_CONVERTING_ZONE: i32 = 108; |
| 3549 |
pub const X509V3_R_ERROR_CREATING_EXTENSION: i32 = 109; |
| 3550 |
pub const X509V3_R_ERROR_IN_EXTENSION: i32 = 110; |
| 3551 |
pub const X509V3_R_EXPECTED_A_SECTION_NAME: i32 = 111; |
| 3552 |
pub const X509V3_R_EXTENSION_EXISTS: i32 = 112; |
| 3553 |
pub const X509V3_R_EXTENSION_NAME_ERROR: i32 = 113; |
| 3554 |
pub const X509V3_R_EXTENSION_NOT_FOUND: i32 = 114; |
| 3555 |
pub const X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED: i32 = 115; |
| 3556 |
pub const X509V3_R_EXTENSION_VALUE_ERROR: i32 = 116; |
| 3557 |
pub const X509V3_R_ILLEGAL_EMPTY_EXTENSION: i32 = 117; |
| 3558 |
pub const X509V3_R_ILLEGAL_HEX_DIGIT: i32 = 118; |
| 3559 |
pub const X509V3_R_INCORRECT_POLICY_SYNTAX_TAG: i32 = 119; |
| 3560 |
pub const X509V3_R_INVALID_BOOLEAN_STRING: i32 = 120; |
| 3561 |
pub const X509V3_R_INVALID_EXTENSION_STRING: i32 = 121; |
| 3562 |
pub const X509V3_R_INVALID_MULTIPLE_RDNS: i32 = 122; |
| 3563 |
pub const X509V3_R_INVALID_NAME: i32 = 123; |
| 3564 |
pub const X509V3_R_INVALID_NULL_ARGUMENT: i32 = 124; |
| 3565 |
pub const X509V3_R_INVALID_NULL_NAME: i32 = 125; |
| 3566 |
pub const X509V3_R_INVALID_NULL_VALUE: i32 = 126; |
| 3567 |
pub const X509V3_R_INVALID_NUMBER: i32 = 127; |
| 3568 |
pub const X509V3_R_INVALID_NUMBERS: i32 = 128; |
| 3569 |
pub const X509V3_R_INVALID_OBJECT_IDENTIFIER: i32 = 129; |
| 3570 |
pub const X509V3_R_INVALID_OPTION: i32 = 130; |
| 3571 |
pub const X509V3_R_INVALID_POLICY_IDENTIFIER: i32 = 131; |
| 3572 |
pub const X509V3_R_INVALID_PROXY_POLICY_SETTING: i32 = 132; |
| 3573 |
pub const X509V3_R_INVALID_PURPOSE: i32 = 133; |
| 3574 |
pub const X509V3_R_INVALID_SECTION: i32 = 134; |
| 3575 |
pub const X509V3_R_INVALID_SYNTAX: i32 = 135; |
| 3576 |
pub const X509V3_R_ISSUER_DECODE_ERROR: i32 = 136; |
| 3577 |
pub const X509V3_R_MISSING_VALUE: i32 = 137; |
| 3578 |
pub const X509V3_R_NEED_ORGANIZATION_AND_NUMBERS: i32 = 138; |
| 3579 |
pub const X509V3_R_NO_CONFIG_DATABASE: i32 = 139; |
| 3580 |
pub const X509V3_R_NO_ISSUER_CERTIFICATE: i32 = 140; |
| 3581 |
pub const X509V3_R_NO_ISSUER_DETAILS: i32 = 141; |
| 3582 |
pub const X509V3_R_NO_POLICY_IDENTIFIER: i32 = 142; |
| 3583 |
pub const X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED: i32 = 143; |
| 3584 |
pub const X509V3_R_NO_PUBLIC_KEY: i32 = 144; |
| 3585 |
pub const X509V3_R_NO_SUBJECT_DETAILS: i32 = 145; |
| 3586 |
pub const X509V3_R_ODD_NUMBER_OF_DIGITS: i32 = 146; |
| 3587 |
pub const X509V3_R_OPERATION_NOT_DEFINED: i32 = 147; |
| 3588 |
pub const X509V3_R_OTHERNAME_ERROR: i32 = 148; |
| 3589 |
pub const X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED: i32 = 149; |
| 3590 |
pub const X509V3_R_POLICY_PATH_LENGTH: i32 = 150; |
| 3591 |
pub const X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED: i32 = 151; |
| 3592 |
pub const X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY: i32 = 152; |
| 3593 |
pub const X509V3_R_SECTION_NOT_FOUND: i32 = 153; |
| 3594 |
pub const X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS: i32 = 154; |
| 3595 |
pub const X509V3_R_UNABLE_TO_GET_ISSUER_KEYID: i32 = 155; |
| 3596 |
pub const X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT: i32 = 156; |
| 3597 |
pub const X509V3_R_UNKNOWN_EXTENSION: i32 = 157; |
| 3598 |
pub const X509V3_R_UNKNOWN_EXTENSION_NAME: i32 = 158; |
| 3599 |
pub const X509V3_R_UNKNOWN_OPTION: i32 = 159; |
| 3600 |
pub const X509V3_R_UNSUPPORTED_OPTION: i32 = 160; |
| 3601 |
pub const X509V3_R_UNSUPPORTED_TYPE: i32 = 161; |
| 3602 |
pub const X509V3_R_USER_TOO_LONG: i32 = 162; |
| 3603 |
pub const X509V3_R_INVALID_VALUE: i32 = 163; |
| 3604 |
pub const X509V3_R_TRAILING_DATA_IN_EXTENSION: i32 = 164; |
| 3605 |
pub const X509_VERSION_1: i32 = 0; |
| 3606 |
pub const X509_VERSION_2: i32 = 1; |
| 3607 |
pub const X509_VERSION_3: i32 = 2; |
| 3608 |
pub const EXFLAG_BCONS: i32 = 1; |
| 3609 |
pub const EXFLAG_KUSAGE: i32 = 2; |
| 3610 |
pub const EXFLAG_XKUSAGE: i32 = 4; |
| 3611 |
pub const EXFLAG_NSCERT: i32 = 8; |
| 3612 |
pub const EXFLAG_CA: i32 = 16; |
| 3613 |
pub const EXFLAG_SI: i32 = 32; |
| 3614 |
pub const EXFLAG_V1: i32 = 64; |
| 3615 |
pub const EXFLAG_INVALID: i32 = 128; |
| 3616 |
pub const EXFLAG_SET: i32 = 256; |
| 3617 |
pub const EXFLAG_CRITICAL: i32 = 512; |
| 3618 |
pub const EXFLAG_SS: i32 = 8192; |
| 3619 |
pub const X509v3_KU_DIGITAL_SIGNATURE: i32 = 128; |
| 3620 |
pub const X509v3_KU_NON_REPUDIATION: i32 = 64; |
| 3621 |
pub const X509v3_KU_KEY_ENCIPHERMENT: i32 = 32; |
| 3622 |
pub const X509v3_KU_DATA_ENCIPHERMENT: i32 = 16; |
| 3623 |
pub const X509v3_KU_KEY_AGREEMENT: i32 = 8; |
| 3624 |
pub const X509v3_KU_KEY_CERT_SIGN: i32 = 4; |
| 3625 |
pub const X509v3_KU_CRL_SIGN: i32 = 2; |
| 3626 |
pub const X509v3_KU_ENCIPHER_ONLY: i32 = 1; |
| 3627 |
pub const X509v3_KU_DECIPHER_ONLY: i32 = 32768; |
| 3628 |
pub const XKU_SSL_SERVER: i32 = 1; |
| 3629 |
pub const XKU_SSL_CLIENT: i32 = 2; |
| 3630 |
pub const XKU_SMIME: i32 = 4; |
| 3631 |
pub const XKU_CODE_SIGN: i32 = 8; |
| 3632 |
pub const XKU_SGC: i32 = 16; |
| 3633 |
pub const XKU_OCSP_SIGN: i32 = 32; |
| 3634 |
pub const XKU_TIMESTAMP: i32 = 64; |
| 3635 |
pub const XKU_DVCS: i32 = 128; |
| 3636 |
pub const XKU_ANYEKU: i32 = 256; |
| 3637 |
pub const X509_SIG_INFO_VALID: i32 = 1; |
| 3638 |
pub const X509_SIG_INFO_TLS: i32 = 2; |
| 3639 |
pub const X509_CRL_VERSION_1: i32 = 0; |
| 3640 |
pub const X509_CRL_VERSION_2: i32 = 1; |
| 3641 |
pub const X509_REQ_VERSION_1: i32 = 0; |
| 3642 |
pub const X509V3_ADD_OP_MASK: i32 = 15; |
| 3643 |
pub const X509V3_ADD_DEFAULT: i32 = 0; |
| 3644 |
pub const X509V3_ADD_APPEND: i32 = 1; |
| 3645 |
pub const X509V3_ADD_REPLACE: i32 = 2; |
| 3646 |
pub const X509V3_ADD_REPLACE_EXISTING: i32 = 3; |
| 3647 |
pub const X509V3_ADD_KEEP_EXISTING: i32 = 4; |
| 3648 |
pub const X509V3_ADD_DELETE: i32 = 5; |
| 3649 |
pub const X509V3_ADD_SILENT: i32 = 16; |
| 3650 |
pub const GEN_OTHERNAME: i32 = 0; |
| 3651 |
pub const GEN_EMAIL: i32 = 1; |
| 3652 |
pub const GEN_DNS: i32 = 2; |
| 3653 |
pub const GEN_X400: i32 = 3; |
| 3654 |
pub const GEN_DIRNAME: i32 = 4; |
| 3655 |
pub const GEN_EDIPARTY: i32 = 5; |
| 3656 |
pub const GEN_URI: i32 = 6; |
| 3657 |
pub const GEN_IPADD: i32 = 7; |
| 3658 |
pub const GEN_RID: i32 = 8; |
| 3659 |
pub const X509_LU_NONE: i32 = 0; |
| 3660 |
pub const X509_LU_X509: i32 = 1; |
| 3661 |
pub const X509_LU_CRL: i32 = 2; |
| 3662 |
pub const X509_LU_PKEY: i32 = 3; |
| 3663 |
pub const X509_V_OK: i32 = 0; |
| 3664 |
pub const X509_V_ERR_UNSPECIFIED: i32 = 1; |
| 3665 |
pub const X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: i32 = 2; |
| 3666 |
pub const X509_V_ERR_UNABLE_TO_GET_CRL: i32 = 3; |
| 3667 |
pub const X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE: i32 = 4; |
| 3668 |
pub const X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE: i32 = 5; |
| 3669 |
pub const X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY: i32 = 6; |
| 3670 |
pub const X509_V_ERR_CERT_SIGNATURE_FAILURE: i32 = 7; |
| 3671 |
pub const X509_V_ERR_CRL_SIGNATURE_FAILURE: i32 = 8; |
| 3672 |
pub const X509_V_ERR_CERT_NOT_YET_VALID: i32 = 9; |
| 3673 |
pub const X509_V_ERR_CERT_HAS_EXPIRED: i32 = 10; |
| 3674 |
pub const X509_V_ERR_CRL_NOT_YET_VALID: i32 = 11; |
| 3675 |
pub const X509_V_ERR_CRL_HAS_EXPIRED: i32 = 12; |
| 3676 |
pub const X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD: i32 = 13; |
| 3677 |
pub const X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD: i32 = 14; |
| 3678 |
pub const X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD: i32 = 15; |
| 3679 |
pub const X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD: i32 = 16; |
| 3680 |
pub const X509_V_ERR_OUT_OF_MEM: i32 = 17; |
| 3681 |
pub const X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: i32 = 18; |
| 3682 |
pub const X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: i32 = 19; |
| 3683 |
pub const X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: i32 = 20; |
| 3684 |
pub const X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE: i32 = 21; |
| 3685 |
pub const X509_V_ERR_CERT_CHAIN_TOO_LONG: i32 = 22; |
| 3686 |
pub const X509_V_ERR_CERT_REVOKED: i32 = 23; |
| 3687 |
pub const X509_V_ERR_INVALID_CA: i32 = 24; |
| 3688 |
pub const X509_V_ERR_PATH_LENGTH_EXCEEDED: i32 = 25; |
| 3689 |
pub const X509_V_ERR_INVALID_PURPOSE: i32 = 26; |
| 3690 |
pub const X509_V_ERR_CERT_UNTRUSTED: i32 = 27; |
| 3691 |
pub const X509_V_ERR_CERT_REJECTED: i32 = 28; |
| 3692 |
pub const X509_V_ERR_SUBJECT_ISSUER_MISMATCH: i32 = 29; |
| 3693 |
pub const X509_V_ERR_AKID_SKID_MISMATCH: i32 = 30; |
| 3694 |
pub const X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH: i32 = 31; |
| 3695 |
pub const X509_V_ERR_KEYUSAGE_NO_CERTSIGN: i32 = 32; |
| 3696 |
pub const X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER: i32 = 33; |
| 3697 |
pub const X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION: i32 = 34; |
| 3698 |
pub const X509_V_ERR_KEYUSAGE_NO_CRL_SIGN: i32 = 35; |
| 3699 |
pub const X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION: i32 = 36; |
| 3700 |
pub const X509_V_ERR_INVALID_NON_CA: i32 = 37; |
| 3701 |
pub const X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED: i32 = 38; |
| 3702 |
pub const X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE: i32 = 39; |
| 3703 |
pub const X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED: i32 = 40; |
| 3704 |
pub const X509_V_ERR_INVALID_EXTENSION: i32 = 41; |
| 3705 |
pub const X509_V_ERR_INVALID_POLICY_EXTENSION: i32 = 42; |
| 3706 |
pub const X509_V_ERR_NO_EXPLICIT_POLICY: i32 = 43; |
| 3707 |
pub const X509_V_ERR_DIFFERENT_CRL_SCOPE: i32 = 44; |
| 3708 |
pub const X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE: i32 = 45; |
| 3709 |
pub const X509_V_ERR_UNNESTED_RESOURCE: i32 = 46; |
| 3710 |
pub const X509_V_ERR_PERMITTED_VIOLATION: i32 = 47; |
| 3711 |
pub const X509_V_ERR_EXCLUDED_VIOLATION: i32 = 48; |
| 3712 |
pub const X509_V_ERR_SUBTREE_MINMAX: i32 = 49; |
| 3713 |
pub const X509_V_ERR_APPLICATION_VERIFICATION: i32 = 50; |
| 3714 |
pub const X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE: i32 = 51; |
| 3715 |
pub const X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX: i32 = 52; |
| 3716 |
pub const X509_V_ERR_UNSUPPORTED_NAME_SYNTAX: i32 = 53; |
| 3717 |
pub const X509_V_ERR_CRL_PATH_VALIDATION_ERROR: i32 = 54; |
| 3718 |
pub const X509_V_ERR_HOSTNAME_MISMATCH: i32 = 62; |
| 3719 |
pub const X509_V_ERR_EMAIL_MISMATCH: i32 = 63; |
| 3720 |
pub const X509_V_ERR_IP_ADDRESS_MISMATCH: i32 = 64; |
| 3721 |
pub const X509_V_ERR_INVALID_CALL: i32 = 65; |
| 3722 |
pub const X509_V_ERR_STORE_LOOKUP: i32 = 66; |
| 3723 |
pub const X509_V_ERR_NAME_CONSTRAINTS_WITHOUT_SANS: i32 = 67; |
| 3724 |
pub const X509_V_ERR_EE_KEY_TOO_SMALL: i32 = 68; |
| 3725 |
pub const X509_V_ERR_CA_KEY_TOO_SMALL: i32 = 69; |
| 3726 |
pub const X509_V_ERR_CA_MD_TOO_WEAK: i32 = 70; |
| 3727 |
pub const X509_V_UNABLE_TO_GET_CERTS_PUBLIC_KEY: i32 = 71; |
| 3728 |
pub const X509_V_ERR_EC_KEY_EXPLICIT_PARAMS: i32 = 72; |
| 3729 |
pub const X509_V_FLAG_CB_ISSUER_CHECK: i32 = 1; |
| 3730 |
pub const X509_V_FLAG_USE_CHECK_TIME: i32 = 2; |
| 3731 |
pub const X509_V_FLAG_CRL_CHECK: i32 = 4; |
| 3732 |
pub const X509_V_FLAG_CRL_CHECK_ALL: i32 = 8; |
| 3733 |
pub const X509_V_FLAG_IGNORE_CRITICAL: i32 = 16; |
| 3734 |
pub const X509_V_FLAG_X509_STRICT: i32 = 0; |
| 3735 |
pub const X509_V_FLAG_ALLOW_PROXY_CERTS: i32 = 64; |
| 3736 |
pub const X509_V_FLAG_POLICY_CHECK: i32 = 128; |
| 3737 |
pub const X509_V_FLAG_EXPLICIT_POLICY: i32 = 256; |
| 3738 |
pub const X509_V_FLAG_INHIBIT_ANY: i32 = 512; |
| 3739 |
pub const X509_V_FLAG_INHIBIT_MAP: i32 = 1024; |
| 3740 |
pub const X509_V_FLAG_NOTIFY_POLICY: i32 = 2048; |
| 3741 |
pub const X509_V_FLAG_EXTENDED_CRL_SUPPORT: i32 = 4096; |
| 3742 |
pub const X509_V_FLAG_USE_DELTAS: i32 = 8192; |
| 3743 |
pub const X509_V_FLAG_CHECK_SS_SIGNATURE: i32 = 16384; |
| 3744 |
pub const X509_V_FLAG_TRUSTED_FIRST: i32 = 32768; |
| 3745 |
pub const X509_V_FLAG_PARTIAL_CHAIN: i32 = 524288; |
| 3746 |
pub const X509_V_FLAG_NO_ALT_CHAINS: i32 = 1048576; |
| 3747 |
pub const X509_V_FLAG_NO_CHECK_TIME: i32 = 2097152; |
| 3748 |
pub const X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT: i32 = 1; |
| 3749 |
pub const X509_CHECK_FLAG_NO_WILDCARDS: i32 = 2; |
| 3750 |
pub const X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS: i32 = 16; |
| 3751 |
pub const X509_CHECK_FLAG_NEVER_CHECK_SUBJECT: i32 = 32; |
| 3752 |
pub const X509_PURPOSE_SSL_CLIENT: i32 = 1; |
| 3753 |
pub const X509_PURPOSE_SSL_SERVER: i32 = 2; |
| 3754 |
pub const X509_PURPOSE_NS_SSL_SERVER: i32 = 3; |
| 3755 |
pub const X509_PURPOSE_SMIME_SIGN: i32 = 4; |
| 3756 |
pub const X509_PURPOSE_SMIME_ENCRYPT: i32 = 5; |
| 3757 |
pub const X509_PURPOSE_CRL_SIGN: i32 = 6; |
| 3758 |
pub const X509_PURPOSE_ANY: i32 = 7; |
| 3759 |
pub const X509_PURPOSE_OCSP_HELPER: i32 = 8; |
| 3760 |
pub const X509_PURPOSE_TIMESTAMP_SIGN: i32 = 9; |
| 3761 |
pub const X509_TRUST_COMPAT: i32 = 1; |
| 3762 |
pub const X509_TRUST_SSL_CLIENT: i32 = 2; |
| 3763 |
pub const X509_TRUST_SSL_SERVER: i32 = 3; |
| 3764 |
pub const X509_TRUST_EMAIL: i32 = 4; |
| 3765 |
pub const X509_TRUST_OBJECT_SIGN: i32 = 5; |
| 3766 |
pub const X509_TRUST_OCSP_SIGN: i32 = 6; |
| 3767 |
pub const X509_TRUST_OCSP_REQUEST: i32 = 7; |
| 3768 |
pub const X509_TRUST_TSA: i32 = 8; |
| 3769 |
pub const X509_FILETYPE_PEM: i32 = 1; |
| 3770 |
pub const X509_FILETYPE_ASN1: i32 = 2; |
| 3771 |
pub const X509_FILETYPE_DEFAULT: i32 = 3; |
| 3772 |
pub const X509_L_FILE_LOAD: i32 = 1; |
| 3773 |
pub const X509_L_ADD_DIR: i32 = 2; |
| 3774 |
pub const X509_FLAG_COMPAT: i32 = 0; |
| 3775 |
pub const X509_FLAG_NO_HEADER: i32 = 1; |
| 3776 |
pub const X509_FLAG_NO_VERSION: i32 = 2; |
| 3777 |
pub const X509_FLAG_NO_SERIAL: i32 = 4; |
| 3778 |
pub const X509_FLAG_NO_SIGNAME: i32 = 8; |
| 3779 |
pub const X509_FLAG_NO_ISSUER: i32 = 16; |
| 3780 |
pub const X509_FLAG_NO_VALIDITY: i32 = 32; |
| 3781 |
pub const X509_FLAG_NO_SUBJECT: i32 = 64; |
| 3782 |
pub const X509_FLAG_NO_PUBKEY: i32 = 128; |
| 3783 |
pub const X509_FLAG_NO_EXTENSIONS: i32 = 256; |
| 3784 |
pub const X509_FLAG_NO_SIGDUMP: i32 = 512; |
| 3785 |
pub const X509_FLAG_NO_AUX: i32 = 1024; |
| 3786 |
pub const X509_FLAG_NO_ATTRIBUTES: i32 = 2048; |
| 3787 |
pub const X509_FLAG_NO_IDS: i32 = 4096; |
| 3788 |
pub const X509V3_EXT_UNKNOWN_MASK: i32 = 983040; |
| 3789 |
pub const X509V3_EXT_DEFAULT: i32 = 0; |
| 3790 |
pub const X509V3_EXT_ERROR_UNKNOWN: i32 = 65536; |
| 3791 |
pub const X509V3_EXT_PARSE_UNKNOWN: i32 = 131072; |
| 3792 |
pub const X509V3_EXT_DUMP_UNKNOWN: i32 = 196608; |
| 3793 |
pub const XN_FLAG_COMPAT: i32 = 0; |
| 3794 |
pub const XN_FLAG_SEP_MASK: i32 = 983040; |
| 3795 |
pub const XN_FLAG_SEP_COMMA_PLUS: i32 = 65536; |
| 3796 |
pub const XN_FLAG_SEP_CPLUS_SPC: i32 = 131072; |
| 3797 |
pub const XN_FLAG_SEP_SPLUS_SPC: i32 = 196608; |
| 3798 |
pub const XN_FLAG_SEP_MULTILINE: i32 = 262144; |
| 3799 |
pub const XN_FLAG_DN_REV: i32 = 1048576; |
| 3800 |
pub const XN_FLAG_FN_MASK: i32 = 6291456; |
| 3801 |
pub const XN_FLAG_FN_SN: i32 = 0; |
| 3802 |
pub const XN_FLAG_FN_LN: i32 = 2097152; |
| 3803 |
pub const XN_FLAG_FN_OID: i32 = 4194304; |
| 3804 |
pub const XN_FLAG_FN_NONE: i32 = 6291456; |
| 3805 |
pub const XN_FLAG_SPC_EQ: i32 = 8388608; |
| 3806 |
pub const XN_FLAG_DUMP_UNKNOWN_FIELDS: i32 = 16777216; |
| 3807 |
pub const XN_FLAG_FN_ALIGN: i32 = 33554432; |
| 3808 |
pub const XN_FLAG_RFC2253: i32 = 17892119; |
| 3809 |
pub const XN_FLAG_ONELINE: i32 = 8520479; |
| 3810 |
pub const XN_FLAG_MULTILINE: i32 = 44302342; |
| 3811 |
pub const X509_TRUST_TRUSTED: i32 = 1; |
| 3812 |
pub const X509_TRUST_REJECTED: i32 = 2; |
| 3813 |
pub const X509_TRUST_UNTRUSTED: i32 = 3; |
| 3814 |
pub const X509V3_EXT_MULTILINE: i32 = 4; |
| 3815 |
pub const X509V3_CTX_TEST: i32 = 1; |
| 3816 |
pub const X509V3_CTX_REPLACE: i32 = 2; |
| 3817 |
pub const X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS: i32 = 0; |
| 3818 |
pub const X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS: i32 = 0; |
| 3819 |
pub const NS_SSL_CLIENT: i32 = 128; |
| 3820 |
pub const NS_SSL_SERVER: i32 = 64; |
| 3821 |
pub const NS_SMIME: i32 = 32; |
| 3822 |
pub const NS_OBJSIGN: i32 = 16; |
| 3823 |
pub const NS_SSL_CA: i32 = 4; |
| 3824 |
pub const NS_SMIME_CA: i32 = 2; |
| 3825 |
pub const NS_OBJSIGN_CA: i32 = 1; |
| 3826 |
pub const NS_ANY_CA: i32 = 7; |
| 3827 |
pub const X509_V_FLAG_POLICY_MASK: i32 = 1920; |
| 3828 |
pub const X509_R_AKID_MISMATCH: i32 = 100; |
| 3829 |
pub const X509_R_BAD_PKCS7_VERSION: i32 = 101; |
| 3830 |
pub const X509_R_BAD_X509_FILETYPE: i32 = 102; |
| 3831 |
pub const X509_R_BASE64_DECODE_ERROR: i32 = 103; |
| 3832 |
pub const X509_R_CANT_CHECK_DH_KEY: i32 = 104; |
| 3833 |
pub const X509_R_CERT_ALREADY_IN_HASH_TABLE: i32 = 105; |
| 3834 |
pub const X509_R_CRL_ALREADY_DELTA: i32 = 106; |
| 3835 |
pub const X509_R_CRL_VERIFY_FAILURE: i32 = 107; |
| 3836 |
pub const X509_R_IDP_MISMATCH: i32 = 108; |
| 3837 |
pub const X509_R_INVALID_BIT_STRING_BITS_LEFT: i32 = 109; |
| 3838 |
pub const X509_R_INVALID_DIRECTORY: i32 = 110; |
| 3839 |
pub const X509_R_INVALID_FIELD_NAME: i32 = 111; |
| 3840 |
pub const X509_R_INVALID_PSS_PARAMETERS: i32 = 112; |
| 3841 |
pub const X509_R_INVALID_TRUST: i32 = 113; |
| 3842 |
pub const X509_R_ISSUER_MISMATCH: i32 = 114; |
| 3843 |
pub const X509_R_KEY_TYPE_MISMATCH: i32 = 115; |
| 3844 |
pub const X509_R_KEY_VALUES_MISMATCH: i32 = 116; |
| 3845 |
pub const X509_R_LOADING_CERT_DIR: i32 = 117; |
| 3846 |
pub const X509_R_LOADING_DEFAULTS: i32 = 118; |
| 3847 |
pub const X509_R_NEWER_CRL_NOT_NEWER: i32 = 119; |
| 3848 |
pub const X509_R_NOT_PKCS7_SIGNED_DATA: i32 = 120; |
| 3849 |
pub const X509_R_NO_CERTIFICATES_INCLUDED: i32 = 121; |
| 3850 |
pub const X509_R_NO_CERT_SET_FOR_US_TO_VERIFY: i32 = 122; |
| 3851 |
pub const X509_R_NO_CRLS_INCLUDED: i32 = 123; |
| 3852 |
pub const X509_R_NO_CRL_NUMBER: i32 = 124; |
| 3853 |
pub const X509_R_PUBLIC_KEY_DECODE_ERROR: i32 = 125; |
| 3854 |
pub const X509_R_PUBLIC_KEY_ENCODE_ERROR: i32 = 126; |
| 3855 |
pub const X509_R_SHOULD_RETRY: i32 = 127; |
| 3856 |
pub const X509_R_UNKNOWN_KEY_TYPE: i32 = 128; |
| 3857 |
pub const X509_R_UNKNOWN_NID: i32 = 129; |
| 3858 |
pub const X509_R_UNKNOWN_PURPOSE_ID: i32 = 130; |
| 3859 |
pub const X509_R_UNKNOWN_TRUST_ID: i32 = 131; |
| 3860 |
pub const X509_R_UNSUPPORTED_ALGORITHM: i32 = 132; |
| 3861 |
pub const X509_R_WRONG_LOOKUP_TYPE: i32 = 133; |
| 3862 |
pub const X509_R_WRONG_TYPE: i32 = 134; |
| 3863 |
pub const X509_R_NAME_TOO_LONG: i32 = 135; |
| 3864 |
pub const X509_R_INVALID_PARAMETER: i32 = 136; |
| 3865 |
pub const X509_R_SIGNATURE_ALGORITHM_MISMATCH: i32 = 137; |
| 3866 |
pub const X509_R_DELTA_CRL_WITHOUT_CRL_NUMBER: i32 = 138; |
| 3867 |
pub const X509_R_INVALID_FIELD_FOR_VERSION: i32 = 139; |
| 3868 |
pub const X509_R_INVALID_VERSION: i32 = 140; |
| 3869 |
pub const X509_R_NO_CERTIFICATE_FOUND: i32 = 141; |
| 3870 |
pub const X509_R_NO_CERTIFICATE_OR_CRL_FOUND: i32 = 142; |
| 3871 |
pub const X509_R_NO_CRL_FOUND: i32 = 143; |
| 3872 |
pub const X509_R_INVALID_POLICY_EXTENSION: i32 = 144; |
| 3873 |
pub const X509_R_UNKNOWN_SIGID_ALGS: i32 = 145; |
| 3874 |
pub const CRL_REASON_NONE: i32 = -1; |
| 3875 |
pub const CRL_REASON_UNSPECIFIED: i32 = 0; |
| 3876 |
pub const CRL_REASON_KEY_COMPROMISE: i32 = 1; |
| 3877 |
pub const CRL_REASON_CA_COMPROMISE: i32 = 2; |
| 3878 |
pub const CRL_REASON_AFFILIATION_CHANGED: i32 = 3; |
| 3879 |
pub const CRL_REASON_SUPERSEDED: i32 = 4; |
| 3880 |
pub const CRL_REASON_CESSATION_OF_OPERATION: i32 = 5; |
| 3881 |
pub const CRL_REASON_CERTIFICATE_HOLD: i32 = 6; |
| 3882 |
pub const CRL_REASON_REMOVE_FROM_CRL: i32 = 8; |
| 3883 |
pub const CRL_REASON_PRIVILEGE_WITHDRAWN: i32 = 9; |
| 3884 |
pub const CRL_REASON_AA_COMPROMISE: i32 = 10; |
| 3885 |
pub const KU_DIGITAL_SIGNATURE: i32 = 128; |
| 3886 |
pub const KU_NON_REPUDIATION: i32 = 64; |
| 3887 |
pub const KU_KEY_ENCIPHERMENT: i32 = 32; |
| 3888 |
pub const KU_DATA_ENCIPHERMENT: i32 = 16; |
| 3889 |
pub const KU_KEY_AGREEMENT: i32 = 8; |
| 3890 |
pub const KU_KEY_CERT_SIGN: i32 = 4; |
| 3891 |
pub const KU_CRL_SIGN: i32 = 2; |
| 3892 |
pub const KU_ENCIPHER_ONLY: i32 = 1; |
| 3893 |
pub const KU_DECIPHER_ONLY: i32 = 32768; |
| 3894 |
pub const OCSP_REVOKED_STATUS_NOSTATUS: i32 = -1; |
| 3895 |
pub const OCSP_REVOKED_STATUS_UNSPECIFIED: i32 = 0; |
| 3896 |
pub const OCSP_REVOKED_STATUS_KEYCOMPROMISE: i32 = 1; |
| 3897 |
pub const OCSP_REVOKED_STATUS_CACOMPROMISE: i32 = 2; |
| 3898 |
pub const OCSP_REVOKED_STATUS_AFFILIATIONCHANGED: i32 = 3; |
| 3899 |
pub const OCSP_REVOKED_STATUS_SUPERSEDED: i32 = 4; |
| 3900 |
pub const OCSP_REVOKED_STATUS_CESSATIONOFOPERATION: i32 = 5; |
| 3901 |
pub const OCSP_REVOKED_STATUS_CERTIFICATEHOLD: i32 = 6; |
| 3902 |
pub const OCSP_REVOKED_STATUS_REMOVEFROMCRL: i32 = 8; |
| 3903 |
pub const OCSP_REVOKED_STATUS_PRIVILEGEWITHDRAWN: i32 = 9; |
| 3904 |
pub const OCSP_REVOKED_STATUS_AACOMPROMISE: i32 = 10; |
| 3905 |
pub const OCSP_NOCERTS: i32 = 1; |
| 3906 |
pub const OCSP_NOINTERN: i32 = 2; |
| 3907 |
pub const OCSP_NOCHAIN: i32 = 8; |
| 3908 |
pub const OCSP_NOVERIFY: i32 = 16; |
| 3909 |
pub const OCSP_NOEXPLICIT: i32 = 32; |
| 3910 |
pub const OCSP_TRUSTOTHER: i32 = 512; |
| 3911 |
pub const OCSP_RESPID_KEY: i32 = 1024; |
| 3912 |
pub const OCSP_NOTIME: i32 = 2048; |
| 3913 |
pub const OCSP_NOSIGS: i32 = 0; |
| 3914 |
pub const OCSP_NOCASIGN: i32 = 0; |
| 3915 |
pub const OCSP_NODELEGATED: i32 = 0; |
| 3916 |
pub const OCSP_NOCHECKS: i32 = 0; |
| 3917 |
pub const OCSP_RESPONSE_STATUS_SUCCESSFUL: i32 = 0; |
| 3918 |
pub const OCSP_RESPONSE_STATUS_MALFORMEDREQUEST: i32 = 1; |
| 3919 |
pub const OCSP_RESPONSE_STATUS_INTERNALERROR: i32 = 2; |
| 3920 |
pub const OCSP_RESPONSE_STATUS_TRYLATER: i32 = 3; |
| 3921 |
pub const OCSP_RESPONSE_STATUS_SIGREQUIRED: i32 = 5; |
| 3922 |
pub const OCSP_RESPONSE_STATUS_UNAUTHORIZED: i32 = 6; |
| 3923 |
pub const V_OCSP_RESPID_NAME: i32 = 0; |
| 3924 |
pub const V_OCSP_RESPID_KEY: i32 = 1; |
| 3925 |
pub const V_OCSP_CERTSTATUS_GOOD: i32 = 0; |
| 3926 |
pub const V_OCSP_CERTSTATUS_REVOKED: i32 = 1; |
| 3927 |
pub const V_OCSP_CERTSTATUS_UNKNOWN: i32 = 2; |
| 3928 |
pub const OCSP_NONCE_EQUAL: i32 = 1; |
| 3929 |
pub const OCSP_NONCE_BOTH_ABSENT: i32 = 2; |
| 3930 |
pub const OCSP_NONCE_RESPONSE_ONLY: i32 = 3; |
| 3931 |
pub const OCSP_NONCE_NOT_EQUAL: i32 = 0; |
| 3932 |
pub const OCSP_NONCE_REQUEST_ONLY: i32 = -1; |
| 3933 |
pub const OCSP_R_CERTIFICATE_VERIFY_ERROR: i32 = 101; |
| 3934 |
pub const OCSP_R_DIGEST_ERR: i32 = 102; |
| 3935 |
pub const OCSP_R_MISSING_OCSPSIGNING_USAGE: i32 = 103; |
| 3936 |
pub const OCSP_R_NOT_BASIC_RESPONSE: i32 = 104; |
| 3937 |
pub const OCSP_R_NO_CERTIFICATES_IN_CHAIN: i32 = 105; |
| 3938 |
pub const OCSP_R_NO_RESPONSE_DATA: i32 = 108; |
| 3939 |
pub const OCSP_R_NO_REVOKED_TIME: i32 = 109; |
| 3940 |
pub const OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE: i32 = 110; |
| 3941 |
pub const OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA: i32 = 111; |
| 3942 |
pub const OCSP_R_ROOT_CA_NOT_TRUSTED: i32 = 112; |
| 3943 |
pub const OCSP_R_SERVER_RESPONSE_PARSE_ERROR: i32 = 115; |
| 3944 |
pub const OCSP_R_SIGNATURE_FAILURE: i32 = 117; |
| 3945 |
pub const OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND: i32 = 118; |
| 3946 |
pub const OCSP_R_UNKNOWN_MESSAGE_DIGEST: i32 = 119; |
| 3947 |
pub const OCSP_R_UNKNOWN_NID: i32 = 120; |
| 3948 |
pub const OCSP_R_ERROR_PARSING_URL: i32 = 121; |
| 3949 |
pub const OCSP_R_ERROR_IN_NEXTUPDATE_FIELD: i32 = 122; |
| 3950 |
pub const OCSP_R_ERROR_IN_THISUPDATE_FIELD: i32 = 123; |
| 3951 |
pub const OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE: i32 = 124; |
| 3952 |
pub const OCSP_R_STATUS_EXPIRED: i32 = 125; |
| 3953 |
pub const OCSP_R_STATUS_NOT_YET_VALID: i32 = 126; |
| 3954 |
pub const OCSP_R_STATUS_TOO_OLD: i32 = 127; |
| 3955 |
pub const OCSP_R_REQUEST_NOT_SIGNED: i32 = 128; |
| 3956 |
pub const OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE: i32 = 129; |
| 3957 |
pub const OCSP_R_NO_SIGNER_KEY: i32 = 130; |
| 3958 |
pub const OCSP_R_OCSP_REQUEST_DUPLICATE_SIGNATURE: i32 = 131; |
| 3959 |
pub const OCSP_R_UNKNOWN_FIELD_VALUE: i32 = 132; |
| 3960 |
pub const PEM_BUFSIZE: i32 = 1024; |
| 3961 |
pub const PEM_STRING_X509_OLD: &[u8; 17] = b"X509 CERTIFICATE\0"; |
| 3962 |
pub const PEM_STRING_X509: &[u8; 12] = b"CERTIFICATE\0"; |
| 3963 |
pub const PEM_STRING_X509_PAIR: &[u8; 17] = b"CERTIFICATE PAIR\0"; |
| 3964 |
pub const PEM_STRING_X509_TRUSTED: &[u8; 20] = b"TRUSTED CERTIFICATE\0"; |
| 3965 |
pub const PEM_STRING_X509_REQ_OLD: &[u8; 24] = b"NEW CERTIFICATE REQUEST\0"; |
| 3966 |
pub const PEM_STRING_X509_REQ: &[u8; 20] = b"CERTIFICATE REQUEST\0"; |
| 3967 |
pub const PEM_STRING_X509_CRL: &[u8; 9] = b"X509 CRL\0"; |
| 3968 |
pub const PEM_STRING_EVP_PKEY: &[u8; 16] = b"ANY PRIVATE KEY\0"; |
| 3969 |
pub const PEM_STRING_PUBLIC: &[u8; 11] = b"PUBLIC KEY\0"; |
| 3970 |
pub const PEM_STRING_RSA: &[u8; 16] = b"RSA PRIVATE KEY\0"; |
| 3971 |
pub const PEM_STRING_RSA_PUBLIC: &[u8; 15] = b"RSA PUBLIC KEY\0"; |
| 3972 |
pub const PEM_STRING_DSA: &[u8; 16] = b"DSA PRIVATE KEY\0"; |
| 3973 |
pub const PEM_STRING_DSA_PUBLIC: &[u8; 15] = b"DSA PUBLIC KEY\0"; |
| 3974 |
pub const PEM_STRING_EC: &[u8; 15] = b"EC PRIVATE KEY\0"; |
| 3975 |
pub const PEM_STRING_PKCS7: &[u8; 6] = b"PKCS7\0"; |
| 3976 |
pub const PEM_STRING_PKCS7_SIGNED: &[u8; 20] = b"PKCS #7 SIGNED DATA\0"; |
| 3977 |
pub const PEM_STRING_PKCS8: &[u8; 22] = b"ENCRYPTED PRIVATE KEY\0"; |
| 3978 |
pub const PEM_STRING_PKCS8INF: &[u8; 12] = b"PRIVATE KEY\0"; |
| 3979 |
pub const PEM_STRING_DHPARAMS: &[u8; 14] = b"DH PARAMETERS\0"; |
| 3980 |
pub const PEM_STRING_SSL_SESSION: &[u8; 23] = b"SSL SESSION PARAMETERS\0"; |
| 3981 |
pub const PEM_STRING_DSAPARAMS: &[u8; 15] = b"DSA PARAMETERS\0"; |
| 3982 |
pub const PEM_STRING_ECDSA_PUBLIC: &[u8; 17] = b"ECDSA PUBLIC KEY\0"; |
| 3983 |
pub const PEM_STRING_ECPARAMETERS: &[u8; 14] = b"EC PARAMETERS\0"; |
| 3984 |
pub const PEM_STRING_ECPRIVATEKEY: &[u8; 15] = b"EC PRIVATE KEY\0"; |
| 3985 |
pub const PEM_STRING_PARAMETERS: &[u8; 11] = b"PARAMETERS\0"; |
| 3986 |
pub const PEM_STRING_CMS: &[u8; 4] = b"CMS\0"; |
| 3987 |
pub const PEM_TYPE_ENCRYPTED: i32 = 10; |
| 3988 |
pub const PEM_TYPE_MIC_ONLY: i32 = 20; |
| 3989 |
pub const PEM_TYPE_MIC_CLEAR: i32 = 30; |
| 3990 |
pub const PEM_TYPE_CLEAR: i32 = 40; |
| 3991 |
pub const PEM_R_BAD_BASE64_DECODE: i32 = 100; |
| 3992 |
pub const PEM_R_BAD_DECRYPT: i32 = 101; |
| 3993 |
pub const PEM_R_BAD_END_LINE: i32 = 102; |
| 3994 |
pub const PEM_R_BAD_IV_CHARS: i32 = 103; |
| 3995 |
pub const PEM_R_BAD_PASSWORD_READ: i32 = 104; |
| 3996 |
pub const PEM_R_CIPHER_IS_NULL: i32 = 105; |
| 3997 |
pub const PEM_R_ERROR_CONVERTING_PRIVATE_KEY: i32 = 106; |
| 3998 |
pub const PEM_R_NOT_DEK_INFO: i32 = 107; |
| 3999 |
pub const PEM_R_NOT_ENCRYPTED: i32 = 108; |
| 4000 |
pub const PEM_R_NOT_PROC_TYPE: i32 = 109; |
| 4001 |
pub const PEM_R_NO_START_LINE: i32 = 110; |
| 4002 |
pub const PEM_R_READ_KEY: i32 = 111; |
| 4003 |
pub const PEM_R_SHORT_HEADER: i32 = 112; |
| 4004 |
pub const PEM_R_UNSUPPORTED_CIPHER: i32 = 113; |
| 4005 |
pub const PEM_R_UNSUPPORTED_ENCRYPTION: i32 = 114; |
| 4006 |
pub const PEM_R_PROBLEMS_GETTING_PASSWORD: i32 = 115; |
| 4007 |
pub const PKCS12_DEFAULT_ITER: i32 = 2048; |
| 4008 |
pub const PKCS8_R_BAD_PKCS12_DATA: i32 = 100; |
| 4009 |
pub const PKCS8_R_BAD_PKCS12_VERSION: i32 = 101; |
| 4010 |
pub const PKCS8_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER: i32 = 102; |
| 4011 |
pub const PKCS8_R_CRYPT_ERROR: i32 = 103; |
| 4012 |
pub const PKCS8_R_DECODE_ERROR: i32 = 104; |
| 4013 |
pub const PKCS8_R_ENCODE_ERROR: i32 = 105; |
| 4014 |
pub const PKCS8_R_ENCRYPT_ERROR: i32 = 106; |
| 4015 |
pub const PKCS8_R_ERROR_SETTING_CIPHER_PARAMS: i32 = 107; |
| 4016 |
pub const PKCS8_R_INCORRECT_PASSWORD: i32 = 108; |
| 4017 |
pub const PKCS8_R_KEYGEN_FAILURE: i32 = 109; |
| 4018 |
pub const PKCS8_R_KEY_GEN_ERROR: i32 = 110; |
| 4019 |
pub const PKCS8_R_METHOD_NOT_SUPPORTED: i32 = 111; |
| 4020 |
pub const PKCS8_R_MISSING_MAC: i32 = 112; |
| 4021 |
pub const PKCS8_R_MULTIPLE_PRIVATE_KEYS_IN_PKCS12: i32 = 113; |
| 4022 |
pub const PKCS8_R_PKCS12_PUBLIC_KEY_INTEGRITY_NOT_SUPPORTED: i32 = 114; |
| 4023 |
pub const PKCS8_R_PKCS12_TOO_DEEPLY_NESTED: i32 = 115; |
| 4024 |
pub const PKCS8_R_PRIVATE_KEY_DECODE_ERROR: i32 = 116; |
| 4025 |
pub const PKCS8_R_PRIVATE_KEY_ENCODE_ERROR: i32 = 117; |
| 4026 |
pub const PKCS8_R_TOO_LONG: i32 = 118; |
| 4027 |
pub const PKCS8_R_UNKNOWN_ALGORITHM: i32 = 119; |
| 4028 |
pub const PKCS8_R_UNKNOWN_CIPHER: i32 = 120; |
| 4029 |
pub const PKCS8_R_UNKNOWN_CIPHER_ALGORITHM: i32 = 121; |
| 4030 |
pub const PKCS8_R_UNKNOWN_DIGEST: i32 = 122; |
| 4031 |
pub const PKCS8_R_UNKNOWN_HASH: i32 = 123; |
| 4032 |
pub const PKCS8_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM: i32 = 124; |
| 4033 |
pub const PKCS8_R_UNSUPPORTED_KEYLENGTH: i32 = 125; |
| 4034 |
pub const PKCS8_R_UNSUPPORTED_SALT_TYPE: i32 = 126; |
| 4035 |
pub const PKCS8_R_UNSUPPORTED_CIPHER: i32 = 127; |
| 4036 |
pub const PKCS8_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION: i32 = 128; |
| 4037 |
pub const PKCS8_R_BAD_ITERATION_COUNT: i32 = 129; |
| 4038 |
pub const PKCS8_R_UNSUPPORTED_PRF: i32 = 130; |
| 4039 |
pub const PKCS8_R_INVALID_CHARACTERS: i32 = 131; |
| 4040 |
pub const PKCS8_R_UNSUPPORTED_OPTIONS: i32 = 132; |
| 4041 |
pub const PKCS8_R_AMBIGUOUS_FRIENDLY_NAME: i32 = 133; |
| 4042 |
pub const PKCS12_R_MAC_VERIFY_FAILURE: i32 = 108; |
| 4043 |
pub const RAND_PRED_RESISTANCE_LEN: i32 = 32; |
| 4044 |
pub const RIPEMD160_CBLOCK: i32 = 64; |
| 4045 |
pub const RIPEMD160_LBLOCK: i32 = 16; |
| 4046 |
pub const RIPEMD160_DIGEST_LENGTH: i32 = 20; |
| 4047 |
pub const TRUST_TOKEN_MAX_PRIVATE_KEY_SIZE: i32 = 512; |
| 4048 |
pub const TRUST_TOKEN_MAX_PUBLIC_KEY_SIZE: i32 = 512; |
| 4049 |
pub const TRUST_TOKEN_R_KEYGEN_FAILURE: i32 = 100; |
| 4050 |
pub const TRUST_TOKEN_R_BUFFER_TOO_SMALL: i32 = 101; |
| 4051 |
pub const TRUST_TOKEN_R_OVER_BATCHSIZE: i32 = 102; |
| 4052 |
pub const TRUST_TOKEN_R_DECODE_ERROR: i32 = 103; |
| 4053 |
pub const TRUST_TOKEN_R_SRR_SIGNATURE_ERROR: i32 = 104; |
| 4054 |
pub const TRUST_TOKEN_R_DECODE_FAILURE: i32 = 105; |
| 4055 |
pub const TRUST_TOKEN_R_INVALID_METADATA: i32 = 106; |
| 4056 |
pub const TRUST_TOKEN_R_TOO_MANY_KEYS: i32 = 107; |
| 4057 |
pub const TRUST_TOKEN_R_NO_KEYS_CONFIGURED: i32 = 108; |
| 4058 |
pub const TRUST_TOKEN_R_INVALID_KEY_ID: i32 = 109; |
| 4059 |
pub const TRUST_TOKEN_R_INVALID_TOKEN: i32 = 110; |
| 4060 |
pub const TRUST_TOKEN_R_BAD_VALIDITY_CHECK: i32 = 111; |
| 4061 |
pub const TRUST_TOKEN_R_NO_SRR_KEY_CONFIGURED: i32 = 112; |
| 4062 |
pub const TRUST_TOKEN_R_INVALID_METADATA_KEY: i32 = 113; |
| 4063 |
pub const TRUST_TOKEN_R_INVALID_PROOF: i32 = 114; |
| 4064 |
pub type __kernel_long_t = ::std::os::raw::c_long; |
| 4065 |
pub type __kernel_time_t = __kernel_long_t; |
| 4066 |
#[repr(C)] |
| 4067 |
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] |
| 4068 |
pub struct pthread_rwlock_t { |
| 4069 |
pub __private: [i32; 14usize], |
| 4070 |
} |
| 4071 |
#[test] |
| 4072 |
fn bindgen_test_layout_pthread_rwlock_t() { |
| 4073 |
const UNINIT: ::std::mem::MaybeUninit<pthread_rwlock_t> = ::std::mem::MaybeUninit::uninit(); |
| 4074 |
let ptr = UNINIT.as_ptr(); |
| 4075 |
assert_eq!( |
| 4076 |
::std::mem::size_of::<pthread_rwlock_t>(), |
| 4077 |
56usize, |
| 4078 |
"Size of pthread_rwlock_t" |
| 4079 |
); |
| 4080 |
assert_eq!( |
| 4081 |
::std::mem::align_of::<pthread_rwlock_t>(), |
| 4082 |
4usize, |
| 4083 |
"Alignment of pthread_rwlock_t" |
| 4084 |
); |
| 4085 |
assert_eq!( |
| 4086 |
unsafe { ::std::ptr::addr_of!((*ptr).__private) as usize - ptr as usize }, |
| 4087 |
0usize, |
| 4088 |
"Offset of field: pthread_rwlock_t::__private" |
| 4089 |
); |
| 4090 |
} |
| 4091 |
pub type __time_t = __kernel_time_t; |
| 4092 |
pub type time_t = __time_t; |
| 4093 |
pub type va_list = __BindgenOpaqueArray<u64, 4usize>; |
| 4094 |
#[repr(C)] |
| 4095 |
#[derive(Debug, Copy, Clone)] |
| 4096 |
pub struct __sFILE { |
| 4097 |
_unused: [u8; 0], |
| 4098 |
} |
| 4099 |
pub type FILE = __sFILE; |
| 4100 |
#[repr(C)] |
| 4101 |
#[repr(align(4))] |
| 4102 |
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] |
| 4103 |
pub struct static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit { |
| 4104 |
pub _bitfield_align_1: [u8; 0], |
| 4105 |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, |
| 4106 |
pub __bindgen_padding_0: [u8; 3usize], |
| 4107 |
} |
| 4108 |
#[test] |
| 4109 |
fn bindgen_test_layout_static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit( |
| 4110 |
) { |
| 4111 |
assert_eq!( |
| 4112 |
::std::mem::size_of::< |
| 4113 |
static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit, |
| 4114 |
>(), |
| 4115 |
4usize, |
| 4116 |
"Size of static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit" |
| 4117 |
); |
| 4118 |
assert_eq ! (:: std :: mem :: align_of :: < static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit > () , 4usize , "Alignment of static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit"); |
| 4119 |
} |
| 4120 |
impl static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit { |
| 4121 |
#[inline] |
| 4122 |
pub fn static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit( |
| 4123 |
&self, |
| 4124 |
) -> ::std::os::raw::c_uint { |
| 4125 |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } |
| 4126 |
} |
| 4127 |
#[inline] |
| 4128 |
pub fn set_static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit( |
| 4129 |
&mut self, |
| 4130 |
val: ::std::os::raw::c_uint, |
| 4131 |
) { |
| 4132 |
unsafe { |
| 4133 |
let val: u32 = ::std::mem::transmute(val); |
| 4134 |
self._bitfield_1.set(0usize, 1u8, val as u64) |
| 4135 |
} |
| 4136 |
} |
| 4137 |
#[inline] |
| 4138 |
pub unsafe fn static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit_raw( |
| 4139 |
this: *const Self, |
| 4140 |
) -> ::std::os::raw::c_uint { |
| 4141 |
unsafe { |
| 4142 |
::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get( |
| 4143 |
::std::ptr::addr_of!((*this)._bitfield_1), |
| 4144 |
0usize, |
| 4145 |
1u8, |
| 4146 |
) as u32) |
| 4147 |
} |
| 4148 |
} |
| 4149 |
#[inline] |
| 4150 |
pub unsafe fn set_static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit_raw( |
| 4151 |
this: *mut Self, |
| 4152 |
val: ::std::os::raw::c_uint, |
| 4153 |
) { |
| 4154 |
unsafe { |
| 4155 |
let val: u32 = ::std::mem::transmute(val); |
| 4156 |
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set( |
| 4157 |
::std::ptr::addr_of_mut!((*this)._bitfield_1), |
| 4158 |
0usize, |
| 4159 |
1u8, |
| 4160 |
val as u64, |
| 4161 |
) |
| 4162 |
} |
| 4163 |
} |
| 4164 |
#[inline] |
| 4165 |
pub fn new_bitfield_1( |
| 4166 |
static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit : :: std :: os :: raw :: c_uint, |
| 4167 |
) -> __BindgenBitfieldUnit<[u8; 1usize]> { |
| 4168 |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); |
| 4169 |
__bindgen_bitfield_unit . set (0usize , 1u8 , { let static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit : u32 = unsafe { :: std :: mem :: transmute (static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit) } ; static_assertion_at_line_219_error_is_pointer_size_must_be_8_bytes_for_64_bit as u64 }) ; |
| 4170 |
__bindgen_bitfield_unit |
| 4171 |
} |
| 4172 |
} |
| 4173 |
pub type ossl_ssize_t = isize; |
| 4174 |
pub type CBS_ASN1_TAG = u32; |
| 4175 |
pub type CRYPTO_THREADID = ::std::os::raw::c_int; |
| 4176 |
#[repr(C)] |
| 4177 |
#[derive(Debug, Copy, Clone)] |
| 4178 |
pub struct asn1_null_st { |
| 4179 |
_unused: [u8; 0], |
| 4180 |
} |
| 4181 |
pub type ASN1_NULL = asn1_null_st; |
| 4182 |
pub type ASN1_BOOLEAN = ::std::os::raw::c_int; |
| 4183 |
pub type ASN1_ITEM = ASN1_ITEM_st; |
| 4184 |
#[repr(C)] |
| 4185 |
#[derive(Debug, Copy, Clone)] |
| 4186 |
pub struct asn1_object_st { |
| 4187 |
_unused: [u8; 0], |
| 4188 |
} |
| 4189 |
pub type ASN1_OBJECT = asn1_object_st; |
| 4190 |
#[repr(C)] |
| 4191 |
#[derive(Debug, Copy, Clone)] |
| 4192 |
pub struct asn1_pctx_st { |
| 4193 |
_unused: [u8; 0], |
| 4194 |
} |
| 4195 |
pub type ASN1_PCTX = asn1_pctx_st; |
| 4196 |
pub type ASN1_BIT_STRING = asn1_string_st; |
| 4197 |
pub type ASN1_BMPSTRING = asn1_string_st; |
| 4198 |
pub type ASN1_ENUMERATED = asn1_string_st; |
| 4199 |
pub type ASN1_GENERALIZEDTIME = asn1_string_st; |
| 4200 |
pub type ASN1_GENERALSTRING = asn1_string_st; |
| 4201 |
pub type ASN1_IA5STRING = asn1_string_st; |
| 4202 |
pub type ASN1_INTEGER = asn1_string_st; |
| 4203 |
pub type ASN1_OCTET_STRING = asn1_string_st; |
| 4204 |
pub type ASN1_PRINTABLESTRING = asn1_string_st; |
| 4205 |
pub type ASN1_STRING = asn1_string_st; |
| 4206 |
pub type ASN1_T61STRING = asn1_string_st; |
| 4207 |
pub type ASN1_TIME = asn1_string_st; |
| 4208 |
pub type ASN1_UNIVERSALSTRING = asn1_string_st; |
| 4209 |
pub type ASN1_UTCTIME = asn1_string_st; |
| 4210 |
pub type ASN1_UTF8STRING = asn1_string_st; |
| 4211 |
pub type ASN1_VISIBLESTRING = asn1_string_st; |
| 4212 |
pub type ASN1_TYPE = asn1_type_st; |
| 4213 |
pub type AUTHORITY_KEYID = AUTHORITY_KEYID_st; |
| 4214 |
pub type BASIC_CONSTRAINTS = BASIC_CONSTRAINTS_st; |
| 4215 |
pub type DIST_POINT = DIST_POINT_st; |
| 4216 |
pub type DSA_SIG = DSA_SIG_st; |
| 4217 |
pub type GENERAL_NAME = GENERAL_NAME_st; |
| 4218 |
pub type ISSUING_DIST_POINT = ISSUING_DIST_POINT_st; |
| 4219 |
pub type NAME_CONSTRAINTS = NAME_CONSTRAINTS_st; |
| 4220 |
pub type NETSCAPE_SPKAC = Netscape_spkac_st; |
| 4221 |
pub type NETSCAPE_SPKI = Netscape_spki_st; |
| 4222 |
pub type RIPEMD160_CTX = RIPEMD160state_st; |
| 4223 |
#[repr(C)] |
| 4224 |
#[derive(Debug, Copy, Clone)] |
| 4225 |
pub struct X509_VERIFY_PARAM_st { |
| 4226 |
_unused: [u8; 0], |
| 4227 |
} |
| 4228 |
pub type X509_VERIFY_PARAM = X509_VERIFY_PARAM_st; |
| 4229 |
pub type X509_ALGOR = X509_algor_st; |
| 4230 |
#[repr(C)] |
| 4231 |
#[derive(Debug, Copy, Clone)] |
| 4232 |
pub struct X509_crl_st { |
| 4233 |
_unused: [u8; 0], |
| 4234 |
} |
| 4235 |
pub type X509_CRL = X509_crl_st; |
| 4236 |
#[repr(C)] |
| 4237 |
#[derive(Debug, Copy, Clone)] |
| 4238 |
pub struct X509_extension_st { |
| 4239 |
_unused: [u8; 0], |
| 4240 |
} |
| 4241 |
pub type X509_EXTENSION = X509_extension_st; |
| 4242 |
pub type X509_INFO = X509_info_st; |
| 4243 |
#[repr(C)] |
| 4244 |
#[derive(Debug, Copy, Clone)] |
| 4245 |
pub struct X509_name_entry_st { |
| 4246 |
_unused: [u8; 0], |
| 4247 |
} |
| 4248 |
pub type X509_NAME_ENTRY = X509_name_entry_st; |
| 4249 |
#[repr(C)] |
| 4250 |
#[derive(Debug, Copy, Clone)] |
| 4251 |
pub struct X509_name_st { |
| 4252 |
_unused: [u8; 0], |
| 4253 |
} |
| 4254 |
pub type X509_NAME = X509_name_st; |
| 4255 |
#[repr(C)] |
| 4256 |
#[derive(Debug, Copy, Clone)] |
| 4257 |
pub struct X509_pubkey_st { |
| 4258 |
_unused: [u8; 0], |
| 4259 |
} |
| 4260 |
pub type X509_PUBKEY = X509_pubkey_st; |
| 4261 |
#[repr(C)] |
| 4262 |
#[derive(Debug, Copy, Clone)] |
| 4263 |
pub struct X509_req_st { |
| 4264 |
_unused: [u8; 0], |
| 4265 |
} |
| 4266 |
pub type X509_REQ = X509_req_st; |
| 4267 |
#[repr(C)] |
| 4268 |
#[derive(Debug, Copy, Clone)] |
| 4269 |
pub struct x509_sig_info_st { |
| 4270 |
_unused: [u8; 0], |
| 4271 |
} |
| 4272 |
pub type X509_SIG_INFO = x509_sig_info_st; |
| 4273 |
#[repr(C)] |
| 4274 |
#[derive(Debug, Copy, Clone)] |
| 4275 |
pub struct X509_sig_st { |
| 4276 |
_unused: [u8; 0], |
| 4277 |
} |
| 4278 |
pub type X509_SIG = X509_sig_st; |
| 4279 |
#[repr(C)] |
| 4280 |
#[derive(Debug, Copy, Clone)] |
| 4281 |
pub struct bignum_ctx { |
| 4282 |
_unused: [u8; 0], |
| 4283 |
} |
| 4284 |
pub type BN_CTX = bignum_ctx; |
| 4285 |
pub type BIGNUM = bignum_st; |
| 4286 |
pub type BIO_METHOD = bio_method_st; |
| 4287 |
pub type BIO = bio_st; |
| 4288 |
pub type BLAKE2B_CTX = blake2b_state_st; |
| 4289 |
pub type BN_GENCB = bn_gencb_st; |
| 4290 |
pub type BN_MONT_CTX = bn_mont_ctx_st; |
| 4291 |
pub type BUF_MEM = buf_mem_st; |
| 4292 |
#[repr(C)] |
| 4293 |
#[derive(Debug, Copy, Clone)] |
| 4294 |
pub struct cast_key_st { |
| 4295 |
_unused: [u8; 0], |
| 4296 |
} |
| 4297 |
pub type CAST_KEY = cast_key_st; |
| 4298 |
pub type CBB = cbb_st; |
| 4299 |
pub type CBS = cbs_st; |
| 4300 |
#[repr(C)] |
| 4301 |
#[derive(Debug, Copy, Clone)] |
| 4302 |
pub struct cmac_ctx_st { |
| 4303 |
_unused: [u8; 0], |
| 4304 |
} |
| 4305 |
pub type CMAC_CTX = cmac_ctx_st; |
| 4306 |
pub type CONF = conf_st; |
| 4307 |
pub type CONF_VALUE = conf_value_st; |
| 4308 |
#[repr(C)] |
| 4309 |
#[derive(Debug, Copy, Clone)] |
| 4310 |
pub struct crypto_buffer_pool_st { |
| 4311 |
_unused: [u8; 0], |
| 4312 |
} |
| 4313 |
pub type CRYPTO_BUFFER_POOL = crypto_buffer_pool_st; |
| 4314 |
#[repr(C)] |
| 4315 |
#[derive(Debug, Copy, Clone)] |
| 4316 |
pub struct crypto_buffer_st { |
| 4317 |
_unused: [u8; 0], |
| 4318 |
} |
| 4319 |
pub type CRYPTO_BUFFER = crypto_buffer_st; |
| 4320 |
#[repr(C)] |
| 4321 |
#[derive(Debug, Copy, Clone)] |
| 4322 |
pub struct ctr_drbg_state_st { |
| 4323 |
_unused: [u8; 0], |
| 4324 |
} |
| 4325 |
pub type CTR_DRBG_STATE = ctr_drbg_state_st; |
| 4326 |
#[repr(C)] |
| 4327 |
#[derive(Debug, Copy, Clone)] |
| 4328 |
pub struct dh_st { |
| 4329 |
_unused: [u8; 0], |
| 4330 |
} |
| 4331 |
pub type DH = dh_st; |
| 4332 |
#[repr(C)] |
| 4333 |
#[derive(Debug, Copy, Clone)] |
| 4334 |
pub struct dsa_st { |
| 4335 |
_unused: [u8; 0], |
| 4336 |
} |
| 4337 |
pub type DSA = dsa_st; |
| 4338 |
#[repr(C)] |
| 4339 |
#[derive(Debug, Copy, Clone)] |
| 4340 |
pub struct ec_group_st { |
| 4341 |
_unused: [u8; 0], |
| 4342 |
} |
| 4343 |
pub type EC_GROUP = ec_group_st; |
| 4344 |
#[repr(C)] |
| 4345 |
#[derive(Debug, Copy, Clone)] |
| 4346 |
pub struct ec_key_st { |
| 4347 |
_unused: [u8; 0], |
| 4348 |
} |
| 4349 |
pub type EC_KEY = ec_key_st; |
| 4350 |
#[repr(C)] |
| 4351 |
#[derive(Debug, Copy, Clone)] |
| 4352 |
pub struct ec_point_st { |
| 4353 |
_unused: [u8; 0], |
| 4354 |
} |
| 4355 |
pub type EC_POINT = ec_point_st; |
| 4356 |
#[repr(C)] |
| 4357 |
#[derive(Debug, Copy, Clone)] |
| 4358 |
pub struct ec_key_method_st { |
| 4359 |
_unused: [u8; 0], |
| 4360 |
} |
| 4361 |
pub type EC_KEY_METHOD = ec_key_method_st; |
| 4362 |
pub type ECDSA_SIG = ecdsa_sig_st; |
| 4363 |
#[repr(C)] |
| 4364 |
#[derive(Debug, Copy, Clone)] |
| 4365 |
pub struct engine_st { |
| 4366 |
_unused: [u8; 0], |
| 4367 |
} |
| 4368 |
pub type ENGINE = engine_st; |
| 4369 |
pub type EVP_MD_CTX = env_md_ctx_st; |
| 4370 |
#[repr(C)] |
| 4371 |
#[derive(Debug, Copy, Clone)] |
| 4372 |
pub struct env_md_st { |
| 4373 |
_unused: [u8; 0], |
| 4374 |
} |
| 4375 |
pub type EVP_MD = env_md_st; |
| 4376 |
#[repr(C)] |
| 4377 |
#[derive(Debug, Copy, Clone)] |
| 4378 |
pub struct evp_aead_st { |
| 4379 |
_unused: [u8; 0], |
| 4380 |
} |
| 4381 |
pub type EVP_AEAD = evp_aead_st; |
| 4382 |
pub type EVP_AEAD_CTX = evp_aead_ctx_st; |
| 4383 |
pub type EVP_CIPHER_CTX = evp_cipher_ctx_st; |
| 4384 |
#[repr(C)] |
| 4385 |
#[derive(Debug, Copy, Clone)] |
| 4386 |
pub struct evp_cipher_st { |
| 4387 |
_unused: [u8; 0], |
| 4388 |
} |
| 4389 |
pub type EVP_CIPHER = evp_cipher_st; |
| 4390 |
#[doc = " @typedef EVP_ENCODE_CTX\n @copydoc evp_encode_ctx_st\n @see evp_encode_ctx_st"] |
| 4391 |
pub type EVP_ENCODE_CTX = evp_encode_ctx_st; |
| 4392 |
#[repr(C)] |
| 4393 |
#[derive(Debug, Copy, Clone)] |
| 4394 |
pub struct evp_hpke_aead_st { |
| 4395 |
_unused: [u8; 0], |
| 4396 |
} |
| 4397 |
pub type EVP_HPKE_AEAD = evp_hpke_aead_st; |
| 4398 |
pub type EVP_HPKE_CTX = evp_hpke_ctx_st; |
| 4399 |
#[repr(C)] |
| 4400 |
#[derive(Debug, Copy, Clone)] |
| 4401 |
pub struct evp_hpke_kdf_st { |
| 4402 |
_unused: [u8; 0], |
| 4403 |
} |
| 4404 |
pub type EVP_HPKE_KDF = evp_hpke_kdf_st; |
| 4405 |
#[repr(C)] |
| 4406 |
#[derive(Debug, Copy, Clone)] |
| 4407 |
pub struct evp_hpke_kem_st { |
| 4408 |
_unused: [u8; 0], |
| 4409 |
} |
| 4410 |
pub type EVP_HPKE_KEM = evp_hpke_kem_st; |
| 4411 |
pub type EVP_HPKE_KEY = evp_hpke_key_st; |
| 4412 |
#[repr(C)] |
| 4413 |
#[derive(Debug, Copy, Clone)] |
| 4414 |
pub struct evp_kem_st { |
| 4415 |
_unused: [u8; 0], |
| 4416 |
} |
| 4417 |
pub type EVP_KEM = evp_kem_st; |
| 4418 |
#[repr(C)] |
| 4419 |
#[derive(Debug, Copy, Clone)] |
| 4420 |
pub struct kem_key_st { |
| 4421 |
_unused: [u8; 0], |
| 4422 |
} |
| 4423 |
pub type KEM_KEY = kem_key_st; |
| 4424 |
#[repr(C)] |
| 4425 |
#[derive(Debug, Copy, Clone)] |
| 4426 |
pub struct evp_pkey_ctx_st { |
| 4427 |
_unused: [u8; 0], |
| 4428 |
} |
| 4429 |
pub type EVP_PKEY_CTX = evp_pkey_ctx_st; |
| 4430 |
#[repr(C)] |
| 4431 |
#[derive(Debug, Copy, Clone)] |
| 4432 |
pub struct evp_pkey_asn1_method_st { |
| 4433 |
_unused: [u8; 0], |
| 4434 |
} |
| 4435 |
pub type EVP_PKEY_ASN1_METHOD = evp_pkey_asn1_method_st; |
| 4436 |
#[repr(C)] |
| 4437 |
#[derive(Debug, Copy, Clone)] |
| 4438 |
pub struct evp_pkey_st { |
| 4439 |
_unused: [u8; 0], |
| 4440 |
} |
| 4441 |
pub type EVP_PKEY = evp_pkey_st; |
| 4442 |
#[repr(C)] |
| 4443 |
#[derive(Debug, Copy, Clone)] |
| 4444 |
pub struct evp_pkey_ctx_signature_context_params_st { |
| 4445 |
_unused: [u8; 0], |
| 4446 |
} |
| 4447 |
pub type EVP_PKEY_CTX_SIGNATURE_CONTEXT_PARAMS = evp_pkey_ctx_signature_context_params_st; |
| 4448 |
pub type HMAC_CTX = hmac_ctx_st; |
| 4449 |
pub type MD4_CTX = md4_state_st; |
| 4450 |
pub type MD5_CTX = md5_state_st; |
| 4451 |
#[repr(C)] |
| 4452 |
#[derive(Debug, Copy, Clone)] |
| 4453 |
pub struct pqdsa_key_st { |
| 4454 |
_unused: [u8; 0], |
| 4455 |
} |
| 4456 |
pub type PQDSA_KEY = pqdsa_key_st; |
| 4457 |
#[repr(C)] |
| 4458 |
#[derive(Debug, Copy, Clone)] |
| 4459 |
pub struct ocsp_req_ctx_st { |
| 4460 |
_unused: [u8; 0], |
| 4461 |
} |
| 4462 |
pub type OCSP_REQ_CTX = ocsp_req_ctx_st; |
| 4463 |
#[repr(C)] |
| 4464 |
#[derive(Debug, Copy, Clone)] |
| 4465 |
pub struct ossl_init_settings_st { |
| 4466 |
_unused: [u8; 0], |
| 4467 |
} |
| 4468 |
pub type OPENSSL_INIT_SETTINGS = ossl_init_settings_st; |
| 4469 |
#[repr(C)] |
| 4470 |
#[derive(Debug, Copy, Clone)] |
| 4471 |
pub struct pkcs7_digest_st { |
| 4472 |
_unused: [u8; 0], |
| 4473 |
} |
| 4474 |
pub type PKCS7_DIGEST = pkcs7_digest_st; |
| 4475 |
#[repr(C)] |
| 4476 |
#[derive(Debug, Copy, Clone)] |
| 4477 |
pub struct pkcs7_enc_content_st { |
| 4478 |
_unused: [u8; 0], |
| 4479 |
} |
| 4480 |
pub type PKCS7_ENC_CONTENT = pkcs7_enc_content_st; |
| 4481 |
#[repr(C)] |
| 4482 |
#[derive(Debug, Copy, Clone)] |
| 4483 |
pub struct pkcs7_encrypt_st { |
| 4484 |
_unused: [u8; 0], |
| 4485 |
} |
| 4486 |
pub type PKCS7_ENCRYPT = pkcs7_encrypt_st; |
| 4487 |
pub type PKCS7_ENVELOPE = pkcs7_envelope_st; |
| 4488 |
pub type PKCS7_ISSUER_AND_SERIAL = pkcs7_issuer_and_serial_st; |
| 4489 |
pub type PKCS7_RECIP_INFO = pkcs7_recip_info_st; |
| 4490 |
pub type PKCS7_SIGN_ENVELOPE = pkcs7_sign_envelope_st; |
| 4491 |
pub type PKCS7_SIGNED = pkcs7_signed_st; |
| 4492 |
pub type PKCS7_SIGNER_INFO = pkcs7_signer_info_st; |
| 4493 |
pub type PKCS7 = pkcs7_st; |
| 4494 |
#[repr(C)] |
| 4495 |
#[derive(Debug, Copy, Clone)] |
| 4496 |
pub struct pkcs12_st { |
| 4497 |
_unused: [u8; 0], |
| 4498 |
} |
| 4499 |
pub type PKCS12 = pkcs12_st; |
| 4500 |
#[repr(C)] |
| 4501 |
#[derive(Debug, Copy, Clone)] |
| 4502 |
pub struct pkcs8_priv_key_info_st { |
| 4503 |
_unused: [u8; 0], |
| 4504 |
} |
| 4505 |
pub type PKCS8_PRIV_KEY_INFO = pkcs8_priv_key_info_st; |
| 4506 |
pub type X509_PKEY = private_key_st; |
| 4507 |
pub type RAND_METHOD = rand_meth_st; |
| 4508 |
pub type RC4_KEY = rc4_key_st; |
| 4509 |
#[repr(C)] |
| 4510 |
#[derive(Debug, Copy, Clone)] |
| 4511 |
pub struct rsa_meth_st { |
| 4512 |
_unused: [u8; 0], |
| 4513 |
} |
| 4514 |
pub type RSA_METHOD = rsa_meth_st; |
| 4515 |
#[repr(C)] |
| 4516 |
#[derive(Debug, Copy, Clone)] |
| 4517 |
pub struct rsassa_pss_params_st { |
| 4518 |
_unused: [u8; 0], |
| 4519 |
} |
| 4520 |
pub type RSASSA_PSS_PARAMS = rsassa_pss_params_st; |
| 4521 |
pub type RSA_PSS_PARAMS = rsa_pss_params_st; |
| 4522 |
#[repr(C)] |
| 4523 |
#[derive(Debug, Copy, Clone)] |
| 4524 |
pub struct rsa_st { |
| 4525 |
_unused: [u8; 0], |
| 4526 |
} |
| 4527 |
pub type RSA = rsa_st; |
| 4528 |
pub type SHA256_CTX = sha256_state_st; |
| 4529 |
pub type SHA512_CTX = sha512_state_st; |
| 4530 |
pub type SHA_CTX = sha_state_st; |
| 4531 |
#[repr(C)] |
| 4532 |
#[derive(Debug, Copy, Clone)] |
| 4533 |
pub struct spake2_ctx_st { |
| 4534 |
_unused: [u8; 0], |
| 4535 |
} |
| 4536 |
pub type SPAKE2_CTX = spake2_ctx_st; |
| 4537 |
#[repr(C)] |
| 4538 |
#[derive(Debug, Copy, Clone)] |
| 4539 |
pub struct srtp_protection_profile_st { |
| 4540 |
_unused: [u8; 0], |
| 4541 |
} |
| 4542 |
pub type SRTP_PROTECTION_PROFILE = srtp_protection_profile_st; |
| 4543 |
#[repr(C)] |
| 4544 |
#[derive(Debug, Copy, Clone)] |
| 4545 |
pub struct ssl_cipher_st { |
| 4546 |
_unused: [u8; 0], |
| 4547 |
} |
| 4548 |
pub type SSL_CIPHER = ssl_cipher_st; |
| 4549 |
#[repr(C)] |
| 4550 |
#[derive(Debug, Copy, Clone)] |
| 4551 |
pub struct ssl_ctx_st { |
| 4552 |
_unused: [u8; 0], |
| 4553 |
} |
| 4554 |
pub type SSL_CTX = ssl_ctx_st; |
| 4555 |
#[repr(C)] |
| 4556 |
#[derive(Debug, Copy, Clone)] |
| 4557 |
pub struct ssl_early_callback_ctx { |
| 4558 |
_unused: [u8; 0], |
| 4559 |
} |
| 4560 |
pub type SSL_CLIENT_HELLO = ssl_early_callback_ctx; |
| 4561 |
#[repr(C)] |
| 4562 |
#[derive(Debug, Copy, Clone)] |
| 4563 |
pub struct ssl_ech_keys_st { |
| 4564 |
_unused: [u8; 0], |
| 4565 |
} |
| 4566 |
pub type SSL_ECH_KEYS = ssl_ech_keys_st; |
| 4567 |
#[repr(C)] |
| 4568 |
#[derive(Debug, Copy, Clone)] |
| 4569 |
pub struct ssl_method_st { |
| 4570 |
_unused: [u8; 0], |
| 4571 |
} |
| 4572 |
pub type SSL_METHOD = ssl_method_st; |
| 4573 |
#[repr(C)] |
| 4574 |
#[derive(Debug, Copy, Clone)] |
| 4575 |
pub struct ssl_private_key_method_st { |
| 4576 |
_unused: [u8; 0], |
| 4577 |
} |
| 4578 |
pub type SSL_PRIVATE_KEY_METHOD = ssl_private_key_method_st; |
| 4579 |
#[repr(C)] |
| 4580 |
#[derive(Debug, Copy, Clone)] |
| 4581 |
pub struct ssl_quic_method_st { |
| 4582 |
_unused: [u8; 0], |
| 4583 |
} |
| 4584 |
pub type SSL_QUIC_METHOD = ssl_quic_method_st; |
| 4585 |
#[repr(C)] |
| 4586 |
#[derive(Debug, Copy, Clone)] |
| 4587 |
pub struct ssl_session_st { |
| 4588 |
_unused: [u8; 0], |
| 4589 |
} |
| 4590 |
pub type SSL_SESSION = ssl_session_st; |
| 4591 |
#[repr(C)] |
| 4592 |
#[derive(Debug, Copy, Clone)] |
| 4593 |
pub struct ssl_st { |
| 4594 |
_unused: [u8; 0], |
| 4595 |
} |
| 4596 |
pub type SSL = ssl_st; |
| 4597 |
#[repr(C)] |
| 4598 |
#[derive(Debug, Copy, Clone)] |
| 4599 |
pub struct ssl_ticket_aead_method_st { |
| 4600 |
_unused: [u8; 0], |
| 4601 |
} |
| 4602 |
pub type SSL_TICKET_AEAD_METHOD = ssl_ticket_aead_method_st; |
| 4603 |
#[repr(C)] |
| 4604 |
#[derive(Debug, Copy, Clone)] |
| 4605 |
pub struct st_ERR_FNS { |
| 4606 |
_unused: [u8; 0], |
| 4607 |
} |
| 4608 |
pub type ERR_FNS = st_ERR_FNS; |
| 4609 |
pub type TRUST_TOKEN = trust_token_st; |
| 4610 |
#[repr(C)] |
| 4611 |
#[derive(Debug, Copy, Clone)] |
| 4612 |
pub struct trust_token_client_st { |
| 4613 |
_unused: [u8; 0], |
| 4614 |
} |
| 4615 |
pub type TRUST_TOKEN_CLIENT = trust_token_client_st; |
| 4616 |
#[repr(C)] |
| 4617 |
#[derive(Debug, Copy, Clone)] |
| 4618 |
pub struct trust_token_issuer_st { |
| 4619 |
_unused: [u8; 0], |
| 4620 |
} |
| 4621 |
pub type TRUST_TOKEN_ISSUER = trust_token_issuer_st; |
| 4622 |
#[repr(C)] |
| 4623 |
#[derive(Debug, Copy, Clone)] |
| 4624 |
pub struct trust_token_method_st { |
| 4625 |
_unused: [u8; 0], |
| 4626 |
} |
| 4627 |
pub type TRUST_TOKEN_METHOD = trust_token_method_st; |
| 4628 |
pub type X509V3_CTX = v3_ext_ctx; |
| 4629 |
pub type X509V3_EXT_METHOD = v3_ext_method; |
| 4630 |
#[repr(C)] |
| 4631 |
#[derive(Debug, Copy, Clone)] |
| 4632 |
pub struct x509_attributes_st { |
| 4633 |
_unused: [u8; 0], |
| 4634 |
} |
| 4635 |
pub type X509_ATTRIBUTE = x509_attributes_st; |
| 4636 |
#[repr(C)] |
| 4637 |
#[derive(Debug, Copy, Clone)] |
| 4638 |
pub struct x509_lookup_st { |
| 4639 |
_unused: [u8; 0], |
| 4640 |
} |
| 4641 |
pub type X509_LOOKUP = x509_lookup_st; |
| 4642 |
#[repr(C)] |
| 4643 |
#[derive(Debug, Copy, Clone)] |
| 4644 |
pub struct x509_lookup_method_st { |
| 4645 |
_unused: [u8; 0], |
| 4646 |
} |
| 4647 |
pub type X509_LOOKUP_METHOD = x509_lookup_method_st; |
| 4648 |
#[repr(C)] |
| 4649 |
#[derive(Debug, Copy, Clone)] |
| 4650 |
pub struct x509_object_st { |
| 4651 |
_unused: [u8; 0], |
| 4652 |
} |
| 4653 |
pub type X509_OBJECT = x509_object_st; |
| 4654 |
#[repr(C)] |
| 4655 |
#[derive(Debug, Copy, Clone)] |
| 4656 |
pub struct x509_revoked_st { |
| 4657 |
_unused: [u8; 0], |
| 4658 |
} |
| 4659 |
pub type X509_REVOKED = x509_revoked_st; |
| 4660 |
#[repr(C)] |
| 4661 |
#[derive(Debug, Copy, Clone)] |
| 4662 |
pub struct x509_st { |
| 4663 |
_unused: [u8; 0], |
| 4664 |
} |
| 4665 |
pub type X509 = x509_st; |
| 4666 |
#[repr(C)] |
| 4667 |
#[derive(Debug, Copy, Clone)] |
| 4668 |
pub struct x509_store_ctx_st { |
| 4669 |
_unused: [u8; 0], |
| 4670 |
} |
| 4671 |
pub type X509_STORE_CTX = x509_store_ctx_st; |
| 4672 |
#[repr(C)] |
| 4673 |
#[derive(Debug, Copy, Clone)] |
| 4674 |
pub struct x509_store_st { |
| 4675 |
_unused: [u8; 0], |
| 4676 |
} |
| 4677 |
pub type X509_STORE = x509_store_st; |
| 4678 |
pub type X509_TRUST = x509_trust_st; |
| 4679 |
pub type OPENSSL_BLOCK = *mut ::std::os::raw::c_void; |
| 4680 |
#[repr(C)] |
| 4681 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 4682 |
pub struct aes_key_st { |
| 4683 |
pub rd_key: [u32; 60usize], |
| 4684 |
pub rounds: ::std::os::raw::c_uint, |
| 4685 |
} |
| 4686 |
#[test] |
| 4687 |
fn bindgen_test_layout_aes_key_st() { |
| 4688 |
const UNINIT: ::std::mem::MaybeUninit<aes_key_st> = ::std::mem::MaybeUninit::uninit(); |
| 4689 |
let ptr = UNINIT.as_ptr(); |
| 4690 |
assert_eq!( |
| 4691 |
::std::mem::size_of::<aes_key_st>(), |
| 4692 |
244usize, |
| 4693 |
"Size of aes_key_st" |
| 4694 |
); |
| 4695 |
assert_eq!( |
| 4696 |
::std::mem::align_of::<aes_key_st>(), |
| 4697 |
4usize, |
| 4698 |
"Alignment of aes_key_st" |
| 4699 |
); |
| 4700 |
assert_eq!( |
| 4701 |
unsafe { ::std::ptr::addr_of!((*ptr).rd_key) as usize - ptr as usize }, |
| 4702 |
0usize, |
| 4703 |
"Offset of field: aes_key_st::rd_key" |
| 4704 |
); |
| 4705 |
assert_eq!( |
| 4706 |
unsafe { ::std::ptr::addr_of!((*ptr).rounds) as usize - ptr as usize }, |
| 4707 |
240usize, |
| 4708 |
"Offset of field: aes_key_st::rounds" |
| 4709 |
); |
| 4710 |
} |
| 4711 |
impl Default for aes_key_st { |
| 4712 |
fn default() -> Self { |
| 4713 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 4714 |
unsafe { |
| 4715 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 4716 |
s.assume_init() |
| 4717 |
} |
| 4718 |
} |
| 4719 |
} |
| 4720 |
pub type AES_KEY = aes_key_st; |
| 4721 |
extern "C" { |
| 4722 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_set_encrypt_key"] |
| 4723 |
pub fn AES_set_encrypt_key( |
| 4724 |
key: *const u8, |
| 4725 |
bits: ::std::os::raw::c_uint, |
| 4726 |
aeskey: *mut AES_KEY, |
| 4727 |
) -> ::std::os::raw::c_int; |
| 4728 |
} |
| 4729 |
extern "C" { |
| 4730 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_set_decrypt_key"] |
| 4731 |
pub fn AES_set_decrypt_key( |
| 4732 |
key: *const u8, |
| 4733 |
bits: ::std::os::raw::c_uint, |
| 4734 |
aeskey: *mut AES_KEY, |
| 4735 |
) -> ::std::os::raw::c_int; |
| 4736 |
} |
| 4737 |
extern "C" { |
| 4738 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_encrypt"] |
| 4739 |
pub fn AES_encrypt(in_: *const u8, out: *mut u8, key: *const AES_KEY); |
| 4740 |
} |
| 4741 |
extern "C" { |
| 4742 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_decrypt"] |
| 4743 |
pub fn AES_decrypt(in_: *const u8, out: *mut u8, key: *const AES_KEY); |
| 4744 |
} |
| 4745 |
extern "C" { |
| 4746 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_ctr128_encrypt"] |
| 4747 |
pub fn AES_ctr128_encrypt( |
| 4748 |
in_: *const u8, |
| 4749 |
out: *mut u8, |
| 4750 |
len: usize, |
| 4751 |
key: *const AES_KEY, |
| 4752 |
ivec: *mut u8, |
| 4753 |
ecount_buf: *mut u8, |
| 4754 |
num: *mut ::std::os::raw::c_uint, |
| 4755 |
); |
| 4756 |
} |
| 4757 |
extern "C" { |
| 4758 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_ecb_encrypt"] |
| 4759 |
pub fn AES_ecb_encrypt( |
| 4760 |
in_: *const u8, |
| 4761 |
out: *mut u8, |
| 4762 |
key: *const AES_KEY, |
| 4763 |
enc: ::std::os::raw::c_int, |
| 4764 |
); |
| 4765 |
} |
| 4766 |
extern "C" { |
| 4767 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_cbc_encrypt"] |
| 4768 |
pub fn AES_cbc_encrypt( |
| 4769 |
in_: *const u8, |
| 4770 |
out: *mut u8, |
| 4771 |
len: usize, |
| 4772 |
key: *const AES_KEY, |
| 4773 |
ivec: *mut u8, |
| 4774 |
enc: ::std::os::raw::c_int, |
| 4775 |
); |
| 4776 |
} |
| 4777 |
extern "C" { |
| 4778 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_ofb128_encrypt"] |
| 4779 |
pub fn AES_ofb128_encrypt( |
| 4780 |
in_: *const u8, |
| 4781 |
out: *mut u8, |
| 4782 |
len: usize, |
| 4783 |
key: *const AES_KEY, |
| 4784 |
ivec: *mut u8, |
| 4785 |
num: *mut ::std::os::raw::c_int, |
| 4786 |
); |
| 4787 |
} |
| 4788 |
extern "C" { |
| 4789 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_cfb1_encrypt"] |
| 4790 |
pub fn AES_cfb1_encrypt( |
| 4791 |
in_: *const u8, |
| 4792 |
out: *mut u8, |
| 4793 |
bits: usize, |
| 4794 |
key: *const AES_KEY, |
| 4795 |
ivec: *mut u8, |
| 4796 |
num: *mut ::std::os::raw::c_int, |
| 4797 |
enc: ::std::os::raw::c_int, |
| 4798 |
); |
| 4799 |
} |
| 4800 |
extern "C" { |
| 4801 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_cfb8_encrypt"] |
| 4802 |
pub fn AES_cfb8_encrypt( |
| 4803 |
in_: *const u8, |
| 4804 |
out: *mut u8, |
| 4805 |
len: usize, |
| 4806 |
key: *const AES_KEY, |
| 4807 |
ivec: *mut u8, |
| 4808 |
num: *mut ::std::os::raw::c_int, |
| 4809 |
enc: ::std::os::raw::c_int, |
| 4810 |
); |
| 4811 |
} |
| 4812 |
extern "C" { |
| 4813 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_cfb128_encrypt"] |
| 4814 |
pub fn AES_cfb128_encrypt( |
| 4815 |
in_: *const u8, |
| 4816 |
out: *mut u8, |
| 4817 |
len: usize, |
| 4818 |
key: *const AES_KEY, |
| 4819 |
ivec: *mut u8, |
| 4820 |
num: *mut ::std::os::raw::c_int, |
| 4821 |
enc: ::std::os::raw::c_int, |
| 4822 |
); |
| 4823 |
} |
| 4824 |
extern "C" { |
| 4825 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_wrap_key"] |
| 4826 |
pub fn AES_wrap_key( |
| 4827 |
key: *const AES_KEY, |
| 4828 |
iv: *const u8, |
| 4829 |
out: *mut u8, |
| 4830 |
in_: *const u8, |
| 4831 |
in_len: usize, |
| 4832 |
) -> ::std::os::raw::c_int; |
| 4833 |
} |
| 4834 |
extern "C" { |
| 4835 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_unwrap_key"] |
| 4836 |
pub fn AES_unwrap_key( |
| 4837 |
key: *const AES_KEY, |
| 4838 |
iv: *const u8, |
| 4839 |
out: *mut u8, |
| 4840 |
in_: *const u8, |
| 4841 |
in_len: usize, |
| 4842 |
) -> ::std::os::raw::c_int; |
| 4843 |
} |
| 4844 |
extern "C" { |
| 4845 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_wrap_key_padded"] |
| 4846 |
pub fn AES_wrap_key_padded( |
| 4847 |
key: *const AES_KEY, |
| 4848 |
out: *mut u8, |
| 4849 |
out_len: *mut usize, |
| 4850 |
max_out: usize, |
| 4851 |
in_: *const u8, |
| 4852 |
in_len: usize, |
| 4853 |
) -> ::std::os::raw::c_int; |
| 4854 |
} |
| 4855 |
extern "C" { |
| 4856 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_unwrap_key_padded"] |
| 4857 |
pub fn AES_unwrap_key_padded( |
| 4858 |
key: *const AES_KEY, |
| 4859 |
out: *mut u8, |
| 4860 |
out_len: *mut usize, |
| 4861 |
max_out: usize, |
| 4862 |
in_: *const u8, |
| 4863 |
in_len: usize, |
| 4864 |
) -> ::std::os::raw::c_int; |
| 4865 |
} |
| 4866 |
#[repr(C)] |
| 4867 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 4868 |
pub struct tm { |
| 4869 |
pub tm_sec: ::std::os::raw::c_int, |
| 4870 |
pub tm_min: ::std::os::raw::c_int, |
| 4871 |
pub tm_hour: ::std::os::raw::c_int, |
| 4872 |
pub tm_mday: ::std::os::raw::c_int, |
| 4873 |
pub tm_mon: ::std::os::raw::c_int, |
| 4874 |
pub tm_year: ::std::os::raw::c_int, |
| 4875 |
pub tm_wday: ::std::os::raw::c_int, |
| 4876 |
pub tm_yday: ::std::os::raw::c_int, |
| 4877 |
pub tm_isdst: ::std::os::raw::c_int, |
| 4878 |
pub tm_gmtoff: ::std::os::raw::c_long, |
| 4879 |
pub tm_zone: *const ::std::os::raw::c_char, |
| 4880 |
} |
| 4881 |
#[test] |
| 4882 |
fn bindgen_test_layout_tm() { |
| 4883 |
const UNINIT: ::std::mem::MaybeUninit<tm> = ::std::mem::MaybeUninit::uninit(); |
| 4884 |
let ptr = UNINIT.as_ptr(); |
| 4885 |
assert_eq!(::std::mem::size_of::<tm>(), 56usize, "Size of tm"); |
| 4886 |
assert_eq!(::std::mem::align_of::<tm>(), 8usize, "Alignment of tm"); |
| 4887 |
assert_eq!( |
| 4888 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_sec) as usize - ptr as usize }, |
| 4889 |
0usize, |
| 4890 |
"Offset of field: tm::tm_sec" |
| 4891 |
); |
| 4892 |
assert_eq!( |
| 4893 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_min) as usize - ptr as usize }, |
| 4894 |
4usize, |
| 4895 |
"Offset of field: tm::tm_min" |
| 4896 |
); |
| 4897 |
assert_eq!( |
| 4898 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_hour) as usize - ptr as usize }, |
| 4899 |
8usize, |
| 4900 |
"Offset of field: tm::tm_hour" |
| 4901 |
); |
| 4902 |
assert_eq!( |
| 4903 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_mday) as usize - ptr as usize }, |
| 4904 |
12usize, |
| 4905 |
"Offset of field: tm::tm_mday" |
| 4906 |
); |
| 4907 |
assert_eq!( |
| 4908 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_mon) as usize - ptr as usize }, |
| 4909 |
16usize, |
| 4910 |
"Offset of field: tm::tm_mon" |
| 4911 |
); |
| 4912 |
assert_eq!( |
| 4913 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_year) as usize - ptr as usize }, |
| 4914 |
20usize, |
| 4915 |
"Offset of field: tm::tm_year" |
| 4916 |
); |
| 4917 |
assert_eq!( |
| 4918 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_wday) as usize - ptr as usize }, |
| 4919 |
24usize, |
| 4920 |
"Offset of field: tm::tm_wday" |
| 4921 |
); |
| 4922 |
assert_eq!( |
| 4923 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_yday) as usize - ptr as usize }, |
| 4924 |
28usize, |
| 4925 |
"Offset of field: tm::tm_yday" |
| 4926 |
); |
| 4927 |
assert_eq!( |
| 4928 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_isdst) as usize - ptr as usize }, |
| 4929 |
32usize, |
| 4930 |
"Offset of field: tm::tm_isdst" |
| 4931 |
); |
| 4932 |
assert_eq!( |
| 4933 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_gmtoff) as usize - ptr as usize }, |
| 4934 |
40usize, |
| 4935 |
"Offset of field: tm::tm_gmtoff" |
| 4936 |
); |
| 4937 |
assert_eq!( |
| 4938 |
unsafe { ::std::ptr::addr_of!((*ptr).tm_zone) as usize - ptr as usize }, |
| 4939 |
48usize, |
| 4940 |
"Offset of field: tm::tm_zone" |
| 4941 |
); |
| 4942 |
} |
| 4943 |
impl Default for tm { |
| 4944 |
fn default() -> Self { |
| 4945 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 4946 |
unsafe { |
| 4947 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 4948 |
s.assume_init() |
| 4949 |
} |
| 4950 |
} |
| 4951 |
} |
| 4952 |
#[repr(C)] |
| 4953 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 4954 |
pub struct buf_mem_st { |
| 4955 |
pub length: usize, |
| 4956 |
pub data: *mut ::std::os::raw::c_char, |
| 4957 |
pub max: usize, |
| 4958 |
} |
| 4959 |
#[test] |
| 4960 |
fn bindgen_test_layout_buf_mem_st() { |
| 4961 |
const UNINIT: ::std::mem::MaybeUninit<buf_mem_st> = ::std::mem::MaybeUninit::uninit(); |
| 4962 |
let ptr = UNINIT.as_ptr(); |
| 4963 |
assert_eq!( |
| 4964 |
::std::mem::size_of::<buf_mem_st>(), |
| 4965 |
24usize, |
| 4966 |
"Size of buf_mem_st" |
| 4967 |
); |
| 4968 |
assert_eq!( |
| 4969 |
::std::mem::align_of::<buf_mem_st>(), |
| 4970 |
8usize, |
| 4971 |
"Alignment of buf_mem_st" |
| 4972 |
); |
| 4973 |
assert_eq!( |
| 4974 |
unsafe { ::std::ptr::addr_of!((*ptr).length) as usize - ptr as usize }, |
| 4975 |
0usize, |
| 4976 |
"Offset of field: buf_mem_st::length" |
| 4977 |
); |
| 4978 |
assert_eq!( |
| 4979 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 4980 |
8usize, |
| 4981 |
"Offset of field: buf_mem_st::data" |
| 4982 |
); |
| 4983 |
assert_eq!( |
| 4984 |
unsafe { ::std::ptr::addr_of!((*ptr).max) as usize - ptr as usize }, |
| 4985 |
16usize, |
| 4986 |
"Offset of field: buf_mem_st::max" |
| 4987 |
); |
| 4988 |
} |
| 4989 |
impl Default for buf_mem_st { |
| 4990 |
fn default() -> Self { |
| 4991 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 4992 |
unsafe { |
| 4993 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 4994 |
s.assume_init() |
| 4995 |
} |
| 4996 |
} |
| 4997 |
} |
| 4998 |
extern "C" { |
| 4999 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_MEM_new"] |
| 5000 |
pub fn BUF_MEM_new() -> *mut BUF_MEM; |
| 5001 |
} |
| 5002 |
extern "C" { |
| 5003 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_MEM_free"] |
| 5004 |
pub fn BUF_MEM_free(buf: *mut BUF_MEM); |
| 5005 |
} |
| 5006 |
extern "C" { |
| 5007 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_MEM_reserve"] |
| 5008 |
pub fn BUF_MEM_reserve(buf: *mut BUF_MEM, cap: usize) -> ::std::os::raw::c_int; |
| 5009 |
} |
| 5010 |
extern "C" { |
| 5011 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_MEM_grow"] |
| 5012 |
pub fn BUF_MEM_grow(buf: *mut BUF_MEM, len: usize) -> usize; |
| 5013 |
} |
| 5014 |
extern "C" { |
| 5015 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_MEM_grow_clean"] |
| 5016 |
pub fn BUF_MEM_grow_clean(buf: *mut BUF_MEM, len: usize) -> usize; |
| 5017 |
} |
| 5018 |
extern "C" { |
| 5019 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_MEM_append"] |
| 5020 |
pub fn BUF_MEM_append( |
| 5021 |
buf: *mut BUF_MEM, |
| 5022 |
in_: *const ::std::os::raw::c_void, |
| 5023 |
len: usize, |
| 5024 |
) -> ::std::os::raw::c_int; |
| 5025 |
} |
| 5026 |
extern "C" { |
| 5027 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_strdup"] |
| 5028 |
pub fn BUF_strdup(str_: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; |
| 5029 |
} |
| 5030 |
extern "C" { |
| 5031 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_strnlen"] |
| 5032 |
pub fn BUF_strnlen(str_: *const ::std::os::raw::c_char, max_len: usize) -> usize; |
| 5033 |
} |
| 5034 |
extern "C" { |
| 5035 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_strndup"] |
| 5036 |
pub fn BUF_strndup( |
| 5037 |
str_: *const ::std::os::raw::c_char, |
| 5038 |
size: usize, |
| 5039 |
) -> *mut ::std::os::raw::c_char; |
| 5040 |
} |
| 5041 |
extern "C" { |
| 5042 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_memdup"] |
| 5043 |
pub fn BUF_memdup( |
| 5044 |
data: *const ::std::os::raw::c_void, |
| 5045 |
size: usize, |
| 5046 |
) -> *mut ::std::os::raw::c_void; |
| 5047 |
} |
| 5048 |
extern "C" { |
| 5049 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_strlcpy"] |
| 5050 |
pub fn BUF_strlcpy( |
| 5051 |
dst: *mut ::std::os::raw::c_char, |
| 5052 |
src: *const ::std::os::raw::c_char, |
| 5053 |
dst_size: usize, |
| 5054 |
) -> usize; |
| 5055 |
} |
| 5056 |
extern "C" { |
| 5057 |
#[link_name = "\u{1}aws_lc_0_41_0_BUF_strlcat"] |
| 5058 |
pub fn BUF_strlcat( |
| 5059 |
dst: *mut ::std::os::raw::c_char, |
| 5060 |
src: *const ::std::os::raw::c_char, |
| 5061 |
dst_size: usize, |
| 5062 |
) -> usize; |
| 5063 |
} |
| 5064 |
extern "C" { |
| 5065 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA1_Init"] |
| 5066 |
pub fn SHA1_Init(sha: *mut SHA_CTX) -> ::std::os::raw::c_int; |
| 5067 |
} |
| 5068 |
extern "C" { |
| 5069 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA1_Update"] |
| 5070 |
pub fn SHA1_Update( |
| 5071 |
sha: *mut SHA_CTX, |
| 5072 |
data: *const ::std::os::raw::c_void, |
| 5073 |
len: usize, |
| 5074 |
) -> ::std::os::raw::c_int; |
| 5075 |
} |
| 5076 |
extern "C" { |
| 5077 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA1_Final"] |
| 5078 |
pub fn SHA1_Final(out: *mut u8, sha: *mut SHA_CTX) -> ::std::os::raw::c_int; |
| 5079 |
} |
| 5080 |
extern "C" { |
| 5081 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA1"] |
| 5082 |
pub fn SHA1(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 5083 |
} |
| 5084 |
extern "C" { |
| 5085 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA1_Transform"] |
| 5086 |
pub fn SHA1_Transform(sha: *mut SHA_CTX, block: *const u8); |
| 5087 |
} |
| 5088 |
#[repr(C)] |
| 5089 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 5090 |
pub struct sha_state_st { |
| 5091 |
pub h: [u32; 5usize], |
| 5092 |
pub Nl: u32, |
| 5093 |
pub Nh: u32, |
| 5094 |
pub data: [u8; 64usize], |
| 5095 |
pub num: ::std::os::raw::c_uint, |
| 5096 |
} |
| 5097 |
#[test] |
| 5098 |
fn bindgen_test_layout_sha_state_st() { |
| 5099 |
const UNINIT: ::std::mem::MaybeUninit<sha_state_st> = ::std::mem::MaybeUninit::uninit(); |
| 5100 |
let ptr = UNINIT.as_ptr(); |
| 5101 |
assert_eq!( |
| 5102 |
::std::mem::size_of::<sha_state_st>(), |
| 5103 |
96usize, |
| 5104 |
"Size of sha_state_st" |
| 5105 |
); |
| 5106 |
assert_eq!( |
| 5107 |
::std::mem::align_of::<sha_state_st>(), |
| 5108 |
4usize, |
| 5109 |
"Alignment of sha_state_st" |
| 5110 |
); |
| 5111 |
assert_eq!( |
| 5112 |
unsafe { ::std::ptr::addr_of!((*ptr).h) as usize - ptr as usize }, |
| 5113 |
0usize, |
| 5114 |
"Offset of field: sha_state_st::h" |
| 5115 |
); |
| 5116 |
assert_eq!( |
| 5117 |
unsafe { ::std::ptr::addr_of!((*ptr).Nl) as usize - ptr as usize }, |
| 5118 |
20usize, |
| 5119 |
"Offset of field: sha_state_st::Nl" |
| 5120 |
); |
| 5121 |
assert_eq!( |
| 5122 |
unsafe { ::std::ptr::addr_of!((*ptr).Nh) as usize - ptr as usize }, |
| 5123 |
24usize, |
| 5124 |
"Offset of field: sha_state_st::Nh" |
| 5125 |
); |
| 5126 |
assert_eq!( |
| 5127 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 5128 |
28usize, |
| 5129 |
"Offset of field: sha_state_st::data" |
| 5130 |
); |
| 5131 |
assert_eq!( |
| 5132 |
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize }, |
| 5133 |
92usize, |
| 5134 |
"Offset of field: sha_state_st::num" |
| 5135 |
); |
| 5136 |
} |
| 5137 |
impl Default for sha_state_st { |
| 5138 |
fn default() -> Self { |
| 5139 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 5140 |
unsafe { |
| 5141 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 5142 |
s.assume_init() |
| 5143 |
} |
| 5144 |
} |
| 5145 |
} |
| 5146 |
extern "C" { |
| 5147 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA224_Init"] |
| 5148 |
pub fn SHA224_Init(sha: *mut SHA256_CTX) -> ::std::os::raw::c_int; |
| 5149 |
} |
| 5150 |
extern "C" { |
| 5151 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA224_Update"] |
| 5152 |
pub fn SHA224_Update( |
| 5153 |
sha: *mut SHA256_CTX, |
| 5154 |
data: *const ::std::os::raw::c_void, |
| 5155 |
len: usize, |
| 5156 |
) -> ::std::os::raw::c_int; |
| 5157 |
} |
| 5158 |
extern "C" { |
| 5159 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA224_Final"] |
| 5160 |
pub fn SHA224_Final(out: *mut u8, sha: *mut SHA256_CTX) -> ::std::os::raw::c_int; |
| 5161 |
} |
| 5162 |
extern "C" { |
| 5163 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA224"] |
| 5164 |
pub fn SHA224(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 5165 |
} |
| 5166 |
extern "C" { |
| 5167 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA256_Init"] |
| 5168 |
pub fn SHA256_Init(sha: *mut SHA256_CTX) -> ::std::os::raw::c_int; |
| 5169 |
} |
| 5170 |
extern "C" { |
| 5171 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA256_Update"] |
| 5172 |
pub fn SHA256_Update( |
| 5173 |
sha: *mut SHA256_CTX, |
| 5174 |
data: *const ::std::os::raw::c_void, |
| 5175 |
len: usize, |
| 5176 |
) -> ::std::os::raw::c_int; |
| 5177 |
} |
| 5178 |
extern "C" { |
| 5179 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA256_Final"] |
| 5180 |
pub fn SHA256_Final(out: *mut u8, sha: *mut SHA256_CTX) -> ::std::os::raw::c_int; |
| 5181 |
} |
| 5182 |
extern "C" { |
| 5183 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA256"] |
| 5184 |
pub fn SHA256(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 5185 |
} |
| 5186 |
extern "C" { |
| 5187 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA256_Transform"] |
| 5188 |
pub fn SHA256_Transform(sha: *mut SHA256_CTX, block: *const u8); |
| 5189 |
} |
| 5190 |
extern "C" { |
| 5191 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA256_TransformBlocks"] |
| 5192 |
pub fn SHA256_TransformBlocks(state: *mut u32, data: *const u8, num_blocks: usize); |
| 5193 |
} |
| 5194 |
#[repr(C)] |
| 5195 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 5196 |
pub struct sha256_state_st { |
| 5197 |
pub h: [u32; 8usize], |
| 5198 |
pub Nl: u32, |
| 5199 |
pub Nh: u32, |
| 5200 |
pub data: [u8; 64usize], |
| 5201 |
pub num: ::std::os::raw::c_uint, |
| 5202 |
pub md_len: ::std::os::raw::c_uint, |
| 5203 |
} |
| 5204 |
#[test] |
| 5205 |
fn bindgen_test_layout_sha256_state_st() { |
| 5206 |
const UNINIT: ::std::mem::MaybeUninit<sha256_state_st> = ::std::mem::MaybeUninit::uninit(); |
| 5207 |
let ptr = UNINIT.as_ptr(); |
| 5208 |
assert_eq!( |
| 5209 |
::std::mem::size_of::<sha256_state_st>(), |
| 5210 |
112usize, |
| 5211 |
"Size of sha256_state_st" |
| 5212 |
); |
| 5213 |
assert_eq!( |
| 5214 |
::std::mem::align_of::<sha256_state_st>(), |
| 5215 |
4usize, |
| 5216 |
"Alignment of sha256_state_st" |
| 5217 |
); |
| 5218 |
assert_eq!( |
| 5219 |
unsafe { ::std::ptr::addr_of!((*ptr).h) as usize - ptr as usize }, |
| 5220 |
0usize, |
| 5221 |
"Offset of field: sha256_state_st::h" |
| 5222 |
); |
| 5223 |
assert_eq!( |
| 5224 |
unsafe { ::std::ptr::addr_of!((*ptr).Nl) as usize - ptr as usize }, |
| 5225 |
32usize, |
| 5226 |
"Offset of field: sha256_state_st::Nl" |
| 5227 |
); |
| 5228 |
assert_eq!( |
| 5229 |
unsafe { ::std::ptr::addr_of!((*ptr).Nh) as usize - ptr as usize }, |
| 5230 |
36usize, |
| 5231 |
"Offset of field: sha256_state_st::Nh" |
| 5232 |
); |
| 5233 |
assert_eq!( |
| 5234 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 5235 |
40usize, |
| 5236 |
"Offset of field: sha256_state_st::data" |
| 5237 |
); |
| 5238 |
assert_eq!( |
| 5239 |
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize }, |
| 5240 |
104usize, |
| 5241 |
"Offset of field: sha256_state_st::num" |
| 5242 |
); |
| 5243 |
assert_eq!( |
| 5244 |
unsafe { ::std::ptr::addr_of!((*ptr).md_len) as usize - ptr as usize }, |
| 5245 |
108usize, |
| 5246 |
"Offset of field: sha256_state_st::md_len" |
| 5247 |
); |
| 5248 |
} |
| 5249 |
impl Default for sha256_state_st { |
| 5250 |
fn default() -> Self { |
| 5251 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 5252 |
unsafe { |
| 5253 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 5254 |
s.assume_init() |
| 5255 |
} |
| 5256 |
} |
| 5257 |
} |
| 5258 |
extern "C" { |
| 5259 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA384_Init"] |
| 5260 |
pub fn SHA384_Init(sha: *mut SHA512_CTX) -> ::std::os::raw::c_int; |
| 5261 |
} |
| 5262 |
extern "C" { |
| 5263 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA384_Update"] |
| 5264 |
pub fn SHA384_Update( |
| 5265 |
sha: *mut SHA512_CTX, |
| 5266 |
data: *const ::std::os::raw::c_void, |
| 5267 |
len: usize, |
| 5268 |
) -> ::std::os::raw::c_int; |
| 5269 |
} |
| 5270 |
extern "C" { |
| 5271 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA384_Final"] |
| 5272 |
pub fn SHA384_Final(out: *mut u8, sha: *mut SHA512_CTX) -> ::std::os::raw::c_int; |
| 5273 |
} |
| 5274 |
extern "C" { |
| 5275 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA384"] |
| 5276 |
pub fn SHA384(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 5277 |
} |
| 5278 |
extern "C" { |
| 5279 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_Init"] |
| 5280 |
pub fn SHA512_Init(sha: *mut SHA512_CTX) -> ::std::os::raw::c_int; |
| 5281 |
} |
| 5282 |
extern "C" { |
| 5283 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_Update"] |
| 5284 |
pub fn SHA512_Update( |
| 5285 |
sha: *mut SHA512_CTX, |
| 5286 |
data: *const ::std::os::raw::c_void, |
| 5287 |
len: usize, |
| 5288 |
) -> ::std::os::raw::c_int; |
| 5289 |
} |
| 5290 |
extern "C" { |
| 5291 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_Final"] |
| 5292 |
pub fn SHA512_Final(out: *mut u8, sha: *mut SHA512_CTX) -> ::std::os::raw::c_int; |
| 5293 |
} |
| 5294 |
extern "C" { |
| 5295 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512"] |
| 5296 |
pub fn SHA512(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 5297 |
} |
| 5298 |
extern "C" { |
| 5299 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_Transform"] |
| 5300 |
pub fn SHA512_Transform(sha: *mut SHA512_CTX, block: *const u8); |
| 5301 |
} |
| 5302 |
#[repr(C)] |
| 5303 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 5304 |
pub struct sha512_state_st { |
| 5305 |
pub h: [u64; 8usize], |
| 5306 |
pub Nl: u64, |
| 5307 |
pub Nh: u64, |
| 5308 |
pub p: [u8; 128usize], |
| 5309 |
pub num: ::std::os::raw::c_uint, |
| 5310 |
pub md_len: ::std::os::raw::c_uint, |
| 5311 |
} |
| 5312 |
#[test] |
| 5313 |
fn bindgen_test_layout_sha512_state_st() { |
| 5314 |
const UNINIT: ::std::mem::MaybeUninit<sha512_state_st> = ::std::mem::MaybeUninit::uninit(); |
| 5315 |
let ptr = UNINIT.as_ptr(); |
| 5316 |
assert_eq!( |
| 5317 |
::std::mem::size_of::<sha512_state_st>(), |
| 5318 |
216usize, |
| 5319 |
"Size of sha512_state_st" |
| 5320 |
); |
| 5321 |
assert_eq!( |
| 5322 |
::std::mem::align_of::<sha512_state_st>(), |
| 5323 |
8usize, |
| 5324 |
"Alignment of sha512_state_st" |
| 5325 |
); |
| 5326 |
assert_eq!( |
| 5327 |
unsafe { ::std::ptr::addr_of!((*ptr).h) as usize - ptr as usize }, |
| 5328 |
0usize, |
| 5329 |
"Offset of field: sha512_state_st::h" |
| 5330 |
); |
| 5331 |
assert_eq!( |
| 5332 |
unsafe { ::std::ptr::addr_of!((*ptr).Nl) as usize - ptr as usize }, |
| 5333 |
64usize, |
| 5334 |
"Offset of field: sha512_state_st::Nl" |
| 5335 |
); |
| 5336 |
assert_eq!( |
| 5337 |
unsafe { ::std::ptr::addr_of!((*ptr).Nh) as usize - ptr as usize }, |
| 5338 |
72usize, |
| 5339 |
"Offset of field: sha512_state_st::Nh" |
| 5340 |
); |
| 5341 |
assert_eq!( |
| 5342 |
unsafe { ::std::ptr::addr_of!((*ptr).p) as usize - ptr as usize }, |
| 5343 |
80usize, |
| 5344 |
"Offset of field: sha512_state_st::p" |
| 5345 |
); |
| 5346 |
assert_eq!( |
| 5347 |
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize }, |
| 5348 |
208usize, |
| 5349 |
"Offset of field: sha512_state_st::num" |
| 5350 |
); |
| 5351 |
assert_eq!( |
| 5352 |
unsafe { ::std::ptr::addr_of!((*ptr).md_len) as usize - ptr as usize }, |
| 5353 |
212usize, |
| 5354 |
"Offset of field: sha512_state_st::md_len" |
| 5355 |
); |
| 5356 |
} |
| 5357 |
impl Default for sha512_state_st { |
| 5358 |
fn default() -> Self { |
| 5359 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 5360 |
unsafe { |
| 5361 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 5362 |
s.assume_init() |
| 5363 |
} |
| 5364 |
} |
| 5365 |
} |
| 5366 |
extern "C" { |
| 5367 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_224_Init"] |
| 5368 |
pub fn SHA512_224_Init(sha: *mut SHA512_CTX) -> ::std::os::raw::c_int; |
| 5369 |
} |
| 5370 |
extern "C" { |
| 5371 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_224_Update"] |
| 5372 |
pub fn SHA512_224_Update( |
| 5373 |
sha: *mut SHA512_CTX, |
| 5374 |
data: *const ::std::os::raw::c_void, |
| 5375 |
len: usize, |
| 5376 |
) -> ::std::os::raw::c_int; |
| 5377 |
} |
| 5378 |
extern "C" { |
| 5379 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_224_Final"] |
| 5380 |
pub fn SHA512_224_Final(out: *mut u8, sha: *mut SHA512_CTX) -> ::std::os::raw::c_int; |
| 5381 |
} |
| 5382 |
extern "C" { |
| 5383 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_224"] |
| 5384 |
pub fn SHA512_224(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 5385 |
} |
| 5386 |
extern "C" { |
| 5387 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_256_Init"] |
| 5388 |
pub fn SHA512_256_Init(sha: *mut SHA512_CTX) -> ::std::os::raw::c_int; |
| 5389 |
} |
| 5390 |
extern "C" { |
| 5391 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_256_Update"] |
| 5392 |
pub fn SHA512_256_Update( |
| 5393 |
sha: *mut SHA512_CTX, |
| 5394 |
data: *const ::std::os::raw::c_void, |
| 5395 |
len: usize, |
| 5396 |
) -> ::std::os::raw::c_int; |
| 5397 |
} |
| 5398 |
extern "C" { |
| 5399 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_256_Final"] |
| 5400 |
pub fn SHA512_256_Final(out: *mut u8, sha: *mut SHA512_CTX) -> ::std::os::raw::c_int; |
| 5401 |
} |
| 5402 |
extern "C" { |
| 5403 |
#[link_name = "\u{1}aws_lc_0_41_0_SHA512_256"] |
| 5404 |
pub fn SHA512_256(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 5405 |
} |
| 5406 |
extern "C" { |
| 5407 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_malloc"] |
| 5408 |
pub fn OPENSSL_malloc(size: usize) -> *mut ::std::os::raw::c_void; |
| 5409 |
} |
| 5410 |
extern "C" { |
| 5411 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_zalloc"] |
| 5412 |
pub fn OPENSSL_zalloc(size: usize) -> *mut ::std::os::raw::c_void; |
| 5413 |
} |
| 5414 |
extern "C" { |
| 5415 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_calloc"] |
| 5416 |
pub fn OPENSSL_calloc(num: usize, size: usize) -> *mut ::std::os::raw::c_void; |
| 5417 |
} |
| 5418 |
extern "C" { |
| 5419 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_realloc"] |
| 5420 |
pub fn OPENSSL_realloc( |
| 5421 |
ptr: *mut ::std::os::raw::c_void, |
| 5422 |
new_size: usize, |
| 5423 |
) -> *mut ::std::os::raw::c_void; |
| 5424 |
} |
| 5425 |
extern "C" { |
| 5426 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_free"] |
| 5427 |
pub fn OPENSSL_free(ptr: *mut ::std::os::raw::c_void); |
| 5428 |
} |
| 5429 |
extern "C" { |
| 5430 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_cleanse"] |
| 5431 |
pub fn OPENSSL_cleanse(ptr: *mut ::std::os::raw::c_void, len: usize); |
| 5432 |
} |
| 5433 |
extern "C" { |
| 5434 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_memcmp"] |
| 5435 |
pub fn CRYPTO_memcmp( |
| 5436 |
a: *const ::std::os::raw::c_void, |
| 5437 |
b: *const ::std::os::raw::c_void, |
| 5438 |
len: usize, |
| 5439 |
) -> ::std::os::raw::c_int; |
| 5440 |
} |
| 5441 |
extern "C" { |
| 5442 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_hash32"] |
| 5443 |
pub fn OPENSSL_hash32(ptr: *const ::std::os::raw::c_void, len: usize) -> u32; |
| 5444 |
} |
| 5445 |
extern "C" { |
| 5446 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_strhash"] |
| 5447 |
pub fn OPENSSL_strhash(s: *const ::std::os::raw::c_char) -> u32; |
| 5448 |
} |
| 5449 |
extern "C" { |
| 5450 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_strdup"] |
| 5451 |
pub fn OPENSSL_strdup(s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; |
| 5452 |
} |
| 5453 |
extern "C" { |
| 5454 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_strnlen"] |
| 5455 |
pub fn OPENSSL_strnlen(s: *const ::std::os::raw::c_char, len: usize) -> usize; |
| 5456 |
} |
| 5457 |
extern "C" { |
| 5458 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_isalpha"] |
| 5459 |
pub fn OPENSSL_isalpha(c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5460 |
} |
| 5461 |
extern "C" { |
| 5462 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_isdigit"] |
| 5463 |
pub fn OPENSSL_isdigit(c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5464 |
} |
| 5465 |
extern "C" { |
| 5466 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_isxdigit"] |
| 5467 |
pub fn OPENSSL_isxdigit(c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5468 |
} |
| 5469 |
extern "C" { |
| 5470 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_fromxdigit"] |
| 5471 |
pub fn OPENSSL_fromxdigit(out: *mut u8, c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5472 |
} |
| 5473 |
extern "C" { |
| 5474 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_hexstr2buf"] |
| 5475 |
pub fn OPENSSL_hexstr2buf(str_: *const ::std::os::raw::c_char, len: *mut usize) -> *mut u8; |
| 5476 |
} |
| 5477 |
extern "C" { |
| 5478 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_isalnum"] |
| 5479 |
pub fn OPENSSL_isalnum(c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5480 |
} |
| 5481 |
extern "C" { |
| 5482 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_tolower"] |
| 5483 |
pub fn OPENSSL_tolower(c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5484 |
} |
| 5485 |
extern "C" { |
| 5486 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_isspace"] |
| 5487 |
pub fn OPENSSL_isspace(c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5488 |
} |
| 5489 |
extern "C" { |
| 5490 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_strcasecmp"] |
| 5491 |
pub fn OPENSSL_strcasecmp( |
| 5492 |
a: *const ::std::os::raw::c_char, |
| 5493 |
b: *const ::std::os::raw::c_char, |
| 5494 |
) -> ::std::os::raw::c_int; |
| 5495 |
} |
| 5496 |
extern "C" { |
| 5497 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_strncasecmp"] |
| 5498 |
pub fn OPENSSL_strncasecmp( |
| 5499 |
a: *const ::std::os::raw::c_char, |
| 5500 |
b: *const ::std::os::raw::c_char, |
| 5501 |
n: usize, |
| 5502 |
) -> ::std::os::raw::c_int; |
| 5503 |
} |
| 5504 |
extern "C" { |
| 5505 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_snprintf"] |
| 5506 |
pub fn BIO_snprintf( |
| 5507 |
buf: *mut ::std::os::raw::c_char, |
| 5508 |
n: usize, |
| 5509 |
format: *const ::std::os::raw::c_char, |
| 5510 |
... |
| 5511 |
) -> ::std::os::raw::c_int; |
| 5512 |
} |
| 5513 |
extern "C" { |
| 5514 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_vsnprintf"] |
| 5515 |
pub fn BIO_vsnprintf( |
| 5516 |
buf: *mut ::std::os::raw::c_char, |
| 5517 |
n: usize, |
| 5518 |
format: *const ::std::os::raw::c_char, |
| 5519 |
args: va_list, |
| 5520 |
) -> ::std::os::raw::c_int; |
| 5521 |
} |
| 5522 |
extern "C" { |
| 5523 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_vasprintf"] |
| 5524 |
pub fn OPENSSL_vasprintf( |
| 5525 |
str_: *mut *mut ::std::os::raw::c_char, |
| 5526 |
format: *const ::std::os::raw::c_char, |
| 5527 |
args: va_list, |
| 5528 |
) -> ::std::os::raw::c_int; |
| 5529 |
} |
| 5530 |
extern "C" { |
| 5531 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_asprintf"] |
| 5532 |
pub fn OPENSSL_asprintf( |
| 5533 |
str_: *mut *mut ::std::os::raw::c_char, |
| 5534 |
format: *const ::std::os::raw::c_char, |
| 5535 |
... |
| 5536 |
) -> ::std::os::raw::c_int; |
| 5537 |
} |
| 5538 |
extern "C" { |
| 5539 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_strndup"] |
| 5540 |
pub fn OPENSSL_strndup( |
| 5541 |
str_: *const ::std::os::raw::c_char, |
| 5542 |
size: usize, |
| 5543 |
) -> *mut ::std::os::raw::c_char; |
| 5544 |
} |
| 5545 |
extern "C" { |
| 5546 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_memdup"] |
| 5547 |
pub fn OPENSSL_memdup( |
| 5548 |
data: *const ::std::os::raw::c_void, |
| 5549 |
size: usize, |
| 5550 |
) -> *mut ::std::os::raw::c_void; |
| 5551 |
} |
| 5552 |
extern "C" { |
| 5553 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_strlcpy"] |
| 5554 |
pub fn OPENSSL_strlcpy( |
| 5555 |
dst: *mut ::std::os::raw::c_char, |
| 5556 |
src: *const ::std::os::raw::c_char, |
| 5557 |
dst_size: usize, |
| 5558 |
) -> usize; |
| 5559 |
} |
| 5560 |
extern "C" { |
| 5561 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_strlcat"] |
| 5562 |
pub fn OPENSSL_strlcat( |
| 5563 |
dst: *mut ::std::os::raw::c_char, |
| 5564 |
src: *const ::std::os::raw::c_char, |
| 5565 |
dst_size: usize, |
| 5566 |
) -> usize; |
| 5567 |
} |
| 5568 |
extern "C" { |
| 5569 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_malloc"] |
| 5570 |
pub fn CRYPTO_malloc( |
| 5571 |
size: usize, |
| 5572 |
file: *const ::std::os::raw::c_char, |
| 5573 |
line: ::std::os::raw::c_int, |
| 5574 |
) -> *mut ::std::os::raw::c_void; |
| 5575 |
} |
| 5576 |
extern "C" { |
| 5577 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_realloc"] |
| 5578 |
pub fn CRYPTO_realloc( |
| 5579 |
ptr: *mut ::std::os::raw::c_void, |
| 5580 |
new_size: usize, |
| 5581 |
file: *const ::std::os::raw::c_char, |
| 5582 |
line: ::std::os::raw::c_int, |
| 5583 |
) -> *mut ::std::os::raw::c_void; |
| 5584 |
} |
| 5585 |
extern "C" { |
| 5586 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_free"] |
| 5587 |
pub fn CRYPTO_free( |
| 5588 |
ptr: *mut ::std::os::raw::c_void, |
| 5589 |
file: *const ::std::os::raw::c_char, |
| 5590 |
line: ::std::os::raw::c_int, |
| 5591 |
); |
| 5592 |
} |
| 5593 |
extern "C" { |
| 5594 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_clear_free"] |
| 5595 |
pub fn OPENSSL_clear_free(ptr: *mut ::std::os::raw::c_void, len: usize); |
| 5596 |
} |
| 5597 |
extern "C" { |
| 5598 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_set_mem_functions"] |
| 5599 |
pub fn CRYPTO_set_mem_functions( |
| 5600 |
m: ::std::option::Option< |
| 5601 |
unsafe extern "C" fn( |
| 5602 |
arg1: usize, |
| 5603 |
arg2: *const ::std::os::raw::c_char, |
| 5604 |
arg3: ::std::os::raw::c_int, |
| 5605 |
) -> *mut ::std::os::raw::c_void, |
| 5606 |
>, |
| 5607 |
r: ::std::option::Option< |
| 5608 |
unsafe extern "C" fn( |
| 5609 |
arg1: *mut ::std::os::raw::c_void, |
| 5610 |
arg2: usize, |
| 5611 |
arg3: *const ::std::os::raw::c_char, |
| 5612 |
arg4: ::std::os::raw::c_int, |
| 5613 |
) -> *mut ::std::os::raw::c_void, |
| 5614 |
>, |
| 5615 |
f: ::std::option::Option< |
| 5616 |
unsafe extern "C" fn( |
| 5617 |
arg1: *mut ::std::os::raw::c_void, |
| 5618 |
arg2: *const ::std::os::raw::c_char, |
| 5619 |
arg3: ::std::os::raw::c_int, |
| 5620 |
), |
| 5621 |
>, |
| 5622 |
) -> ::std::os::raw::c_int; |
| 5623 |
} |
| 5624 |
extern "C" { |
| 5625 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_secure_malloc_init"] |
| 5626 |
pub fn CRYPTO_secure_malloc_init(size: usize, min_size: usize) -> ::std::os::raw::c_int; |
| 5627 |
} |
| 5628 |
extern "C" { |
| 5629 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_secure_malloc_initialized"] |
| 5630 |
pub fn CRYPTO_secure_malloc_initialized() -> ::std::os::raw::c_int; |
| 5631 |
} |
| 5632 |
extern "C" { |
| 5633 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_secure_used"] |
| 5634 |
pub fn CRYPTO_secure_used() -> usize; |
| 5635 |
} |
| 5636 |
extern "C" { |
| 5637 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_secure_malloc"] |
| 5638 |
pub fn OPENSSL_secure_malloc(size: usize) -> *mut ::std::os::raw::c_void; |
| 5639 |
} |
| 5640 |
extern "C" { |
| 5641 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_secure_zalloc"] |
| 5642 |
pub fn OPENSSL_secure_zalloc(size: usize) -> *mut ::std::os::raw::c_void; |
| 5643 |
} |
| 5644 |
extern "C" { |
| 5645 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_secure_clear_free"] |
| 5646 |
pub fn OPENSSL_secure_clear_free(ptr: *mut ::std::os::raw::c_void, len: usize); |
| 5647 |
} |
| 5648 |
pub type CRYPTO_MUTEX = pthread_rwlock_t; |
| 5649 |
pub type CRYPTO_refcount_t = u32; |
| 5650 |
extern "C" { |
| 5651 |
#[link_name = "\u{1}aws_lc_0_41_0_AWSLC_thread_local_clear"] |
| 5652 |
pub fn AWSLC_thread_local_clear() -> ::std::os::raw::c_int; |
| 5653 |
} |
| 5654 |
extern "C" { |
| 5655 |
#[link_name = "\u{1}aws_lc_0_41_0_AWSLC_thread_local_shutdown"] |
| 5656 |
pub fn AWSLC_thread_local_shutdown() -> ::std::os::raw::c_int; |
| 5657 |
} |
| 5658 |
extern "C" { |
| 5659 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_num_locks"] |
| 5660 |
pub fn CRYPTO_num_locks() -> ::std::os::raw::c_int; |
| 5661 |
} |
| 5662 |
extern "C" { |
| 5663 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_set_locking_callback"] |
| 5664 |
pub fn CRYPTO_set_locking_callback( |
| 5665 |
func: ::std::option::Option< |
| 5666 |
unsafe extern "C" fn( |
| 5667 |
mode: ::std::os::raw::c_int, |
| 5668 |
lock_num: ::std::os::raw::c_int, |
| 5669 |
file: *const ::std::os::raw::c_char, |
| 5670 |
line: ::std::os::raw::c_int, |
| 5671 |
), |
| 5672 |
>, |
| 5673 |
); |
| 5674 |
} |
| 5675 |
extern "C" { |
| 5676 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_set_add_lock_callback"] |
| 5677 |
pub fn CRYPTO_set_add_lock_callback( |
| 5678 |
func: ::std::option::Option< |
| 5679 |
unsafe extern "C" fn( |
| 5680 |
num: *mut ::std::os::raw::c_int, |
| 5681 |
amount: ::std::os::raw::c_int, |
| 5682 |
lock_num: ::std::os::raw::c_int, |
| 5683 |
file: *const ::std::os::raw::c_char, |
| 5684 |
line: ::std::os::raw::c_int, |
| 5685 |
) -> ::std::os::raw::c_int, |
| 5686 |
>, |
| 5687 |
); |
| 5688 |
} |
| 5689 |
extern "C" { |
| 5690 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_get_locking_callback"] |
| 5691 |
pub fn CRYPTO_get_locking_callback() -> ::std::option::Option< |
| 5692 |
unsafe extern "C" fn( |
| 5693 |
arg1: ::std::os::raw::c_int, |
| 5694 |
arg2: ::std::os::raw::c_int, |
| 5695 |
arg3: *const ::std::os::raw::c_char, |
| 5696 |
arg4: ::std::os::raw::c_int, |
| 5697 |
), |
| 5698 |
>; |
| 5699 |
} |
| 5700 |
extern "C" { |
| 5701 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_get_lock_name"] |
| 5702 |
pub fn CRYPTO_get_lock_name(lock_num: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; |
| 5703 |
} |
| 5704 |
extern "C" { |
| 5705 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_THREADID_set_callback"] |
| 5706 |
pub fn CRYPTO_THREADID_set_callback( |
| 5707 |
threadid_func: ::std::option::Option<unsafe extern "C" fn(threadid: *mut CRYPTO_THREADID)>, |
| 5708 |
) -> ::std::os::raw::c_int; |
| 5709 |
} |
| 5710 |
extern "C" { |
| 5711 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_THREADID_set_numeric"] |
| 5712 |
pub fn CRYPTO_THREADID_set_numeric(id: *mut CRYPTO_THREADID, val: ::std::os::raw::c_ulong); |
| 5713 |
} |
| 5714 |
extern "C" { |
| 5715 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_THREADID_set_pointer"] |
| 5716 |
pub fn CRYPTO_THREADID_set_pointer(id: *mut CRYPTO_THREADID, ptr: *mut ::std::os::raw::c_void); |
| 5717 |
} |
| 5718 |
extern "C" { |
| 5719 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_THREADID_current"] |
| 5720 |
pub fn CRYPTO_THREADID_current(id: *mut CRYPTO_THREADID); |
| 5721 |
} |
| 5722 |
extern "C" { |
| 5723 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_set_id_callback"] |
| 5724 |
pub fn CRYPTO_set_id_callback( |
| 5725 |
func: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_ulong>, |
| 5726 |
); |
| 5727 |
} |
| 5728 |
#[repr(C)] |
| 5729 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 5730 |
pub struct CRYPTO_dynlock { |
| 5731 |
pub references: ::std::os::raw::c_int, |
| 5732 |
pub data: *mut CRYPTO_dynlock_value, |
| 5733 |
} |
| 5734 |
#[test] |
| 5735 |
fn bindgen_test_layout_CRYPTO_dynlock() { |
| 5736 |
const UNINIT: ::std::mem::MaybeUninit<CRYPTO_dynlock> = ::std::mem::MaybeUninit::uninit(); |
| 5737 |
let ptr = UNINIT.as_ptr(); |
| 5738 |
assert_eq!( |
| 5739 |
::std::mem::size_of::<CRYPTO_dynlock>(), |
| 5740 |
16usize, |
| 5741 |
"Size of CRYPTO_dynlock" |
| 5742 |
); |
| 5743 |
assert_eq!( |
| 5744 |
::std::mem::align_of::<CRYPTO_dynlock>(), |
| 5745 |
8usize, |
| 5746 |
"Alignment of CRYPTO_dynlock" |
| 5747 |
); |
| 5748 |
assert_eq!( |
| 5749 |
unsafe { ::std::ptr::addr_of!((*ptr).references) as usize - ptr as usize }, |
| 5750 |
0usize, |
| 5751 |
"Offset of field: CRYPTO_dynlock::references" |
| 5752 |
); |
| 5753 |
assert_eq!( |
| 5754 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 5755 |
8usize, |
| 5756 |
"Offset of field: CRYPTO_dynlock::data" |
| 5757 |
); |
| 5758 |
} |
| 5759 |
impl Default for CRYPTO_dynlock { |
| 5760 |
fn default() -> Self { |
| 5761 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 5762 |
unsafe { |
| 5763 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 5764 |
s.assume_init() |
| 5765 |
} |
| 5766 |
} |
| 5767 |
} |
| 5768 |
extern "C" { |
| 5769 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_set_dynlock_create_callback"] |
| 5770 |
pub fn CRYPTO_set_dynlock_create_callback( |
| 5771 |
dyn_create_function: ::std::option::Option< |
| 5772 |
unsafe extern "C" fn( |
| 5773 |
file: *const ::std::os::raw::c_char, |
| 5774 |
line: ::std::os::raw::c_int, |
| 5775 |
) -> *mut CRYPTO_dynlock_value, |
| 5776 |
>, |
| 5777 |
); |
| 5778 |
} |
| 5779 |
extern "C" { |
| 5780 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_set_dynlock_lock_callback"] |
| 5781 |
pub fn CRYPTO_set_dynlock_lock_callback( |
| 5782 |
dyn_lock_function: ::std::option::Option< |
| 5783 |
unsafe extern "C" fn( |
| 5784 |
mode: ::std::os::raw::c_int, |
| 5785 |
l: *mut CRYPTO_dynlock_value, |
| 5786 |
file: *const ::std::os::raw::c_char, |
| 5787 |
line: ::std::os::raw::c_int, |
| 5788 |
), |
| 5789 |
>, |
| 5790 |
); |
| 5791 |
} |
| 5792 |
extern "C" { |
| 5793 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_set_dynlock_destroy_callback"] |
| 5794 |
pub fn CRYPTO_set_dynlock_destroy_callback( |
| 5795 |
dyn_destroy_function: ::std::option::Option< |
| 5796 |
unsafe extern "C" fn( |
| 5797 |
l: *mut CRYPTO_dynlock_value, |
| 5798 |
file: *const ::std::os::raw::c_char, |
| 5799 |
line: ::std::os::raw::c_int, |
| 5800 |
), |
| 5801 |
>, |
| 5802 |
); |
| 5803 |
} |
| 5804 |
extern "C" { |
| 5805 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_get_dynlock_create_callback"] |
| 5806 |
pub fn CRYPTO_get_dynlock_create_callback() -> ::std::option::Option< |
| 5807 |
unsafe extern "C" fn( |
| 5808 |
arg1: *const ::std::os::raw::c_char, |
| 5809 |
arg2: ::std::os::raw::c_int, |
| 5810 |
) -> *mut CRYPTO_dynlock_value, |
| 5811 |
>; |
| 5812 |
} |
| 5813 |
extern "C" { |
| 5814 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_get_dynlock_lock_callback"] |
| 5815 |
pub fn CRYPTO_get_dynlock_lock_callback() -> ::std::option::Option< |
| 5816 |
unsafe extern "C" fn( |
| 5817 |
arg1: ::std::os::raw::c_int, |
| 5818 |
arg2: *mut CRYPTO_dynlock_value, |
| 5819 |
arg3: *const ::std::os::raw::c_char, |
| 5820 |
arg4: ::std::os::raw::c_int, |
| 5821 |
), |
| 5822 |
>; |
| 5823 |
} |
| 5824 |
extern "C" { |
| 5825 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_get_dynlock_destroy_callback"] |
| 5826 |
pub fn CRYPTO_get_dynlock_destroy_callback() -> ::std::option::Option< |
| 5827 |
unsafe extern "C" fn( |
| 5828 |
arg1: *mut CRYPTO_dynlock_value, |
| 5829 |
arg2: *const ::std::os::raw::c_char, |
| 5830 |
arg3: ::std::os::raw::c_int, |
| 5831 |
), |
| 5832 |
>; |
| 5833 |
} |
| 5834 |
extern "C" { |
| 5835 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_library_init"] |
| 5836 |
pub fn CRYPTO_library_init(); |
| 5837 |
} |
| 5838 |
extern "C" { |
| 5839 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_is_confidential_build"] |
| 5840 |
pub fn CRYPTO_is_confidential_build() -> ::std::os::raw::c_int; |
| 5841 |
} |
| 5842 |
extern "C" { |
| 5843 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_has_asm"] |
| 5844 |
pub fn CRYPTO_has_asm() -> ::std::os::raw::c_int; |
| 5845 |
} |
| 5846 |
extern "C" { |
| 5847 |
#[link_name = "\u{1}aws_lc_0_41_0_BORINGSSL_self_test"] |
| 5848 |
pub fn BORINGSSL_self_test() -> ::std::os::raw::c_int; |
| 5849 |
} |
| 5850 |
extern "C" { |
| 5851 |
pub fn BORINGSSL_integrity_test() -> ::std::os::raw::c_int; |
| 5852 |
} |
| 5853 |
extern "C" { |
| 5854 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_pre_sandbox_init"] |
| 5855 |
pub fn CRYPTO_pre_sandbox_init(); |
| 5856 |
} |
| 5857 |
extern "C" { |
| 5858 |
#[link_name = "\u{1}aws_lc_0_41_0_armv8_disable_dit"] |
| 5859 |
pub fn armv8_disable_dit(); |
| 5860 |
} |
| 5861 |
extern "C" { |
| 5862 |
#[link_name = "\u{1}aws_lc_0_41_0_armv8_enable_dit"] |
| 5863 |
pub fn armv8_enable_dit(); |
| 5864 |
} |
| 5865 |
extern "C" { |
| 5866 |
#[link_name = "\u{1}aws_lc_0_41_0_FIPS_mode"] |
| 5867 |
pub fn FIPS_mode() -> ::std::os::raw::c_int; |
| 5868 |
} |
| 5869 |
extern "C" { |
| 5870 |
#[link_name = "\u{1}aws_lc_0_41_0_FIPS_is_entropy_cpu_jitter"] |
| 5871 |
pub fn FIPS_is_entropy_cpu_jitter() -> ::std::os::raw::c_int; |
| 5872 |
} |
| 5873 |
extern "C" { |
| 5874 |
#[link_name = "\u{1}aws_lc_0_41_0_OpenSSL_version"] |
| 5875 |
pub fn OpenSSL_version(which: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; |
| 5876 |
} |
| 5877 |
extern "C" { |
| 5878 |
#[link_name = "\u{1}aws_lc_0_41_0_SSLeay_version"] |
| 5879 |
pub fn SSLeay_version(which: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; |
| 5880 |
} |
| 5881 |
extern "C" { |
| 5882 |
#[link_name = "\u{1}aws_lc_0_41_0_SSLeay"] |
| 5883 |
pub fn SSLeay() -> ::std::os::raw::c_ulong; |
| 5884 |
} |
| 5885 |
extern "C" { |
| 5886 |
#[link_name = "\u{1}aws_lc_0_41_0_OpenSSL_version_num"] |
| 5887 |
pub fn OpenSSL_version_num() -> ::std::os::raw::c_ulong; |
| 5888 |
} |
| 5889 |
extern "C" { |
| 5890 |
#[link_name = "\u{1}aws_lc_0_41_0_awslc_api_version_num"] |
| 5891 |
pub fn awslc_api_version_num() -> ::std::os::raw::c_ulong; |
| 5892 |
} |
| 5893 |
extern "C" { |
| 5894 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_malloc_init"] |
| 5895 |
pub fn CRYPTO_malloc_init() -> ::std::os::raw::c_int; |
| 5896 |
} |
| 5897 |
extern "C" { |
| 5898 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_malloc_init"] |
| 5899 |
pub fn OPENSSL_malloc_init() -> ::std::os::raw::c_int; |
| 5900 |
} |
| 5901 |
extern "C" { |
| 5902 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_load_builtin_engines"] |
| 5903 |
pub fn ENGINE_load_builtin_engines(); |
| 5904 |
} |
| 5905 |
extern "C" { |
| 5906 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_register_all_ciphers"] |
| 5907 |
pub fn ENGINE_register_all_ciphers(); |
| 5908 |
} |
| 5909 |
extern "C" { |
| 5910 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_register_all_digests"] |
| 5911 |
pub fn ENGINE_register_all_digests(); |
| 5912 |
} |
| 5913 |
extern "C" { |
| 5914 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_register_all_complete"] |
| 5915 |
pub fn ENGINE_register_all_complete() -> ::std::os::raw::c_int; |
| 5916 |
} |
| 5917 |
extern "C" { |
| 5918 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_load_builtin_modules"] |
| 5919 |
pub fn OPENSSL_load_builtin_modules(); |
| 5920 |
} |
| 5921 |
extern "C" { |
| 5922 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_init_crypto"] |
| 5923 |
pub fn OPENSSL_init_crypto( |
| 5924 |
opts: u64, |
| 5925 |
settings: *const OPENSSL_INIT_SETTINGS, |
| 5926 |
) -> ::std::os::raw::c_int; |
| 5927 |
} |
| 5928 |
extern "C" { |
| 5929 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_init"] |
| 5930 |
pub fn OPENSSL_init(); |
| 5931 |
} |
| 5932 |
extern "C" { |
| 5933 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_cleanup"] |
| 5934 |
pub fn OPENSSL_cleanup(); |
| 5935 |
} |
| 5936 |
extern "C" { |
| 5937 |
#[link_name = "\u{1}aws_lc_0_41_0_FIPS_mode_set"] |
| 5938 |
pub fn FIPS_mode_set(on: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5939 |
} |
| 5940 |
extern "C" { |
| 5941 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_mem_ctrl"] |
| 5942 |
pub fn CRYPTO_mem_ctrl(mode: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 5943 |
} |
| 5944 |
extern "C" { |
| 5945 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_load_BIO_strings"] |
| 5946 |
pub fn ERR_load_BIO_strings(); |
| 5947 |
} |
| 5948 |
extern "C" { |
| 5949 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_load_ERR_strings"] |
| 5950 |
pub fn ERR_load_ERR_strings(); |
| 5951 |
} |
| 5952 |
extern "C" { |
| 5953 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_load_CRYPTO_strings"] |
| 5954 |
pub fn ERR_load_CRYPTO_strings(); |
| 5955 |
} |
| 5956 |
extern "C" { |
| 5957 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_load_crypto_strings"] |
| 5958 |
pub fn ERR_load_crypto_strings(); |
| 5959 |
} |
| 5960 |
extern "C" { |
| 5961 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_load_RAND_strings"] |
| 5962 |
pub fn ERR_load_RAND_strings(); |
| 5963 |
} |
| 5964 |
extern "C" { |
| 5965 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_free_strings"] |
| 5966 |
pub fn ERR_free_strings(); |
| 5967 |
} |
| 5968 |
extern "C" { |
| 5969 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_get_error"] |
| 5970 |
pub fn ERR_get_error() -> u32; |
| 5971 |
} |
| 5972 |
extern "C" { |
| 5973 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_get_error_line"] |
| 5974 |
pub fn ERR_get_error_line( |
| 5975 |
file: *mut *const ::std::os::raw::c_char, |
| 5976 |
line: *mut ::std::os::raw::c_int, |
| 5977 |
) -> u32; |
| 5978 |
} |
| 5979 |
extern "C" { |
| 5980 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_get_error_line_data"] |
| 5981 |
pub fn ERR_get_error_line_data( |
| 5982 |
file: *mut *const ::std::os::raw::c_char, |
| 5983 |
line: *mut ::std::os::raw::c_int, |
| 5984 |
data: *mut *const ::std::os::raw::c_char, |
| 5985 |
flags: *mut ::std::os::raw::c_int, |
| 5986 |
) -> u32; |
| 5987 |
} |
| 5988 |
extern "C" { |
| 5989 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_peek_error"] |
| 5990 |
pub fn ERR_peek_error() -> u32; |
| 5991 |
} |
| 5992 |
extern "C" { |
| 5993 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_peek_error_line"] |
| 5994 |
pub fn ERR_peek_error_line( |
| 5995 |
file: *mut *const ::std::os::raw::c_char, |
| 5996 |
line: *mut ::std::os::raw::c_int, |
| 5997 |
) -> u32; |
| 5998 |
} |
| 5999 |
extern "C" { |
| 6000 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_peek_error_line_data"] |
| 6001 |
pub fn ERR_peek_error_line_data( |
| 6002 |
file: *mut *const ::std::os::raw::c_char, |
| 6003 |
line: *mut ::std::os::raw::c_int, |
| 6004 |
data: *mut *const ::std::os::raw::c_char, |
| 6005 |
flags: *mut ::std::os::raw::c_int, |
| 6006 |
) -> u32; |
| 6007 |
} |
| 6008 |
extern "C" { |
| 6009 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_peek_last_error"] |
| 6010 |
pub fn ERR_peek_last_error() -> u32; |
| 6011 |
} |
| 6012 |
extern "C" { |
| 6013 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_peek_last_error_line"] |
| 6014 |
pub fn ERR_peek_last_error_line( |
| 6015 |
file: *mut *const ::std::os::raw::c_char, |
| 6016 |
line: *mut ::std::os::raw::c_int, |
| 6017 |
) -> u32; |
| 6018 |
} |
| 6019 |
extern "C" { |
| 6020 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_peek_last_error_line_data"] |
| 6021 |
pub fn ERR_peek_last_error_line_data( |
| 6022 |
file: *mut *const ::std::os::raw::c_char, |
| 6023 |
line: *mut ::std::os::raw::c_int, |
| 6024 |
data: *mut *const ::std::os::raw::c_char, |
| 6025 |
flags: *mut ::std::os::raw::c_int, |
| 6026 |
) -> u32; |
| 6027 |
} |
| 6028 |
extern "C" { |
| 6029 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_error_string_n"] |
| 6030 |
pub fn ERR_error_string_n( |
| 6031 |
packed_error: u32, |
| 6032 |
buf: *mut ::std::os::raw::c_char, |
| 6033 |
len: usize, |
| 6034 |
) -> *mut ::std::os::raw::c_char; |
| 6035 |
} |
| 6036 |
extern "C" { |
| 6037 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_lib_error_string"] |
| 6038 |
pub fn ERR_lib_error_string(packed_error: u32) -> *const ::std::os::raw::c_char; |
| 6039 |
} |
| 6040 |
extern "C" { |
| 6041 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_reason_error_string"] |
| 6042 |
pub fn ERR_reason_error_string(packed_error: u32) -> *const ::std::os::raw::c_char; |
| 6043 |
} |
| 6044 |
pub type ERR_print_errors_callback_t = ::std::option::Option< |
| 6045 |
unsafe extern "C" fn( |
| 6046 |
str_: *const ::std::os::raw::c_char, |
| 6047 |
len: usize, |
| 6048 |
ctx: *mut ::std::os::raw::c_void, |
| 6049 |
) -> ::std::os::raw::c_int, |
| 6050 |
>; |
| 6051 |
extern "C" { |
| 6052 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_print_errors_cb"] |
| 6053 |
pub fn ERR_print_errors_cb( |
| 6054 |
callback: ERR_print_errors_callback_t, |
| 6055 |
ctx: *mut ::std::os::raw::c_void, |
| 6056 |
); |
| 6057 |
} |
| 6058 |
extern "C" { |
| 6059 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_print_errors_fp"] |
| 6060 |
pub fn ERR_print_errors_fp(file: *mut FILE); |
| 6061 |
} |
| 6062 |
extern "C" { |
| 6063 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_clear_error"] |
| 6064 |
pub fn ERR_clear_error(); |
| 6065 |
} |
| 6066 |
extern "C" { |
| 6067 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_set_mark"] |
| 6068 |
pub fn ERR_set_mark() -> ::std::os::raw::c_int; |
| 6069 |
} |
| 6070 |
extern "C" { |
| 6071 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_pop_to_mark"] |
| 6072 |
pub fn ERR_pop_to_mark() -> ::std::os::raw::c_int; |
| 6073 |
} |
| 6074 |
extern "C" { |
| 6075 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_get_next_error_library"] |
| 6076 |
pub fn ERR_get_next_error_library() -> ::std::os::raw::c_int; |
| 6077 |
} |
| 6078 |
extern "C" { |
| 6079 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_remove_state"] |
| 6080 |
pub fn ERR_remove_state(pid: ::std::os::raw::c_ulong); |
| 6081 |
} |
| 6082 |
extern "C" { |
| 6083 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_remove_thread_state"] |
| 6084 |
pub fn ERR_remove_thread_state(tid: *const CRYPTO_THREADID); |
| 6085 |
} |
| 6086 |
extern "C" { |
| 6087 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_func_error_string"] |
| 6088 |
pub fn ERR_func_error_string(packed_error: u32) -> *const ::std::os::raw::c_char; |
| 6089 |
} |
| 6090 |
extern "C" { |
| 6091 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_error_string"] |
| 6092 |
pub fn ERR_error_string( |
| 6093 |
packed_error: u32, |
| 6094 |
buf: *mut ::std::os::raw::c_char, |
| 6095 |
) -> *mut ::std::os::raw::c_char; |
| 6096 |
} |
| 6097 |
extern "C" { |
| 6098 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_clear_system_error"] |
| 6099 |
pub fn ERR_clear_system_error(); |
| 6100 |
} |
| 6101 |
extern "C" { |
| 6102 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_put_error"] |
| 6103 |
pub fn ERR_put_error( |
| 6104 |
library: ::std::os::raw::c_int, |
| 6105 |
unused: ::std::os::raw::c_int, |
| 6106 |
reason: ::std::os::raw::c_int, |
| 6107 |
file: *const ::std::os::raw::c_char, |
| 6108 |
line: ::std::os::raw::c_uint, |
| 6109 |
); |
| 6110 |
} |
| 6111 |
extern "C" { |
| 6112 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_add_error_data"] |
| 6113 |
pub fn ERR_add_error_data(count: ::std::os::raw::c_uint, ...); |
| 6114 |
} |
| 6115 |
extern "C" { |
| 6116 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_add_error_dataf"] |
| 6117 |
pub fn ERR_add_error_dataf(format: *const ::std::os::raw::c_char, ...); |
| 6118 |
} |
| 6119 |
extern "C" { |
| 6120 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_set_error_data"] |
| 6121 |
pub fn ERR_set_error_data(data: *mut ::std::os::raw::c_char, flags: ::std::os::raw::c_int); |
| 6122 |
} |
| 6123 |
pub type OPENSSL_sk_free_func = |
| 6124 |
::std::option::Option<unsafe extern "C" fn(ptr: *mut ::std::os::raw::c_void)>; |
| 6125 |
pub type OPENSSL_sk_copy_func = ::std::option::Option< |
| 6126 |
unsafe extern "C" fn(ptr: *const ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void, |
| 6127 |
>; |
| 6128 |
pub type OPENSSL_sk_cmp_func = ::std::option::Option< |
| 6129 |
unsafe extern "C" fn( |
| 6130 |
a: *const *const ::std::os::raw::c_void, |
| 6131 |
b: *const *const ::std::os::raw::c_void, |
| 6132 |
) -> ::std::os::raw::c_int, |
| 6133 |
>; |
| 6134 |
pub type OPENSSL_sk_delete_if_func = ::std::option::Option< |
| 6135 |
unsafe extern "C" fn( |
| 6136 |
obj: *mut ::std::os::raw::c_void, |
| 6137 |
data: *mut ::std::os::raw::c_void, |
| 6138 |
) -> ::std::os::raw::c_int, |
| 6139 |
>; |
| 6140 |
pub type OPENSSL_sk_call_free_func = ::std::option::Option< |
| 6141 |
unsafe extern "C" fn(arg1: OPENSSL_sk_free_func, arg2: *mut ::std::os::raw::c_void), |
| 6142 |
>; |
| 6143 |
pub type OPENSSL_sk_call_copy_func = ::std::option::Option< |
| 6144 |
unsafe extern "C" fn( |
| 6145 |
arg1: OPENSSL_sk_copy_func, |
| 6146 |
arg2: *const ::std::os::raw::c_void, |
| 6147 |
) -> *mut ::std::os::raw::c_void, |
| 6148 |
>; |
| 6149 |
pub type OPENSSL_sk_call_cmp_func = ::std::option::Option< |
| 6150 |
unsafe extern "C" fn( |
| 6151 |
arg1: OPENSSL_sk_cmp_func, |
| 6152 |
arg2: *const ::std::os::raw::c_void, |
| 6153 |
arg3: *const ::std::os::raw::c_void, |
| 6154 |
) -> ::std::os::raw::c_int, |
| 6155 |
>; |
| 6156 |
pub type OPENSSL_sk_call_delete_if_func = ::std::option::Option< |
| 6157 |
unsafe extern "C" fn( |
| 6158 |
arg1: OPENSSL_sk_delete_if_func, |
| 6159 |
arg2: *mut ::std::os::raw::c_void, |
| 6160 |
arg3: *mut ::std::os::raw::c_void, |
| 6161 |
) -> ::std::os::raw::c_int, |
| 6162 |
>; |
| 6163 |
#[repr(C)] |
| 6164 |
#[derive(Debug, Copy, Clone)] |
| 6165 |
pub struct stack_st { |
| 6166 |
_unused: [u8; 0], |
| 6167 |
} |
| 6168 |
pub type OPENSSL_STACK = stack_st; |
| 6169 |
extern "C" { |
| 6170 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_new"] |
| 6171 |
pub fn OPENSSL_sk_new(comp: OPENSSL_sk_cmp_func) -> *mut OPENSSL_STACK; |
| 6172 |
} |
| 6173 |
extern "C" { |
| 6174 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_new_null"] |
| 6175 |
pub fn OPENSSL_sk_new_null() -> *mut OPENSSL_STACK; |
| 6176 |
} |
| 6177 |
extern "C" { |
| 6178 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_num"] |
| 6179 |
pub fn OPENSSL_sk_num(sk: *const OPENSSL_STACK) -> usize; |
| 6180 |
} |
| 6181 |
extern "C" { |
| 6182 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_zero"] |
| 6183 |
pub fn OPENSSL_sk_zero(sk: *mut OPENSSL_STACK); |
| 6184 |
} |
| 6185 |
extern "C" { |
| 6186 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_value"] |
| 6187 |
pub fn OPENSSL_sk_value(sk: *const OPENSSL_STACK, i: usize) -> *mut ::std::os::raw::c_void; |
| 6188 |
} |
| 6189 |
extern "C" { |
| 6190 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_set"] |
| 6191 |
pub fn OPENSSL_sk_set( |
| 6192 |
sk: *mut OPENSSL_STACK, |
| 6193 |
i: usize, |
| 6194 |
p: *mut ::std::os::raw::c_void, |
| 6195 |
) -> *mut ::std::os::raw::c_void; |
| 6196 |
} |
| 6197 |
extern "C" { |
| 6198 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_free"] |
| 6199 |
pub fn OPENSSL_sk_free(sk: *mut OPENSSL_STACK); |
| 6200 |
} |
| 6201 |
extern "C" { |
| 6202 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_pop_free_ex"] |
| 6203 |
pub fn OPENSSL_sk_pop_free_ex( |
| 6204 |
sk: *mut OPENSSL_STACK, |
| 6205 |
call_free_func: OPENSSL_sk_call_free_func, |
| 6206 |
free_func: OPENSSL_sk_free_func, |
| 6207 |
); |
| 6208 |
} |
| 6209 |
extern "C" { |
| 6210 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_insert"] |
| 6211 |
pub fn OPENSSL_sk_insert( |
| 6212 |
sk: *mut OPENSSL_STACK, |
| 6213 |
p: *mut ::std::os::raw::c_void, |
| 6214 |
where_: usize, |
| 6215 |
) -> usize; |
| 6216 |
} |
| 6217 |
extern "C" { |
| 6218 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_delete"] |
| 6219 |
pub fn OPENSSL_sk_delete(sk: *mut OPENSSL_STACK, where_: usize) -> *mut ::std::os::raw::c_void; |
| 6220 |
} |
| 6221 |
extern "C" { |
| 6222 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_delete_ptr"] |
| 6223 |
pub fn OPENSSL_sk_delete_ptr( |
| 6224 |
sk: *mut OPENSSL_STACK, |
| 6225 |
p: *const ::std::os::raw::c_void, |
| 6226 |
) -> *mut ::std::os::raw::c_void; |
| 6227 |
} |
| 6228 |
extern "C" { |
| 6229 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_delete_if"] |
| 6230 |
pub fn OPENSSL_sk_delete_if( |
| 6231 |
sk: *mut OPENSSL_STACK, |
| 6232 |
call_func: OPENSSL_sk_call_delete_if_func, |
| 6233 |
func: OPENSSL_sk_delete_if_func, |
| 6234 |
data: *mut ::std::os::raw::c_void, |
| 6235 |
); |
| 6236 |
} |
| 6237 |
extern "C" { |
| 6238 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_find"] |
| 6239 |
pub fn OPENSSL_sk_find( |
| 6240 |
sk: *const OPENSSL_STACK, |
| 6241 |
out_index: *mut usize, |
| 6242 |
p: *const ::std::os::raw::c_void, |
| 6243 |
call_cmp_func: OPENSSL_sk_call_cmp_func, |
| 6244 |
) -> ::std::os::raw::c_int; |
| 6245 |
} |
| 6246 |
extern "C" { |
| 6247 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_unshift"] |
| 6248 |
pub fn OPENSSL_sk_unshift( |
| 6249 |
sk: *mut OPENSSL_STACK, |
| 6250 |
data: *mut ::std::os::raw::c_void, |
| 6251 |
) -> ::std::os::raw::c_int; |
| 6252 |
} |
| 6253 |
extern "C" { |
| 6254 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_shift"] |
| 6255 |
pub fn OPENSSL_sk_shift(sk: *mut OPENSSL_STACK) -> *mut ::std::os::raw::c_void; |
| 6256 |
} |
| 6257 |
extern "C" { |
| 6258 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_push"] |
| 6259 |
pub fn OPENSSL_sk_push(sk: *mut OPENSSL_STACK, p: *mut ::std::os::raw::c_void) -> usize; |
| 6260 |
} |
| 6261 |
extern "C" { |
| 6262 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_pop"] |
| 6263 |
pub fn OPENSSL_sk_pop(sk: *mut OPENSSL_STACK) -> *mut ::std::os::raw::c_void; |
| 6264 |
} |
| 6265 |
extern "C" { |
| 6266 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_dup"] |
| 6267 |
pub fn OPENSSL_sk_dup(sk: *const OPENSSL_STACK) -> *mut OPENSSL_STACK; |
| 6268 |
} |
| 6269 |
extern "C" { |
| 6270 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_sort"] |
| 6271 |
pub fn OPENSSL_sk_sort(sk: *mut OPENSSL_STACK, call_cmp_func: OPENSSL_sk_call_cmp_func); |
| 6272 |
} |
| 6273 |
extern "C" { |
| 6274 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_is_sorted"] |
| 6275 |
pub fn OPENSSL_sk_is_sorted(sk: *const OPENSSL_STACK) -> ::std::os::raw::c_int; |
| 6276 |
} |
| 6277 |
extern "C" { |
| 6278 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_set_cmp_func"] |
| 6279 |
pub fn OPENSSL_sk_set_cmp_func( |
| 6280 |
sk: *mut OPENSSL_STACK, |
| 6281 |
comp: OPENSSL_sk_cmp_func, |
| 6282 |
) -> OPENSSL_sk_cmp_func; |
| 6283 |
} |
| 6284 |
extern "C" { |
| 6285 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_sk_deep_copy"] |
| 6286 |
pub fn OPENSSL_sk_deep_copy( |
| 6287 |
sk: *const OPENSSL_STACK, |
| 6288 |
call_copy_func: OPENSSL_sk_call_copy_func, |
| 6289 |
copy_func: OPENSSL_sk_copy_func, |
| 6290 |
call_free_func: OPENSSL_sk_call_free_func, |
| 6291 |
free_func: OPENSSL_sk_free_func, |
| 6292 |
) -> *mut OPENSSL_STACK; |
| 6293 |
} |
| 6294 |
pub type _STACK = OPENSSL_STACK; |
| 6295 |
extern "C" { |
| 6296 |
#[link_name = "\u{1}aws_lc_0_41_0_sk_pop_free"] |
| 6297 |
pub fn sk_pop_free(sk: *mut OPENSSL_STACK, free_func: OPENSSL_sk_free_func); |
| 6298 |
} |
| 6299 |
pub type OPENSSL_STRING = *mut ::std::os::raw::c_char; |
| 6300 |
#[repr(C)] |
| 6301 |
#[derive(Debug, Copy, Clone)] |
| 6302 |
pub struct stack_st_void { |
| 6303 |
_unused: [u8; 0], |
| 6304 |
} |
| 6305 |
pub type sk_void_free_func = |
| 6306 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>; |
| 6307 |
pub type sk_void_copy_func = ::std::option::Option< |
| 6308 |
unsafe extern "C" fn(arg1: *const ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void, |
| 6309 |
>; |
| 6310 |
pub type sk_void_cmp_func = ::std::option::Option< |
| 6311 |
unsafe extern "C" fn( |
| 6312 |
arg1: *const *const ::std::os::raw::c_void, |
| 6313 |
arg2: *const *const ::std::os::raw::c_void, |
| 6314 |
) -> ::std::os::raw::c_int, |
| 6315 |
>; |
| 6316 |
pub type sk_void_delete_if_func = ::std::option::Option< |
| 6317 |
unsafe extern "C" fn( |
| 6318 |
arg1: *mut ::std::os::raw::c_void, |
| 6319 |
arg2: *mut ::std::os::raw::c_void, |
| 6320 |
) -> ::std::os::raw::c_int, |
| 6321 |
>; |
| 6322 |
#[repr(C)] |
| 6323 |
#[derive(Debug, Copy, Clone)] |
| 6324 |
pub struct stack_st_OPENSSL_STRING { |
| 6325 |
_unused: [u8; 0], |
| 6326 |
} |
| 6327 |
pub type sk_OPENSSL_STRING_free_func = |
| 6328 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_char)>; |
| 6329 |
pub type sk_OPENSSL_STRING_copy_func = ::std::option::Option< |
| 6330 |
unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char, |
| 6331 |
>; |
| 6332 |
pub type sk_OPENSSL_STRING_cmp_func = ::std::option::Option< |
| 6333 |
unsafe extern "C" fn( |
| 6334 |
arg1: *const *const ::std::os::raw::c_char, |
| 6335 |
arg2: *const *const ::std::os::raw::c_char, |
| 6336 |
) -> ::std::os::raw::c_int, |
| 6337 |
>; |
| 6338 |
pub type sk_OPENSSL_STRING_delete_if_func = ::std::option::Option< |
| 6339 |
unsafe extern "C" fn( |
| 6340 |
arg1: *mut ::std::os::raw::c_char, |
| 6341 |
arg2: *mut ::std::os::raw::c_void, |
| 6342 |
) -> ::std::os::raw::c_int, |
| 6343 |
>; |
| 6344 |
pub type CRYPTO_EX_DATA = crypto_ex_data_st; |
| 6345 |
pub type CRYPTO_EX_free = ::std::option::Option< |
| 6346 |
unsafe extern "C" fn( |
| 6347 |
parent: *mut ::std::os::raw::c_void, |
| 6348 |
ptr: *mut ::std::os::raw::c_void, |
| 6349 |
ad: *mut CRYPTO_EX_DATA, |
| 6350 |
index: ::std::os::raw::c_int, |
| 6351 |
argl: ::std::os::raw::c_long, |
| 6352 |
argp: *mut ::std::os::raw::c_void, |
| 6353 |
), |
| 6354 |
>; |
| 6355 |
extern "C" { |
| 6356 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_cleanup_all_ex_data"] |
| 6357 |
pub fn CRYPTO_cleanup_all_ex_data(); |
| 6358 |
} |
| 6359 |
pub type CRYPTO_EX_dup = ::std::option::Option< |
| 6360 |
unsafe extern "C" fn( |
| 6361 |
to: *mut CRYPTO_EX_DATA, |
| 6362 |
from: *const CRYPTO_EX_DATA, |
| 6363 |
from_d: *mut *mut ::std::os::raw::c_void, |
| 6364 |
index: ::std::os::raw::c_int, |
| 6365 |
argl: ::std::os::raw::c_long, |
| 6366 |
argp: *mut ::std::os::raw::c_void, |
| 6367 |
) -> ::std::os::raw::c_int, |
| 6368 |
>; |
| 6369 |
pub type CRYPTO_EX_unused = ::std::os::raw::c_int; |
| 6370 |
#[repr(C)] |
| 6371 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 6372 |
pub struct crypto_ex_data_st { |
| 6373 |
pub sk: *mut stack_st_void, |
| 6374 |
} |
| 6375 |
#[test] |
| 6376 |
fn bindgen_test_layout_crypto_ex_data_st() { |
| 6377 |
const UNINIT: ::std::mem::MaybeUninit<crypto_ex_data_st> = ::std::mem::MaybeUninit::uninit(); |
| 6378 |
let ptr = UNINIT.as_ptr(); |
| 6379 |
assert_eq!( |
| 6380 |
::std::mem::size_of::<crypto_ex_data_st>(), |
| 6381 |
8usize, |
| 6382 |
"Size of crypto_ex_data_st" |
| 6383 |
); |
| 6384 |
assert_eq!( |
| 6385 |
::std::mem::align_of::<crypto_ex_data_st>(), |
| 6386 |
8usize, |
| 6387 |
"Alignment of crypto_ex_data_st" |
| 6388 |
); |
| 6389 |
assert_eq!( |
| 6390 |
unsafe { ::std::ptr::addr_of!((*ptr).sk) as usize - ptr as usize }, |
| 6391 |
0usize, |
| 6392 |
"Offset of field: crypto_ex_data_st::sk" |
| 6393 |
); |
| 6394 |
} |
| 6395 |
impl Default for crypto_ex_data_st { |
| 6396 |
fn default() -> Self { |
| 6397 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 6398 |
unsafe { |
| 6399 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 6400 |
s.assume_init() |
| 6401 |
} |
| 6402 |
} |
| 6403 |
} |
| 6404 |
#[repr(C)] |
| 6405 |
#[derive(Debug, Copy, Clone)] |
| 6406 |
pub struct stack_st_BIO { |
| 6407 |
_unused: [u8; 0], |
| 6408 |
} |
| 6409 |
pub type sk_BIO_free_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut BIO)>; |
| 6410 |
pub type sk_BIO_copy_func = |
| 6411 |
::std::option::Option<unsafe extern "C" fn(arg1: *const BIO) -> *mut BIO>; |
| 6412 |
pub type sk_BIO_cmp_func = ::std::option::Option< |
| 6413 |
unsafe extern "C" fn(arg1: *const *const BIO, arg2: *const *const BIO) -> ::std::os::raw::c_int, |
| 6414 |
>; |
| 6415 |
pub type sk_BIO_delete_if_func = ::std::option::Option< |
| 6416 |
unsafe extern "C" fn( |
| 6417 |
arg1: *mut BIO, |
| 6418 |
arg2: *mut ::std::os::raw::c_void, |
| 6419 |
) -> ::std::os::raw::c_int, |
| 6420 |
>; |
| 6421 |
extern "C" { |
| 6422 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new"] |
| 6423 |
pub fn BIO_new(method: *const BIO_METHOD) -> *mut BIO; |
| 6424 |
} |
| 6425 |
extern "C" { |
| 6426 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_free"] |
| 6427 |
pub fn BIO_free(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 6428 |
} |
| 6429 |
extern "C" { |
| 6430 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_vfree"] |
| 6431 |
pub fn BIO_vfree(bio: *mut BIO); |
| 6432 |
} |
| 6433 |
extern "C" { |
| 6434 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_up_ref"] |
| 6435 |
pub fn BIO_up_ref(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 6436 |
} |
| 6437 |
extern "C" { |
| 6438 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_read"] |
| 6439 |
pub fn BIO_read( |
| 6440 |
bio: *mut BIO, |
| 6441 |
data: *mut ::std::os::raw::c_void, |
| 6442 |
len: ::std::os::raw::c_int, |
| 6443 |
) -> ::std::os::raw::c_int; |
| 6444 |
} |
| 6445 |
extern "C" { |
| 6446 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_read_ex"] |
| 6447 |
pub fn BIO_read_ex( |
| 6448 |
bio: *mut BIO, |
| 6449 |
data: *mut ::std::os::raw::c_void, |
| 6450 |
data_len: usize, |
| 6451 |
read_bytes: *mut usize, |
| 6452 |
) -> ::std::os::raw::c_int; |
| 6453 |
} |
| 6454 |
extern "C" { |
| 6455 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_gets"] |
| 6456 |
pub fn BIO_gets( |
| 6457 |
bio: *mut BIO, |
| 6458 |
buf: *mut ::std::os::raw::c_char, |
| 6459 |
size: ::std::os::raw::c_int, |
| 6460 |
) -> ::std::os::raw::c_int; |
| 6461 |
} |
| 6462 |
extern "C" { |
| 6463 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_write"] |
| 6464 |
pub fn BIO_write( |
| 6465 |
bio: *mut BIO, |
| 6466 |
data: *const ::std::os::raw::c_void, |
| 6467 |
len: ::std::os::raw::c_int, |
| 6468 |
) -> ::std::os::raw::c_int; |
| 6469 |
} |
| 6470 |
extern "C" { |
| 6471 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_write_ex"] |
| 6472 |
pub fn BIO_write_ex( |
| 6473 |
bio: *mut BIO, |
| 6474 |
data: *const ::std::os::raw::c_void, |
| 6475 |
data_len: usize, |
| 6476 |
written_bytes: *mut usize, |
| 6477 |
) -> ::std::os::raw::c_int; |
| 6478 |
} |
| 6479 |
extern "C" { |
| 6480 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_write_all"] |
| 6481 |
pub fn BIO_write_all( |
| 6482 |
bio: *mut BIO, |
| 6483 |
data: *const ::std::os::raw::c_void, |
| 6484 |
len: usize, |
| 6485 |
) -> ::std::os::raw::c_int; |
| 6486 |
} |
| 6487 |
extern "C" { |
| 6488 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_puts"] |
| 6489 |
pub fn BIO_puts(bio: *mut BIO, buf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; |
| 6490 |
} |
| 6491 |
extern "C" { |
| 6492 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_flush"] |
| 6493 |
pub fn BIO_flush(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 6494 |
} |
| 6495 |
extern "C" { |
| 6496 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ctrl"] |
| 6497 |
pub fn BIO_ctrl( |
| 6498 |
bio: *mut BIO, |
| 6499 |
cmd: ::std::os::raw::c_int, |
| 6500 |
larg: ::std::os::raw::c_long, |
| 6501 |
parg: *mut ::std::os::raw::c_void, |
| 6502 |
) -> ::std::os::raw::c_long; |
| 6503 |
} |
| 6504 |
extern "C" { |
| 6505 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ptr_ctrl"] |
| 6506 |
pub fn BIO_ptr_ctrl( |
| 6507 |
bp: *mut BIO, |
| 6508 |
cmd: ::std::os::raw::c_int, |
| 6509 |
larg: ::std::os::raw::c_long, |
| 6510 |
) -> *mut ::std::os::raw::c_char; |
| 6511 |
} |
| 6512 |
extern "C" { |
| 6513 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_int_ctrl"] |
| 6514 |
pub fn BIO_int_ctrl( |
| 6515 |
bp: *mut BIO, |
| 6516 |
cmd: ::std::os::raw::c_int, |
| 6517 |
larg: ::std::os::raw::c_long, |
| 6518 |
iarg: ::std::os::raw::c_int, |
| 6519 |
) -> ::std::os::raw::c_long; |
| 6520 |
} |
| 6521 |
extern "C" { |
| 6522 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_reset"] |
| 6523 |
pub fn BIO_reset(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 6524 |
} |
| 6525 |
extern "C" { |
| 6526 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_eof"] |
| 6527 |
pub fn BIO_eof(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 6528 |
} |
| 6529 |
extern "C" { |
| 6530 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_flags"] |
| 6531 |
pub fn BIO_set_flags(bio: *mut BIO, flags: ::std::os::raw::c_int); |
| 6532 |
} |
| 6533 |
extern "C" { |
| 6534 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_test_flags"] |
| 6535 |
pub fn BIO_test_flags(bio: *const BIO, flags: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 6536 |
} |
| 6537 |
extern "C" { |
| 6538 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_should_read"] |
| 6539 |
pub fn BIO_should_read(bio: *const BIO) -> ::std::os::raw::c_int; |
| 6540 |
} |
| 6541 |
extern "C" { |
| 6542 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_should_write"] |
| 6543 |
pub fn BIO_should_write(bio: *const BIO) -> ::std::os::raw::c_int; |
| 6544 |
} |
| 6545 |
extern "C" { |
| 6546 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_should_retry"] |
| 6547 |
pub fn BIO_should_retry(bio: *const BIO) -> ::std::os::raw::c_int; |
| 6548 |
} |
| 6549 |
extern "C" { |
| 6550 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_should_io_special"] |
| 6551 |
pub fn BIO_should_io_special(bio: *const BIO) -> ::std::os::raw::c_int; |
| 6552 |
} |
| 6553 |
extern "C" { |
| 6554 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_retry_reason"] |
| 6555 |
pub fn BIO_get_retry_reason(bio: *const BIO) -> ::std::os::raw::c_int; |
| 6556 |
} |
| 6557 |
extern "C" { |
| 6558 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_retry_reason"] |
| 6559 |
pub fn BIO_set_retry_reason(bio: *mut BIO, reason: ::std::os::raw::c_int); |
| 6560 |
} |
| 6561 |
extern "C" { |
| 6562 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_clear_flags"] |
| 6563 |
pub fn BIO_clear_flags(bio: *mut BIO, flags: ::std::os::raw::c_int); |
| 6564 |
} |
| 6565 |
extern "C" { |
| 6566 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_retry_read"] |
| 6567 |
pub fn BIO_set_retry_read(bio: *mut BIO); |
| 6568 |
} |
| 6569 |
extern "C" { |
| 6570 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_retry_write"] |
| 6571 |
pub fn BIO_set_retry_write(bio: *mut BIO); |
| 6572 |
} |
| 6573 |
extern "C" { |
| 6574 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_retry_flags"] |
| 6575 |
pub fn BIO_get_retry_flags(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 6576 |
} |
| 6577 |
extern "C" { |
| 6578 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_clear_retry_flags"] |
| 6579 |
pub fn BIO_clear_retry_flags(bio: *mut BIO); |
| 6580 |
} |
| 6581 |
extern "C" { |
| 6582 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_method_type"] |
| 6583 |
pub fn BIO_method_type(bio: *const BIO) -> ::std::os::raw::c_int; |
| 6584 |
} |
| 6585 |
extern "C" { |
| 6586 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_method_name"] |
| 6587 |
pub fn BIO_method_name(b: *const BIO) -> *const ::std::os::raw::c_char; |
| 6588 |
} |
| 6589 |
pub type bio_info_cb = ::std::option::Option< |
| 6590 |
unsafe extern "C" fn( |
| 6591 |
b: *mut BIO, |
| 6592 |
state: ::std::os::raw::c_int, |
| 6593 |
res: ::std::os::raw::c_int, |
| 6594 |
) -> ::std::os::raw::c_long, |
| 6595 |
>; |
| 6596 |
pub type BIO_callback_fn_ex = ::std::option::Option< |
| 6597 |
unsafe extern "C" fn( |
| 6598 |
bio: *mut BIO, |
| 6599 |
oper: ::std::os::raw::c_int, |
| 6600 |
argp: *const ::std::os::raw::c_char, |
| 6601 |
len: usize, |
| 6602 |
argi: ::std::os::raw::c_int, |
| 6603 |
argl: ::std::os::raw::c_long, |
| 6604 |
bio_ret: ::std::os::raw::c_int, |
| 6605 |
processed: *mut usize, |
| 6606 |
) -> ::std::os::raw::c_long, |
| 6607 |
>; |
| 6608 |
pub type BIO_callback_fn = ::std::option::Option< |
| 6609 |
unsafe extern "C" fn( |
| 6610 |
bio: *mut BIO, |
| 6611 |
oper: ::std::os::raw::c_int, |
| 6612 |
argp: *const ::std::os::raw::c_char, |
| 6613 |
argi: ::std::os::raw::c_int, |
| 6614 |
argl: ::std::os::raw::c_long, |
| 6615 |
bio_ret: ::std::os::raw::c_long, |
| 6616 |
) -> ::std::os::raw::c_long, |
| 6617 |
>; |
| 6618 |
extern "C" { |
| 6619 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_callback_ctrl"] |
| 6620 |
pub fn BIO_callback_ctrl( |
| 6621 |
bio: *mut BIO, |
| 6622 |
cmd: ::std::os::raw::c_int, |
| 6623 |
fp: bio_info_cb, |
| 6624 |
) -> ::std::os::raw::c_long; |
| 6625 |
} |
| 6626 |
extern "C" { |
| 6627 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_pending"] |
| 6628 |
pub fn BIO_pending(bio: *const BIO) -> usize; |
| 6629 |
} |
| 6630 |
extern "C" { |
| 6631 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ctrl_pending"] |
| 6632 |
pub fn BIO_ctrl_pending(bio: *const BIO) -> usize; |
| 6633 |
} |
| 6634 |
extern "C" { |
| 6635 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_wpending"] |
| 6636 |
pub fn BIO_wpending(bio: *const BIO) -> usize; |
| 6637 |
} |
| 6638 |
extern "C" { |
| 6639 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_close"] |
| 6640 |
pub fn BIO_set_close(bio: *mut BIO, close_flag: ::std::os::raw::c_int) |
| 6641 |
-> ::std::os::raw::c_int; |
| 6642 |
} |
| 6643 |
extern "C" { |
| 6644 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_close"] |
| 6645 |
pub fn BIO_get_close(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 6646 |
} |
| 6647 |
extern "C" { |
| 6648 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_number_read"] |
| 6649 |
pub fn BIO_number_read(bio: *const BIO) -> u64; |
| 6650 |
} |
| 6651 |
extern "C" { |
| 6652 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_number_written"] |
| 6653 |
pub fn BIO_number_written(bio: *const BIO) -> u64; |
| 6654 |
} |
| 6655 |
extern "C" { |
| 6656 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_callback_ex"] |
| 6657 |
pub fn BIO_set_callback_ex(bio: *mut BIO, callback_ex: BIO_callback_fn_ex); |
| 6658 |
} |
| 6659 |
extern "C" { |
| 6660 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_callback"] |
| 6661 |
pub fn BIO_set_callback(bio: *mut BIO, callback: BIO_callback_fn); |
| 6662 |
} |
| 6663 |
extern "C" { |
| 6664 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_callback_arg"] |
| 6665 |
pub fn BIO_set_callback_arg(bio: *mut BIO, arg: *mut ::std::os::raw::c_char); |
| 6666 |
} |
| 6667 |
extern "C" { |
| 6668 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_callback_arg"] |
| 6669 |
pub fn BIO_get_callback_arg(bio: *const BIO) -> *mut ::std::os::raw::c_char; |
| 6670 |
} |
| 6671 |
extern "C" { |
| 6672 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_push"] |
| 6673 |
pub fn BIO_push(bio: *mut BIO, appended_bio: *mut BIO) -> *mut BIO; |
| 6674 |
} |
| 6675 |
extern "C" { |
| 6676 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_pop"] |
| 6677 |
pub fn BIO_pop(bio: *mut BIO) -> *mut BIO; |
| 6678 |
} |
| 6679 |
extern "C" { |
| 6680 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_next"] |
| 6681 |
pub fn BIO_next(bio: *mut BIO) -> *mut BIO; |
| 6682 |
} |
| 6683 |
extern "C" { |
| 6684 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_free_all"] |
| 6685 |
pub fn BIO_free_all(bio: *mut BIO); |
| 6686 |
} |
| 6687 |
extern "C" { |
| 6688 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_find_type"] |
| 6689 |
pub fn BIO_find_type(bio: *mut BIO, type_: ::std::os::raw::c_int) -> *mut BIO; |
| 6690 |
} |
| 6691 |
extern "C" { |
| 6692 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_copy_next_retry"] |
| 6693 |
pub fn BIO_copy_next_retry(bio: *mut BIO); |
| 6694 |
} |
| 6695 |
extern "C" { |
| 6696 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_printf"] |
| 6697 |
pub fn BIO_printf( |
| 6698 |
bio: *mut BIO, |
| 6699 |
format: *const ::std::os::raw::c_char, |
| 6700 |
... |
| 6701 |
) -> ::std::os::raw::c_int; |
| 6702 |
} |
| 6703 |
extern "C" { |
| 6704 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_indent"] |
| 6705 |
pub fn BIO_indent( |
| 6706 |
bio: *mut BIO, |
| 6707 |
indent: ::std::os::raw::c_uint, |
| 6708 |
max_indent: ::std::os::raw::c_uint, |
| 6709 |
) -> ::std::os::raw::c_int; |
| 6710 |
} |
| 6711 |
extern "C" { |
| 6712 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_hexdump"] |
| 6713 |
pub fn BIO_hexdump( |
| 6714 |
bio: *mut BIO, |
| 6715 |
data: *const u8, |
| 6716 |
len: usize, |
| 6717 |
indent: ::std::os::raw::c_uint, |
| 6718 |
) -> ::std::os::raw::c_int; |
| 6719 |
} |
| 6720 |
extern "C" { |
| 6721 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_dump"] |
| 6722 |
pub fn BIO_dump( |
| 6723 |
bio: *mut BIO, |
| 6724 |
data: *const ::std::os::raw::c_void, |
| 6725 |
len: ::std::os::raw::c_int, |
| 6726 |
) -> ::std::os::raw::c_int; |
| 6727 |
} |
| 6728 |
extern "C" { |
| 6729 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_print_errors"] |
| 6730 |
pub fn ERR_print_errors(bio: *mut BIO); |
| 6731 |
} |
| 6732 |
extern "C" { |
| 6733 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_read_asn1"] |
| 6734 |
pub fn BIO_read_asn1( |
| 6735 |
bio: *mut BIO, |
| 6736 |
out: *mut *mut u8, |
| 6737 |
out_len: *mut usize, |
| 6738 |
max_len: usize, |
| 6739 |
) -> ::std::os::raw::c_int; |
| 6740 |
} |
| 6741 |
extern "C" { |
| 6742 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_s_mem"] |
| 6743 |
pub fn BIO_s_mem() -> *const BIO_METHOD; |
| 6744 |
} |
| 6745 |
extern "C" { |
| 6746 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new_mem_buf"] |
| 6747 |
pub fn BIO_new_mem_buf(buf: *const ::std::os::raw::c_void, len: ossl_ssize_t) -> *mut BIO; |
| 6748 |
} |
| 6749 |
extern "C" { |
| 6750 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_mem_contents"] |
| 6751 |
pub fn BIO_mem_contents( |
| 6752 |
bio: *const BIO, |
| 6753 |
out_contents: *mut *const u8, |
| 6754 |
out_len: *mut usize, |
| 6755 |
) -> ::std::os::raw::c_int; |
| 6756 |
} |
| 6757 |
extern "C" { |
| 6758 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_mem_ptr"] |
| 6759 |
pub fn BIO_get_mem_ptr(bio: *mut BIO, out: *mut *mut BUF_MEM) -> ::std::os::raw::c_int; |
| 6760 |
} |
| 6761 |
extern "C" { |
| 6762 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_mem_buf"] |
| 6763 |
pub fn BIO_set_mem_buf( |
| 6764 |
bio: *mut BIO, |
| 6765 |
b: *mut BUF_MEM, |
| 6766 |
take_ownership: ::std::os::raw::c_int, |
| 6767 |
) -> ::std::os::raw::c_int; |
| 6768 |
} |
| 6769 |
extern "C" { |
| 6770 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_mem_eof_return"] |
| 6771 |
pub fn BIO_set_mem_eof_return( |
| 6772 |
bio: *mut BIO, |
| 6773 |
eof_value: ::std::os::raw::c_int, |
| 6774 |
) -> ::std::os::raw::c_int; |
| 6775 |
} |
| 6776 |
extern "C" { |
| 6777 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_s_fd"] |
| 6778 |
pub fn BIO_s_fd() -> *const BIO_METHOD; |
| 6779 |
} |
| 6780 |
extern "C" { |
| 6781 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new_fd"] |
| 6782 |
pub fn BIO_new_fd(fd: ::std::os::raw::c_int, close_flag: ::std::os::raw::c_int) -> *mut BIO; |
| 6783 |
} |
| 6784 |
extern "C" { |
| 6785 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_fd"] |
| 6786 |
pub fn BIO_set_fd( |
| 6787 |
bio: *mut BIO, |
| 6788 |
fd: ::std::os::raw::c_int, |
| 6789 |
close_flag: ::std::os::raw::c_int, |
| 6790 |
) -> ::std::os::raw::c_int; |
| 6791 |
} |
| 6792 |
extern "C" { |
| 6793 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_fd"] |
| 6794 |
pub fn BIO_get_fd(bio: *mut BIO, out_fd: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 6795 |
} |
| 6796 |
extern "C" { |
| 6797 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_s_file"] |
| 6798 |
pub fn BIO_s_file() -> *const BIO_METHOD; |
| 6799 |
} |
| 6800 |
extern "C" { |
| 6801 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new_file"] |
| 6802 |
pub fn BIO_new_file( |
| 6803 |
filename: *const ::std::os::raw::c_char, |
| 6804 |
mode: *const ::std::os::raw::c_char, |
| 6805 |
) -> *mut BIO; |
| 6806 |
} |
| 6807 |
extern "C" { |
| 6808 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new_fp"] |
| 6809 |
pub fn BIO_new_fp(stream: *mut FILE, close_flag: ::std::os::raw::c_int) -> *mut BIO; |
| 6810 |
} |
| 6811 |
extern "C" { |
| 6812 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_fp"] |
| 6813 |
pub fn BIO_get_fp(bio: *mut BIO, out_file: *mut *mut FILE) -> ::std::os::raw::c_int; |
| 6814 |
} |
| 6815 |
extern "C" { |
| 6816 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_fp"] |
| 6817 |
pub fn BIO_set_fp( |
| 6818 |
bio: *mut BIO, |
| 6819 |
file: *mut FILE, |
| 6820 |
close_flag: ::std::os::raw::c_int, |
| 6821 |
) -> ::std::os::raw::c_int; |
| 6822 |
} |
| 6823 |
extern "C" { |
| 6824 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_read_filename"] |
| 6825 |
pub fn BIO_read_filename( |
| 6826 |
bio: *mut BIO, |
| 6827 |
filename: *const ::std::os::raw::c_char, |
| 6828 |
) -> ::std::os::raw::c_int; |
| 6829 |
} |
| 6830 |
extern "C" { |
| 6831 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_write_filename"] |
| 6832 |
pub fn BIO_write_filename( |
| 6833 |
bio: *mut BIO, |
| 6834 |
filename: *const ::std::os::raw::c_char, |
| 6835 |
) -> ::std::os::raw::c_int; |
| 6836 |
} |
| 6837 |
extern "C" { |
| 6838 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_append_filename"] |
| 6839 |
pub fn BIO_append_filename( |
| 6840 |
bio: *mut BIO, |
| 6841 |
filename: *const ::std::os::raw::c_char, |
| 6842 |
) -> ::std::os::raw::c_int; |
| 6843 |
} |
| 6844 |
extern "C" { |
| 6845 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_rw_filename"] |
| 6846 |
pub fn BIO_rw_filename( |
| 6847 |
bio: *mut BIO, |
| 6848 |
filename: *const ::std::os::raw::c_char, |
| 6849 |
) -> ::std::os::raw::c_int; |
| 6850 |
} |
| 6851 |
extern "C" { |
| 6852 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_tell"] |
| 6853 |
pub fn BIO_tell(bio: *mut BIO) -> ::std::os::raw::c_long; |
| 6854 |
} |
| 6855 |
extern "C" { |
| 6856 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_seek"] |
| 6857 |
pub fn BIO_seek(bio: *mut BIO, offset: ::std::os::raw::c_long) -> ::std::os::raw::c_long; |
| 6858 |
} |
| 6859 |
extern "C" { |
| 6860 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_s_socket"] |
| 6861 |
pub fn BIO_s_socket() -> *const BIO_METHOD; |
| 6862 |
} |
| 6863 |
extern "C" { |
| 6864 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new_socket"] |
| 6865 |
pub fn BIO_new_socket(fd: ::std::os::raw::c_int, close_flag: ::std::os::raw::c_int) |
| 6866 |
-> *mut BIO; |
| 6867 |
} |
| 6868 |
extern "C" { |
| 6869 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_s_connect"] |
| 6870 |
pub fn BIO_s_connect() -> *const BIO_METHOD; |
| 6871 |
} |
| 6872 |
extern "C" { |
| 6873 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new_connect"] |
| 6874 |
pub fn BIO_new_connect(host_and_optional_port: *const ::std::os::raw::c_char) -> *mut BIO; |
| 6875 |
} |
| 6876 |
extern "C" { |
| 6877 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_conn_hostname"] |
| 6878 |
pub fn BIO_set_conn_hostname( |
| 6879 |
bio: *mut BIO, |
| 6880 |
host_and_optional_port: *const ::std::os::raw::c_char, |
| 6881 |
) -> ::std::os::raw::c_int; |
| 6882 |
} |
| 6883 |
extern "C" { |
| 6884 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_conn_port"] |
| 6885 |
pub fn BIO_set_conn_port( |
| 6886 |
bio: *mut BIO, |
| 6887 |
port_str: *const ::std::os::raw::c_char, |
| 6888 |
) -> ::std::os::raw::c_int; |
| 6889 |
} |
| 6890 |
extern "C" { |
| 6891 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_conn_int_port"] |
| 6892 |
pub fn BIO_set_conn_int_port( |
| 6893 |
bio: *mut BIO, |
| 6894 |
port: *const ::std::os::raw::c_int, |
| 6895 |
) -> ::std::os::raw::c_int; |
| 6896 |
} |
| 6897 |
extern "C" { |
| 6898 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_nbio"] |
| 6899 |
pub fn BIO_set_nbio(bio: *mut BIO, on: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 6900 |
} |
| 6901 |
extern "C" { |
| 6902 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_do_connect"] |
| 6903 |
pub fn BIO_do_connect(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 6904 |
} |
| 6905 |
extern "C" { |
| 6906 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_f_md"] |
| 6907 |
pub fn BIO_f_md() -> *const BIO_METHOD; |
| 6908 |
} |
| 6909 |
extern "C" { |
| 6910 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_md_ctx"] |
| 6911 |
pub fn BIO_get_md_ctx(b: *mut BIO, ctx: *mut *mut EVP_MD_CTX) -> ::std::os::raw::c_int; |
| 6912 |
} |
| 6913 |
extern "C" { |
| 6914 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_md"] |
| 6915 |
pub fn BIO_set_md(b: *mut BIO, md: *const EVP_MD) -> ::std::os::raw::c_int; |
| 6916 |
} |
| 6917 |
extern "C" { |
| 6918 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_md"] |
| 6919 |
pub fn BIO_get_md(b: *mut BIO, md: *mut *mut EVP_MD) -> ::std::os::raw::c_int; |
| 6920 |
} |
| 6921 |
#[repr(C)] |
| 6922 |
#[derive(Copy, Clone)] |
| 6923 |
pub struct bio_addr_st { |
| 6924 |
_unused: [u8; 0], |
| 6925 |
} |
| 6926 |
pub type BIO_ADDR = bio_addr_st; |
| 6927 |
extern "C" { |
| 6928 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_s_datagram"] |
| 6929 |
pub fn BIO_s_datagram() -> *const BIO_METHOD; |
| 6930 |
} |
| 6931 |
extern "C" { |
| 6932 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new_dgram"] |
| 6933 |
pub fn BIO_new_dgram(fd: ::std::os::raw::c_int, close_flag: ::std::os::raw::c_int) -> *mut BIO; |
| 6934 |
} |
| 6935 |
extern "C" { |
| 6936 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ctrl_dgram_connect"] |
| 6937 |
pub fn BIO_ctrl_dgram_connect(bp: *mut BIO, peer: *const BIO_ADDR) -> ::std::os::raw::c_int; |
| 6938 |
} |
| 6939 |
extern "C" { |
| 6940 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ctrl_set_connected"] |
| 6941 |
pub fn BIO_ctrl_set_connected(bp: *mut BIO, peer: *const BIO_ADDR) -> ::std::os::raw::c_int; |
| 6942 |
} |
| 6943 |
extern "C" { |
| 6944 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_dgram_recv_timedout"] |
| 6945 |
pub fn BIO_dgram_recv_timedout(bp: *mut BIO) -> ::std::os::raw::c_int; |
| 6946 |
} |
| 6947 |
extern "C" { |
| 6948 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_dgram_send_timedout"] |
| 6949 |
pub fn BIO_dgram_send_timedout(bp: *mut BIO) -> ::std::os::raw::c_int; |
| 6950 |
} |
| 6951 |
extern "C" { |
| 6952 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_dgram_get_peer"] |
| 6953 |
pub fn BIO_dgram_get_peer(bp: *mut BIO, peer: *mut BIO_ADDR) -> ::std::os::raw::c_int; |
| 6954 |
} |
| 6955 |
extern "C" { |
| 6956 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_dgram_set_peer"] |
| 6957 |
pub fn BIO_dgram_set_peer(bp: *mut BIO, peer: *const BIO_ADDR) -> ::std::os::raw::c_int; |
| 6958 |
} |
| 6959 |
extern "C" { |
| 6960 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_new"] |
| 6961 |
pub fn BIO_ADDR_new() -> *mut BIO_ADDR; |
| 6962 |
} |
| 6963 |
extern "C" { |
| 6964 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_copy"] |
| 6965 |
pub fn BIO_ADDR_copy(dst: *mut BIO_ADDR, src: *const BIO_ADDR) -> ::std::os::raw::c_int; |
| 6966 |
} |
| 6967 |
extern "C" { |
| 6968 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_dup"] |
| 6969 |
pub fn BIO_ADDR_dup(ap: *const BIO_ADDR) -> *mut BIO_ADDR; |
| 6970 |
} |
| 6971 |
extern "C" { |
| 6972 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_free"] |
| 6973 |
pub fn BIO_ADDR_free(ap: *mut BIO_ADDR); |
| 6974 |
} |
| 6975 |
extern "C" { |
| 6976 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_clear"] |
| 6977 |
pub fn BIO_ADDR_clear(ap: *mut BIO_ADDR); |
| 6978 |
} |
| 6979 |
extern "C" { |
| 6980 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_rawmake"] |
| 6981 |
pub fn BIO_ADDR_rawmake( |
| 6982 |
ap: *mut BIO_ADDR, |
| 6983 |
family: ::std::os::raw::c_int, |
| 6984 |
where_: *const ::std::os::raw::c_void, |
| 6985 |
wherelen: usize, |
| 6986 |
port: ::std::os::raw::c_ushort, |
| 6987 |
) -> ::std::os::raw::c_int; |
| 6988 |
} |
| 6989 |
extern "C" { |
| 6990 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_family"] |
| 6991 |
pub fn BIO_ADDR_family(ap: *const BIO_ADDR) -> ::std::os::raw::c_int; |
| 6992 |
} |
| 6993 |
extern "C" { |
| 6994 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_rawaddress"] |
| 6995 |
pub fn BIO_ADDR_rawaddress( |
| 6996 |
ap: *const BIO_ADDR, |
| 6997 |
p: *mut ::std::os::raw::c_void, |
| 6998 |
l: *mut usize, |
| 6999 |
) -> ::std::os::raw::c_int; |
| 7000 |
} |
| 7001 |
extern "C" { |
| 7002 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ADDR_rawport"] |
| 7003 |
pub fn BIO_ADDR_rawport(ap: *const BIO_ADDR) -> ::std::os::raw::c_ushort; |
| 7004 |
} |
| 7005 |
extern "C" { |
| 7006 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_new_bio_pair"] |
| 7007 |
pub fn BIO_new_bio_pair( |
| 7008 |
out1: *mut *mut BIO, |
| 7009 |
writebuf1: usize, |
| 7010 |
out2: *mut *mut BIO, |
| 7011 |
writebuf2: usize, |
| 7012 |
) -> ::std::os::raw::c_int; |
| 7013 |
} |
| 7014 |
extern "C" { |
| 7015 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_destroy_bio_pair"] |
| 7016 |
pub fn BIO_destroy_bio_pair(b: *mut BIO) -> ::std::os::raw::c_int; |
| 7017 |
} |
| 7018 |
extern "C" { |
| 7019 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ctrl_get_read_request"] |
| 7020 |
pub fn BIO_ctrl_get_read_request(bio: *mut BIO) -> usize; |
| 7021 |
} |
| 7022 |
extern "C" { |
| 7023 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_ctrl_get_write_guarantee"] |
| 7024 |
pub fn BIO_ctrl_get_write_guarantee(bio: *mut BIO) -> usize; |
| 7025 |
} |
| 7026 |
extern "C" { |
| 7027 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_shutdown_wr"] |
| 7028 |
pub fn BIO_shutdown_wr(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 7029 |
} |
| 7030 |
extern "C" { |
| 7031 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_new_index"] |
| 7032 |
pub fn BIO_get_new_index() -> ::std::os::raw::c_int; |
| 7033 |
} |
| 7034 |
extern "C" { |
| 7035 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_new"] |
| 7036 |
pub fn BIO_meth_new( |
| 7037 |
type_: ::std::os::raw::c_int, |
| 7038 |
name: *const ::std::os::raw::c_char, |
| 7039 |
) -> *mut BIO_METHOD; |
| 7040 |
} |
| 7041 |
extern "C" { |
| 7042 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_free"] |
| 7043 |
pub fn BIO_meth_free(method: *mut BIO_METHOD); |
| 7044 |
} |
| 7045 |
extern "C" { |
| 7046 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_set_create"] |
| 7047 |
pub fn BIO_meth_set_create( |
| 7048 |
method: *mut BIO_METHOD, |
| 7049 |
create: ::std::option::Option< |
| 7050 |
unsafe extern "C" fn(arg1: *mut BIO) -> ::std::os::raw::c_int, |
| 7051 |
>, |
| 7052 |
) -> ::std::os::raw::c_int; |
| 7053 |
} |
| 7054 |
extern "C" { |
| 7055 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_get_create"] |
| 7056 |
pub fn BIO_meth_get_create( |
| 7057 |
method: *const BIO_METHOD, |
| 7058 |
) -> ::std::option::Option<unsafe extern "C" fn(method: *mut BIO) -> ::std::os::raw::c_int>; |
| 7059 |
} |
| 7060 |
extern "C" { |
| 7061 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_set_destroy"] |
| 7062 |
pub fn BIO_meth_set_destroy( |
| 7063 |
method: *mut BIO_METHOD, |
| 7064 |
destroy: ::std::option::Option< |
| 7065 |
unsafe extern "C" fn(arg1: *mut BIO) -> ::std::os::raw::c_int, |
| 7066 |
>, |
| 7067 |
) -> ::std::os::raw::c_int; |
| 7068 |
} |
| 7069 |
extern "C" { |
| 7070 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_get_destroy"] |
| 7071 |
pub fn BIO_meth_get_destroy( |
| 7072 |
method: *const BIO_METHOD, |
| 7073 |
) -> ::std::option::Option<unsafe extern "C" fn(method: *mut BIO) -> ::std::os::raw::c_int>; |
| 7074 |
} |
| 7075 |
extern "C" { |
| 7076 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_set_write"] |
| 7077 |
pub fn BIO_meth_set_write( |
| 7078 |
method: *mut BIO_METHOD, |
| 7079 |
write: ::std::option::Option< |
| 7080 |
unsafe extern "C" fn( |
| 7081 |
arg1: *mut BIO, |
| 7082 |
arg2: *const ::std::os::raw::c_char, |
| 7083 |
arg3: ::std::os::raw::c_int, |
| 7084 |
) -> ::std::os::raw::c_int, |
| 7085 |
>, |
| 7086 |
) -> ::std::os::raw::c_int; |
| 7087 |
} |
| 7088 |
extern "C" { |
| 7089 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_set_read"] |
| 7090 |
pub fn BIO_meth_set_read( |
| 7091 |
method: *mut BIO_METHOD, |
| 7092 |
read: ::std::option::Option< |
| 7093 |
unsafe extern "C" fn( |
| 7094 |
arg1: *mut BIO, |
| 7095 |
arg2: *mut ::std::os::raw::c_char, |
| 7096 |
arg3: ::std::os::raw::c_int, |
| 7097 |
) -> ::std::os::raw::c_int, |
| 7098 |
>, |
| 7099 |
) -> ::std::os::raw::c_int; |
| 7100 |
} |
| 7101 |
extern "C" { |
| 7102 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_set_gets"] |
| 7103 |
pub fn BIO_meth_set_gets( |
| 7104 |
method: *mut BIO_METHOD, |
| 7105 |
gets: ::std::option::Option< |
| 7106 |
unsafe extern "C" fn( |
| 7107 |
arg1: *mut BIO, |
| 7108 |
arg2: *mut ::std::os::raw::c_char, |
| 7109 |
arg3: ::std::os::raw::c_int, |
| 7110 |
) -> ::std::os::raw::c_int, |
| 7111 |
>, |
| 7112 |
) -> ::std::os::raw::c_int; |
| 7113 |
} |
| 7114 |
extern "C" { |
| 7115 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_get_gets"] |
| 7116 |
pub fn BIO_meth_get_gets( |
| 7117 |
method: *const BIO_METHOD, |
| 7118 |
) -> ::std::option::Option< |
| 7119 |
unsafe extern "C" fn( |
| 7120 |
method: *mut BIO, |
| 7121 |
arg1: *mut ::std::os::raw::c_char, |
| 7122 |
arg2: ::std::os::raw::c_int, |
| 7123 |
) -> ::std::os::raw::c_int, |
| 7124 |
>; |
| 7125 |
} |
| 7126 |
extern "C" { |
| 7127 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_set_ctrl"] |
| 7128 |
pub fn BIO_meth_set_ctrl( |
| 7129 |
method: *mut BIO_METHOD, |
| 7130 |
ctrl: ::std::option::Option< |
| 7131 |
unsafe extern "C" fn( |
| 7132 |
arg1: *mut BIO, |
| 7133 |
arg2: ::std::os::raw::c_int, |
| 7134 |
arg3: ::std::os::raw::c_long, |
| 7135 |
arg4: *mut ::std::os::raw::c_void, |
| 7136 |
) -> ::std::os::raw::c_long, |
| 7137 |
>, |
| 7138 |
) -> ::std::os::raw::c_int; |
| 7139 |
} |
| 7140 |
extern "C" { |
| 7141 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_get_ctrl"] |
| 7142 |
pub fn BIO_meth_get_ctrl( |
| 7143 |
method: *const BIO_METHOD, |
| 7144 |
) -> ::std::option::Option< |
| 7145 |
unsafe extern "C" fn( |
| 7146 |
method: *mut BIO, |
| 7147 |
arg1: ::std::os::raw::c_int, |
| 7148 |
arg2: ::std::os::raw::c_long, |
| 7149 |
arg3: *mut ::std::os::raw::c_void, |
| 7150 |
) -> ::std::os::raw::c_long, |
| 7151 |
>; |
| 7152 |
} |
| 7153 |
extern "C" { |
| 7154 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_set_callback_ctrl"] |
| 7155 |
pub fn BIO_meth_set_callback_ctrl( |
| 7156 |
method: *mut BIO_METHOD, |
| 7157 |
callback_ctrl: ::std::option::Option< |
| 7158 |
unsafe extern "C" fn( |
| 7159 |
arg1: *mut BIO, |
| 7160 |
arg2: ::std::os::raw::c_int, |
| 7161 |
arg3: bio_info_cb, |
| 7162 |
) -> ::std::os::raw::c_long, |
| 7163 |
>, |
| 7164 |
) -> ::std::os::raw::c_int; |
| 7165 |
} |
| 7166 |
extern "C" { |
| 7167 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_get_callback_ctrl"] |
| 7168 |
pub fn BIO_meth_get_callback_ctrl( |
| 7169 |
method: *const BIO_METHOD, |
| 7170 |
) -> ::std::option::Option< |
| 7171 |
unsafe extern "C" fn( |
| 7172 |
method: *mut BIO, |
| 7173 |
arg1: ::std::os::raw::c_int, |
| 7174 |
arg2: bio_info_cb, |
| 7175 |
) -> ::std::os::raw::c_long, |
| 7176 |
>; |
| 7177 |
} |
| 7178 |
extern "C" { |
| 7179 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_data"] |
| 7180 |
pub fn BIO_set_data(bio: *mut BIO, ptr: *mut ::std::os::raw::c_void); |
| 7181 |
} |
| 7182 |
extern "C" { |
| 7183 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_data"] |
| 7184 |
pub fn BIO_get_data(bio: *mut BIO) -> *mut ::std::os::raw::c_void; |
| 7185 |
} |
| 7186 |
extern "C" { |
| 7187 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_init"] |
| 7188 |
pub fn BIO_set_init(bio: *mut BIO, init: ::std::os::raw::c_int); |
| 7189 |
} |
| 7190 |
extern "C" { |
| 7191 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_init"] |
| 7192 |
pub fn BIO_get_init(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 7193 |
} |
| 7194 |
extern "C" { |
| 7195 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_ex_new_index"] |
| 7196 |
pub fn BIO_get_ex_new_index( |
| 7197 |
argl: ::std::os::raw::c_long, |
| 7198 |
argp: *mut ::std::os::raw::c_void, |
| 7199 |
unused: *mut CRYPTO_EX_unused, |
| 7200 |
dup_unused: CRYPTO_EX_dup, |
| 7201 |
free_func: CRYPTO_EX_free, |
| 7202 |
) -> ::std::os::raw::c_int; |
| 7203 |
} |
| 7204 |
extern "C" { |
| 7205 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_ex_data"] |
| 7206 |
pub fn BIO_set_ex_data( |
| 7207 |
bio: *mut BIO, |
| 7208 |
idx: ::std::os::raw::c_int, |
| 7209 |
arg: *mut ::std::os::raw::c_void, |
| 7210 |
) -> ::std::os::raw::c_int; |
| 7211 |
} |
| 7212 |
extern "C" { |
| 7213 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_ex_data"] |
| 7214 |
pub fn BIO_get_ex_data( |
| 7215 |
bio: *const BIO, |
| 7216 |
idx: ::std::os::raw::c_int, |
| 7217 |
) -> *mut ::std::os::raw::c_void; |
| 7218 |
} |
| 7219 |
extern "C" { |
| 7220 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_f_base64"] |
| 7221 |
pub fn BIO_f_base64() -> *const BIO_METHOD; |
| 7222 |
} |
| 7223 |
extern "C" { |
| 7224 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_retry_special"] |
| 7225 |
pub fn BIO_set_retry_special(bio: *mut BIO); |
| 7226 |
} |
| 7227 |
extern "C" { |
| 7228 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_shutdown"] |
| 7229 |
pub fn BIO_set_shutdown(bio: *mut BIO, shutdown: ::std::os::raw::c_int); |
| 7230 |
} |
| 7231 |
extern "C" { |
| 7232 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_get_shutdown"] |
| 7233 |
pub fn BIO_get_shutdown(bio: *mut BIO) -> ::std::os::raw::c_int; |
| 7234 |
} |
| 7235 |
extern "C" { |
| 7236 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_set_puts"] |
| 7237 |
pub fn BIO_meth_set_puts( |
| 7238 |
method: *mut BIO_METHOD, |
| 7239 |
puts: ::std::option::Option< |
| 7240 |
unsafe extern "C" fn( |
| 7241 |
arg1: *mut BIO, |
| 7242 |
arg2: *const ::std::os::raw::c_char, |
| 7243 |
) -> ::std::os::raw::c_int, |
| 7244 |
>, |
| 7245 |
) -> ::std::os::raw::c_int; |
| 7246 |
} |
| 7247 |
extern "C" { |
| 7248 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_meth_get_puts"] |
| 7249 |
pub fn BIO_meth_get_puts( |
| 7250 |
method: *const BIO_METHOD, |
| 7251 |
) -> ::std::option::Option< |
| 7252 |
unsafe extern "C" fn( |
| 7253 |
method: *mut BIO, |
| 7254 |
arg1: *const ::std::os::raw::c_char, |
| 7255 |
) -> ::std::os::raw::c_int, |
| 7256 |
>; |
| 7257 |
} |
| 7258 |
extern "C" { |
| 7259 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_s_secmem"] |
| 7260 |
pub fn BIO_s_secmem() -> *const BIO_METHOD; |
| 7261 |
} |
| 7262 |
extern "C" { |
| 7263 |
#[link_name = "\u{1}aws_lc_0_41_0_BIO_set_write_buffer_size"] |
| 7264 |
pub fn BIO_set_write_buffer_size( |
| 7265 |
bio: *mut BIO, |
| 7266 |
buffer_size: ::std::os::raw::c_int, |
| 7267 |
) -> ::std::os::raw::c_int; |
| 7268 |
} |
| 7269 |
#[repr(C)] |
| 7270 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 7271 |
pub struct bio_method_st { |
| 7272 |
pub type_: ::std::os::raw::c_int, |
| 7273 |
pub name: *const ::std::os::raw::c_char, |
| 7274 |
pub bwrite: ::std::option::Option< |
| 7275 |
unsafe extern "C" fn( |
| 7276 |
arg1: *mut BIO, |
| 7277 |
arg2: *const ::std::os::raw::c_char, |
| 7278 |
arg3: ::std::os::raw::c_int, |
| 7279 |
) -> ::std::os::raw::c_int, |
| 7280 |
>, |
| 7281 |
pub bread: ::std::option::Option< |
| 7282 |
unsafe extern "C" fn( |
| 7283 |
arg1: *mut BIO, |
| 7284 |
arg2: *mut ::std::os::raw::c_char, |
| 7285 |
arg3: ::std::os::raw::c_int, |
| 7286 |
) -> ::std::os::raw::c_int, |
| 7287 |
>, |
| 7288 |
pub bputs: ::std::option::Option< |
| 7289 |
unsafe extern "C" fn( |
| 7290 |
arg1: *mut BIO, |
| 7291 |
arg2: *const ::std::os::raw::c_char, |
| 7292 |
) -> ::std::os::raw::c_int, |
| 7293 |
>, |
| 7294 |
pub bgets: ::std::option::Option< |
| 7295 |
unsafe extern "C" fn( |
| 7296 |
arg1: *mut BIO, |
| 7297 |
arg2: *mut ::std::os::raw::c_char, |
| 7298 |
arg3: ::std::os::raw::c_int, |
| 7299 |
) -> ::std::os::raw::c_int, |
| 7300 |
>, |
| 7301 |
pub ctrl: ::std::option::Option< |
| 7302 |
unsafe extern "C" fn( |
| 7303 |
arg1: *mut BIO, |
| 7304 |
arg2: ::std::os::raw::c_int, |
| 7305 |
arg3: ::std::os::raw::c_long, |
| 7306 |
arg4: *mut ::std::os::raw::c_void, |
| 7307 |
) -> ::std::os::raw::c_long, |
| 7308 |
>, |
| 7309 |
pub create: |
| 7310 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut BIO) -> ::std::os::raw::c_int>, |
| 7311 |
pub destroy: |
| 7312 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut BIO) -> ::std::os::raw::c_int>, |
| 7313 |
pub callback_ctrl: ::std::option::Option< |
| 7314 |
unsafe extern "C" fn( |
| 7315 |
arg1: *mut BIO, |
| 7316 |
arg2: ::std::os::raw::c_int, |
| 7317 |
arg3: bio_info_cb, |
| 7318 |
) -> ::std::os::raw::c_long, |
| 7319 |
>, |
| 7320 |
} |
| 7321 |
#[test] |
| 7322 |
fn bindgen_test_layout_bio_method_st() { |
| 7323 |
const UNINIT: ::std::mem::MaybeUninit<bio_method_st> = ::std::mem::MaybeUninit::uninit(); |
| 7324 |
let ptr = UNINIT.as_ptr(); |
| 7325 |
assert_eq!( |
| 7326 |
::std::mem::size_of::<bio_method_st>(), |
| 7327 |
80usize, |
| 7328 |
"Size of bio_method_st" |
| 7329 |
); |
| 7330 |
assert_eq!( |
| 7331 |
::std::mem::align_of::<bio_method_st>(), |
| 7332 |
8usize, |
| 7333 |
"Alignment of bio_method_st" |
| 7334 |
); |
| 7335 |
assert_eq!( |
| 7336 |
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, |
| 7337 |
0usize, |
| 7338 |
"Offset of field: bio_method_st::type_" |
| 7339 |
); |
| 7340 |
assert_eq!( |
| 7341 |
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, |
| 7342 |
8usize, |
| 7343 |
"Offset of field: bio_method_st::name" |
| 7344 |
); |
| 7345 |
assert_eq!( |
| 7346 |
unsafe { ::std::ptr::addr_of!((*ptr).bwrite) as usize - ptr as usize }, |
| 7347 |
16usize, |
| 7348 |
"Offset of field: bio_method_st::bwrite" |
| 7349 |
); |
| 7350 |
assert_eq!( |
| 7351 |
unsafe { ::std::ptr::addr_of!((*ptr).bread) as usize - ptr as usize }, |
| 7352 |
24usize, |
| 7353 |
"Offset of field: bio_method_st::bread" |
| 7354 |
); |
| 7355 |
assert_eq!( |
| 7356 |
unsafe { ::std::ptr::addr_of!((*ptr).bputs) as usize - ptr as usize }, |
| 7357 |
32usize, |
| 7358 |
"Offset of field: bio_method_st::bputs" |
| 7359 |
); |
| 7360 |
assert_eq!( |
| 7361 |
unsafe { ::std::ptr::addr_of!((*ptr).bgets) as usize - ptr as usize }, |
| 7362 |
40usize, |
| 7363 |
"Offset of field: bio_method_st::bgets" |
| 7364 |
); |
| 7365 |
assert_eq!( |
| 7366 |
unsafe { ::std::ptr::addr_of!((*ptr).ctrl) as usize - ptr as usize }, |
| 7367 |
48usize, |
| 7368 |
"Offset of field: bio_method_st::ctrl" |
| 7369 |
); |
| 7370 |
assert_eq!( |
| 7371 |
unsafe { ::std::ptr::addr_of!((*ptr).create) as usize - ptr as usize }, |
| 7372 |
56usize, |
| 7373 |
"Offset of field: bio_method_st::create" |
| 7374 |
); |
| 7375 |
assert_eq!( |
| 7376 |
unsafe { ::std::ptr::addr_of!((*ptr).destroy) as usize - ptr as usize }, |
| 7377 |
64usize, |
| 7378 |
"Offset of field: bio_method_st::destroy" |
| 7379 |
); |
| 7380 |
assert_eq!( |
| 7381 |
unsafe { ::std::ptr::addr_of!((*ptr).callback_ctrl) as usize - ptr as usize }, |
| 7382 |
72usize, |
| 7383 |
"Offset of field: bio_method_st::callback_ctrl" |
| 7384 |
); |
| 7385 |
} |
| 7386 |
impl Default for bio_method_st { |
| 7387 |
fn default() -> Self { |
| 7388 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 7389 |
unsafe { |
| 7390 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 7391 |
s.assume_init() |
| 7392 |
} |
| 7393 |
} |
| 7394 |
} |
| 7395 |
#[repr(C)] |
| 7396 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 7397 |
pub struct bio_st { |
| 7398 |
pub method: *const BIO_METHOD, |
| 7399 |
pub ex_data: CRYPTO_EX_DATA, |
| 7400 |
pub callback_ex: BIO_callback_fn_ex, |
| 7401 |
pub callback: BIO_callback_fn, |
| 7402 |
pub cb_arg: *mut ::std::os::raw::c_char, |
| 7403 |
pub init: ::std::os::raw::c_int, |
| 7404 |
pub shutdown: ::std::os::raw::c_int, |
| 7405 |
pub flags: ::std::os::raw::c_int, |
| 7406 |
pub retry_reason: ::std::os::raw::c_int, |
| 7407 |
pub num: ::std::os::raw::c_int, |
| 7408 |
pub references: CRYPTO_refcount_t, |
| 7409 |
pub ptr: *mut ::std::os::raw::c_void, |
| 7410 |
pub next_bio: *mut BIO, |
| 7411 |
pub num_read: u64, |
| 7412 |
pub num_write: u64, |
| 7413 |
} |
| 7414 |
#[test] |
| 7415 |
fn bindgen_test_layout_bio_st() { |
| 7416 |
const UNINIT: ::std::mem::MaybeUninit<bio_st> = ::std::mem::MaybeUninit::uninit(); |
| 7417 |
let ptr = UNINIT.as_ptr(); |
| 7418 |
assert_eq!(::std::mem::size_of::<bio_st>(), 96usize, "Size of bio_st"); |
| 7419 |
assert_eq!( |
| 7420 |
::std::mem::align_of::<bio_st>(), |
| 7421 |
8usize, |
| 7422 |
"Alignment of bio_st" |
| 7423 |
); |
| 7424 |
assert_eq!( |
| 7425 |
unsafe { ::std::ptr::addr_of!((*ptr).method) as usize - ptr as usize }, |
| 7426 |
0usize, |
| 7427 |
"Offset of field: bio_st::method" |
| 7428 |
); |
| 7429 |
assert_eq!( |
| 7430 |
unsafe { ::std::ptr::addr_of!((*ptr).ex_data) as usize - ptr as usize }, |
| 7431 |
8usize, |
| 7432 |
"Offset of field: bio_st::ex_data" |
| 7433 |
); |
| 7434 |
assert_eq!( |
| 7435 |
unsafe { ::std::ptr::addr_of!((*ptr).callback_ex) as usize - ptr as usize }, |
| 7436 |
16usize, |
| 7437 |
"Offset of field: bio_st::callback_ex" |
| 7438 |
); |
| 7439 |
assert_eq!( |
| 7440 |
unsafe { ::std::ptr::addr_of!((*ptr).callback) as usize - ptr as usize }, |
| 7441 |
24usize, |
| 7442 |
"Offset of field: bio_st::callback" |
| 7443 |
); |
| 7444 |
assert_eq!( |
| 7445 |
unsafe { ::std::ptr::addr_of!((*ptr).cb_arg) as usize - ptr as usize }, |
| 7446 |
32usize, |
| 7447 |
"Offset of field: bio_st::cb_arg" |
| 7448 |
); |
| 7449 |
assert_eq!( |
| 7450 |
unsafe { ::std::ptr::addr_of!((*ptr).init) as usize - ptr as usize }, |
| 7451 |
40usize, |
| 7452 |
"Offset of field: bio_st::init" |
| 7453 |
); |
| 7454 |
assert_eq!( |
| 7455 |
unsafe { ::std::ptr::addr_of!((*ptr).shutdown) as usize - ptr as usize }, |
| 7456 |
44usize, |
| 7457 |
"Offset of field: bio_st::shutdown" |
| 7458 |
); |
| 7459 |
assert_eq!( |
| 7460 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 7461 |
48usize, |
| 7462 |
"Offset of field: bio_st::flags" |
| 7463 |
); |
| 7464 |
assert_eq!( |
| 7465 |
unsafe { ::std::ptr::addr_of!((*ptr).retry_reason) as usize - ptr as usize }, |
| 7466 |
52usize, |
| 7467 |
"Offset of field: bio_st::retry_reason" |
| 7468 |
); |
| 7469 |
assert_eq!( |
| 7470 |
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize }, |
| 7471 |
56usize, |
| 7472 |
"Offset of field: bio_st::num" |
| 7473 |
); |
| 7474 |
assert_eq!( |
| 7475 |
unsafe { ::std::ptr::addr_of!((*ptr).references) as usize - ptr as usize }, |
| 7476 |
60usize, |
| 7477 |
"Offset of field: bio_st::references" |
| 7478 |
); |
| 7479 |
assert_eq!( |
| 7480 |
unsafe { ::std::ptr::addr_of!((*ptr).ptr) as usize - ptr as usize }, |
| 7481 |
64usize, |
| 7482 |
"Offset of field: bio_st::ptr" |
| 7483 |
); |
| 7484 |
assert_eq!( |
| 7485 |
unsafe { ::std::ptr::addr_of!((*ptr).next_bio) as usize - ptr as usize }, |
| 7486 |
72usize, |
| 7487 |
"Offset of field: bio_st::next_bio" |
| 7488 |
); |
| 7489 |
assert_eq!( |
| 7490 |
unsafe { ::std::ptr::addr_of!((*ptr).num_read) as usize - ptr as usize }, |
| 7491 |
80usize, |
| 7492 |
"Offset of field: bio_st::num_read" |
| 7493 |
); |
| 7494 |
assert_eq!( |
| 7495 |
unsafe { ::std::ptr::addr_of!((*ptr).num_write) as usize - ptr as usize }, |
| 7496 |
88usize, |
| 7497 |
"Offset of field: bio_st::num_write" |
| 7498 |
); |
| 7499 |
} |
| 7500 |
impl Default for bio_st { |
| 7501 |
fn default() -> Self { |
| 7502 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 7503 |
unsafe { |
| 7504 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 7505 |
s.assume_init() |
| 7506 |
} |
| 7507 |
} |
| 7508 |
} |
| 7509 |
pub type BN_ULONG = u64; |
| 7510 |
extern "C" { |
| 7511 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_new"] |
| 7512 |
pub fn BN_new() -> *mut BIGNUM; |
| 7513 |
} |
| 7514 |
extern "C" { |
| 7515 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_init"] |
| 7516 |
pub fn BN_init(bn: *mut BIGNUM); |
| 7517 |
} |
| 7518 |
extern "C" { |
| 7519 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_free"] |
| 7520 |
pub fn BN_free(bn: *mut BIGNUM); |
| 7521 |
} |
| 7522 |
extern "C" { |
| 7523 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_clear_free"] |
| 7524 |
pub fn BN_clear_free(bn: *mut BIGNUM); |
| 7525 |
} |
| 7526 |
extern "C" { |
| 7527 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_dup"] |
| 7528 |
pub fn BN_dup(src: *const BIGNUM) -> *mut BIGNUM; |
| 7529 |
} |
| 7530 |
extern "C" { |
| 7531 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_copy"] |
| 7532 |
pub fn BN_copy(dest: *mut BIGNUM, src: *const BIGNUM) -> *mut BIGNUM; |
| 7533 |
} |
| 7534 |
extern "C" { |
| 7535 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_clear"] |
| 7536 |
pub fn BN_clear(bn: *mut BIGNUM); |
| 7537 |
} |
| 7538 |
extern "C" { |
| 7539 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_value_one"] |
| 7540 |
pub fn BN_value_one() -> *const BIGNUM; |
| 7541 |
} |
| 7542 |
extern "C" { |
| 7543 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_num_bits"] |
| 7544 |
pub fn BN_num_bits(bn: *const BIGNUM) -> ::std::os::raw::c_uint; |
| 7545 |
} |
| 7546 |
extern "C" { |
| 7547 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_num_bytes"] |
| 7548 |
pub fn BN_num_bytes(bn: *const BIGNUM) -> ::std::os::raw::c_uint; |
| 7549 |
} |
| 7550 |
extern "C" { |
| 7551 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_minimal_width"] |
| 7552 |
pub fn BN_get_minimal_width(bn: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7553 |
} |
| 7554 |
extern "C" { |
| 7555 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_zero"] |
| 7556 |
pub fn BN_zero(bn: *mut BIGNUM); |
| 7557 |
} |
| 7558 |
extern "C" { |
| 7559 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_one"] |
| 7560 |
pub fn BN_one(bn: *mut BIGNUM) -> ::std::os::raw::c_int; |
| 7561 |
} |
| 7562 |
extern "C" { |
| 7563 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_set_word"] |
| 7564 |
pub fn BN_set_word(bn: *mut BIGNUM, value: BN_ULONG) -> ::std::os::raw::c_int; |
| 7565 |
} |
| 7566 |
extern "C" { |
| 7567 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_set_u64"] |
| 7568 |
pub fn BN_set_u64(bn: *mut BIGNUM, value: u64) -> ::std::os::raw::c_int; |
| 7569 |
} |
| 7570 |
extern "C" { |
| 7571 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_set_negative"] |
| 7572 |
pub fn BN_set_negative(bn: *mut BIGNUM, sign: ::std::os::raw::c_int); |
| 7573 |
} |
| 7574 |
extern "C" { |
| 7575 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_negative"] |
| 7576 |
pub fn BN_is_negative(bn: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7577 |
} |
| 7578 |
extern "C" { |
| 7579 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bin2bn"] |
| 7580 |
pub fn BN_bin2bn(in_: *const u8, len: usize, ret: *mut BIGNUM) -> *mut BIGNUM; |
| 7581 |
} |
| 7582 |
extern "C" { |
| 7583 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bn2bin"] |
| 7584 |
pub fn BN_bn2bin(in_: *const BIGNUM, out: *mut u8) -> usize; |
| 7585 |
} |
| 7586 |
extern "C" { |
| 7587 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_le2bn"] |
| 7588 |
pub fn BN_le2bn(in_: *const u8, len: usize, ret: *mut BIGNUM) -> *mut BIGNUM; |
| 7589 |
} |
| 7590 |
extern "C" { |
| 7591 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bn2le_padded"] |
| 7592 |
pub fn BN_bn2le_padded(out: *mut u8, len: usize, in_: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7593 |
} |
| 7594 |
extern "C" { |
| 7595 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bn2bin_padded"] |
| 7596 |
pub fn BN_bn2bin_padded(out: *mut u8, len: usize, in_: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7597 |
} |
| 7598 |
extern "C" { |
| 7599 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bn2cbb_padded"] |
| 7600 |
pub fn BN_bn2cbb_padded(out: *mut CBB, len: usize, in_: *const BIGNUM) |
| 7601 |
-> ::std::os::raw::c_int; |
| 7602 |
} |
| 7603 |
extern "C" { |
| 7604 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bn2hex"] |
| 7605 |
pub fn BN_bn2hex(bn: *const BIGNUM) -> *mut ::std::os::raw::c_char; |
| 7606 |
} |
| 7607 |
extern "C" { |
| 7608 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_hex2bn"] |
| 7609 |
pub fn BN_hex2bn( |
| 7610 |
outp: *mut *mut BIGNUM, |
| 7611 |
in_: *const ::std::os::raw::c_char, |
| 7612 |
) -> ::std::os::raw::c_int; |
| 7613 |
} |
| 7614 |
extern "C" { |
| 7615 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bn2dec"] |
| 7616 |
pub fn BN_bn2dec(a: *const BIGNUM) -> *mut ::std::os::raw::c_char; |
| 7617 |
} |
| 7618 |
extern "C" { |
| 7619 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_dec2bn"] |
| 7620 |
pub fn BN_dec2bn( |
| 7621 |
outp: *mut *mut BIGNUM, |
| 7622 |
in_: *const ::std::os::raw::c_char, |
| 7623 |
) -> ::std::os::raw::c_int; |
| 7624 |
} |
| 7625 |
extern "C" { |
| 7626 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_asc2bn"] |
| 7627 |
pub fn BN_asc2bn( |
| 7628 |
outp: *mut *mut BIGNUM, |
| 7629 |
in_: *const ::std::os::raw::c_char, |
| 7630 |
) -> ::std::os::raw::c_int; |
| 7631 |
} |
| 7632 |
extern "C" { |
| 7633 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_print"] |
| 7634 |
pub fn BN_print(bio: *mut BIO, a: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7635 |
} |
| 7636 |
extern "C" { |
| 7637 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_print_fp"] |
| 7638 |
pub fn BN_print_fp(fp: *mut FILE, a: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7639 |
} |
| 7640 |
extern "C" { |
| 7641 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_word"] |
| 7642 |
pub fn BN_get_word(bn: *const BIGNUM) -> BN_ULONG; |
| 7643 |
} |
| 7644 |
extern "C" { |
| 7645 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_u64"] |
| 7646 |
pub fn BN_get_u64(bn: *const BIGNUM, out: *mut u64) -> ::std::os::raw::c_int; |
| 7647 |
} |
| 7648 |
extern "C" { |
| 7649 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_flags"] |
| 7650 |
pub fn BN_get_flags(bn: *const BIGNUM, flags: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 7651 |
} |
| 7652 |
extern "C" { |
| 7653 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_parse_asn1_unsigned"] |
| 7654 |
pub fn BN_parse_asn1_unsigned(cbs: *mut CBS, ret: *mut BIGNUM) -> ::std::os::raw::c_int; |
| 7655 |
} |
| 7656 |
extern "C" { |
| 7657 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_marshal_asn1"] |
| 7658 |
pub fn BN_marshal_asn1(cbb: *mut CBB, bn: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7659 |
} |
| 7660 |
extern "C" { |
| 7661 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_CTX_new"] |
| 7662 |
pub fn BN_CTX_new() -> *mut BN_CTX; |
| 7663 |
} |
| 7664 |
extern "C" { |
| 7665 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_CTX_free"] |
| 7666 |
pub fn BN_CTX_free(ctx: *mut BN_CTX); |
| 7667 |
} |
| 7668 |
extern "C" { |
| 7669 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_CTX_start"] |
| 7670 |
pub fn BN_CTX_start(ctx: *mut BN_CTX); |
| 7671 |
} |
| 7672 |
extern "C" { |
| 7673 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_CTX_get"] |
| 7674 |
pub fn BN_CTX_get(ctx: *mut BN_CTX) -> *mut BIGNUM; |
| 7675 |
} |
| 7676 |
extern "C" { |
| 7677 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_CTX_end"] |
| 7678 |
pub fn BN_CTX_end(ctx: *mut BN_CTX); |
| 7679 |
} |
| 7680 |
extern "C" { |
| 7681 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_add"] |
| 7682 |
pub fn BN_add(r: *mut BIGNUM, a: *const BIGNUM, b: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7683 |
} |
| 7684 |
extern "C" { |
| 7685 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_uadd"] |
| 7686 |
pub fn BN_uadd(r: *mut BIGNUM, a: *const BIGNUM, b: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7687 |
} |
| 7688 |
extern "C" { |
| 7689 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_add_word"] |
| 7690 |
pub fn BN_add_word(a: *mut BIGNUM, w: BN_ULONG) -> ::std::os::raw::c_int; |
| 7691 |
} |
| 7692 |
extern "C" { |
| 7693 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_sub"] |
| 7694 |
pub fn BN_sub(r: *mut BIGNUM, a: *const BIGNUM, b: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7695 |
} |
| 7696 |
extern "C" { |
| 7697 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_usub"] |
| 7698 |
pub fn BN_usub(r: *mut BIGNUM, a: *const BIGNUM, b: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7699 |
} |
| 7700 |
extern "C" { |
| 7701 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_sub_word"] |
| 7702 |
pub fn BN_sub_word(a: *mut BIGNUM, w: BN_ULONG) -> ::std::os::raw::c_int; |
| 7703 |
} |
| 7704 |
extern "C" { |
| 7705 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mul"] |
| 7706 |
pub fn BN_mul( |
| 7707 |
r: *mut BIGNUM, |
| 7708 |
a: *const BIGNUM, |
| 7709 |
b: *const BIGNUM, |
| 7710 |
ctx: *mut BN_CTX, |
| 7711 |
) -> ::std::os::raw::c_int; |
| 7712 |
} |
| 7713 |
extern "C" { |
| 7714 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mul_word"] |
| 7715 |
pub fn BN_mul_word(bn: *mut BIGNUM, w: BN_ULONG) -> ::std::os::raw::c_int; |
| 7716 |
} |
| 7717 |
extern "C" { |
| 7718 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_sqr"] |
| 7719 |
pub fn BN_sqr(r: *mut BIGNUM, a: *const BIGNUM, ctx: *mut BN_CTX) -> ::std::os::raw::c_int; |
| 7720 |
} |
| 7721 |
extern "C" { |
| 7722 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_div"] |
| 7723 |
pub fn BN_div( |
| 7724 |
quotient: *mut BIGNUM, |
| 7725 |
rem: *mut BIGNUM, |
| 7726 |
numerator: *const BIGNUM, |
| 7727 |
divisor: *const BIGNUM, |
| 7728 |
ctx: *mut BN_CTX, |
| 7729 |
) -> ::std::os::raw::c_int; |
| 7730 |
} |
| 7731 |
extern "C" { |
| 7732 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_div_word"] |
| 7733 |
pub fn BN_div_word(numerator: *mut BIGNUM, divisor: BN_ULONG) -> BN_ULONG; |
| 7734 |
} |
| 7735 |
extern "C" { |
| 7736 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_sqrt"] |
| 7737 |
pub fn BN_sqrt( |
| 7738 |
out_sqrt: *mut BIGNUM, |
| 7739 |
in_: *const BIGNUM, |
| 7740 |
ctx: *mut BN_CTX, |
| 7741 |
) -> ::std::os::raw::c_int; |
| 7742 |
} |
| 7743 |
extern "C" { |
| 7744 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_cmp"] |
| 7745 |
pub fn BN_cmp(a: *const BIGNUM, b: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7746 |
} |
| 7747 |
extern "C" { |
| 7748 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_cmp_word"] |
| 7749 |
pub fn BN_cmp_word(a: *const BIGNUM, b: BN_ULONG) -> ::std::os::raw::c_int; |
| 7750 |
} |
| 7751 |
extern "C" { |
| 7752 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_ucmp"] |
| 7753 |
pub fn BN_ucmp(a: *const BIGNUM, b: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7754 |
} |
| 7755 |
extern "C" { |
| 7756 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_equal_consttime"] |
| 7757 |
pub fn BN_equal_consttime(a: *const BIGNUM, b: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7758 |
} |
| 7759 |
extern "C" { |
| 7760 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_abs_is_word"] |
| 7761 |
pub fn BN_abs_is_word(bn: *const BIGNUM, w: BN_ULONG) -> ::std::os::raw::c_int; |
| 7762 |
} |
| 7763 |
extern "C" { |
| 7764 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_zero"] |
| 7765 |
pub fn BN_is_zero(bn: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7766 |
} |
| 7767 |
extern "C" { |
| 7768 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_one"] |
| 7769 |
pub fn BN_is_one(bn: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7770 |
} |
| 7771 |
extern "C" { |
| 7772 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_word"] |
| 7773 |
pub fn BN_is_word(bn: *const BIGNUM, w: BN_ULONG) -> ::std::os::raw::c_int; |
| 7774 |
} |
| 7775 |
extern "C" { |
| 7776 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_odd"] |
| 7777 |
pub fn BN_is_odd(bn: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7778 |
} |
| 7779 |
extern "C" { |
| 7780 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_pow2"] |
| 7781 |
pub fn BN_is_pow2(a: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7782 |
} |
| 7783 |
extern "C" { |
| 7784 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_lshift"] |
| 7785 |
pub fn BN_lshift( |
| 7786 |
r: *mut BIGNUM, |
| 7787 |
a: *const BIGNUM, |
| 7788 |
n: ::std::os::raw::c_int, |
| 7789 |
) -> ::std::os::raw::c_int; |
| 7790 |
} |
| 7791 |
extern "C" { |
| 7792 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_lshift1"] |
| 7793 |
pub fn BN_lshift1(r: *mut BIGNUM, a: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7794 |
} |
| 7795 |
extern "C" { |
| 7796 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_rshift"] |
| 7797 |
pub fn BN_rshift( |
| 7798 |
r: *mut BIGNUM, |
| 7799 |
a: *const BIGNUM, |
| 7800 |
n: ::std::os::raw::c_int, |
| 7801 |
) -> ::std::os::raw::c_int; |
| 7802 |
} |
| 7803 |
extern "C" { |
| 7804 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_rshift1"] |
| 7805 |
pub fn BN_rshift1(r: *mut BIGNUM, a: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7806 |
} |
| 7807 |
extern "C" { |
| 7808 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_set_bit"] |
| 7809 |
pub fn BN_set_bit(a: *mut BIGNUM, n: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 7810 |
} |
| 7811 |
extern "C" { |
| 7812 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_clear_bit"] |
| 7813 |
pub fn BN_clear_bit(a: *mut BIGNUM, n: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 7814 |
} |
| 7815 |
extern "C" { |
| 7816 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_bit_set"] |
| 7817 |
pub fn BN_is_bit_set(a: *const BIGNUM, n: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 7818 |
} |
| 7819 |
extern "C" { |
| 7820 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mask_bits"] |
| 7821 |
pub fn BN_mask_bits(a: *mut BIGNUM, n: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 7822 |
} |
| 7823 |
extern "C" { |
| 7824 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_count_low_zero_bits"] |
| 7825 |
pub fn BN_count_low_zero_bits(bn: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7826 |
} |
| 7827 |
extern "C" { |
| 7828 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_word"] |
| 7829 |
pub fn BN_mod_word(a: *const BIGNUM, w: BN_ULONG) -> BN_ULONG; |
| 7830 |
} |
| 7831 |
extern "C" { |
| 7832 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_pow2"] |
| 7833 |
pub fn BN_mod_pow2(r: *mut BIGNUM, a: *const BIGNUM, e: usize) -> ::std::os::raw::c_int; |
| 7834 |
} |
| 7835 |
extern "C" { |
| 7836 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_nnmod_pow2"] |
| 7837 |
pub fn BN_nnmod_pow2(r: *mut BIGNUM, a: *const BIGNUM, e: usize) -> ::std::os::raw::c_int; |
| 7838 |
} |
| 7839 |
extern "C" { |
| 7840 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_nnmod"] |
| 7841 |
pub fn BN_nnmod( |
| 7842 |
rem: *mut BIGNUM, |
| 7843 |
numerator: *const BIGNUM, |
| 7844 |
divisor: *const BIGNUM, |
| 7845 |
ctx: *mut BN_CTX, |
| 7846 |
) -> ::std::os::raw::c_int; |
| 7847 |
} |
| 7848 |
extern "C" { |
| 7849 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_add"] |
| 7850 |
pub fn BN_mod_add( |
| 7851 |
r: *mut BIGNUM, |
| 7852 |
a: *const BIGNUM, |
| 7853 |
b: *const BIGNUM, |
| 7854 |
m: *const BIGNUM, |
| 7855 |
ctx: *mut BN_CTX, |
| 7856 |
) -> ::std::os::raw::c_int; |
| 7857 |
} |
| 7858 |
extern "C" { |
| 7859 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_add_quick"] |
| 7860 |
pub fn BN_mod_add_quick( |
| 7861 |
r: *mut BIGNUM, |
| 7862 |
a: *const BIGNUM, |
| 7863 |
b: *const BIGNUM, |
| 7864 |
m: *const BIGNUM, |
| 7865 |
) -> ::std::os::raw::c_int; |
| 7866 |
} |
| 7867 |
extern "C" { |
| 7868 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_sub"] |
| 7869 |
pub fn BN_mod_sub( |
| 7870 |
r: *mut BIGNUM, |
| 7871 |
a: *const BIGNUM, |
| 7872 |
b: *const BIGNUM, |
| 7873 |
m: *const BIGNUM, |
| 7874 |
ctx: *mut BN_CTX, |
| 7875 |
) -> ::std::os::raw::c_int; |
| 7876 |
} |
| 7877 |
extern "C" { |
| 7878 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_sub_quick"] |
| 7879 |
pub fn BN_mod_sub_quick( |
| 7880 |
r: *mut BIGNUM, |
| 7881 |
a: *const BIGNUM, |
| 7882 |
b: *const BIGNUM, |
| 7883 |
m: *const BIGNUM, |
| 7884 |
) -> ::std::os::raw::c_int; |
| 7885 |
} |
| 7886 |
extern "C" { |
| 7887 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_mul"] |
| 7888 |
pub fn BN_mod_mul( |
| 7889 |
r: *mut BIGNUM, |
| 7890 |
a: *const BIGNUM, |
| 7891 |
b: *const BIGNUM, |
| 7892 |
m: *const BIGNUM, |
| 7893 |
ctx: *mut BN_CTX, |
| 7894 |
) -> ::std::os::raw::c_int; |
| 7895 |
} |
| 7896 |
extern "C" { |
| 7897 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_sqr"] |
| 7898 |
pub fn BN_mod_sqr( |
| 7899 |
r: *mut BIGNUM, |
| 7900 |
a: *const BIGNUM, |
| 7901 |
m: *const BIGNUM, |
| 7902 |
ctx: *mut BN_CTX, |
| 7903 |
) -> ::std::os::raw::c_int; |
| 7904 |
} |
| 7905 |
extern "C" { |
| 7906 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_lshift"] |
| 7907 |
pub fn BN_mod_lshift( |
| 7908 |
r: *mut BIGNUM, |
| 7909 |
a: *const BIGNUM, |
| 7910 |
n: ::std::os::raw::c_int, |
| 7911 |
m: *const BIGNUM, |
| 7912 |
ctx: *mut BN_CTX, |
| 7913 |
) -> ::std::os::raw::c_int; |
| 7914 |
} |
| 7915 |
extern "C" { |
| 7916 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_lshift_quick"] |
| 7917 |
pub fn BN_mod_lshift_quick( |
| 7918 |
r: *mut BIGNUM, |
| 7919 |
a: *const BIGNUM, |
| 7920 |
n: ::std::os::raw::c_int, |
| 7921 |
m: *const BIGNUM, |
| 7922 |
) -> ::std::os::raw::c_int; |
| 7923 |
} |
| 7924 |
extern "C" { |
| 7925 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_lshift1"] |
| 7926 |
pub fn BN_mod_lshift1( |
| 7927 |
r: *mut BIGNUM, |
| 7928 |
a: *const BIGNUM, |
| 7929 |
m: *const BIGNUM, |
| 7930 |
ctx: *mut BN_CTX, |
| 7931 |
) -> ::std::os::raw::c_int; |
| 7932 |
} |
| 7933 |
extern "C" { |
| 7934 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_lshift1_quick"] |
| 7935 |
pub fn BN_mod_lshift1_quick( |
| 7936 |
r: *mut BIGNUM, |
| 7937 |
a: *const BIGNUM, |
| 7938 |
m: *const BIGNUM, |
| 7939 |
) -> ::std::os::raw::c_int; |
| 7940 |
} |
| 7941 |
extern "C" { |
| 7942 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_sqrt"] |
| 7943 |
pub fn BN_mod_sqrt( |
| 7944 |
in_: *mut BIGNUM, |
| 7945 |
a: *const BIGNUM, |
| 7946 |
p: *const BIGNUM, |
| 7947 |
ctx: *mut BN_CTX, |
| 7948 |
) -> *mut BIGNUM; |
| 7949 |
} |
| 7950 |
extern "C" { |
| 7951 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_rand"] |
| 7952 |
pub fn BN_rand( |
| 7953 |
rnd: *mut BIGNUM, |
| 7954 |
bits: ::std::os::raw::c_int, |
| 7955 |
top: ::std::os::raw::c_int, |
| 7956 |
bottom: ::std::os::raw::c_int, |
| 7957 |
) -> ::std::os::raw::c_int; |
| 7958 |
} |
| 7959 |
extern "C" { |
| 7960 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_pseudo_rand"] |
| 7961 |
pub fn BN_pseudo_rand( |
| 7962 |
rnd: *mut BIGNUM, |
| 7963 |
bits: ::std::os::raw::c_int, |
| 7964 |
top: ::std::os::raw::c_int, |
| 7965 |
bottom: ::std::os::raw::c_int, |
| 7966 |
) -> ::std::os::raw::c_int; |
| 7967 |
} |
| 7968 |
extern "C" { |
| 7969 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_rand_range"] |
| 7970 |
pub fn BN_rand_range(rnd: *mut BIGNUM, range: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7971 |
} |
| 7972 |
extern "C" { |
| 7973 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_rand_range_ex"] |
| 7974 |
pub fn BN_rand_range_ex( |
| 7975 |
r: *mut BIGNUM, |
| 7976 |
min_inclusive: BN_ULONG, |
| 7977 |
max_exclusive: *const BIGNUM, |
| 7978 |
) -> ::std::os::raw::c_int; |
| 7979 |
} |
| 7980 |
extern "C" { |
| 7981 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_pseudo_rand_range"] |
| 7982 |
pub fn BN_pseudo_rand_range(rnd: *mut BIGNUM, range: *const BIGNUM) -> ::std::os::raw::c_int; |
| 7983 |
} |
| 7984 |
#[repr(C)] |
| 7985 |
#[derive(Copy, Clone)] |
| 7986 |
pub struct bn_gencb_st { |
| 7987 |
pub type_: u8, |
| 7988 |
pub arg: *mut ::std::os::raw::c_void, |
| 7989 |
pub callback: bn_gencb_st__bindgen_ty_1, |
| 7990 |
} |
| 7991 |
#[repr(C)] |
| 7992 |
#[derive(Copy, Clone)] |
| 7993 |
pub union bn_gencb_st__bindgen_ty_1 { |
| 7994 |
pub new_style: ::std::option::Option< |
| 7995 |
unsafe extern "C" fn( |
| 7996 |
event: ::std::os::raw::c_int, |
| 7997 |
n: ::std::os::raw::c_int, |
| 7998 |
arg1: *mut bn_gencb_st, |
| 7999 |
) -> ::std::os::raw::c_int, |
| 8000 |
>, |
| 8001 |
pub old_style: ::std::option::Option< |
| 8002 |
unsafe extern "C" fn( |
| 8003 |
arg1: ::std::os::raw::c_int, |
| 8004 |
arg2: ::std::os::raw::c_int, |
| 8005 |
arg3: *mut ::std::os::raw::c_void, |
| 8006 |
), |
| 8007 |
>, |
| 8008 |
} |
| 8009 |
#[test] |
| 8010 |
fn bindgen_test_layout_bn_gencb_st__bindgen_ty_1() { |
| 8011 |
const UNINIT: ::std::mem::MaybeUninit<bn_gencb_st__bindgen_ty_1> = |
| 8012 |
::std::mem::MaybeUninit::uninit(); |
| 8013 |
let ptr = UNINIT.as_ptr(); |
| 8014 |
assert_eq!( |
| 8015 |
::std::mem::size_of::<bn_gencb_st__bindgen_ty_1>(), |
| 8016 |
8usize, |
| 8017 |
"Size of bn_gencb_st__bindgen_ty_1" |
| 8018 |
); |
| 8019 |
assert_eq!( |
| 8020 |
::std::mem::align_of::<bn_gencb_st__bindgen_ty_1>(), |
| 8021 |
8usize, |
| 8022 |
"Alignment of bn_gencb_st__bindgen_ty_1" |
| 8023 |
); |
| 8024 |
assert_eq!( |
| 8025 |
unsafe { ::std::ptr::addr_of!((*ptr).new_style) as usize - ptr as usize }, |
| 8026 |
0usize, |
| 8027 |
"Offset of field: bn_gencb_st__bindgen_ty_1::new_style" |
| 8028 |
); |
| 8029 |
assert_eq!( |
| 8030 |
unsafe { ::std::ptr::addr_of!((*ptr).old_style) as usize - ptr as usize }, |
| 8031 |
0usize, |
| 8032 |
"Offset of field: bn_gencb_st__bindgen_ty_1::old_style" |
| 8033 |
); |
| 8034 |
} |
| 8035 |
impl Default for bn_gencb_st__bindgen_ty_1 { |
| 8036 |
fn default() -> Self { |
| 8037 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 8038 |
unsafe { |
| 8039 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 8040 |
s.assume_init() |
| 8041 |
} |
| 8042 |
} |
| 8043 |
} |
| 8044 |
#[test] |
| 8045 |
fn bindgen_test_layout_bn_gencb_st() { |
| 8046 |
const UNINIT: ::std::mem::MaybeUninit<bn_gencb_st> = ::std::mem::MaybeUninit::uninit(); |
| 8047 |
let ptr = UNINIT.as_ptr(); |
| 8048 |
assert_eq!( |
| 8049 |
::std::mem::size_of::<bn_gencb_st>(), |
| 8050 |
24usize, |
| 8051 |
"Size of bn_gencb_st" |
| 8052 |
); |
| 8053 |
assert_eq!( |
| 8054 |
::std::mem::align_of::<bn_gencb_st>(), |
| 8055 |
8usize, |
| 8056 |
"Alignment of bn_gencb_st" |
| 8057 |
); |
| 8058 |
assert_eq!( |
| 8059 |
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, |
| 8060 |
0usize, |
| 8061 |
"Offset of field: bn_gencb_st::type_" |
| 8062 |
); |
| 8063 |
assert_eq!( |
| 8064 |
unsafe { ::std::ptr::addr_of!((*ptr).arg) as usize - ptr as usize }, |
| 8065 |
8usize, |
| 8066 |
"Offset of field: bn_gencb_st::arg" |
| 8067 |
); |
| 8068 |
assert_eq!( |
| 8069 |
unsafe { ::std::ptr::addr_of!((*ptr).callback) as usize - ptr as usize }, |
| 8070 |
16usize, |
| 8071 |
"Offset of field: bn_gencb_st::callback" |
| 8072 |
); |
| 8073 |
} |
| 8074 |
impl Default for bn_gencb_st { |
| 8075 |
fn default() -> Self { |
| 8076 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 8077 |
unsafe { |
| 8078 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 8079 |
s.assume_init() |
| 8080 |
} |
| 8081 |
} |
| 8082 |
} |
| 8083 |
extern "C" { |
| 8084 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_GENCB_new"] |
| 8085 |
pub fn BN_GENCB_new() -> *mut BN_GENCB; |
| 8086 |
} |
| 8087 |
extern "C" { |
| 8088 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_GENCB_free"] |
| 8089 |
pub fn BN_GENCB_free(callback: *mut BN_GENCB); |
| 8090 |
} |
| 8091 |
extern "C" { |
| 8092 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_GENCB_set"] |
| 8093 |
pub fn BN_GENCB_set( |
| 8094 |
callback: *mut BN_GENCB, |
| 8095 |
f: ::std::option::Option< |
| 8096 |
unsafe extern "C" fn( |
| 8097 |
event: ::std::os::raw::c_int, |
| 8098 |
n: ::std::os::raw::c_int, |
| 8099 |
arg1: *mut BN_GENCB, |
| 8100 |
) -> ::std::os::raw::c_int, |
| 8101 |
>, |
| 8102 |
arg: *mut ::std::os::raw::c_void, |
| 8103 |
); |
| 8104 |
} |
| 8105 |
extern "C" { |
| 8106 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_GENCB_call"] |
| 8107 |
pub fn BN_GENCB_call( |
| 8108 |
callback: *mut BN_GENCB, |
| 8109 |
event: ::std::os::raw::c_int, |
| 8110 |
n: ::std::os::raw::c_int, |
| 8111 |
) -> ::std::os::raw::c_int; |
| 8112 |
} |
| 8113 |
extern "C" { |
| 8114 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_GENCB_get_arg"] |
| 8115 |
pub fn BN_GENCB_get_arg(callback: *const BN_GENCB) -> *mut ::std::os::raw::c_void; |
| 8116 |
} |
| 8117 |
extern "C" { |
| 8118 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_generate_prime_ex"] |
| 8119 |
pub fn BN_generate_prime_ex( |
| 8120 |
ret: *mut BIGNUM, |
| 8121 |
bits: ::std::os::raw::c_int, |
| 8122 |
safe: ::std::os::raw::c_int, |
| 8123 |
add: *const BIGNUM, |
| 8124 |
rem: *const BIGNUM, |
| 8125 |
cb: *mut BN_GENCB, |
| 8126 |
) -> ::std::os::raw::c_int; |
| 8127 |
} |
| 8128 |
pub const bn_primality_result_t_bn_probably_prime: bn_primality_result_t = 0; |
| 8129 |
pub const bn_primality_result_t_bn_composite: bn_primality_result_t = 1; |
| 8130 |
pub const bn_primality_result_t_bn_non_prime_power_composite: bn_primality_result_t = 2; |
| 8131 |
pub type bn_primality_result_t = ::std::os::raw::c_uint; |
| 8132 |
extern "C" { |
| 8133 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_enhanced_miller_rabin_primality_test"] |
| 8134 |
pub fn BN_enhanced_miller_rabin_primality_test( |
| 8135 |
out_result: *mut bn_primality_result_t, |
| 8136 |
w: *const BIGNUM, |
| 8137 |
checks: ::std::os::raw::c_int, |
| 8138 |
ctx: *mut BN_CTX, |
| 8139 |
cb: *mut BN_GENCB, |
| 8140 |
) -> ::std::os::raw::c_int; |
| 8141 |
} |
| 8142 |
extern "C" { |
| 8143 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_primality_test"] |
| 8144 |
pub fn BN_primality_test( |
| 8145 |
is_probably_prime: *mut ::std::os::raw::c_int, |
| 8146 |
candidate: *const BIGNUM, |
| 8147 |
checks: ::std::os::raw::c_int, |
| 8148 |
ctx: *mut BN_CTX, |
| 8149 |
do_trial_division: ::std::os::raw::c_int, |
| 8150 |
cb: *mut BN_GENCB, |
| 8151 |
) -> ::std::os::raw::c_int; |
| 8152 |
} |
| 8153 |
extern "C" { |
| 8154 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_prime_fasttest_ex"] |
| 8155 |
pub fn BN_is_prime_fasttest_ex( |
| 8156 |
candidate: *const BIGNUM, |
| 8157 |
checks: ::std::os::raw::c_int, |
| 8158 |
ctx: *mut BN_CTX, |
| 8159 |
do_trial_division: ::std::os::raw::c_int, |
| 8160 |
cb: *mut BN_GENCB, |
| 8161 |
) -> ::std::os::raw::c_int; |
| 8162 |
} |
| 8163 |
extern "C" { |
| 8164 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_is_prime_ex"] |
| 8165 |
pub fn BN_is_prime_ex( |
| 8166 |
candidate: *const BIGNUM, |
| 8167 |
checks: ::std::os::raw::c_int, |
| 8168 |
ctx: *mut BN_CTX, |
| 8169 |
cb: *mut BN_GENCB, |
| 8170 |
) -> ::std::os::raw::c_int; |
| 8171 |
} |
| 8172 |
extern "C" { |
| 8173 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_gcd"] |
| 8174 |
pub fn BN_gcd( |
| 8175 |
r: *mut BIGNUM, |
| 8176 |
a: *const BIGNUM, |
| 8177 |
b: *const BIGNUM, |
| 8178 |
ctx: *mut BN_CTX, |
| 8179 |
) -> ::std::os::raw::c_int; |
| 8180 |
} |
| 8181 |
extern "C" { |
| 8182 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_inverse"] |
| 8183 |
pub fn BN_mod_inverse( |
| 8184 |
out: *mut BIGNUM, |
| 8185 |
a: *const BIGNUM, |
| 8186 |
n: *const BIGNUM, |
| 8187 |
ctx: *mut BN_CTX, |
| 8188 |
) -> *mut BIGNUM; |
| 8189 |
} |
| 8190 |
extern "C" { |
| 8191 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_inverse_blinded"] |
| 8192 |
pub fn BN_mod_inverse_blinded( |
| 8193 |
out: *mut BIGNUM, |
| 8194 |
out_no_inverse: *mut ::std::os::raw::c_int, |
| 8195 |
a: *const BIGNUM, |
| 8196 |
mont: *const BN_MONT_CTX, |
| 8197 |
ctx: *mut BN_CTX, |
| 8198 |
) -> ::std::os::raw::c_int; |
| 8199 |
} |
| 8200 |
extern "C" { |
| 8201 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_inverse_odd"] |
| 8202 |
pub fn BN_mod_inverse_odd( |
| 8203 |
out: *mut BIGNUM, |
| 8204 |
out_no_inverse: *mut ::std::os::raw::c_int, |
| 8205 |
a: *const BIGNUM, |
| 8206 |
n: *const BIGNUM, |
| 8207 |
ctx: *mut BN_CTX, |
| 8208 |
) -> ::std::os::raw::c_int; |
| 8209 |
} |
| 8210 |
extern "C" { |
| 8211 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_MONT_CTX_new_for_modulus"] |
| 8212 |
pub fn BN_MONT_CTX_new_for_modulus(mod_: *const BIGNUM, ctx: *mut BN_CTX) -> *mut BN_MONT_CTX; |
| 8213 |
} |
| 8214 |
extern "C" { |
| 8215 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_MONT_CTX_new_consttime"] |
| 8216 |
pub fn BN_MONT_CTX_new_consttime(mod_: *const BIGNUM, ctx: *mut BN_CTX) -> *mut BN_MONT_CTX; |
| 8217 |
} |
| 8218 |
extern "C" { |
| 8219 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_MONT_CTX_free"] |
| 8220 |
pub fn BN_MONT_CTX_free(mont: *mut BN_MONT_CTX); |
| 8221 |
} |
| 8222 |
extern "C" { |
| 8223 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_MONT_CTX_copy"] |
| 8224 |
pub fn BN_MONT_CTX_copy(to: *mut BN_MONT_CTX, from: *const BN_MONT_CTX) -> *mut BN_MONT_CTX; |
| 8225 |
} |
| 8226 |
extern "C" { |
| 8227 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_to_montgomery"] |
| 8228 |
pub fn BN_to_montgomery( |
| 8229 |
ret: *mut BIGNUM, |
| 8230 |
a: *const BIGNUM, |
| 8231 |
mont: *const BN_MONT_CTX, |
| 8232 |
ctx: *mut BN_CTX, |
| 8233 |
) -> ::std::os::raw::c_int; |
| 8234 |
} |
| 8235 |
extern "C" { |
| 8236 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_from_montgomery"] |
| 8237 |
pub fn BN_from_montgomery( |
| 8238 |
ret: *mut BIGNUM, |
| 8239 |
a: *const BIGNUM, |
| 8240 |
mont: *const BN_MONT_CTX, |
| 8241 |
ctx: *mut BN_CTX, |
| 8242 |
) -> ::std::os::raw::c_int; |
| 8243 |
} |
| 8244 |
extern "C" { |
| 8245 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_mul_montgomery"] |
| 8246 |
pub fn BN_mod_mul_montgomery( |
| 8247 |
r: *mut BIGNUM, |
| 8248 |
a: *const BIGNUM, |
| 8249 |
b: *const BIGNUM, |
| 8250 |
mont: *const BN_MONT_CTX, |
| 8251 |
ctx: *mut BN_CTX, |
| 8252 |
) -> ::std::os::raw::c_int; |
| 8253 |
} |
| 8254 |
extern "C" { |
| 8255 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_exp"] |
| 8256 |
pub fn BN_exp( |
| 8257 |
r: *mut BIGNUM, |
| 8258 |
a: *const BIGNUM, |
| 8259 |
p: *const BIGNUM, |
| 8260 |
ctx: *mut BN_CTX, |
| 8261 |
) -> ::std::os::raw::c_int; |
| 8262 |
} |
| 8263 |
extern "C" { |
| 8264 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_exp"] |
| 8265 |
pub fn BN_mod_exp( |
| 8266 |
r: *mut BIGNUM, |
| 8267 |
a: *const BIGNUM, |
| 8268 |
p: *const BIGNUM, |
| 8269 |
m: *const BIGNUM, |
| 8270 |
ctx: *mut BN_CTX, |
| 8271 |
) -> ::std::os::raw::c_int; |
| 8272 |
} |
| 8273 |
extern "C" { |
| 8274 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_exp_mont"] |
| 8275 |
pub fn BN_mod_exp_mont( |
| 8276 |
r: *mut BIGNUM, |
| 8277 |
a: *const BIGNUM, |
| 8278 |
p: *const BIGNUM, |
| 8279 |
m: *const BIGNUM, |
| 8280 |
ctx: *mut BN_CTX, |
| 8281 |
mont: *const BN_MONT_CTX, |
| 8282 |
) -> ::std::os::raw::c_int; |
| 8283 |
} |
| 8284 |
extern "C" { |
| 8285 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_exp_mont_consttime"] |
| 8286 |
pub fn BN_mod_exp_mont_consttime( |
| 8287 |
rr: *mut BIGNUM, |
| 8288 |
a: *const BIGNUM, |
| 8289 |
p: *const BIGNUM, |
| 8290 |
m: *const BIGNUM, |
| 8291 |
ctx: *mut BN_CTX, |
| 8292 |
mont: *const BN_MONT_CTX, |
| 8293 |
) -> ::std::os::raw::c_int; |
| 8294 |
} |
| 8295 |
extern "C" { |
| 8296 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_GENCB_set_old"] |
| 8297 |
pub fn BN_GENCB_set_old( |
| 8298 |
callback: *mut BN_GENCB, |
| 8299 |
f: ::std::option::Option< |
| 8300 |
unsafe extern "C" fn( |
| 8301 |
arg1: ::std::os::raw::c_int, |
| 8302 |
arg2: ::std::os::raw::c_int, |
| 8303 |
arg3: *mut ::std::os::raw::c_void, |
| 8304 |
), |
| 8305 |
>, |
| 8306 |
cb_arg: *mut ::std::os::raw::c_void, |
| 8307 |
); |
| 8308 |
} |
| 8309 |
extern "C" { |
| 8310 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bn2mpi"] |
| 8311 |
pub fn BN_bn2mpi(in_: *const BIGNUM, out: *mut u8) -> usize; |
| 8312 |
} |
| 8313 |
extern "C" { |
| 8314 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mpi2bn"] |
| 8315 |
pub fn BN_mpi2bn(in_: *const u8, len: usize, out: *mut BIGNUM) -> *mut BIGNUM; |
| 8316 |
} |
| 8317 |
extern "C" { |
| 8318 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_exp_mont_word"] |
| 8319 |
pub fn BN_mod_exp_mont_word( |
| 8320 |
r: *mut BIGNUM, |
| 8321 |
a: BN_ULONG, |
| 8322 |
p: *const BIGNUM, |
| 8323 |
m: *const BIGNUM, |
| 8324 |
ctx: *mut BN_CTX, |
| 8325 |
mont: *const BN_MONT_CTX, |
| 8326 |
) -> ::std::os::raw::c_int; |
| 8327 |
} |
| 8328 |
extern "C" { |
| 8329 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_exp2_mont"] |
| 8330 |
pub fn BN_mod_exp2_mont( |
| 8331 |
r: *mut BIGNUM, |
| 8332 |
a1: *const BIGNUM, |
| 8333 |
p1: *const BIGNUM, |
| 8334 |
a2: *const BIGNUM, |
| 8335 |
p2: *const BIGNUM, |
| 8336 |
m: *const BIGNUM, |
| 8337 |
ctx: *mut BN_CTX, |
| 8338 |
mont: *const BN_MONT_CTX, |
| 8339 |
) -> ::std::os::raw::c_int; |
| 8340 |
} |
| 8341 |
extern "C" { |
| 8342 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_MONT_CTX_new"] |
| 8343 |
pub fn BN_MONT_CTX_new() -> *mut BN_MONT_CTX; |
| 8344 |
} |
| 8345 |
extern "C" { |
| 8346 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_MONT_CTX_set"] |
| 8347 |
pub fn BN_MONT_CTX_set( |
| 8348 |
mont: *mut BN_MONT_CTX, |
| 8349 |
mod_: *const BIGNUM, |
| 8350 |
ctx: *mut BN_CTX, |
| 8351 |
) -> ::std::os::raw::c_int; |
| 8352 |
} |
| 8353 |
extern "C" { |
| 8354 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_bn2binpad"] |
| 8355 |
pub fn BN_bn2binpad( |
| 8356 |
in_: *const BIGNUM, |
| 8357 |
out: *mut u8, |
| 8358 |
len: ::std::os::raw::c_int, |
| 8359 |
) -> ::std::os::raw::c_int; |
| 8360 |
} |
| 8361 |
extern "C" { |
| 8362 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_secure_new"] |
| 8363 |
pub fn BN_secure_new() -> *mut BIGNUM; |
| 8364 |
} |
| 8365 |
extern "C" { |
| 8366 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_CTX_secure_new"] |
| 8367 |
pub fn BN_CTX_secure_new() -> *mut BN_CTX; |
| 8368 |
} |
| 8369 |
extern "C" { |
| 8370 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_mod_exp_mont_consttime_x2"] |
| 8371 |
pub fn BN_mod_exp_mont_consttime_x2( |
| 8372 |
rr1: *mut BIGNUM, |
| 8373 |
a1: *const BIGNUM, |
| 8374 |
p1: *const BIGNUM, |
| 8375 |
m1: *const BIGNUM, |
| 8376 |
in_mont1: *const BN_MONT_CTX, |
| 8377 |
rr2: *mut BIGNUM, |
| 8378 |
a2: *const BIGNUM, |
| 8379 |
p2: *const BIGNUM, |
| 8380 |
m2: *const BIGNUM, |
| 8381 |
in_mont2: *const BN_MONT_CTX, |
| 8382 |
ctx: *mut BN_CTX, |
| 8383 |
) -> ::std::os::raw::c_int; |
| 8384 |
} |
| 8385 |
extern "C" { |
| 8386 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_set_flags"] |
| 8387 |
pub fn BN_set_flags(b: *mut BIGNUM, n: ::std::os::raw::c_int); |
| 8388 |
} |
| 8389 |
#[repr(C)] |
| 8390 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 8391 |
pub struct bignum_st { |
| 8392 |
pub d: *mut BN_ULONG, |
| 8393 |
pub width: ::std::os::raw::c_int, |
| 8394 |
pub dmax: ::std::os::raw::c_int, |
| 8395 |
pub neg: ::std::os::raw::c_int, |
| 8396 |
pub flags: ::std::os::raw::c_int, |
| 8397 |
} |
| 8398 |
#[test] |
| 8399 |
fn bindgen_test_layout_bignum_st() { |
| 8400 |
const UNINIT: ::std::mem::MaybeUninit<bignum_st> = ::std::mem::MaybeUninit::uninit(); |
| 8401 |
let ptr = UNINIT.as_ptr(); |
| 8402 |
assert_eq!( |
| 8403 |
::std::mem::size_of::<bignum_st>(), |
| 8404 |
24usize, |
| 8405 |
"Size of bignum_st" |
| 8406 |
); |
| 8407 |
assert_eq!( |
| 8408 |
::std::mem::align_of::<bignum_st>(), |
| 8409 |
8usize, |
| 8410 |
"Alignment of bignum_st" |
| 8411 |
); |
| 8412 |
assert_eq!( |
| 8413 |
unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize }, |
| 8414 |
0usize, |
| 8415 |
"Offset of field: bignum_st::d" |
| 8416 |
); |
| 8417 |
assert_eq!( |
| 8418 |
unsafe { ::std::ptr::addr_of!((*ptr).width) as usize - ptr as usize }, |
| 8419 |
8usize, |
| 8420 |
"Offset of field: bignum_st::width" |
| 8421 |
); |
| 8422 |
assert_eq!( |
| 8423 |
unsafe { ::std::ptr::addr_of!((*ptr).dmax) as usize - ptr as usize }, |
| 8424 |
12usize, |
| 8425 |
"Offset of field: bignum_st::dmax" |
| 8426 |
); |
| 8427 |
assert_eq!( |
| 8428 |
unsafe { ::std::ptr::addr_of!((*ptr).neg) as usize - ptr as usize }, |
| 8429 |
16usize, |
| 8430 |
"Offset of field: bignum_st::neg" |
| 8431 |
); |
| 8432 |
assert_eq!( |
| 8433 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 8434 |
20usize, |
| 8435 |
"Offset of field: bignum_st::flags" |
| 8436 |
); |
| 8437 |
} |
| 8438 |
impl Default for bignum_st { |
| 8439 |
fn default() -> Self { |
| 8440 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 8441 |
unsafe { |
| 8442 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 8443 |
s.assume_init() |
| 8444 |
} |
| 8445 |
} |
| 8446 |
} |
| 8447 |
#[repr(C)] |
| 8448 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 8449 |
pub struct bn_mont_ctx_st { |
| 8450 |
pub RR: BIGNUM, |
| 8451 |
pub N: BIGNUM, |
| 8452 |
pub n0: [BN_ULONG; 2usize], |
| 8453 |
} |
| 8454 |
#[test] |
| 8455 |
fn bindgen_test_layout_bn_mont_ctx_st() { |
| 8456 |
const UNINIT: ::std::mem::MaybeUninit<bn_mont_ctx_st> = ::std::mem::MaybeUninit::uninit(); |
| 8457 |
let ptr = UNINIT.as_ptr(); |
| 8458 |
assert_eq!( |
| 8459 |
::std::mem::size_of::<bn_mont_ctx_st>(), |
| 8460 |
64usize, |
| 8461 |
"Size of bn_mont_ctx_st" |
| 8462 |
); |
| 8463 |
assert_eq!( |
| 8464 |
::std::mem::align_of::<bn_mont_ctx_st>(), |
| 8465 |
8usize, |
| 8466 |
"Alignment of bn_mont_ctx_st" |
| 8467 |
); |
| 8468 |
assert_eq!( |
| 8469 |
unsafe { ::std::ptr::addr_of!((*ptr).RR) as usize - ptr as usize }, |
| 8470 |
0usize, |
| 8471 |
"Offset of field: bn_mont_ctx_st::RR" |
| 8472 |
); |
| 8473 |
assert_eq!( |
| 8474 |
unsafe { ::std::ptr::addr_of!((*ptr).N) as usize - ptr as usize }, |
| 8475 |
24usize, |
| 8476 |
"Offset of field: bn_mont_ctx_st::N" |
| 8477 |
); |
| 8478 |
assert_eq!( |
| 8479 |
unsafe { ::std::ptr::addr_of!((*ptr).n0) as usize - ptr as usize }, |
| 8480 |
48usize, |
| 8481 |
"Offset of field: bn_mont_ctx_st::n0" |
| 8482 |
); |
| 8483 |
} |
| 8484 |
impl Default for bn_mont_ctx_st { |
| 8485 |
fn default() -> Self { |
| 8486 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 8487 |
unsafe { |
| 8488 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 8489 |
s.assume_init() |
| 8490 |
} |
| 8491 |
} |
| 8492 |
} |
| 8493 |
extern "C" { |
| 8494 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_num_bits_word"] |
| 8495 |
pub fn BN_num_bits_word(l: BN_ULONG) -> ::std::os::raw::c_uint; |
| 8496 |
} |
| 8497 |
extern "C" { |
| 8498 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_tag2bit"] |
| 8499 |
pub fn ASN1_tag2bit(tag: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong; |
| 8500 |
} |
| 8501 |
extern "C" { |
| 8502 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_tag2str"] |
| 8503 |
pub fn ASN1_tag2str(tag: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; |
| 8504 |
} |
| 8505 |
pub type d2i_of_void = ::std::option::Option< |
| 8506 |
unsafe extern "C" fn( |
| 8507 |
arg1: *mut *mut ::std::os::raw::c_void, |
| 8508 |
arg2: *mut *const ::std::os::raw::c_uchar, |
| 8509 |
arg3: ::std::os::raw::c_long, |
| 8510 |
) -> *mut ::std::os::raw::c_void, |
| 8511 |
>; |
| 8512 |
pub type i2d_of_void = ::std::option::Option< |
| 8513 |
unsafe extern "C" fn( |
| 8514 |
arg1: *const ::std::os::raw::c_void, |
| 8515 |
arg2: *mut *mut ::std::os::raw::c_uchar, |
| 8516 |
) -> ::std::os::raw::c_int, |
| 8517 |
>; |
| 8518 |
pub type ASN1_ITEM_EXP = ASN1_ITEM; |
| 8519 |
#[repr(C)] |
| 8520 |
#[derive(Debug, Copy, Clone)] |
| 8521 |
pub struct ASN1_VALUE_st { |
| 8522 |
_unused: [u8; 0], |
| 8523 |
} |
| 8524 |
pub type ASN1_VALUE = ASN1_VALUE_st; |
| 8525 |
extern "C" { |
| 8526 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_parse"] |
| 8527 |
pub fn ASN1_parse( |
| 8528 |
bp: *mut BIO, |
| 8529 |
pp: *const ::std::os::raw::c_uchar, |
| 8530 |
len: ::std::os::raw::c_long, |
| 8531 |
indent: ::std::os::raw::c_int, |
| 8532 |
) -> ::std::os::raw::c_int; |
| 8533 |
} |
| 8534 |
extern "C" { |
| 8535 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_new"] |
| 8536 |
pub fn ASN1_item_new(it: *const ASN1_ITEM) -> *mut ASN1_VALUE; |
| 8537 |
} |
| 8538 |
extern "C" { |
| 8539 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_free"] |
| 8540 |
pub fn ASN1_item_free(val: *mut ASN1_VALUE, it: *const ASN1_ITEM); |
| 8541 |
} |
| 8542 |
extern "C" { |
| 8543 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_d2i"] |
| 8544 |
pub fn ASN1_item_d2i( |
| 8545 |
out: *mut *mut ASN1_VALUE, |
| 8546 |
inp: *mut *const ::std::os::raw::c_uchar, |
| 8547 |
len: ::std::os::raw::c_long, |
| 8548 |
it: *const ASN1_ITEM, |
| 8549 |
) -> *mut ASN1_VALUE; |
| 8550 |
} |
| 8551 |
extern "C" { |
| 8552 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_i2d"] |
| 8553 |
pub fn ASN1_item_i2d( |
| 8554 |
val: *mut ASN1_VALUE, |
| 8555 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 8556 |
it: *const ASN1_ITEM, |
| 8557 |
) -> ::std::os::raw::c_int; |
| 8558 |
} |
| 8559 |
extern "C" { |
| 8560 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_dup"] |
| 8561 |
pub fn ASN1_dup( |
| 8562 |
i2d: i2d_of_void, |
| 8563 |
d2i: d2i_of_void, |
| 8564 |
x: *mut ::std::os::raw::c_void, |
| 8565 |
) -> *mut ::std::os::raw::c_void; |
| 8566 |
} |
| 8567 |
extern "C" { |
| 8568 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_dup"] |
| 8569 |
pub fn ASN1_item_dup( |
| 8570 |
it: *const ASN1_ITEM, |
| 8571 |
x: *mut ::std::os::raw::c_void, |
| 8572 |
) -> *mut ::std::os::raw::c_void; |
| 8573 |
} |
| 8574 |
extern "C" { |
| 8575 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_d2i_fp"] |
| 8576 |
pub fn ASN1_item_d2i_fp( |
| 8577 |
it: *const ASN1_ITEM, |
| 8578 |
in_: *mut FILE, |
| 8579 |
out: *mut ::std::os::raw::c_void, |
| 8580 |
) -> *mut ::std::os::raw::c_void; |
| 8581 |
} |
| 8582 |
extern "C" { |
| 8583 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_d2i_bio"] |
| 8584 |
pub fn ASN1_item_d2i_bio( |
| 8585 |
it: *const ASN1_ITEM, |
| 8586 |
in_: *mut BIO, |
| 8587 |
out: *mut ::std::os::raw::c_void, |
| 8588 |
) -> *mut ::std::os::raw::c_void; |
| 8589 |
} |
| 8590 |
extern "C" { |
| 8591 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_i2d_fp"] |
| 8592 |
pub fn ASN1_item_i2d_fp( |
| 8593 |
it: *const ASN1_ITEM, |
| 8594 |
out: *mut FILE, |
| 8595 |
in_: *mut ::std::os::raw::c_void, |
| 8596 |
) -> ::std::os::raw::c_int; |
| 8597 |
} |
| 8598 |
extern "C" { |
| 8599 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_i2d_bio"] |
| 8600 |
pub fn ASN1_item_i2d_bio( |
| 8601 |
it: *const ASN1_ITEM, |
| 8602 |
out: *mut BIO, |
| 8603 |
in_: *mut ::std::os::raw::c_void, |
| 8604 |
) -> ::std::os::raw::c_int; |
| 8605 |
} |
| 8606 |
extern "C" { |
| 8607 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_i2d_bio"] |
| 8608 |
pub fn ASN1_i2d_bio( |
| 8609 |
i2d: i2d_of_void, |
| 8610 |
out: *mut BIO, |
| 8611 |
in_: *mut ::std::os::raw::c_void, |
| 8612 |
) -> ::std::os::raw::c_int; |
| 8613 |
} |
| 8614 |
extern "C" { |
| 8615 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_unpack"] |
| 8616 |
pub fn ASN1_item_unpack( |
| 8617 |
oct: *const ASN1_STRING, |
| 8618 |
it: *const ASN1_ITEM, |
| 8619 |
) -> *mut ::std::os::raw::c_void; |
| 8620 |
} |
| 8621 |
extern "C" { |
| 8622 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_pack"] |
| 8623 |
pub fn ASN1_item_pack( |
| 8624 |
obj: *mut ::std::os::raw::c_void, |
| 8625 |
it: *const ASN1_ITEM, |
| 8626 |
out: *mut *mut ASN1_STRING, |
| 8627 |
) -> *mut ASN1_STRING; |
| 8628 |
} |
| 8629 |
extern "C" { |
| 8630 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_BOOLEAN"] |
| 8631 |
pub fn d2i_ASN1_BOOLEAN( |
| 8632 |
out: *mut ASN1_BOOLEAN, |
| 8633 |
inp: *mut *const ::std::os::raw::c_uchar, |
| 8634 |
len: ::std::os::raw::c_long, |
| 8635 |
) -> ASN1_BOOLEAN; |
| 8636 |
} |
| 8637 |
extern "C" { |
| 8638 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_BOOLEAN"] |
| 8639 |
pub fn i2d_ASN1_BOOLEAN( |
| 8640 |
a: ASN1_BOOLEAN, |
| 8641 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 8642 |
) -> ::std::os::raw::c_int; |
| 8643 |
} |
| 8644 |
extern "C" { |
| 8645 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BOOLEAN_it"] |
| 8646 |
pub static ASN1_BOOLEAN_it: ASN1_ITEM; |
| 8647 |
} |
| 8648 |
extern "C" { |
| 8649 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TBOOLEAN_it"] |
| 8650 |
pub static ASN1_TBOOLEAN_it: ASN1_ITEM; |
| 8651 |
} |
| 8652 |
extern "C" { |
| 8653 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_FBOOLEAN_it"] |
| 8654 |
pub static ASN1_FBOOLEAN_it: ASN1_ITEM; |
| 8655 |
} |
| 8656 |
#[repr(C)] |
| 8657 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 8658 |
pub struct asn1_string_st { |
| 8659 |
pub length: ::std::os::raw::c_int, |
| 8660 |
pub type_: ::std::os::raw::c_int, |
| 8661 |
pub data: *mut ::std::os::raw::c_uchar, |
| 8662 |
pub flags: ::std::os::raw::c_long, |
| 8663 |
} |
| 8664 |
#[test] |
| 8665 |
fn bindgen_test_layout_asn1_string_st() { |
| 8666 |
const UNINIT: ::std::mem::MaybeUninit<asn1_string_st> = ::std::mem::MaybeUninit::uninit(); |
| 8667 |
let ptr = UNINIT.as_ptr(); |
| 8668 |
assert_eq!( |
| 8669 |
::std::mem::size_of::<asn1_string_st>(), |
| 8670 |
24usize, |
| 8671 |
"Size of asn1_string_st" |
| 8672 |
); |
| 8673 |
assert_eq!( |
| 8674 |
::std::mem::align_of::<asn1_string_st>(), |
| 8675 |
8usize, |
| 8676 |
"Alignment of asn1_string_st" |
| 8677 |
); |
| 8678 |
assert_eq!( |
| 8679 |
unsafe { ::std::ptr::addr_of!((*ptr).length) as usize - ptr as usize }, |
| 8680 |
0usize, |
| 8681 |
"Offset of field: asn1_string_st::length" |
| 8682 |
); |
| 8683 |
assert_eq!( |
| 8684 |
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, |
| 8685 |
4usize, |
| 8686 |
"Offset of field: asn1_string_st::type_" |
| 8687 |
); |
| 8688 |
assert_eq!( |
| 8689 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 8690 |
8usize, |
| 8691 |
"Offset of field: asn1_string_st::data" |
| 8692 |
); |
| 8693 |
assert_eq!( |
| 8694 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 8695 |
16usize, |
| 8696 |
"Offset of field: asn1_string_st::flags" |
| 8697 |
); |
| 8698 |
} |
| 8699 |
impl Default for asn1_string_st { |
| 8700 |
fn default() -> Self { |
| 8701 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 8702 |
unsafe { |
| 8703 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 8704 |
s.assume_init() |
| 8705 |
} |
| 8706 |
} |
| 8707 |
} |
| 8708 |
extern "C" { |
| 8709 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_type_new"] |
| 8710 |
pub fn ASN1_STRING_type_new(type_: ::std::os::raw::c_int) -> *mut ASN1_STRING; |
| 8711 |
} |
| 8712 |
extern "C" { |
| 8713 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_new"] |
| 8714 |
pub fn ASN1_STRING_new() -> *mut ASN1_STRING; |
| 8715 |
} |
| 8716 |
extern "C" { |
| 8717 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_free"] |
| 8718 |
pub fn ASN1_STRING_free(str_: *mut ASN1_STRING); |
| 8719 |
} |
| 8720 |
extern "C" { |
| 8721 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_clear_free"] |
| 8722 |
pub fn ASN1_STRING_clear_free(str_: *mut ASN1_STRING); |
| 8723 |
} |
| 8724 |
extern "C" { |
| 8725 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_copy"] |
| 8726 |
pub fn ASN1_STRING_copy( |
| 8727 |
dst: *mut ASN1_STRING, |
| 8728 |
str_: *const ASN1_STRING, |
| 8729 |
) -> ::std::os::raw::c_int; |
| 8730 |
} |
| 8731 |
extern "C" { |
| 8732 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_dup"] |
| 8733 |
pub fn ASN1_STRING_dup(str_: *const ASN1_STRING) -> *mut ASN1_STRING; |
| 8734 |
} |
| 8735 |
extern "C" { |
| 8736 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_type"] |
| 8737 |
pub fn ASN1_STRING_type(str_: *const ASN1_STRING) -> ::std::os::raw::c_int; |
| 8738 |
} |
| 8739 |
extern "C" { |
| 8740 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_get0_data"] |
| 8741 |
pub fn ASN1_STRING_get0_data(str_: *const ASN1_STRING) -> *const ::std::os::raw::c_uchar; |
| 8742 |
} |
| 8743 |
extern "C" { |
| 8744 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_data"] |
| 8745 |
pub fn ASN1_STRING_data(str_: *mut ASN1_STRING) -> *mut ::std::os::raw::c_uchar; |
| 8746 |
} |
| 8747 |
extern "C" { |
| 8748 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_length"] |
| 8749 |
pub fn ASN1_STRING_length(str_: *const ASN1_STRING) -> ::std::os::raw::c_int; |
| 8750 |
} |
| 8751 |
extern "C" { |
| 8752 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_cmp"] |
| 8753 |
pub fn ASN1_STRING_cmp(a: *const ASN1_STRING, b: *const ASN1_STRING) -> ::std::os::raw::c_int; |
| 8754 |
} |
| 8755 |
extern "C" { |
| 8756 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_set"] |
| 8757 |
pub fn ASN1_STRING_set( |
| 8758 |
str_: *mut ASN1_STRING, |
| 8759 |
data: *const ::std::os::raw::c_void, |
| 8760 |
len: ossl_ssize_t, |
| 8761 |
) -> ::std::os::raw::c_int; |
| 8762 |
} |
| 8763 |
extern "C" { |
| 8764 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_set0"] |
| 8765 |
pub fn ASN1_STRING_set0( |
| 8766 |
str_: *mut ASN1_STRING, |
| 8767 |
data: *mut ::std::os::raw::c_void, |
| 8768 |
len: ::std::os::raw::c_int, |
| 8769 |
); |
| 8770 |
} |
| 8771 |
extern "C" { |
| 8772 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BMPSTRING_new"] |
| 8773 |
pub fn ASN1_BMPSTRING_new() -> *mut ASN1_BMPSTRING; |
| 8774 |
} |
| 8775 |
extern "C" { |
| 8776 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALSTRING_new"] |
| 8777 |
pub fn ASN1_GENERALSTRING_new() -> *mut ASN1_GENERALSTRING; |
| 8778 |
} |
| 8779 |
extern "C" { |
| 8780 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_IA5STRING_new"] |
| 8781 |
pub fn ASN1_IA5STRING_new() -> *mut ASN1_IA5STRING; |
| 8782 |
} |
| 8783 |
extern "C" { |
| 8784 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OCTET_STRING_new"] |
| 8785 |
pub fn ASN1_OCTET_STRING_new() -> *mut ASN1_OCTET_STRING; |
| 8786 |
} |
| 8787 |
extern "C" { |
| 8788 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_PRINTABLESTRING_new"] |
| 8789 |
pub fn ASN1_PRINTABLESTRING_new() -> *mut ASN1_PRINTABLESTRING; |
| 8790 |
} |
| 8791 |
extern "C" { |
| 8792 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_T61STRING_new"] |
| 8793 |
pub fn ASN1_T61STRING_new() -> *mut ASN1_T61STRING; |
| 8794 |
} |
| 8795 |
extern "C" { |
| 8796 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UNIVERSALSTRING_new"] |
| 8797 |
pub fn ASN1_UNIVERSALSTRING_new() -> *mut ASN1_UNIVERSALSTRING; |
| 8798 |
} |
| 8799 |
extern "C" { |
| 8800 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTF8STRING_new"] |
| 8801 |
pub fn ASN1_UTF8STRING_new() -> *mut ASN1_UTF8STRING; |
| 8802 |
} |
| 8803 |
extern "C" { |
| 8804 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_VISIBLESTRING_new"] |
| 8805 |
pub fn ASN1_VISIBLESTRING_new() -> *mut ASN1_VISIBLESTRING; |
| 8806 |
} |
| 8807 |
extern "C" { |
| 8808 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BMPSTRING_free"] |
| 8809 |
pub fn ASN1_BMPSTRING_free(str_: *mut ASN1_BMPSTRING); |
| 8810 |
} |
| 8811 |
extern "C" { |
| 8812 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALSTRING_free"] |
| 8813 |
pub fn ASN1_GENERALSTRING_free(str_: *mut ASN1_GENERALSTRING); |
| 8814 |
} |
| 8815 |
extern "C" { |
| 8816 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_IA5STRING_free"] |
| 8817 |
pub fn ASN1_IA5STRING_free(str_: *mut ASN1_IA5STRING); |
| 8818 |
} |
| 8819 |
extern "C" { |
| 8820 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OCTET_STRING_free"] |
| 8821 |
pub fn ASN1_OCTET_STRING_free(str_: *mut ASN1_OCTET_STRING); |
| 8822 |
} |
| 8823 |
extern "C" { |
| 8824 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_PRINTABLESTRING_free"] |
| 8825 |
pub fn ASN1_PRINTABLESTRING_free(str_: *mut ASN1_PRINTABLESTRING); |
| 8826 |
} |
| 8827 |
extern "C" { |
| 8828 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_T61STRING_free"] |
| 8829 |
pub fn ASN1_T61STRING_free(str_: *mut ASN1_T61STRING); |
| 8830 |
} |
| 8831 |
extern "C" { |
| 8832 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UNIVERSALSTRING_free"] |
| 8833 |
pub fn ASN1_UNIVERSALSTRING_free(str_: *mut ASN1_UNIVERSALSTRING); |
| 8834 |
} |
| 8835 |
extern "C" { |
| 8836 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTF8STRING_free"] |
| 8837 |
pub fn ASN1_UTF8STRING_free(str_: *mut ASN1_UTF8STRING); |
| 8838 |
} |
| 8839 |
extern "C" { |
| 8840 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_VISIBLESTRING_free"] |
| 8841 |
pub fn ASN1_VISIBLESTRING_free(str_: *mut ASN1_VISIBLESTRING); |
| 8842 |
} |
| 8843 |
extern "C" { |
| 8844 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_BMPSTRING"] |
| 8845 |
pub fn d2i_ASN1_BMPSTRING( |
| 8846 |
out: *mut *mut ASN1_BMPSTRING, |
| 8847 |
inp: *mut *const u8, |
| 8848 |
len: ::std::os::raw::c_long, |
| 8849 |
) -> *mut ASN1_BMPSTRING; |
| 8850 |
} |
| 8851 |
extern "C" { |
| 8852 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_GENERALSTRING"] |
| 8853 |
pub fn d2i_ASN1_GENERALSTRING( |
| 8854 |
out: *mut *mut ASN1_GENERALSTRING, |
| 8855 |
inp: *mut *const u8, |
| 8856 |
len: ::std::os::raw::c_long, |
| 8857 |
) -> *mut ASN1_GENERALSTRING; |
| 8858 |
} |
| 8859 |
extern "C" { |
| 8860 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_IA5STRING"] |
| 8861 |
pub fn d2i_ASN1_IA5STRING( |
| 8862 |
out: *mut *mut ASN1_IA5STRING, |
| 8863 |
inp: *mut *const u8, |
| 8864 |
len: ::std::os::raw::c_long, |
| 8865 |
) -> *mut ASN1_IA5STRING; |
| 8866 |
} |
| 8867 |
extern "C" { |
| 8868 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_OCTET_STRING"] |
| 8869 |
pub fn d2i_ASN1_OCTET_STRING( |
| 8870 |
out: *mut *mut ASN1_OCTET_STRING, |
| 8871 |
inp: *mut *const u8, |
| 8872 |
len: ::std::os::raw::c_long, |
| 8873 |
) -> *mut ASN1_OCTET_STRING; |
| 8874 |
} |
| 8875 |
extern "C" { |
| 8876 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_PRINTABLESTRING"] |
| 8877 |
pub fn d2i_ASN1_PRINTABLESTRING( |
| 8878 |
out: *mut *mut ASN1_PRINTABLESTRING, |
| 8879 |
inp: *mut *const u8, |
| 8880 |
len: ::std::os::raw::c_long, |
| 8881 |
) -> *mut ASN1_PRINTABLESTRING; |
| 8882 |
} |
| 8883 |
extern "C" { |
| 8884 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_T61STRING"] |
| 8885 |
pub fn d2i_ASN1_T61STRING( |
| 8886 |
out: *mut *mut ASN1_T61STRING, |
| 8887 |
inp: *mut *const u8, |
| 8888 |
len: ::std::os::raw::c_long, |
| 8889 |
) -> *mut ASN1_T61STRING; |
| 8890 |
} |
| 8891 |
extern "C" { |
| 8892 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_UNIVERSALSTRING"] |
| 8893 |
pub fn d2i_ASN1_UNIVERSALSTRING( |
| 8894 |
out: *mut *mut ASN1_UNIVERSALSTRING, |
| 8895 |
inp: *mut *const u8, |
| 8896 |
len: ::std::os::raw::c_long, |
| 8897 |
) -> *mut ASN1_UNIVERSALSTRING; |
| 8898 |
} |
| 8899 |
extern "C" { |
| 8900 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_UTF8STRING"] |
| 8901 |
pub fn d2i_ASN1_UTF8STRING( |
| 8902 |
out: *mut *mut ASN1_UTF8STRING, |
| 8903 |
inp: *mut *const u8, |
| 8904 |
len: ::std::os::raw::c_long, |
| 8905 |
) -> *mut ASN1_UTF8STRING; |
| 8906 |
} |
| 8907 |
extern "C" { |
| 8908 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_VISIBLESTRING"] |
| 8909 |
pub fn d2i_ASN1_VISIBLESTRING( |
| 8910 |
out: *mut *mut ASN1_VISIBLESTRING, |
| 8911 |
inp: *mut *const u8, |
| 8912 |
len: ::std::os::raw::c_long, |
| 8913 |
) -> *mut ASN1_VISIBLESTRING; |
| 8914 |
} |
| 8915 |
extern "C" { |
| 8916 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_BMPSTRING"] |
| 8917 |
pub fn i2d_ASN1_BMPSTRING( |
| 8918 |
in_: *const ASN1_BMPSTRING, |
| 8919 |
outp: *mut *mut u8, |
| 8920 |
) -> ::std::os::raw::c_int; |
| 8921 |
} |
| 8922 |
extern "C" { |
| 8923 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_GENERALSTRING"] |
| 8924 |
pub fn i2d_ASN1_GENERALSTRING( |
| 8925 |
in_: *const ASN1_GENERALSTRING, |
| 8926 |
outp: *mut *mut u8, |
| 8927 |
) -> ::std::os::raw::c_int; |
| 8928 |
} |
| 8929 |
extern "C" { |
| 8930 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_IA5STRING"] |
| 8931 |
pub fn i2d_ASN1_IA5STRING( |
| 8932 |
in_: *const ASN1_IA5STRING, |
| 8933 |
outp: *mut *mut u8, |
| 8934 |
) -> ::std::os::raw::c_int; |
| 8935 |
} |
| 8936 |
extern "C" { |
| 8937 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_OCTET_STRING"] |
| 8938 |
pub fn i2d_ASN1_OCTET_STRING( |
| 8939 |
in_: *const ASN1_OCTET_STRING, |
| 8940 |
outp: *mut *mut u8, |
| 8941 |
) -> ::std::os::raw::c_int; |
| 8942 |
} |
| 8943 |
extern "C" { |
| 8944 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_PRINTABLESTRING"] |
| 8945 |
pub fn i2d_ASN1_PRINTABLESTRING( |
| 8946 |
in_: *const ASN1_PRINTABLESTRING, |
| 8947 |
outp: *mut *mut u8, |
| 8948 |
) -> ::std::os::raw::c_int; |
| 8949 |
} |
| 8950 |
extern "C" { |
| 8951 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_T61STRING"] |
| 8952 |
pub fn i2d_ASN1_T61STRING( |
| 8953 |
in_: *const ASN1_T61STRING, |
| 8954 |
outp: *mut *mut u8, |
| 8955 |
) -> ::std::os::raw::c_int; |
| 8956 |
} |
| 8957 |
extern "C" { |
| 8958 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_UNIVERSALSTRING"] |
| 8959 |
pub fn i2d_ASN1_UNIVERSALSTRING( |
| 8960 |
in_: *const ASN1_UNIVERSALSTRING, |
| 8961 |
outp: *mut *mut u8, |
| 8962 |
) -> ::std::os::raw::c_int; |
| 8963 |
} |
| 8964 |
extern "C" { |
| 8965 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_UTF8STRING"] |
| 8966 |
pub fn i2d_ASN1_UTF8STRING( |
| 8967 |
in_: *const ASN1_UTF8STRING, |
| 8968 |
outp: *mut *mut u8, |
| 8969 |
) -> ::std::os::raw::c_int; |
| 8970 |
} |
| 8971 |
extern "C" { |
| 8972 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_VISIBLESTRING"] |
| 8973 |
pub fn i2d_ASN1_VISIBLESTRING( |
| 8974 |
in_: *const ASN1_VISIBLESTRING, |
| 8975 |
outp: *mut *mut u8, |
| 8976 |
) -> ::std::os::raw::c_int; |
| 8977 |
} |
| 8978 |
extern "C" { |
| 8979 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BMPSTRING_it"] |
| 8980 |
pub static ASN1_BMPSTRING_it: ASN1_ITEM; |
| 8981 |
} |
| 8982 |
extern "C" { |
| 8983 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALSTRING_it"] |
| 8984 |
pub static ASN1_GENERALSTRING_it: ASN1_ITEM; |
| 8985 |
} |
| 8986 |
extern "C" { |
| 8987 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_IA5STRING_it"] |
| 8988 |
pub static ASN1_IA5STRING_it: ASN1_ITEM; |
| 8989 |
} |
| 8990 |
extern "C" { |
| 8991 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OCTET_STRING_it"] |
| 8992 |
pub static ASN1_OCTET_STRING_it: ASN1_ITEM; |
| 8993 |
} |
| 8994 |
extern "C" { |
| 8995 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_PRINTABLESTRING_it"] |
| 8996 |
pub static ASN1_PRINTABLESTRING_it: ASN1_ITEM; |
| 8997 |
} |
| 8998 |
extern "C" { |
| 8999 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_T61STRING_it"] |
| 9000 |
pub static ASN1_T61STRING_it: ASN1_ITEM; |
| 9001 |
} |
| 9002 |
extern "C" { |
| 9003 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UNIVERSALSTRING_it"] |
| 9004 |
pub static ASN1_UNIVERSALSTRING_it: ASN1_ITEM; |
| 9005 |
} |
| 9006 |
extern "C" { |
| 9007 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTF8STRING_it"] |
| 9008 |
pub static ASN1_UTF8STRING_it: ASN1_ITEM; |
| 9009 |
} |
| 9010 |
extern "C" { |
| 9011 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_VISIBLESTRING_it"] |
| 9012 |
pub static ASN1_VISIBLESTRING_it: ASN1_ITEM; |
| 9013 |
} |
| 9014 |
extern "C" { |
| 9015 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OCTET_STRING_dup"] |
| 9016 |
pub fn ASN1_OCTET_STRING_dup(a: *const ASN1_OCTET_STRING) -> *mut ASN1_OCTET_STRING; |
| 9017 |
} |
| 9018 |
extern "C" { |
| 9019 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OCTET_STRING_cmp"] |
| 9020 |
pub fn ASN1_OCTET_STRING_cmp( |
| 9021 |
a: *const ASN1_OCTET_STRING, |
| 9022 |
b: *const ASN1_OCTET_STRING, |
| 9023 |
) -> ::std::os::raw::c_int; |
| 9024 |
} |
| 9025 |
extern "C" { |
| 9026 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OCTET_STRING_set"] |
| 9027 |
pub fn ASN1_OCTET_STRING_set( |
| 9028 |
str_: *mut ASN1_OCTET_STRING, |
| 9029 |
data: *const ::std::os::raw::c_uchar, |
| 9030 |
len: ::std::os::raw::c_int, |
| 9031 |
) -> ::std::os::raw::c_int; |
| 9032 |
} |
| 9033 |
extern "C" { |
| 9034 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_to_UTF8"] |
| 9035 |
pub fn ASN1_STRING_to_UTF8( |
| 9036 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 9037 |
in_: *const ASN1_STRING, |
| 9038 |
) -> ::std::os::raw::c_int; |
| 9039 |
} |
| 9040 |
extern "C" { |
| 9041 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_mbstring_copy"] |
| 9042 |
pub fn ASN1_mbstring_copy( |
| 9043 |
out: *mut *mut ASN1_STRING, |
| 9044 |
in_: *const u8, |
| 9045 |
len: ossl_ssize_t, |
| 9046 |
inform: ::std::os::raw::c_int, |
| 9047 |
mask: ::std::os::raw::c_ulong, |
| 9048 |
) -> ::std::os::raw::c_int; |
| 9049 |
} |
| 9050 |
extern "C" { |
| 9051 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_mbstring_ncopy"] |
| 9052 |
pub fn ASN1_mbstring_ncopy( |
| 9053 |
out: *mut *mut ASN1_STRING, |
| 9054 |
in_: *const u8, |
| 9055 |
len: ossl_ssize_t, |
| 9056 |
inform: ::std::os::raw::c_int, |
| 9057 |
mask: ::std::os::raw::c_ulong, |
| 9058 |
minsize: ossl_ssize_t, |
| 9059 |
maxsize: ossl_ssize_t, |
| 9060 |
) -> ::std::os::raw::c_int; |
| 9061 |
} |
| 9062 |
extern "C" { |
| 9063 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_set_by_NID"] |
| 9064 |
pub fn ASN1_STRING_set_by_NID( |
| 9065 |
out: *mut *mut ASN1_STRING, |
| 9066 |
in_: *const ::std::os::raw::c_uchar, |
| 9067 |
len: ossl_ssize_t, |
| 9068 |
inform: ::std::os::raw::c_int, |
| 9069 |
nid: ::std::os::raw::c_int, |
| 9070 |
) -> *mut ASN1_STRING; |
| 9071 |
} |
| 9072 |
extern "C" { |
| 9073 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_TABLE_add"] |
| 9074 |
pub fn ASN1_STRING_TABLE_add( |
| 9075 |
nid: ::std::os::raw::c_int, |
| 9076 |
minsize: ::std::os::raw::c_long, |
| 9077 |
maxsize: ::std::os::raw::c_long, |
| 9078 |
mask: ::std::os::raw::c_ulong, |
| 9079 |
flags: ::std::os::raw::c_ulong, |
| 9080 |
) -> ::std::os::raw::c_int; |
| 9081 |
} |
| 9082 |
extern "C" { |
| 9083 |
#[link_name = "\u{1}aws_lc_0_41_0_DIRECTORYSTRING_new"] |
| 9084 |
pub fn DIRECTORYSTRING_new() -> *mut ASN1_STRING; |
| 9085 |
} |
| 9086 |
extern "C" { |
| 9087 |
#[link_name = "\u{1}aws_lc_0_41_0_DIRECTORYSTRING_free"] |
| 9088 |
pub fn DIRECTORYSTRING_free(str_: *mut ASN1_STRING); |
| 9089 |
} |
| 9090 |
extern "C" { |
| 9091 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DIRECTORYSTRING"] |
| 9092 |
pub fn d2i_DIRECTORYSTRING( |
| 9093 |
out: *mut *mut ASN1_STRING, |
| 9094 |
inp: *mut *const u8, |
| 9095 |
len: ::std::os::raw::c_long, |
| 9096 |
) -> *mut ASN1_STRING; |
| 9097 |
} |
| 9098 |
extern "C" { |
| 9099 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DIRECTORYSTRING"] |
| 9100 |
pub fn i2d_DIRECTORYSTRING( |
| 9101 |
in_: *const ASN1_STRING, |
| 9102 |
outp: *mut *mut u8, |
| 9103 |
) -> ::std::os::raw::c_int; |
| 9104 |
} |
| 9105 |
extern "C" { |
| 9106 |
#[link_name = "\u{1}aws_lc_0_41_0_DIRECTORYSTRING_it"] |
| 9107 |
pub static DIRECTORYSTRING_it: ASN1_ITEM; |
| 9108 |
} |
| 9109 |
extern "C" { |
| 9110 |
#[link_name = "\u{1}aws_lc_0_41_0_DISPLAYTEXT_new"] |
| 9111 |
pub fn DISPLAYTEXT_new() -> *mut ASN1_STRING; |
| 9112 |
} |
| 9113 |
extern "C" { |
| 9114 |
#[link_name = "\u{1}aws_lc_0_41_0_DISPLAYTEXT_free"] |
| 9115 |
pub fn DISPLAYTEXT_free(str_: *mut ASN1_STRING); |
| 9116 |
} |
| 9117 |
extern "C" { |
| 9118 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DISPLAYTEXT"] |
| 9119 |
pub fn d2i_DISPLAYTEXT( |
| 9120 |
out: *mut *mut ASN1_STRING, |
| 9121 |
inp: *mut *const u8, |
| 9122 |
len: ::std::os::raw::c_long, |
| 9123 |
) -> *mut ASN1_STRING; |
| 9124 |
} |
| 9125 |
extern "C" { |
| 9126 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DISPLAYTEXT"] |
| 9127 |
pub fn i2d_DISPLAYTEXT(in_: *const ASN1_STRING, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 9128 |
} |
| 9129 |
extern "C" { |
| 9130 |
#[link_name = "\u{1}aws_lc_0_41_0_DISPLAYTEXT_it"] |
| 9131 |
pub static DISPLAYTEXT_it: ASN1_ITEM; |
| 9132 |
} |
| 9133 |
extern "C" { |
| 9134 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BIT_STRING_new"] |
| 9135 |
pub fn ASN1_BIT_STRING_new() -> *mut ASN1_BIT_STRING; |
| 9136 |
} |
| 9137 |
extern "C" { |
| 9138 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BIT_STRING_free"] |
| 9139 |
pub fn ASN1_BIT_STRING_free(str_: *mut ASN1_BIT_STRING); |
| 9140 |
} |
| 9141 |
extern "C" { |
| 9142 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_BIT_STRING"] |
| 9143 |
pub fn d2i_ASN1_BIT_STRING( |
| 9144 |
out: *mut *mut ASN1_BIT_STRING, |
| 9145 |
inp: *mut *const u8, |
| 9146 |
len: ::std::os::raw::c_long, |
| 9147 |
) -> *mut ASN1_BIT_STRING; |
| 9148 |
} |
| 9149 |
extern "C" { |
| 9150 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_BIT_STRING"] |
| 9151 |
pub fn i2d_ASN1_BIT_STRING( |
| 9152 |
in_: *const ASN1_BIT_STRING, |
| 9153 |
outp: *mut *mut u8, |
| 9154 |
) -> ::std::os::raw::c_int; |
| 9155 |
} |
| 9156 |
extern "C" { |
| 9157 |
#[link_name = "\u{1}aws_lc_0_41_0_c2i_ASN1_BIT_STRING"] |
| 9158 |
pub fn c2i_ASN1_BIT_STRING( |
| 9159 |
out: *mut *mut ASN1_BIT_STRING, |
| 9160 |
inp: *mut *const u8, |
| 9161 |
len: ::std::os::raw::c_long, |
| 9162 |
) -> *mut ASN1_BIT_STRING; |
| 9163 |
} |
| 9164 |
extern "C" { |
| 9165 |
#[link_name = "\u{1}aws_lc_0_41_0_i2c_ASN1_BIT_STRING"] |
| 9166 |
pub fn i2c_ASN1_BIT_STRING( |
| 9167 |
in_: *const ASN1_BIT_STRING, |
| 9168 |
outp: *mut *mut u8, |
| 9169 |
) -> ::std::os::raw::c_int; |
| 9170 |
} |
| 9171 |
extern "C" { |
| 9172 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BIT_STRING_it"] |
| 9173 |
pub static ASN1_BIT_STRING_it: ASN1_ITEM; |
| 9174 |
} |
| 9175 |
extern "C" { |
| 9176 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BIT_STRING_num_bytes"] |
| 9177 |
pub fn ASN1_BIT_STRING_num_bytes( |
| 9178 |
str_: *const ASN1_BIT_STRING, |
| 9179 |
out: *mut usize, |
| 9180 |
) -> ::std::os::raw::c_int; |
| 9181 |
} |
| 9182 |
extern "C" { |
| 9183 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BIT_STRING_set"] |
| 9184 |
pub fn ASN1_BIT_STRING_set( |
| 9185 |
str_: *mut ASN1_BIT_STRING, |
| 9186 |
d: *const ::std::os::raw::c_uchar, |
| 9187 |
length: ossl_ssize_t, |
| 9188 |
) -> ::std::os::raw::c_int; |
| 9189 |
} |
| 9190 |
extern "C" { |
| 9191 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BIT_STRING_set_bit"] |
| 9192 |
pub fn ASN1_BIT_STRING_set_bit( |
| 9193 |
str_: *mut ASN1_BIT_STRING, |
| 9194 |
n: ::std::os::raw::c_int, |
| 9195 |
value: ::std::os::raw::c_int, |
| 9196 |
) -> ::std::os::raw::c_int; |
| 9197 |
} |
| 9198 |
extern "C" { |
| 9199 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BIT_STRING_get_bit"] |
| 9200 |
pub fn ASN1_BIT_STRING_get_bit( |
| 9201 |
str_: *const ASN1_BIT_STRING, |
| 9202 |
n: ::std::os::raw::c_int, |
| 9203 |
) -> ::std::os::raw::c_int; |
| 9204 |
} |
| 9205 |
extern "C" { |
| 9206 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_BIT_STRING_check"] |
| 9207 |
pub fn ASN1_BIT_STRING_check( |
| 9208 |
str_: *const ASN1_BIT_STRING, |
| 9209 |
flags: *const ::std::os::raw::c_uchar, |
| 9210 |
flags_len: ::std::os::raw::c_int, |
| 9211 |
) -> ::std::os::raw::c_int; |
| 9212 |
} |
| 9213 |
#[repr(C)] |
| 9214 |
#[derive(Debug, Copy, Clone)] |
| 9215 |
pub struct stack_st_ASN1_INTEGER { |
| 9216 |
_unused: [u8; 0], |
| 9217 |
} |
| 9218 |
pub type sk_ASN1_INTEGER_free_func = |
| 9219 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut ASN1_INTEGER)>; |
| 9220 |
pub type sk_ASN1_INTEGER_copy_func = |
| 9221 |
::std::option::Option<unsafe extern "C" fn(arg1: *const ASN1_INTEGER) -> *mut ASN1_INTEGER>; |
| 9222 |
pub type sk_ASN1_INTEGER_cmp_func = ::std::option::Option< |
| 9223 |
unsafe extern "C" fn( |
| 9224 |
arg1: *const *const ASN1_INTEGER, |
| 9225 |
arg2: *const *const ASN1_INTEGER, |
| 9226 |
) -> ::std::os::raw::c_int, |
| 9227 |
>; |
| 9228 |
pub type sk_ASN1_INTEGER_delete_if_func = ::std::option::Option< |
| 9229 |
unsafe extern "C" fn( |
| 9230 |
arg1: *mut ASN1_INTEGER, |
| 9231 |
arg2: *mut ::std::os::raw::c_void, |
| 9232 |
) -> ::std::os::raw::c_int, |
| 9233 |
>; |
| 9234 |
extern "C" { |
| 9235 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_new"] |
| 9236 |
pub fn ASN1_INTEGER_new() -> *mut ASN1_INTEGER; |
| 9237 |
} |
| 9238 |
extern "C" { |
| 9239 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_free"] |
| 9240 |
pub fn ASN1_INTEGER_free(str_: *mut ASN1_INTEGER); |
| 9241 |
} |
| 9242 |
extern "C" { |
| 9243 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_dup"] |
| 9244 |
pub fn ASN1_INTEGER_dup(x: *const ASN1_INTEGER) -> *mut ASN1_INTEGER; |
| 9245 |
} |
| 9246 |
extern "C" { |
| 9247 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_INTEGER"] |
| 9248 |
pub fn d2i_ASN1_INTEGER( |
| 9249 |
out: *mut *mut ASN1_INTEGER, |
| 9250 |
inp: *mut *const u8, |
| 9251 |
len: ::std::os::raw::c_long, |
| 9252 |
) -> *mut ASN1_INTEGER; |
| 9253 |
} |
| 9254 |
extern "C" { |
| 9255 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_INTEGER"] |
| 9256 |
pub fn i2d_ASN1_INTEGER(in_: *const ASN1_INTEGER, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 9257 |
} |
| 9258 |
extern "C" { |
| 9259 |
#[link_name = "\u{1}aws_lc_0_41_0_c2i_ASN1_INTEGER"] |
| 9260 |
pub fn c2i_ASN1_INTEGER( |
| 9261 |
in_: *mut *mut ASN1_INTEGER, |
| 9262 |
outp: *mut *const u8, |
| 9263 |
len: ::std::os::raw::c_long, |
| 9264 |
) -> *mut ASN1_INTEGER; |
| 9265 |
} |
| 9266 |
extern "C" { |
| 9267 |
#[link_name = "\u{1}aws_lc_0_41_0_i2c_ASN1_INTEGER"] |
| 9268 |
pub fn i2c_ASN1_INTEGER(in_: *const ASN1_INTEGER, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 9269 |
} |
| 9270 |
extern "C" { |
| 9271 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_it"] |
| 9272 |
pub static ASN1_INTEGER_it: ASN1_ITEM; |
| 9273 |
} |
| 9274 |
extern "C" { |
| 9275 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_set_uint64"] |
| 9276 |
pub fn ASN1_INTEGER_set_uint64(out: *mut ASN1_INTEGER, v: u64) -> ::std::os::raw::c_int; |
| 9277 |
} |
| 9278 |
extern "C" { |
| 9279 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_set_int64"] |
| 9280 |
pub fn ASN1_INTEGER_set_int64(out: *mut ASN1_INTEGER, v: i64) -> ::std::os::raw::c_int; |
| 9281 |
} |
| 9282 |
extern "C" { |
| 9283 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_get_uint64"] |
| 9284 |
pub fn ASN1_INTEGER_get_uint64(out: *mut u64, a: *const ASN1_INTEGER) -> ::std::os::raw::c_int; |
| 9285 |
} |
| 9286 |
extern "C" { |
| 9287 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_get_int64"] |
| 9288 |
pub fn ASN1_INTEGER_get_int64(out: *mut i64, a: *const ASN1_INTEGER) -> ::std::os::raw::c_int; |
| 9289 |
} |
| 9290 |
extern "C" { |
| 9291 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_to_ASN1_INTEGER"] |
| 9292 |
pub fn BN_to_ASN1_INTEGER(bn: *const BIGNUM, ai: *mut ASN1_INTEGER) -> *mut ASN1_INTEGER; |
| 9293 |
} |
| 9294 |
extern "C" { |
| 9295 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_to_BN"] |
| 9296 |
pub fn ASN1_INTEGER_to_BN(ai: *const ASN1_INTEGER, bn: *mut BIGNUM) -> *mut BIGNUM; |
| 9297 |
} |
| 9298 |
extern "C" { |
| 9299 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_cmp"] |
| 9300 |
pub fn ASN1_INTEGER_cmp( |
| 9301 |
x: *const ASN1_INTEGER, |
| 9302 |
y: *const ASN1_INTEGER, |
| 9303 |
) -> ::std::os::raw::c_int; |
| 9304 |
} |
| 9305 |
extern "C" { |
| 9306 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_new"] |
| 9307 |
pub fn ASN1_ENUMERATED_new() -> *mut ASN1_ENUMERATED; |
| 9308 |
} |
| 9309 |
extern "C" { |
| 9310 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_free"] |
| 9311 |
pub fn ASN1_ENUMERATED_free(str_: *mut ASN1_ENUMERATED); |
| 9312 |
} |
| 9313 |
extern "C" { |
| 9314 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_ENUMERATED"] |
| 9315 |
pub fn d2i_ASN1_ENUMERATED( |
| 9316 |
out: *mut *mut ASN1_ENUMERATED, |
| 9317 |
inp: *mut *const u8, |
| 9318 |
len: ::std::os::raw::c_long, |
| 9319 |
) -> *mut ASN1_ENUMERATED; |
| 9320 |
} |
| 9321 |
extern "C" { |
| 9322 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_ENUMERATED"] |
| 9323 |
pub fn i2d_ASN1_ENUMERATED( |
| 9324 |
in_: *const ASN1_ENUMERATED, |
| 9325 |
outp: *mut *mut u8, |
| 9326 |
) -> ::std::os::raw::c_int; |
| 9327 |
} |
| 9328 |
extern "C" { |
| 9329 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_it"] |
| 9330 |
pub static ASN1_ENUMERATED_it: ASN1_ITEM; |
| 9331 |
} |
| 9332 |
extern "C" { |
| 9333 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_set_uint64"] |
| 9334 |
pub fn ASN1_ENUMERATED_set_uint64(out: *mut ASN1_ENUMERATED, v: u64) -> ::std::os::raw::c_int; |
| 9335 |
} |
| 9336 |
extern "C" { |
| 9337 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_set_int64"] |
| 9338 |
pub fn ASN1_ENUMERATED_set_int64(out: *mut ASN1_ENUMERATED, v: i64) -> ::std::os::raw::c_int; |
| 9339 |
} |
| 9340 |
extern "C" { |
| 9341 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_get_uint64"] |
| 9342 |
pub fn ASN1_ENUMERATED_get_uint64( |
| 9343 |
out: *mut u64, |
| 9344 |
a: *const ASN1_ENUMERATED, |
| 9345 |
) -> ::std::os::raw::c_int; |
| 9346 |
} |
| 9347 |
extern "C" { |
| 9348 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_get_int64"] |
| 9349 |
pub fn ASN1_ENUMERATED_get_int64( |
| 9350 |
out: *mut i64, |
| 9351 |
a: *const ASN1_ENUMERATED, |
| 9352 |
) -> ::std::os::raw::c_int; |
| 9353 |
} |
| 9354 |
extern "C" { |
| 9355 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_to_ASN1_ENUMERATED"] |
| 9356 |
pub fn BN_to_ASN1_ENUMERATED( |
| 9357 |
bn: *const BIGNUM, |
| 9358 |
ai: *mut ASN1_ENUMERATED, |
| 9359 |
) -> *mut ASN1_ENUMERATED; |
| 9360 |
} |
| 9361 |
extern "C" { |
| 9362 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_to_BN"] |
| 9363 |
pub fn ASN1_ENUMERATED_to_BN(ai: *const ASN1_ENUMERATED, bn: *mut BIGNUM) -> *mut BIGNUM; |
| 9364 |
} |
| 9365 |
extern "C" { |
| 9366 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_new"] |
| 9367 |
pub fn ASN1_UTCTIME_new() -> *mut ASN1_UTCTIME; |
| 9368 |
} |
| 9369 |
extern "C" { |
| 9370 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_free"] |
| 9371 |
pub fn ASN1_UTCTIME_free(str_: *mut ASN1_UTCTIME); |
| 9372 |
} |
| 9373 |
extern "C" { |
| 9374 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_UTCTIME"] |
| 9375 |
pub fn d2i_ASN1_UTCTIME( |
| 9376 |
out: *mut *mut ASN1_UTCTIME, |
| 9377 |
inp: *mut *const u8, |
| 9378 |
len: ::std::os::raw::c_long, |
| 9379 |
) -> *mut ASN1_UTCTIME; |
| 9380 |
} |
| 9381 |
extern "C" { |
| 9382 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_UTCTIME"] |
| 9383 |
pub fn i2d_ASN1_UTCTIME(in_: *const ASN1_UTCTIME, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 9384 |
} |
| 9385 |
extern "C" { |
| 9386 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_it"] |
| 9387 |
pub static ASN1_UTCTIME_it: ASN1_ITEM; |
| 9388 |
} |
| 9389 |
extern "C" { |
| 9390 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_check"] |
| 9391 |
pub fn ASN1_UTCTIME_check(a: *const ASN1_UTCTIME) -> ::std::os::raw::c_int; |
| 9392 |
} |
| 9393 |
extern "C" { |
| 9394 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_set"] |
| 9395 |
pub fn ASN1_UTCTIME_set(s: *mut ASN1_UTCTIME, posix_time: i64) -> *mut ASN1_UTCTIME; |
| 9396 |
} |
| 9397 |
extern "C" { |
| 9398 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_adj"] |
| 9399 |
pub fn ASN1_UTCTIME_adj( |
| 9400 |
s: *mut ASN1_UTCTIME, |
| 9401 |
posix_time: i64, |
| 9402 |
offset_day: ::std::os::raw::c_int, |
| 9403 |
offset_sec: ::std::os::raw::c_long, |
| 9404 |
) -> *mut ASN1_UTCTIME; |
| 9405 |
} |
| 9406 |
extern "C" { |
| 9407 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_set_string"] |
| 9408 |
pub fn ASN1_UTCTIME_set_string( |
| 9409 |
s: *mut ASN1_UTCTIME, |
| 9410 |
str_: *const ::std::os::raw::c_char, |
| 9411 |
) -> ::std::os::raw::c_int; |
| 9412 |
} |
| 9413 |
extern "C" { |
| 9414 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_cmp_time_t"] |
| 9415 |
pub fn ASN1_UTCTIME_cmp_time_t(s: *const ASN1_UTCTIME, t: time_t) -> ::std::os::raw::c_int; |
| 9416 |
} |
| 9417 |
extern "C" { |
| 9418 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALIZEDTIME_new"] |
| 9419 |
pub fn ASN1_GENERALIZEDTIME_new() -> *mut ASN1_GENERALIZEDTIME; |
| 9420 |
} |
| 9421 |
extern "C" { |
| 9422 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALIZEDTIME_free"] |
| 9423 |
pub fn ASN1_GENERALIZEDTIME_free(str_: *mut ASN1_GENERALIZEDTIME); |
| 9424 |
} |
| 9425 |
extern "C" { |
| 9426 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_GENERALIZEDTIME"] |
| 9427 |
pub fn d2i_ASN1_GENERALIZEDTIME( |
| 9428 |
out: *mut *mut ASN1_GENERALIZEDTIME, |
| 9429 |
inp: *mut *const u8, |
| 9430 |
len: ::std::os::raw::c_long, |
| 9431 |
) -> *mut ASN1_GENERALIZEDTIME; |
| 9432 |
} |
| 9433 |
extern "C" { |
| 9434 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_GENERALIZEDTIME"] |
| 9435 |
pub fn i2d_ASN1_GENERALIZEDTIME( |
| 9436 |
in_: *const ASN1_GENERALIZEDTIME, |
| 9437 |
outp: *mut *mut u8, |
| 9438 |
) -> ::std::os::raw::c_int; |
| 9439 |
} |
| 9440 |
extern "C" { |
| 9441 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALIZEDTIME_it"] |
| 9442 |
pub static ASN1_GENERALIZEDTIME_it: ASN1_ITEM; |
| 9443 |
} |
| 9444 |
extern "C" { |
| 9445 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALIZEDTIME_check"] |
| 9446 |
pub fn ASN1_GENERALIZEDTIME_check(a: *const ASN1_GENERALIZEDTIME) -> ::std::os::raw::c_int; |
| 9447 |
} |
| 9448 |
extern "C" { |
| 9449 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALIZEDTIME_set"] |
| 9450 |
pub fn ASN1_GENERALIZEDTIME_set( |
| 9451 |
s: *mut ASN1_GENERALIZEDTIME, |
| 9452 |
posix_time: i64, |
| 9453 |
) -> *mut ASN1_GENERALIZEDTIME; |
| 9454 |
} |
| 9455 |
extern "C" { |
| 9456 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALIZEDTIME_adj"] |
| 9457 |
pub fn ASN1_GENERALIZEDTIME_adj( |
| 9458 |
s: *mut ASN1_GENERALIZEDTIME, |
| 9459 |
posix_time: i64, |
| 9460 |
offset_day: ::std::os::raw::c_int, |
| 9461 |
offset_sec: ::std::os::raw::c_long, |
| 9462 |
) -> *mut ASN1_GENERALIZEDTIME; |
| 9463 |
} |
| 9464 |
extern "C" { |
| 9465 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALIZEDTIME_set_string"] |
| 9466 |
pub fn ASN1_GENERALIZEDTIME_set_string( |
| 9467 |
s: *mut ASN1_GENERALIZEDTIME, |
| 9468 |
str_: *const ::std::os::raw::c_char, |
| 9469 |
) -> ::std::os::raw::c_int; |
| 9470 |
} |
| 9471 |
extern "C" { |
| 9472 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_new"] |
| 9473 |
pub fn ASN1_TIME_new() -> *mut ASN1_TIME; |
| 9474 |
} |
| 9475 |
extern "C" { |
| 9476 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_free"] |
| 9477 |
pub fn ASN1_TIME_free(str_: *mut ASN1_TIME); |
| 9478 |
} |
| 9479 |
extern "C" { |
| 9480 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_TIME"] |
| 9481 |
pub fn d2i_ASN1_TIME( |
| 9482 |
out: *mut *mut ASN1_TIME, |
| 9483 |
inp: *mut *const u8, |
| 9484 |
len: ::std::os::raw::c_long, |
| 9485 |
) -> *mut ASN1_TIME; |
| 9486 |
} |
| 9487 |
extern "C" { |
| 9488 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_TIME"] |
| 9489 |
pub fn i2d_ASN1_TIME(in_: *const ASN1_TIME, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 9490 |
} |
| 9491 |
extern "C" { |
| 9492 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_it"] |
| 9493 |
pub static ASN1_TIME_it: ASN1_ITEM; |
| 9494 |
} |
| 9495 |
extern "C" { |
| 9496 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_diff"] |
| 9497 |
pub fn ASN1_TIME_diff( |
| 9498 |
out_days: *mut ::std::os::raw::c_int, |
| 9499 |
out_seconds: *mut ::std::os::raw::c_int, |
| 9500 |
from: *const ASN1_TIME, |
| 9501 |
to: *const ASN1_TIME, |
| 9502 |
) -> ::std::os::raw::c_int; |
| 9503 |
} |
| 9504 |
extern "C" { |
| 9505 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_set_posix"] |
| 9506 |
pub fn ASN1_TIME_set_posix(s: *mut ASN1_TIME, posix_time: i64) -> *mut ASN1_TIME; |
| 9507 |
} |
| 9508 |
extern "C" { |
| 9509 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_set"] |
| 9510 |
pub fn ASN1_TIME_set(s: *mut ASN1_TIME, time: time_t) -> *mut ASN1_TIME; |
| 9511 |
} |
| 9512 |
extern "C" { |
| 9513 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_adj"] |
| 9514 |
pub fn ASN1_TIME_adj( |
| 9515 |
s: *mut ASN1_TIME, |
| 9516 |
posix_time: i64, |
| 9517 |
offset_day: ::std::os::raw::c_int, |
| 9518 |
offset_sec: ::std::os::raw::c_long, |
| 9519 |
) -> *mut ASN1_TIME; |
| 9520 |
} |
| 9521 |
extern "C" { |
| 9522 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_check"] |
| 9523 |
pub fn ASN1_TIME_check(t: *const ASN1_TIME) -> ::std::os::raw::c_int; |
| 9524 |
} |
| 9525 |
extern "C" { |
| 9526 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_to_generalizedtime"] |
| 9527 |
pub fn ASN1_TIME_to_generalizedtime( |
| 9528 |
t: *const ASN1_TIME, |
| 9529 |
out: *mut *mut ASN1_GENERALIZEDTIME, |
| 9530 |
) -> *mut ASN1_GENERALIZEDTIME; |
| 9531 |
} |
| 9532 |
extern "C" { |
| 9533 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_set_string"] |
| 9534 |
pub fn ASN1_TIME_set_string( |
| 9535 |
s: *mut ASN1_TIME, |
| 9536 |
str_: *const ::std::os::raw::c_char, |
| 9537 |
) -> ::std::os::raw::c_int; |
| 9538 |
} |
| 9539 |
extern "C" { |
| 9540 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_to_tm"] |
| 9541 |
pub fn ASN1_TIME_to_tm(t: *const ASN1_TIME, out: *mut tm) -> ::std::os::raw::c_int; |
| 9542 |
} |
| 9543 |
extern "C" { |
| 9544 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_set_string_X509"] |
| 9545 |
pub fn ASN1_TIME_set_string_X509( |
| 9546 |
s: *mut ASN1_TIME, |
| 9547 |
str_: *const ::std::os::raw::c_char, |
| 9548 |
) -> ::std::os::raw::c_int; |
| 9549 |
} |
| 9550 |
extern "C" { |
| 9551 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_to_time_t"] |
| 9552 |
pub fn ASN1_TIME_to_time_t(t: *const ASN1_TIME, out: *mut time_t) -> ::std::os::raw::c_int; |
| 9553 |
} |
| 9554 |
extern "C" { |
| 9555 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_to_posix"] |
| 9556 |
pub fn ASN1_TIME_to_posix(t: *const ASN1_TIME, out: *mut i64) -> ::std::os::raw::c_int; |
| 9557 |
} |
| 9558 |
extern "C" { |
| 9559 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_NULL_new"] |
| 9560 |
pub fn ASN1_NULL_new() -> *mut ASN1_NULL; |
| 9561 |
} |
| 9562 |
extern "C" { |
| 9563 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_NULL_free"] |
| 9564 |
pub fn ASN1_NULL_free(null: *mut ASN1_NULL); |
| 9565 |
} |
| 9566 |
extern "C" { |
| 9567 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_NULL"] |
| 9568 |
pub fn d2i_ASN1_NULL( |
| 9569 |
out: *mut *mut ASN1_NULL, |
| 9570 |
inp: *mut *const u8, |
| 9571 |
len: ::std::os::raw::c_long, |
| 9572 |
) -> *mut ASN1_NULL; |
| 9573 |
} |
| 9574 |
extern "C" { |
| 9575 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_NULL"] |
| 9576 |
pub fn i2d_ASN1_NULL(in_: *const ASN1_NULL, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 9577 |
} |
| 9578 |
extern "C" { |
| 9579 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_NULL_it"] |
| 9580 |
pub static ASN1_NULL_it: ASN1_ITEM; |
| 9581 |
} |
| 9582 |
#[repr(C)] |
| 9583 |
#[derive(Debug, Copy, Clone)] |
| 9584 |
pub struct stack_st_ASN1_OBJECT { |
| 9585 |
_unused: [u8; 0], |
| 9586 |
} |
| 9587 |
pub type sk_ASN1_OBJECT_free_func = |
| 9588 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut ASN1_OBJECT)>; |
| 9589 |
pub type sk_ASN1_OBJECT_copy_func = |
| 9590 |
::std::option::Option<unsafe extern "C" fn(arg1: *const ASN1_OBJECT) -> *mut ASN1_OBJECT>; |
| 9591 |
pub type sk_ASN1_OBJECT_cmp_func = ::std::option::Option< |
| 9592 |
unsafe extern "C" fn( |
| 9593 |
arg1: *const *const ASN1_OBJECT, |
| 9594 |
arg2: *const *const ASN1_OBJECT, |
| 9595 |
) -> ::std::os::raw::c_int, |
| 9596 |
>; |
| 9597 |
pub type sk_ASN1_OBJECT_delete_if_func = ::std::option::Option< |
| 9598 |
unsafe extern "C" fn( |
| 9599 |
arg1: *mut ASN1_OBJECT, |
| 9600 |
arg2: *mut ::std::os::raw::c_void, |
| 9601 |
) -> ::std::os::raw::c_int, |
| 9602 |
>; |
| 9603 |
extern "C" { |
| 9604 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OBJECT_create"] |
| 9605 |
pub fn ASN1_OBJECT_create( |
| 9606 |
nid: ::std::os::raw::c_int, |
| 9607 |
data: *const u8, |
| 9608 |
len: usize, |
| 9609 |
sn: *const ::std::os::raw::c_char, |
| 9610 |
ln: *const ::std::os::raw::c_char, |
| 9611 |
) -> *mut ASN1_OBJECT; |
| 9612 |
} |
| 9613 |
extern "C" { |
| 9614 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OBJECT_free"] |
| 9615 |
pub fn ASN1_OBJECT_free(a: *mut ASN1_OBJECT); |
| 9616 |
} |
| 9617 |
extern "C" { |
| 9618 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_OBJECT"] |
| 9619 |
pub fn d2i_ASN1_OBJECT( |
| 9620 |
out: *mut *mut ASN1_OBJECT, |
| 9621 |
inp: *mut *const u8, |
| 9622 |
len: ::std::os::raw::c_long, |
| 9623 |
) -> *mut ASN1_OBJECT; |
| 9624 |
} |
| 9625 |
extern "C" { |
| 9626 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_OBJECT"] |
| 9627 |
pub fn i2d_ASN1_OBJECT(in_: *const ASN1_OBJECT, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 9628 |
} |
| 9629 |
extern "C" { |
| 9630 |
#[link_name = "\u{1}aws_lc_0_41_0_c2i_ASN1_OBJECT"] |
| 9631 |
pub fn c2i_ASN1_OBJECT( |
| 9632 |
out: *mut *mut ASN1_OBJECT, |
| 9633 |
inp: *mut *const u8, |
| 9634 |
len: ::std::os::raw::c_long, |
| 9635 |
) -> *mut ASN1_OBJECT; |
| 9636 |
} |
| 9637 |
extern "C" { |
| 9638 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_OBJECT_it"] |
| 9639 |
pub static ASN1_OBJECT_it: ASN1_ITEM; |
| 9640 |
} |
| 9641 |
#[repr(C)] |
| 9642 |
#[derive(Copy, Clone)] |
| 9643 |
pub struct asn1_type_st { |
| 9644 |
pub type_: ::std::os::raw::c_int, |
| 9645 |
pub value: asn1_type_st__bindgen_ty_1, |
| 9646 |
} |
| 9647 |
#[repr(C)] |
| 9648 |
#[derive(Copy, Clone)] |
| 9649 |
pub union asn1_type_st__bindgen_ty_1 { |
| 9650 |
pub ptr: *mut ::std::os::raw::c_char, |
| 9651 |
pub boolean: ASN1_BOOLEAN, |
| 9652 |
pub asn1_string: *mut ASN1_STRING, |
| 9653 |
pub object: *mut ASN1_OBJECT, |
| 9654 |
pub integer: *mut ASN1_INTEGER, |
| 9655 |
pub enumerated: *mut ASN1_ENUMERATED, |
| 9656 |
pub bit_string: *mut ASN1_BIT_STRING, |
| 9657 |
pub octet_string: *mut ASN1_OCTET_STRING, |
| 9658 |
pub printablestring: *mut ASN1_PRINTABLESTRING, |
| 9659 |
pub t61string: *mut ASN1_T61STRING, |
| 9660 |
pub ia5string: *mut ASN1_IA5STRING, |
| 9661 |
pub generalstring: *mut ASN1_GENERALSTRING, |
| 9662 |
pub bmpstring: *mut ASN1_BMPSTRING, |
| 9663 |
pub universalstring: *mut ASN1_UNIVERSALSTRING, |
| 9664 |
pub utctime: *mut ASN1_UTCTIME, |
| 9665 |
pub generalizedtime: *mut ASN1_GENERALIZEDTIME, |
| 9666 |
pub visiblestring: *mut ASN1_VISIBLESTRING, |
| 9667 |
pub utf8string: *mut ASN1_UTF8STRING, |
| 9668 |
pub set: *mut ASN1_STRING, |
| 9669 |
pub sequence: *mut ASN1_STRING, |
| 9670 |
pub asn1_value: *mut ASN1_VALUE, |
| 9671 |
} |
| 9672 |
#[test] |
| 9673 |
fn bindgen_test_layout_asn1_type_st__bindgen_ty_1() { |
| 9674 |
const UNINIT: ::std::mem::MaybeUninit<asn1_type_st__bindgen_ty_1> = |
| 9675 |
::std::mem::MaybeUninit::uninit(); |
| 9676 |
let ptr = UNINIT.as_ptr(); |
| 9677 |
assert_eq!( |
| 9678 |
::std::mem::size_of::<asn1_type_st__bindgen_ty_1>(), |
| 9679 |
8usize, |
| 9680 |
"Size of asn1_type_st__bindgen_ty_1" |
| 9681 |
); |
| 9682 |
assert_eq!( |
| 9683 |
::std::mem::align_of::<asn1_type_st__bindgen_ty_1>(), |
| 9684 |
8usize, |
| 9685 |
"Alignment of asn1_type_st__bindgen_ty_1" |
| 9686 |
); |
| 9687 |
assert_eq!( |
| 9688 |
unsafe { ::std::ptr::addr_of!((*ptr).ptr) as usize - ptr as usize }, |
| 9689 |
0usize, |
| 9690 |
"Offset of field: asn1_type_st__bindgen_ty_1::ptr" |
| 9691 |
); |
| 9692 |
assert_eq!( |
| 9693 |
unsafe { ::std::ptr::addr_of!((*ptr).boolean) as usize - ptr as usize }, |
| 9694 |
0usize, |
| 9695 |
"Offset of field: asn1_type_st__bindgen_ty_1::boolean" |
| 9696 |
); |
| 9697 |
assert_eq!( |
| 9698 |
unsafe { ::std::ptr::addr_of!((*ptr).asn1_string) as usize - ptr as usize }, |
| 9699 |
0usize, |
| 9700 |
"Offset of field: asn1_type_st__bindgen_ty_1::asn1_string" |
| 9701 |
); |
| 9702 |
assert_eq!( |
| 9703 |
unsafe { ::std::ptr::addr_of!((*ptr).object) as usize - ptr as usize }, |
| 9704 |
0usize, |
| 9705 |
"Offset of field: asn1_type_st__bindgen_ty_1::object" |
| 9706 |
); |
| 9707 |
assert_eq!( |
| 9708 |
unsafe { ::std::ptr::addr_of!((*ptr).integer) as usize - ptr as usize }, |
| 9709 |
0usize, |
| 9710 |
"Offset of field: asn1_type_st__bindgen_ty_1::integer" |
| 9711 |
); |
| 9712 |
assert_eq!( |
| 9713 |
unsafe { ::std::ptr::addr_of!((*ptr).enumerated) as usize - ptr as usize }, |
| 9714 |
0usize, |
| 9715 |
"Offset of field: asn1_type_st__bindgen_ty_1::enumerated" |
| 9716 |
); |
| 9717 |
assert_eq!( |
| 9718 |
unsafe { ::std::ptr::addr_of!((*ptr).bit_string) as usize - ptr as usize }, |
| 9719 |
0usize, |
| 9720 |
"Offset of field: asn1_type_st__bindgen_ty_1::bit_string" |
| 9721 |
); |
| 9722 |
assert_eq!( |
| 9723 |
unsafe { ::std::ptr::addr_of!((*ptr).octet_string) as usize - ptr as usize }, |
| 9724 |
0usize, |
| 9725 |
"Offset of field: asn1_type_st__bindgen_ty_1::octet_string" |
| 9726 |
); |
| 9727 |
assert_eq!( |
| 9728 |
unsafe { ::std::ptr::addr_of!((*ptr).printablestring) as usize - ptr as usize }, |
| 9729 |
0usize, |
| 9730 |
"Offset of field: asn1_type_st__bindgen_ty_1::printablestring" |
| 9731 |
); |
| 9732 |
assert_eq!( |
| 9733 |
unsafe { ::std::ptr::addr_of!((*ptr).t61string) as usize - ptr as usize }, |
| 9734 |
0usize, |
| 9735 |
"Offset of field: asn1_type_st__bindgen_ty_1::t61string" |
| 9736 |
); |
| 9737 |
assert_eq!( |
| 9738 |
unsafe { ::std::ptr::addr_of!((*ptr).ia5string) as usize - ptr as usize }, |
| 9739 |
0usize, |
| 9740 |
"Offset of field: asn1_type_st__bindgen_ty_1::ia5string" |
| 9741 |
); |
| 9742 |
assert_eq!( |
| 9743 |
unsafe { ::std::ptr::addr_of!((*ptr).generalstring) as usize - ptr as usize }, |
| 9744 |
0usize, |
| 9745 |
"Offset of field: asn1_type_st__bindgen_ty_1::generalstring" |
| 9746 |
); |
| 9747 |
assert_eq!( |
| 9748 |
unsafe { ::std::ptr::addr_of!((*ptr).bmpstring) as usize - ptr as usize }, |
| 9749 |
0usize, |
| 9750 |
"Offset of field: asn1_type_st__bindgen_ty_1::bmpstring" |
| 9751 |
); |
| 9752 |
assert_eq!( |
| 9753 |
unsafe { ::std::ptr::addr_of!((*ptr).universalstring) as usize - ptr as usize }, |
| 9754 |
0usize, |
| 9755 |
"Offset of field: asn1_type_st__bindgen_ty_1::universalstring" |
| 9756 |
); |
| 9757 |
assert_eq!( |
| 9758 |
unsafe { ::std::ptr::addr_of!((*ptr).utctime) as usize - ptr as usize }, |
| 9759 |
0usize, |
| 9760 |
"Offset of field: asn1_type_st__bindgen_ty_1::utctime" |
| 9761 |
); |
| 9762 |
assert_eq!( |
| 9763 |
unsafe { ::std::ptr::addr_of!((*ptr).generalizedtime) as usize - ptr as usize }, |
| 9764 |
0usize, |
| 9765 |
"Offset of field: asn1_type_st__bindgen_ty_1::generalizedtime" |
| 9766 |
); |
| 9767 |
assert_eq!( |
| 9768 |
unsafe { ::std::ptr::addr_of!((*ptr).visiblestring) as usize - ptr as usize }, |
| 9769 |
0usize, |
| 9770 |
"Offset of field: asn1_type_st__bindgen_ty_1::visiblestring" |
| 9771 |
); |
| 9772 |
assert_eq!( |
| 9773 |
unsafe { ::std::ptr::addr_of!((*ptr).utf8string) as usize - ptr as usize }, |
| 9774 |
0usize, |
| 9775 |
"Offset of field: asn1_type_st__bindgen_ty_1::utf8string" |
| 9776 |
); |
| 9777 |
assert_eq!( |
| 9778 |
unsafe { ::std::ptr::addr_of!((*ptr).set) as usize - ptr as usize }, |
| 9779 |
0usize, |
| 9780 |
"Offset of field: asn1_type_st__bindgen_ty_1::set" |
| 9781 |
); |
| 9782 |
assert_eq!( |
| 9783 |
unsafe { ::std::ptr::addr_of!((*ptr).sequence) as usize - ptr as usize }, |
| 9784 |
0usize, |
| 9785 |
"Offset of field: asn1_type_st__bindgen_ty_1::sequence" |
| 9786 |
); |
| 9787 |
assert_eq!( |
| 9788 |
unsafe { ::std::ptr::addr_of!((*ptr).asn1_value) as usize - ptr as usize }, |
| 9789 |
0usize, |
| 9790 |
"Offset of field: asn1_type_st__bindgen_ty_1::asn1_value" |
| 9791 |
); |
| 9792 |
} |
| 9793 |
impl Default for asn1_type_st__bindgen_ty_1 { |
| 9794 |
fn default() -> Self { |
| 9795 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 9796 |
unsafe { |
| 9797 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 9798 |
s.assume_init() |
| 9799 |
} |
| 9800 |
} |
| 9801 |
} |
| 9802 |
#[test] |
| 9803 |
fn bindgen_test_layout_asn1_type_st() { |
| 9804 |
const UNINIT: ::std::mem::MaybeUninit<asn1_type_st> = ::std::mem::MaybeUninit::uninit(); |
| 9805 |
let ptr = UNINIT.as_ptr(); |
| 9806 |
assert_eq!( |
| 9807 |
::std::mem::size_of::<asn1_type_st>(), |
| 9808 |
16usize, |
| 9809 |
"Size of asn1_type_st" |
| 9810 |
); |
| 9811 |
assert_eq!( |
| 9812 |
::std::mem::align_of::<asn1_type_st>(), |
| 9813 |
8usize, |
| 9814 |
"Alignment of asn1_type_st" |
| 9815 |
); |
| 9816 |
assert_eq!( |
| 9817 |
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, |
| 9818 |
0usize, |
| 9819 |
"Offset of field: asn1_type_st::type_" |
| 9820 |
); |
| 9821 |
assert_eq!( |
| 9822 |
unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize }, |
| 9823 |
8usize, |
| 9824 |
"Offset of field: asn1_type_st::value" |
| 9825 |
); |
| 9826 |
} |
| 9827 |
impl Default for asn1_type_st { |
| 9828 |
fn default() -> Self { |
| 9829 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 9830 |
unsafe { |
| 9831 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 9832 |
s.assume_init() |
| 9833 |
} |
| 9834 |
} |
| 9835 |
} |
| 9836 |
#[repr(C)] |
| 9837 |
#[derive(Debug, Copy, Clone)] |
| 9838 |
pub struct stack_st_ASN1_TYPE { |
| 9839 |
_unused: [u8; 0], |
| 9840 |
} |
| 9841 |
pub type sk_ASN1_TYPE_free_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut ASN1_TYPE)>; |
| 9842 |
pub type sk_ASN1_TYPE_copy_func = |
| 9843 |
::std::option::Option<unsafe extern "C" fn(arg1: *const ASN1_TYPE) -> *mut ASN1_TYPE>; |
| 9844 |
pub type sk_ASN1_TYPE_cmp_func = ::std::option::Option< |
| 9845 |
unsafe extern "C" fn( |
| 9846 |
arg1: *const *const ASN1_TYPE, |
| 9847 |
arg2: *const *const ASN1_TYPE, |
| 9848 |
) -> ::std::os::raw::c_int, |
| 9849 |
>; |
| 9850 |
pub type sk_ASN1_TYPE_delete_if_func = ::std::option::Option< |
| 9851 |
unsafe extern "C" fn( |
| 9852 |
arg1: *mut ASN1_TYPE, |
| 9853 |
arg2: *mut ::std::os::raw::c_void, |
| 9854 |
) -> ::std::os::raw::c_int, |
| 9855 |
>; |
| 9856 |
extern "C" { |
| 9857 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TYPE_new"] |
| 9858 |
pub fn ASN1_TYPE_new() -> *mut ASN1_TYPE; |
| 9859 |
} |
| 9860 |
extern "C" { |
| 9861 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TYPE_free"] |
| 9862 |
pub fn ASN1_TYPE_free(a: *mut ASN1_TYPE); |
| 9863 |
} |
| 9864 |
extern "C" { |
| 9865 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_TYPE"] |
| 9866 |
pub fn d2i_ASN1_TYPE( |
| 9867 |
out: *mut *mut ASN1_TYPE, |
| 9868 |
inp: *mut *const u8, |
| 9869 |
len: ::std::os::raw::c_long, |
| 9870 |
) -> *mut ASN1_TYPE; |
| 9871 |
} |
| 9872 |
extern "C" { |
| 9873 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_TYPE"] |
| 9874 |
pub fn i2d_ASN1_TYPE(in_: *const ASN1_TYPE, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 9875 |
} |
| 9876 |
extern "C" { |
| 9877 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ANY_it"] |
| 9878 |
pub static ASN1_ANY_it: ASN1_ITEM; |
| 9879 |
} |
| 9880 |
extern "C" { |
| 9881 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TYPE_get"] |
| 9882 |
pub fn ASN1_TYPE_get(a: *const ASN1_TYPE) -> ::std::os::raw::c_int; |
| 9883 |
} |
| 9884 |
extern "C" { |
| 9885 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TYPE_set"] |
| 9886 |
pub fn ASN1_TYPE_set( |
| 9887 |
a: *mut ASN1_TYPE, |
| 9888 |
type_: ::std::os::raw::c_int, |
| 9889 |
value: *mut ::std::os::raw::c_void, |
| 9890 |
); |
| 9891 |
} |
| 9892 |
extern "C" { |
| 9893 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TYPE_set1"] |
| 9894 |
pub fn ASN1_TYPE_set1( |
| 9895 |
a: *mut ASN1_TYPE, |
| 9896 |
type_: ::std::os::raw::c_int, |
| 9897 |
value: *const ::std::os::raw::c_void, |
| 9898 |
) -> ::std::os::raw::c_int; |
| 9899 |
} |
| 9900 |
extern "C" { |
| 9901 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TYPE_cmp"] |
| 9902 |
pub fn ASN1_TYPE_cmp(a: *const ASN1_TYPE, b: *const ASN1_TYPE) -> ::std::os::raw::c_int; |
| 9903 |
} |
| 9904 |
pub type ASN1_SEQUENCE_ANY = stack_st_ASN1_TYPE; |
| 9905 |
extern "C" { |
| 9906 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_SEQUENCE_ANY"] |
| 9907 |
pub fn d2i_ASN1_SEQUENCE_ANY( |
| 9908 |
out: *mut *mut ASN1_SEQUENCE_ANY, |
| 9909 |
inp: *mut *const u8, |
| 9910 |
len: ::std::os::raw::c_long, |
| 9911 |
) -> *mut ASN1_SEQUENCE_ANY; |
| 9912 |
} |
| 9913 |
extern "C" { |
| 9914 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_SEQUENCE_ANY"] |
| 9915 |
pub fn i2d_ASN1_SEQUENCE_ANY( |
| 9916 |
in_: *const ASN1_SEQUENCE_ANY, |
| 9917 |
outp: *mut *mut u8, |
| 9918 |
) -> ::std::os::raw::c_int; |
| 9919 |
} |
| 9920 |
extern "C" { |
| 9921 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_SET_ANY"] |
| 9922 |
pub fn d2i_ASN1_SET_ANY( |
| 9923 |
out: *mut *mut ASN1_SEQUENCE_ANY, |
| 9924 |
inp: *mut *const u8, |
| 9925 |
len: ::std::os::raw::c_long, |
| 9926 |
) -> *mut ASN1_SEQUENCE_ANY; |
| 9927 |
} |
| 9928 |
extern "C" { |
| 9929 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_SET_ANY"] |
| 9930 |
pub fn i2d_ASN1_SET_ANY( |
| 9931 |
in_: *const ASN1_SEQUENCE_ANY, |
| 9932 |
outp: *mut *mut u8, |
| 9933 |
) -> ::std::os::raw::c_int; |
| 9934 |
} |
| 9935 |
extern "C" { |
| 9936 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_UTCTIME_print"] |
| 9937 |
pub fn ASN1_UTCTIME_print(out: *mut BIO, a: *const ASN1_UTCTIME) -> ::std::os::raw::c_int; |
| 9938 |
} |
| 9939 |
extern "C" { |
| 9940 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_GENERALIZEDTIME_print"] |
| 9941 |
pub fn ASN1_GENERALIZEDTIME_print( |
| 9942 |
out: *mut BIO, |
| 9943 |
a: *const ASN1_GENERALIZEDTIME, |
| 9944 |
) -> ::std::os::raw::c_int; |
| 9945 |
} |
| 9946 |
extern "C" { |
| 9947 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_TIME_print"] |
| 9948 |
pub fn ASN1_TIME_print(out: *mut BIO, a: *const ASN1_TIME) -> ::std::os::raw::c_int; |
| 9949 |
} |
| 9950 |
extern "C" { |
| 9951 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_print"] |
| 9952 |
pub fn ASN1_STRING_print(out: *mut BIO, str_: *const ASN1_STRING) -> ::std::os::raw::c_int; |
| 9953 |
} |
| 9954 |
extern "C" { |
| 9955 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_print_ex"] |
| 9956 |
pub fn ASN1_STRING_print_ex( |
| 9957 |
out: *mut BIO, |
| 9958 |
str_: *const ASN1_STRING, |
| 9959 |
flags: ::std::os::raw::c_ulong, |
| 9960 |
) -> ::std::os::raw::c_int; |
| 9961 |
} |
| 9962 |
extern "C" { |
| 9963 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_print_ex_fp"] |
| 9964 |
pub fn ASN1_STRING_print_ex_fp( |
| 9965 |
fp: *mut FILE, |
| 9966 |
str_: *const ASN1_STRING, |
| 9967 |
flags: ::std::os::raw::c_ulong, |
| 9968 |
) -> ::std::os::raw::c_int; |
| 9969 |
} |
| 9970 |
extern "C" { |
| 9971 |
#[link_name = "\u{1}aws_lc_0_41_0_a2i_ASN1_INTEGER"] |
| 9972 |
pub fn a2i_ASN1_INTEGER( |
| 9973 |
bp: *mut BIO, |
| 9974 |
bs: *mut ASN1_INTEGER, |
| 9975 |
buf: *mut ::std::os::raw::c_char, |
| 9976 |
size: ::std::os::raw::c_int, |
| 9977 |
) -> ::std::os::raw::c_int; |
| 9978 |
} |
| 9979 |
extern "C" { |
| 9980 |
#[link_name = "\u{1}aws_lc_0_41_0_i2a_ASN1_INTEGER"] |
| 9981 |
pub fn i2a_ASN1_INTEGER(bp: *mut BIO, a: *const ASN1_INTEGER) -> ::std::os::raw::c_int; |
| 9982 |
} |
| 9983 |
extern "C" { |
| 9984 |
#[link_name = "\u{1}aws_lc_0_41_0_i2a_ASN1_ENUMERATED"] |
| 9985 |
pub fn i2a_ASN1_ENUMERATED(bp: *mut BIO, a: *const ASN1_ENUMERATED) -> ::std::os::raw::c_int; |
| 9986 |
} |
| 9987 |
extern "C" { |
| 9988 |
#[link_name = "\u{1}aws_lc_0_41_0_i2a_ASN1_OBJECT"] |
| 9989 |
pub fn i2a_ASN1_OBJECT(bp: *mut BIO, a: *const ASN1_OBJECT) -> ::std::os::raw::c_int; |
| 9990 |
} |
| 9991 |
extern "C" { |
| 9992 |
#[link_name = "\u{1}aws_lc_0_41_0_i2a_ASN1_STRING"] |
| 9993 |
pub fn i2a_ASN1_STRING( |
| 9994 |
bp: *mut BIO, |
| 9995 |
a: *const ASN1_STRING, |
| 9996 |
type_: ::std::os::raw::c_int, |
| 9997 |
) -> ::std::os::raw::c_int; |
| 9998 |
} |
| 9999 |
extern "C" { |
| 10000 |
#[link_name = "\u{1}aws_lc_0_41_0_i2t_ASN1_OBJECT"] |
| 10001 |
pub fn i2t_ASN1_OBJECT( |
| 10002 |
buf: *mut ::std::os::raw::c_char, |
| 10003 |
buf_len: ::std::os::raw::c_int, |
| 10004 |
a: *const ASN1_OBJECT, |
| 10005 |
) -> ::std::os::raw::c_int; |
| 10006 |
} |
| 10007 |
extern "C" { |
| 10008 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_get_object"] |
| 10009 |
pub fn ASN1_get_object( |
| 10010 |
inp: *mut *const ::std::os::raw::c_uchar, |
| 10011 |
out_length: *mut ::std::os::raw::c_long, |
| 10012 |
out_tag: *mut ::std::os::raw::c_int, |
| 10013 |
out_class: *mut ::std::os::raw::c_int, |
| 10014 |
max_len: ::std::os::raw::c_long, |
| 10015 |
) -> ::std::os::raw::c_int; |
| 10016 |
} |
| 10017 |
extern "C" { |
| 10018 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_put_object"] |
| 10019 |
pub fn ASN1_put_object( |
| 10020 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 10021 |
constructed: ::std::os::raw::c_int, |
| 10022 |
length: ::std::os::raw::c_int, |
| 10023 |
tag: ::std::os::raw::c_int, |
| 10024 |
xclass: ::std::os::raw::c_int, |
| 10025 |
); |
| 10026 |
} |
| 10027 |
extern "C" { |
| 10028 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_put_eoc"] |
| 10029 |
pub fn ASN1_put_eoc(outp: *mut *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; |
| 10030 |
} |
| 10031 |
extern "C" { |
| 10032 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_object_size"] |
| 10033 |
pub fn ASN1_object_size( |
| 10034 |
constructed: ::std::os::raw::c_int, |
| 10035 |
length: ::std::os::raw::c_int, |
| 10036 |
tag: ::std::os::raw::c_int, |
| 10037 |
) -> ::std::os::raw::c_int; |
| 10038 |
} |
| 10039 |
extern "C" { |
| 10040 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_PRINTABLE_new"] |
| 10041 |
pub fn ASN1_PRINTABLE_new() -> *mut ASN1_STRING; |
| 10042 |
} |
| 10043 |
extern "C" { |
| 10044 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_PRINTABLE_free"] |
| 10045 |
pub fn ASN1_PRINTABLE_free(str_: *mut ASN1_STRING); |
| 10046 |
} |
| 10047 |
extern "C" { |
| 10048 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ASN1_PRINTABLE"] |
| 10049 |
pub fn d2i_ASN1_PRINTABLE( |
| 10050 |
out: *mut *mut ASN1_STRING, |
| 10051 |
inp: *mut *const u8, |
| 10052 |
len: ::std::os::raw::c_long, |
| 10053 |
) -> *mut ASN1_STRING; |
| 10054 |
} |
| 10055 |
extern "C" { |
| 10056 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ASN1_PRINTABLE"] |
| 10057 |
pub fn i2d_ASN1_PRINTABLE(in_: *const ASN1_STRING, outp: *mut *mut u8) |
| 10058 |
-> ::std::os::raw::c_int; |
| 10059 |
} |
| 10060 |
extern "C" { |
| 10061 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_PRINTABLE_it"] |
| 10062 |
pub static ASN1_PRINTABLE_it: ASN1_ITEM; |
| 10063 |
} |
| 10064 |
extern "C" { |
| 10065 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_set"] |
| 10066 |
pub fn ASN1_INTEGER_set( |
| 10067 |
a: *mut ASN1_INTEGER, |
| 10068 |
v: ::std::os::raw::c_long, |
| 10069 |
) -> ::std::os::raw::c_int; |
| 10070 |
} |
| 10071 |
extern "C" { |
| 10072 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_set"] |
| 10073 |
pub fn ASN1_ENUMERATED_set( |
| 10074 |
a: *mut ASN1_ENUMERATED, |
| 10075 |
v: ::std::os::raw::c_long, |
| 10076 |
) -> ::std::os::raw::c_int; |
| 10077 |
} |
| 10078 |
extern "C" { |
| 10079 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_INTEGER_get"] |
| 10080 |
pub fn ASN1_INTEGER_get(a: *const ASN1_INTEGER) -> ::std::os::raw::c_long; |
| 10081 |
} |
| 10082 |
extern "C" { |
| 10083 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_ENUMERATED_get"] |
| 10084 |
pub fn ASN1_ENUMERATED_get(a: *const ASN1_ENUMERATED) -> ::std::os::raw::c_long; |
| 10085 |
} |
| 10086 |
extern "C" { |
| 10087 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_set_default_mask"] |
| 10088 |
pub fn ASN1_STRING_set_default_mask(mask: ::std::os::raw::c_ulong); |
| 10089 |
} |
| 10090 |
extern "C" { |
| 10091 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_set_default_mask_asc"] |
| 10092 |
pub fn ASN1_STRING_set_default_mask_asc( |
| 10093 |
p: *const ::std::os::raw::c_char, |
| 10094 |
) -> ::std::os::raw::c_int; |
| 10095 |
} |
| 10096 |
extern "C" { |
| 10097 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_get_default_mask"] |
| 10098 |
pub fn ASN1_STRING_get_default_mask() -> ::std::os::raw::c_ulong; |
| 10099 |
} |
| 10100 |
extern "C" { |
| 10101 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_STRING_TABLE_cleanup"] |
| 10102 |
pub fn ASN1_STRING_TABLE_cleanup(); |
| 10103 |
} |
| 10104 |
pub type ASN1_TEMPLATE = ASN1_TEMPLATE_st; |
| 10105 |
#[repr(C)] |
| 10106 |
#[derive(Debug, Copy, Clone)] |
| 10107 |
pub struct ASN1_TLC_st { |
| 10108 |
_unused: [u8; 0], |
| 10109 |
} |
| 10110 |
pub type ASN1_TLC = ASN1_TLC_st; |
| 10111 |
#[repr(C)] |
| 10112 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10113 |
pub struct ASN1_TEMPLATE_st { |
| 10114 |
pub flags: u32, |
| 10115 |
pub tag: ::std::os::raw::c_int, |
| 10116 |
pub offset: ::std::os::raw::c_ulong, |
| 10117 |
pub field_name: *const ::std::os::raw::c_char, |
| 10118 |
pub item: *const ASN1_ITEM_st, |
| 10119 |
} |
| 10120 |
#[test] |
| 10121 |
fn bindgen_test_layout_ASN1_TEMPLATE_st() { |
| 10122 |
const UNINIT: ::std::mem::MaybeUninit<ASN1_TEMPLATE_st> = ::std::mem::MaybeUninit::uninit(); |
| 10123 |
let ptr = UNINIT.as_ptr(); |
| 10124 |
assert_eq!( |
| 10125 |
::std::mem::size_of::<ASN1_TEMPLATE_st>(), |
| 10126 |
32usize, |
| 10127 |
"Size of ASN1_TEMPLATE_st" |
| 10128 |
); |
| 10129 |
assert_eq!( |
| 10130 |
::std::mem::align_of::<ASN1_TEMPLATE_st>(), |
| 10131 |
8usize, |
| 10132 |
"Alignment of ASN1_TEMPLATE_st" |
| 10133 |
); |
| 10134 |
assert_eq!( |
| 10135 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 10136 |
0usize, |
| 10137 |
"Offset of field: ASN1_TEMPLATE_st::flags" |
| 10138 |
); |
| 10139 |
assert_eq!( |
| 10140 |
unsafe { ::std::ptr::addr_of!((*ptr).tag) as usize - ptr as usize }, |
| 10141 |
4usize, |
| 10142 |
"Offset of field: ASN1_TEMPLATE_st::tag" |
| 10143 |
); |
| 10144 |
assert_eq!( |
| 10145 |
unsafe { ::std::ptr::addr_of!((*ptr).offset) as usize - ptr as usize }, |
| 10146 |
8usize, |
| 10147 |
"Offset of field: ASN1_TEMPLATE_st::offset" |
| 10148 |
); |
| 10149 |
assert_eq!( |
| 10150 |
unsafe { ::std::ptr::addr_of!((*ptr).field_name) as usize - ptr as usize }, |
| 10151 |
16usize, |
| 10152 |
"Offset of field: ASN1_TEMPLATE_st::field_name" |
| 10153 |
); |
| 10154 |
assert_eq!( |
| 10155 |
unsafe { ::std::ptr::addr_of!((*ptr).item) as usize - ptr as usize }, |
| 10156 |
24usize, |
| 10157 |
"Offset of field: ASN1_TEMPLATE_st::item" |
| 10158 |
); |
| 10159 |
} |
| 10160 |
impl Default for ASN1_TEMPLATE_st { |
| 10161 |
fn default() -> Self { |
| 10162 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10163 |
unsafe { |
| 10164 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10165 |
s.assume_init() |
| 10166 |
} |
| 10167 |
} |
| 10168 |
} |
| 10169 |
pub type ASN1_ADB_TABLE = ASN1_ADB_TABLE_st; |
| 10170 |
pub type ASN1_ADB = ASN1_ADB_st; |
| 10171 |
#[repr(C)] |
| 10172 |
#[derive(Debug, Copy, Clone)] |
| 10173 |
pub struct asn1_must_be_null_st { |
| 10174 |
_unused: [u8; 0], |
| 10175 |
} |
| 10176 |
pub type ASN1_MUST_BE_NULL = asn1_must_be_null_st; |
| 10177 |
#[repr(C)] |
| 10178 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10179 |
pub struct ASN1_ADB_st { |
| 10180 |
pub flags: u32, |
| 10181 |
pub offset: ::std::os::raw::c_ulong, |
| 10182 |
pub unused: *mut ASN1_MUST_BE_NULL, |
| 10183 |
pub tbl: *const ASN1_ADB_TABLE, |
| 10184 |
pub tblcount: ::std::os::raw::c_long, |
| 10185 |
pub default_tt: *const ASN1_TEMPLATE, |
| 10186 |
pub null_tt: *const ASN1_TEMPLATE, |
| 10187 |
} |
| 10188 |
#[test] |
| 10189 |
fn bindgen_test_layout_ASN1_ADB_st() { |
| 10190 |
const UNINIT: ::std::mem::MaybeUninit<ASN1_ADB_st> = ::std::mem::MaybeUninit::uninit(); |
| 10191 |
let ptr = UNINIT.as_ptr(); |
| 10192 |
assert_eq!( |
| 10193 |
::std::mem::size_of::<ASN1_ADB_st>(), |
| 10194 |
56usize, |
| 10195 |
"Size of ASN1_ADB_st" |
| 10196 |
); |
| 10197 |
assert_eq!( |
| 10198 |
::std::mem::align_of::<ASN1_ADB_st>(), |
| 10199 |
8usize, |
| 10200 |
"Alignment of ASN1_ADB_st" |
| 10201 |
); |
| 10202 |
assert_eq!( |
| 10203 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 10204 |
0usize, |
| 10205 |
"Offset of field: ASN1_ADB_st::flags" |
| 10206 |
); |
| 10207 |
assert_eq!( |
| 10208 |
unsafe { ::std::ptr::addr_of!((*ptr).offset) as usize - ptr as usize }, |
| 10209 |
8usize, |
| 10210 |
"Offset of field: ASN1_ADB_st::offset" |
| 10211 |
); |
| 10212 |
assert_eq!( |
| 10213 |
unsafe { ::std::ptr::addr_of!((*ptr).unused) as usize - ptr as usize }, |
| 10214 |
16usize, |
| 10215 |
"Offset of field: ASN1_ADB_st::unused" |
| 10216 |
); |
| 10217 |
assert_eq!( |
| 10218 |
unsafe { ::std::ptr::addr_of!((*ptr).tbl) as usize - ptr as usize }, |
| 10219 |
24usize, |
| 10220 |
"Offset of field: ASN1_ADB_st::tbl" |
| 10221 |
); |
| 10222 |
assert_eq!( |
| 10223 |
unsafe { ::std::ptr::addr_of!((*ptr).tblcount) as usize - ptr as usize }, |
| 10224 |
32usize, |
| 10225 |
"Offset of field: ASN1_ADB_st::tblcount" |
| 10226 |
); |
| 10227 |
assert_eq!( |
| 10228 |
unsafe { ::std::ptr::addr_of!((*ptr).default_tt) as usize - ptr as usize }, |
| 10229 |
40usize, |
| 10230 |
"Offset of field: ASN1_ADB_st::default_tt" |
| 10231 |
); |
| 10232 |
assert_eq!( |
| 10233 |
unsafe { ::std::ptr::addr_of!((*ptr).null_tt) as usize - ptr as usize }, |
| 10234 |
48usize, |
| 10235 |
"Offset of field: ASN1_ADB_st::null_tt" |
| 10236 |
); |
| 10237 |
} |
| 10238 |
impl Default for ASN1_ADB_st { |
| 10239 |
fn default() -> Self { |
| 10240 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10241 |
unsafe { |
| 10242 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10243 |
s.assume_init() |
| 10244 |
} |
| 10245 |
} |
| 10246 |
} |
| 10247 |
#[repr(C)] |
| 10248 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10249 |
pub struct ASN1_ADB_TABLE_st { |
| 10250 |
pub value: ::std::os::raw::c_int, |
| 10251 |
pub tt: ASN1_TEMPLATE, |
| 10252 |
} |
| 10253 |
#[test] |
| 10254 |
fn bindgen_test_layout_ASN1_ADB_TABLE_st() { |
| 10255 |
const UNINIT: ::std::mem::MaybeUninit<ASN1_ADB_TABLE_st> = ::std::mem::MaybeUninit::uninit(); |
| 10256 |
let ptr = UNINIT.as_ptr(); |
| 10257 |
assert_eq!( |
| 10258 |
::std::mem::size_of::<ASN1_ADB_TABLE_st>(), |
| 10259 |
40usize, |
| 10260 |
"Size of ASN1_ADB_TABLE_st" |
| 10261 |
); |
| 10262 |
assert_eq!( |
| 10263 |
::std::mem::align_of::<ASN1_ADB_TABLE_st>(), |
| 10264 |
8usize, |
| 10265 |
"Alignment of ASN1_ADB_TABLE_st" |
| 10266 |
); |
| 10267 |
assert_eq!( |
| 10268 |
unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize }, |
| 10269 |
0usize, |
| 10270 |
"Offset of field: ASN1_ADB_TABLE_st::value" |
| 10271 |
); |
| 10272 |
assert_eq!( |
| 10273 |
unsafe { ::std::ptr::addr_of!((*ptr).tt) as usize - ptr as usize }, |
| 10274 |
8usize, |
| 10275 |
"Offset of field: ASN1_ADB_TABLE_st::tt" |
| 10276 |
); |
| 10277 |
} |
| 10278 |
impl Default for ASN1_ADB_TABLE_st { |
| 10279 |
fn default() -> Self { |
| 10280 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10281 |
unsafe { |
| 10282 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10283 |
s.assume_init() |
| 10284 |
} |
| 10285 |
} |
| 10286 |
} |
| 10287 |
#[repr(C)] |
| 10288 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10289 |
pub struct ASN1_ITEM_st { |
| 10290 |
pub itype: ::std::os::raw::c_char, |
| 10291 |
pub utype: ::std::os::raw::c_int, |
| 10292 |
pub templates: *const ASN1_TEMPLATE, |
| 10293 |
pub tcount: ::std::os::raw::c_long, |
| 10294 |
pub funcs: *const ::std::os::raw::c_void, |
| 10295 |
pub size: ::std::os::raw::c_long, |
| 10296 |
pub sname: *const ::std::os::raw::c_char, |
| 10297 |
} |
| 10298 |
#[test] |
| 10299 |
fn bindgen_test_layout_ASN1_ITEM_st() { |
| 10300 |
const UNINIT: ::std::mem::MaybeUninit<ASN1_ITEM_st> = ::std::mem::MaybeUninit::uninit(); |
| 10301 |
let ptr = UNINIT.as_ptr(); |
| 10302 |
assert_eq!( |
| 10303 |
::std::mem::size_of::<ASN1_ITEM_st>(), |
| 10304 |
48usize, |
| 10305 |
"Size of ASN1_ITEM_st" |
| 10306 |
); |
| 10307 |
assert_eq!( |
| 10308 |
::std::mem::align_of::<ASN1_ITEM_st>(), |
| 10309 |
8usize, |
| 10310 |
"Alignment of ASN1_ITEM_st" |
| 10311 |
); |
| 10312 |
assert_eq!( |
| 10313 |
unsafe { ::std::ptr::addr_of!((*ptr).itype) as usize - ptr as usize }, |
| 10314 |
0usize, |
| 10315 |
"Offset of field: ASN1_ITEM_st::itype" |
| 10316 |
); |
| 10317 |
assert_eq!( |
| 10318 |
unsafe { ::std::ptr::addr_of!((*ptr).utype) as usize - ptr as usize }, |
| 10319 |
4usize, |
| 10320 |
"Offset of field: ASN1_ITEM_st::utype" |
| 10321 |
); |
| 10322 |
assert_eq!( |
| 10323 |
unsafe { ::std::ptr::addr_of!((*ptr).templates) as usize - ptr as usize }, |
| 10324 |
8usize, |
| 10325 |
"Offset of field: ASN1_ITEM_st::templates" |
| 10326 |
); |
| 10327 |
assert_eq!( |
| 10328 |
unsafe { ::std::ptr::addr_of!((*ptr).tcount) as usize - ptr as usize }, |
| 10329 |
16usize, |
| 10330 |
"Offset of field: ASN1_ITEM_st::tcount" |
| 10331 |
); |
| 10332 |
assert_eq!( |
| 10333 |
unsafe { ::std::ptr::addr_of!((*ptr).funcs) as usize - ptr as usize }, |
| 10334 |
24usize, |
| 10335 |
"Offset of field: ASN1_ITEM_st::funcs" |
| 10336 |
); |
| 10337 |
assert_eq!( |
| 10338 |
unsafe { ::std::ptr::addr_of!((*ptr).size) as usize - ptr as usize }, |
| 10339 |
32usize, |
| 10340 |
"Offset of field: ASN1_ITEM_st::size" |
| 10341 |
); |
| 10342 |
assert_eq!( |
| 10343 |
unsafe { ::std::ptr::addr_of!((*ptr).sname) as usize - ptr as usize }, |
| 10344 |
40usize, |
| 10345 |
"Offset of field: ASN1_ITEM_st::sname" |
| 10346 |
); |
| 10347 |
} |
| 10348 |
impl Default for ASN1_ITEM_st { |
| 10349 |
fn default() -> Self { |
| 10350 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10351 |
unsafe { |
| 10352 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10353 |
s.assume_init() |
| 10354 |
} |
| 10355 |
} |
| 10356 |
} |
| 10357 |
pub type ASN1_new_func = ::std::option::Option<unsafe extern "C" fn() -> *mut ASN1_VALUE>; |
| 10358 |
pub type ASN1_free_func = ::std::option::Option<unsafe extern "C" fn(a: *mut ASN1_VALUE)>; |
| 10359 |
pub type ASN1_d2i_func = ::std::option::Option< |
| 10360 |
unsafe extern "C" fn( |
| 10361 |
a: *mut *mut ASN1_VALUE, |
| 10362 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 10363 |
length: ::std::os::raw::c_long, |
| 10364 |
) -> *mut ASN1_VALUE, |
| 10365 |
>; |
| 10366 |
pub type ASN1_i2d_func = ::std::option::Option< |
| 10367 |
unsafe extern "C" fn( |
| 10368 |
a: *mut ASN1_VALUE, |
| 10369 |
in_: *mut *mut ::std::os::raw::c_uchar, |
| 10370 |
) -> ::std::os::raw::c_int, |
| 10371 |
>; |
| 10372 |
pub type ASN1_ex_d2i = ::std::option::Option< |
| 10373 |
unsafe extern "C" fn( |
| 10374 |
pval: *mut *mut ASN1_VALUE, |
| 10375 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 10376 |
len: ::std::os::raw::c_long, |
| 10377 |
it: *const ASN1_ITEM, |
| 10378 |
tag: ::std::os::raw::c_int, |
| 10379 |
aclass: ::std::os::raw::c_int, |
| 10380 |
opt: ::std::os::raw::c_char, |
| 10381 |
ctx: *mut ASN1_TLC, |
| 10382 |
) -> ::std::os::raw::c_int, |
| 10383 |
>; |
| 10384 |
pub type ASN1_ex_i2d = ::std::option::Option< |
| 10385 |
unsafe extern "C" fn( |
| 10386 |
pval: *mut *mut ASN1_VALUE, |
| 10387 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 10388 |
it: *const ASN1_ITEM, |
| 10389 |
tag: ::std::os::raw::c_int, |
| 10390 |
aclass: ::std::os::raw::c_int, |
| 10391 |
) -> ::std::os::raw::c_int, |
| 10392 |
>; |
| 10393 |
pub type ASN1_ex_new_func = ::std::option::Option< |
| 10394 |
unsafe extern "C" fn(pval: *mut *mut ASN1_VALUE, it: *const ASN1_ITEM) -> ::std::os::raw::c_int, |
| 10395 |
>; |
| 10396 |
pub type ASN1_ex_free_func = |
| 10397 |
::std::option::Option<unsafe extern "C" fn(pval: *mut *mut ASN1_VALUE, it: *const ASN1_ITEM)>; |
| 10398 |
pub type ASN1_ex_print_func = ::std::option::Option< |
| 10399 |
unsafe extern "C" fn( |
| 10400 |
out: *mut BIO, |
| 10401 |
pval: *mut *mut ASN1_VALUE, |
| 10402 |
indent: ::std::os::raw::c_int, |
| 10403 |
fname: *const ::std::os::raw::c_char, |
| 10404 |
pctx: *const ASN1_PCTX, |
| 10405 |
) -> ::std::os::raw::c_int, |
| 10406 |
>; |
| 10407 |
#[repr(C)] |
| 10408 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10409 |
pub struct ASN1_EXTERN_FUNCS_st { |
| 10410 |
pub app_data: *mut ::std::os::raw::c_void, |
| 10411 |
pub asn1_ex_new: ASN1_ex_new_func, |
| 10412 |
pub asn1_ex_free: ASN1_ex_free_func, |
| 10413 |
pub asn1_ex_d2i: ASN1_ex_d2i, |
| 10414 |
pub asn1_ex_i2d: ASN1_ex_i2d, |
| 10415 |
pub asn1_ex_print: ASN1_ex_print_func, |
| 10416 |
} |
| 10417 |
#[test] |
| 10418 |
fn bindgen_test_layout_ASN1_EXTERN_FUNCS_st() { |
| 10419 |
const UNINIT: ::std::mem::MaybeUninit<ASN1_EXTERN_FUNCS_st> = ::std::mem::MaybeUninit::uninit(); |
| 10420 |
let ptr = UNINIT.as_ptr(); |
| 10421 |
assert_eq!( |
| 10422 |
::std::mem::size_of::<ASN1_EXTERN_FUNCS_st>(), |
| 10423 |
48usize, |
| 10424 |
"Size of ASN1_EXTERN_FUNCS_st" |
| 10425 |
); |
| 10426 |
assert_eq!( |
| 10427 |
::std::mem::align_of::<ASN1_EXTERN_FUNCS_st>(), |
| 10428 |
8usize, |
| 10429 |
"Alignment of ASN1_EXTERN_FUNCS_st" |
| 10430 |
); |
| 10431 |
assert_eq!( |
| 10432 |
unsafe { ::std::ptr::addr_of!((*ptr).app_data) as usize - ptr as usize }, |
| 10433 |
0usize, |
| 10434 |
"Offset of field: ASN1_EXTERN_FUNCS_st::app_data" |
| 10435 |
); |
| 10436 |
assert_eq!( |
| 10437 |
unsafe { ::std::ptr::addr_of!((*ptr).asn1_ex_new) as usize - ptr as usize }, |
| 10438 |
8usize, |
| 10439 |
"Offset of field: ASN1_EXTERN_FUNCS_st::asn1_ex_new" |
| 10440 |
); |
| 10441 |
assert_eq!( |
| 10442 |
unsafe { ::std::ptr::addr_of!((*ptr).asn1_ex_free) as usize - ptr as usize }, |
| 10443 |
16usize, |
| 10444 |
"Offset of field: ASN1_EXTERN_FUNCS_st::asn1_ex_free" |
| 10445 |
); |
| 10446 |
assert_eq!( |
| 10447 |
unsafe { ::std::ptr::addr_of!((*ptr).asn1_ex_d2i) as usize - ptr as usize }, |
| 10448 |
24usize, |
| 10449 |
"Offset of field: ASN1_EXTERN_FUNCS_st::asn1_ex_d2i" |
| 10450 |
); |
| 10451 |
assert_eq!( |
| 10452 |
unsafe { ::std::ptr::addr_of!((*ptr).asn1_ex_i2d) as usize - ptr as usize }, |
| 10453 |
32usize, |
| 10454 |
"Offset of field: ASN1_EXTERN_FUNCS_st::asn1_ex_i2d" |
| 10455 |
); |
| 10456 |
assert_eq!( |
| 10457 |
unsafe { ::std::ptr::addr_of!((*ptr).asn1_ex_print) as usize - ptr as usize }, |
| 10458 |
40usize, |
| 10459 |
"Offset of field: ASN1_EXTERN_FUNCS_st::asn1_ex_print" |
| 10460 |
); |
| 10461 |
} |
| 10462 |
impl Default for ASN1_EXTERN_FUNCS_st { |
| 10463 |
fn default() -> Self { |
| 10464 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10465 |
unsafe { |
| 10466 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10467 |
s.assume_init() |
| 10468 |
} |
| 10469 |
} |
| 10470 |
} |
| 10471 |
pub type ASN1_EXTERN_FUNCS = ASN1_EXTERN_FUNCS_st; |
| 10472 |
pub type ASN1_aux_cb = ::std::option::Option< |
| 10473 |
unsafe extern "C" fn( |
| 10474 |
operation: ::std::os::raw::c_int, |
| 10475 |
in_: *mut *mut ASN1_VALUE, |
| 10476 |
it: *const ASN1_ITEM, |
| 10477 |
exarg: *mut ::std::os::raw::c_void, |
| 10478 |
) -> ::std::os::raw::c_int, |
| 10479 |
>; |
| 10480 |
#[repr(C)] |
| 10481 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10482 |
pub struct ASN1_AUX_st { |
| 10483 |
pub app_data: *mut ::std::os::raw::c_void, |
| 10484 |
pub flags: u32, |
| 10485 |
pub ref_offset: ::std::os::raw::c_int, |
| 10486 |
pub asn1_cb: ASN1_aux_cb, |
| 10487 |
pub enc_offset: ::std::os::raw::c_int, |
| 10488 |
} |
| 10489 |
#[test] |
| 10490 |
fn bindgen_test_layout_ASN1_AUX_st() { |
| 10491 |
const UNINIT: ::std::mem::MaybeUninit<ASN1_AUX_st> = ::std::mem::MaybeUninit::uninit(); |
| 10492 |
let ptr = UNINIT.as_ptr(); |
| 10493 |
assert_eq!( |
| 10494 |
::std::mem::size_of::<ASN1_AUX_st>(), |
| 10495 |
32usize, |
| 10496 |
"Size of ASN1_AUX_st" |
| 10497 |
); |
| 10498 |
assert_eq!( |
| 10499 |
::std::mem::align_of::<ASN1_AUX_st>(), |
| 10500 |
8usize, |
| 10501 |
"Alignment of ASN1_AUX_st" |
| 10502 |
); |
| 10503 |
assert_eq!( |
| 10504 |
unsafe { ::std::ptr::addr_of!((*ptr).app_data) as usize - ptr as usize }, |
| 10505 |
0usize, |
| 10506 |
"Offset of field: ASN1_AUX_st::app_data" |
| 10507 |
); |
| 10508 |
assert_eq!( |
| 10509 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 10510 |
8usize, |
| 10511 |
"Offset of field: ASN1_AUX_st::flags" |
| 10512 |
); |
| 10513 |
assert_eq!( |
| 10514 |
unsafe { ::std::ptr::addr_of!((*ptr).ref_offset) as usize - ptr as usize }, |
| 10515 |
12usize, |
| 10516 |
"Offset of field: ASN1_AUX_st::ref_offset" |
| 10517 |
); |
| 10518 |
assert_eq!( |
| 10519 |
unsafe { ::std::ptr::addr_of!((*ptr).asn1_cb) as usize - ptr as usize }, |
| 10520 |
16usize, |
| 10521 |
"Offset of field: ASN1_AUX_st::asn1_cb" |
| 10522 |
); |
| 10523 |
assert_eq!( |
| 10524 |
unsafe { ::std::ptr::addr_of!((*ptr).enc_offset) as usize - ptr as usize }, |
| 10525 |
24usize, |
| 10526 |
"Offset of field: ASN1_AUX_st::enc_offset" |
| 10527 |
); |
| 10528 |
} |
| 10529 |
impl Default for ASN1_AUX_st { |
| 10530 |
fn default() -> Self { |
| 10531 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10532 |
unsafe { |
| 10533 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10534 |
s.assume_init() |
| 10535 |
} |
| 10536 |
} |
| 10537 |
} |
| 10538 |
pub type ASN1_AUX = ASN1_AUX_st; |
| 10539 |
extern "C" { |
| 10540 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_SEQUENCE_it"] |
| 10541 |
pub static ASN1_SEQUENCE_it: ASN1_ITEM; |
| 10542 |
} |
| 10543 |
#[repr(C)] |
| 10544 |
#[derive(Debug, Copy, Clone)] |
| 10545 |
pub struct stack_st_ASN1_VALUE { |
| 10546 |
_unused: [u8; 0], |
| 10547 |
} |
| 10548 |
pub type sk_ASN1_VALUE_free_func = |
| 10549 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut ASN1_VALUE)>; |
| 10550 |
pub type sk_ASN1_VALUE_copy_func = |
| 10551 |
::std::option::Option<unsafe extern "C" fn(arg1: *const ASN1_VALUE) -> *mut ASN1_VALUE>; |
| 10552 |
pub type sk_ASN1_VALUE_cmp_func = ::std::option::Option< |
| 10553 |
unsafe extern "C" fn( |
| 10554 |
arg1: *const *const ASN1_VALUE, |
| 10555 |
arg2: *const *const ASN1_VALUE, |
| 10556 |
) -> ::std::os::raw::c_int, |
| 10557 |
>; |
| 10558 |
pub type sk_ASN1_VALUE_delete_if_func = ::std::option::Option< |
| 10559 |
unsafe extern "C" fn( |
| 10560 |
arg1: *mut ASN1_VALUE, |
| 10561 |
arg2: *mut ::std::os::raw::c_void, |
| 10562 |
) -> ::std::os::raw::c_int, |
| 10563 |
>; |
| 10564 |
extern "C" { |
| 10565 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncodeBlock"] |
| 10566 |
pub fn EVP_EncodeBlock(dst: *mut u8, src: *const u8, src_len: usize) -> usize; |
| 10567 |
} |
| 10568 |
extern "C" { |
| 10569 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncodedLength"] |
| 10570 |
pub fn EVP_EncodedLength(out_len: *mut usize, len: usize) -> ::std::os::raw::c_int; |
| 10571 |
} |
| 10572 |
extern "C" { |
| 10573 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecodedLength"] |
| 10574 |
pub fn EVP_DecodedLength(out_len: *mut usize, len: usize) -> ::std::os::raw::c_int; |
| 10575 |
} |
| 10576 |
extern "C" { |
| 10577 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecodeBase64"] |
| 10578 |
pub fn EVP_DecodeBase64( |
| 10579 |
out: *mut u8, |
| 10580 |
out_len: *mut usize, |
| 10581 |
max_out: usize, |
| 10582 |
in_: *const u8, |
| 10583 |
in_len: usize, |
| 10584 |
) -> ::std::os::raw::c_int; |
| 10585 |
} |
| 10586 |
extern "C" { |
| 10587 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_ENCODE_CTX_new"] |
| 10588 |
pub fn EVP_ENCODE_CTX_new() -> *mut EVP_ENCODE_CTX; |
| 10589 |
} |
| 10590 |
extern "C" { |
| 10591 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_ENCODE_CTX_free"] |
| 10592 |
pub fn EVP_ENCODE_CTX_free(ctx: *mut EVP_ENCODE_CTX); |
| 10593 |
} |
| 10594 |
extern "C" { |
| 10595 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncodeInit"] |
| 10596 |
pub fn EVP_EncodeInit(ctx: *mut EVP_ENCODE_CTX); |
| 10597 |
} |
| 10598 |
extern "C" { |
| 10599 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncodeUpdate"] |
| 10600 |
pub fn EVP_EncodeUpdate( |
| 10601 |
ctx: *mut EVP_ENCODE_CTX, |
| 10602 |
out: *mut u8, |
| 10603 |
out_len: *mut ::std::os::raw::c_int, |
| 10604 |
in_: *const u8, |
| 10605 |
in_len: usize, |
| 10606 |
) -> ::std::os::raw::c_int; |
| 10607 |
} |
| 10608 |
extern "C" { |
| 10609 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncodeFinal"] |
| 10610 |
pub fn EVP_EncodeFinal( |
| 10611 |
ctx: *mut EVP_ENCODE_CTX, |
| 10612 |
out: *mut u8, |
| 10613 |
out_len: *mut ::std::os::raw::c_int, |
| 10614 |
); |
| 10615 |
} |
| 10616 |
extern "C" { |
| 10617 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecodeInit"] |
| 10618 |
pub fn EVP_DecodeInit(ctx: *mut EVP_ENCODE_CTX); |
| 10619 |
} |
| 10620 |
extern "C" { |
| 10621 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecodeUpdate"] |
| 10622 |
pub fn EVP_DecodeUpdate( |
| 10623 |
ctx: *mut EVP_ENCODE_CTX, |
| 10624 |
out: *mut u8, |
| 10625 |
out_len: *mut ::std::os::raw::c_int, |
| 10626 |
in_: *const u8, |
| 10627 |
in_len: usize, |
| 10628 |
) -> ::std::os::raw::c_int; |
| 10629 |
} |
| 10630 |
extern "C" { |
| 10631 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecodeFinal"] |
| 10632 |
pub fn EVP_DecodeFinal( |
| 10633 |
ctx: *mut EVP_ENCODE_CTX, |
| 10634 |
out: *mut u8, |
| 10635 |
out_len: *mut ::std::os::raw::c_int, |
| 10636 |
) -> ::std::os::raw::c_int; |
| 10637 |
} |
| 10638 |
extern "C" { |
| 10639 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecodeBlock"] |
| 10640 |
pub fn EVP_DecodeBlock(dst: *mut u8, src: *const u8, src_len: usize) -> ::std::os::raw::c_int; |
| 10641 |
} |
| 10642 |
#[repr(C)] |
| 10643 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10644 |
pub struct evp_encode_ctx_st { |
| 10645 |
pub data_used: ::std::os::raw::c_uint, |
| 10646 |
pub data: [u8; 48usize], |
| 10647 |
pub eof_seen: ::std::os::raw::c_char, |
| 10648 |
pub error_encountered: ::std::os::raw::c_char, |
| 10649 |
} |
| 10650 |
#[test] |
| 10651 |
fn bindgen_test_layout_evp_encode_ctx_st() { |
| 10652 |
const UNINIT: ::std::mem::MaybeUninit<evp_encode_ctx_st> = ::std::mem::MaybeUninit::uninit(); |
| 10653 |
let ptr = UNINIT.as_ptr(); |
| 10654 |
assert_eq!( |
| 10655 |
::std::mem::size_of::<evp_encode_ctx_st>(), |
| 10656 |
56usize, |
| 10657 |
"Size of evp_encode_ctx_st" |
| 10658 |
); |
| 10659 |
assert_eq!( |
| 10660 |
::std::mem::align_of::<evp_encode_ctx_st>(), |
| 10661 |
4usize, |
| 10662 |
"Alignment of evp_encode_ctx_st" |
| 10663 |
); |
| 10664 |
assert_eq!( |
| 10665 |
unsafe { ::std::ptr::addr_of!((*ptr).data_used) as usize - ptr as usize }, |
| 10666 |
0usize, |
| 10667 |
"Offset of field: evp_encode_ctx_st::data_used" |
| 10668 |
); |
| 10669 |
assert_eq!( |
| 10670 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 10671 |
4usize, |
| 10672 |
"Offset of field: evp_encode_ctx_st::data" |
| 10673 |
); |
| 10674 |
assert_eq!( |
| 10675 |
unsafe { ::std::ptr::addr_of!((*ptr).eof_seen) as usize - ptr as usize }, |
| 10676 |
52usize, |
| 10677 |
"Offset of field: evp_encode_ctx_st::eof_seen" |
| 10678 |
); |
| 10679 |
assert_eq!( |
| 10680 |
unsafe { ::std::ptr::addr_of!((*ptr).error_encountered) as usize - ptr as usize }, |
| 10681 |
53usize, |
| 10682 |
"Offset of field: evp_encode_ctx_st::error_encountered" |
| 10683 |
); |
| 10684 |
} |
| 10685 |
impl Default for evp_encode_ctx_st { |
| 10686 |
fn default() -> Self { |
| 10687 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10688 |
unsafe { |
| 10689 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10690 |
s.assume_init() |
| 10691 |
} |
| 10692 |
} |
| 10693 |
} |
| 10694 |
#[repr(C)] |
| 10695 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10696 |
pub struct blake2b_state_st { |
| 10697 |
pub h: [u64; 8usize], |
| 10698 |
pub t_low: u64, |
| 10699 |
pub t_high: u64, |
| 10700 |
pub block: [u8; 128usize], |
| 10701 |
pub block_used: usize, |
| 10702 |
} |
| 10703 |
#[test] |
| 10704 |
fn bindgen_test_layout_blake2b_state_st() { |
| 10705 |
const UNINIT: ::std::mem::MaybeUninit<blake2b_state_st> = ::std::mem::MaybeUninit::uninit(); |
| 10706 |
let ptr = UNINIT.as_ptr(); |
| 10707 |
assert_eq!( |
| 10708 |
::std::mem::size_of::<blake2b_state_st>(), |
| 10709 |
216usize, |
| 10710 |
"Size of blake2b_state_st" |
| 10711 |
); |
| 10712 |
assert_eq!( |
| 10713 |
::std::mem::align_of::<blake2b_state_st>(), |
| 10714 |
8usize, |
| 10715 |
"Alignment of blake2b_state_st" |
| 10716 |
); |
| 10717 |
assert_eq!( |
| 10718 |
unsafe { ::std::ptr::addr_of!((*ptr).h) as usize - ptr as usize }, |
| 10719 |
0usize, |
| 10720 |
"Offset of field: blake2b_state_st::h" |
| 10721 |
); |
| 10722 |
assert_eq!( |
| 10723 |
unsafe { ::std::ptr::addr_of!((*ptr).t_low) as usize - ptr as usize }, |
| 10724 |
64usize, |
| 10725 |
"Offset of field: blake2b_state_st::t_low" |
| 10726 |
); |
| 10727 |
assert_eq!( |
| 10728 |
unsafe { ::std::ptr::addr_of!((*ptr).t_high) as usize - ptr as usize }, |
| 10729 |
72usize, |
| 10730 |
"Offset of field: blake2b_state_st::t_high" |
| 10731 |
); |
| 10732 |
assert_eq!( |
| 10733 |
unsafe { ::std::ptr::addr_of!((*ptr).block) as usize - ptr as usize }, |
| 10734 |
80usize, |
| 10735 |
"Offset of field: blake2b_state_st::block" |
| 10736 |
); |
| 10737 |
assert_eq!( |
| 10738 |
unsafe { ::std::ptr::addr_of!((*ptr).block_used) as usize - ptr as usize }, |
| 10739 |
208usize, |
| 10740 |
"Offset of field: blake2b_state_st::block_used" |
| 10741 |
); |
| 10742 |
} |
| 10743 |
impl Default for blake2b_state_st { |
| 10744 |
fn default() -> Self { |
| 10745 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10746 |
unsafe { |
| 10747 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10748 |
s.assume_init() |
| 10749 |
} |
| 10750 |
} |
| 10751 |
} |
| 10752 |
extern "C" { |
| 10753 |
#[link_name = "\u{1}aws_lc_0_41_0_BLAKE2B256_Init"] |
| 10754 |
pub fn BLAKE2B256_Init(b2b: *mut BLAKE2B_CTX); |
| 10755 |
} |
| 10756 |
extern "C" { |
| 10757 |
#[link_name = "\u{1}aws_lc_0_41_0_BLAKE2B256_Update"] |
| 10758 |
pub fn BLAKE2B256_Update( |
| 10759 |
b2b: *mut BLAKE2B_CTX, |
| 10760 |
data: *const ::std::os::raw::c_void, |
| 10761 |
len: usize, |
| 10762 |
); |
| 10763 |
} |
| 10764 |
extern "C" { |
| 10765 |
#[link_name = "\u{1}aws_lc_0_41_0_BLAKE2B256_Final"] |
| 10766 |
pub fn BLAKE2B256_Final(out: *mut u8, b2b: *mut BLAKE2B_CTX); |
| 10767 |
} |
| 10768 |
extern "C" { |
| 10769 |
#[link_name = "\u{1}aws_lc_0_41_0_BLAKE2B256"] |
| 10770 |
pub fn BLAKE2B256(data: *const u8, len: usize, out: *mut u8); |
| 10771 |
} |
| 10772 |
#[repr(C)] |
| 10773 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10774 |
pub struct bf_key_st { |
| 10775 |
pub P: [u32; 18usize], |
| 10776 |
pub S: [u32; 1024usize], |
| 10777 |
} |
| 10778 |
#[test] |
| 10779 |
fn bindgen_test_layout_bf_key_st() { |
| 10780 |
const UNINIT: ::std::mem::MaybeUninit<bf_key_st> = ::std::mem::MaybeUninit::uninit(); |
| 10781 |
let ptr = UNINIT.as_ptr(); |
| 10782 |
assert_eq!( |
| 10783 |
::std::mem::size_of::<bf_key_st>(), |
| 10784 |
4168usize, |
| 10785 |
"Size of bf_key_st" |
| 10786 |
); |
| 10787 |
assert_eq!( |
| 10788 |
::std::mem::align_of::<bf_key_st>(), |
| 10789 |
4usize, |
| 10790 |
"Alignment of bf_key_st" |
| 10791 |
); |
| 10792 |
assert_eq!( |
| 10793 |
unsafe { ::std::ptr::addr_of!((*ptr).P) as usize - ptr as usize }, |
| 10794 |
0usize, |
| 10795 |
"Offset of field: bf_key_st::P" |
| 10796 |
); |
| 10797 |
assert_eq!( |
| 10798 |
unsafe { ::std::ptr::addr_of!((*ptr).S) as usize - ptr as usize }, |
| 10799 |
72usize, |
| 10800 |
"Offset of field: bf_key_st::S" |
| 10801 |
); |
| 10802 |
} |
| 10803 |
impl Default for bf_key_st { |
| 10804 |
fn default() -> Self { |
| 10805 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10806 |
unsafe { |
| 10807 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10808 |
s.assume_init() |
| 10809 |
} |
| 10810 |
} |
| 10811 |
} |
| 10812 |
pub type BF_KEY = bf_key_st; |
| 10813 |
extern "C" { |
| 10814 |
#[link_name = "\u{1}aws_lc_0_41_0_BF_set_key"] |
| 10815 |
pub fn BF_set_key(key: *mut BF_KEY, len: usize, data: *const u8); |
| 10816 |
} |
| 10817 |
extern "C" { |
| 10818 |
#[link_name = "\u{1}aws_lc_0_41_0_BF_encrypt"] |
| 10819 |
pub fn BF_encrypt(data: *mut u32, key: *const BF_KEY); |
| 10820 |
} |
| 10821 |
extern "C" { |
| 10822 |
#[link_name = "\u{1}aws_lc_0_41_0_BF_decrypt"] |
| 10823 |
pub fn BF_decrypt(data: *mut u32, key: *const BF_KEY); |
| 10824 |
} |
| 10825 |
extern "C" { |
| 10826 |
#[link_name = "\u{1}aws_lc_0_41_0_BF_ecb_encrypt"] |
| 10827 |
pub fn BF_ecb_encrypt( |
| 10828 |
in_: *const u8, |
| 10829 |
out: *mut u8, |
| 10830 |
key: *const BF_KEY, |
| 10831 |
enc: ::std::os::raw::c_int, |
| 10832 |
); |
| 10833 |
} |
| 10834 |
extern "C" { |
| 10835 |
#[link_name = "\u{1}aws_lc_0_41_0_BF_cbc_encrypt"] |
| 10836 |
pub fn BF_cbc_encrypt( |
| 10837 |
in_: *const u8, |
| 10838 |
out: *mut u8, |
| 10839 |
length: usize, |
| 10840 |
schedule: *const BF_KEY, |
| 10841 |
ivec: *mut u8, |
| 10842 |
enc: ::std::os::raw::c_int, |
| 10843 |
); |
| 10844 |
} |
| 10845 |
extern "C" { |
| 10846 |
#[link_name = "\u{1}aws_lc_0_41_0_BF_cfb64_encrypt"] |
| 10847 |
pub fn BF_cfb64_encrypt( |
| 10848 |
in_: *const u8, |
| 10849 |
out: *mut u8, |
| 10850 |
length: usize, |
| 10851 |
schedule: *const BF_KEY, |
| 10852 |
ivec: *mut u8, |
| 10853 |
num: *mut ::std::os::raw::c_int, |
| 10854 |
encrypt: ::std::os::raw::c_int, |
| 10855 |
); |
| 10856 |
} |
| 10857 |
extern "C" { |
| 10858 |
#[link_name = "\u{1}aws_lc_0_41_0_BF_ofb64_encrypt"] |
| 10859 |
pub fn BF_ofb64_encrypt( |
| 10860 |
in_: *const u8, |
| 10861 |
out: *mut u8, |
| 10862 |
length: usize, |
| 10863 |
schedule: *const BF_KEY, |
| 10864 |
ivec: *mut u8, |
| 10865 |
num: *mut ::std::os::raw::c_int, |
| 10866 |
); |
| 10867 |
} |
| 10868 |
#[repr(C)] |
| 10869 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 10870 |
pub struct cbs_st { |
| 10871 |
pub data: *const u8, |
| 10872 |
pub len: usize, |
| 10873 |
} |
| 10874 |
#[test] |
| 10875 |
fn bindgen_test_layout_cbs_st() { |
| 10876 |
const UNINIT: ::std::mem::MaybeUninit<cbs_st> = ::std::mem::MaybeUninit::uninit(); |
| 10877 |
let ptr = UNINIT.as_ptr(); |
| 10878 |
assert_eq!(::std::mem::size_of::<cbs_st>(), 16usize, "Size of cbs_st"); |
| 10879 |
assert_eq!( |
| 10880 |
::std::mem::align_of::<cbs_st>(), |
| 10881 |
8usize, |
| 10882 |
"Alignment of cbs_st" |
| 10883 |
); |
| 10884 |
assert_eq!( |
| 10885 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 10886 |
0usize, |
| 10887 |
"Offset of field: cbs_st::data" |
| 10888 |
); |
| 10889 |
assert_eq!( |
| 10890 |
unsafe { ::std::ptr::addr_of!((*ptr).len) as usize - ptr as usize }, |
| 10891 |
8usize, |
| 10892 |
"Offset of field: cbs_st::len" |
| 10893 |
); |
| 10894 |
} |
| 10895 |
impl Default for cbs_st { |
| 10896 |
fn default() -> Self { |
| 10897 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 10898 |
unsafe { |
| 10899 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 10900 |
s.assume_init() |
| 10901 |
} |
| 10902 |
} |
| 10903 |
} |
| 10904 |
extern "C" { |
| 10905 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_init"] |
| 10906 |
pub fn CBS_init(cbs: *mut CBS, data: *const u8, len: usize); |
| 10907 |
} |
| 10908 |
extern "C" { |
| 10909 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_skip"] |
| 10910 |
pub fn CBS_skip(cbs: *mut CBS, len: usize) -> ::std::os::raw::c_int; |
| 10911 |
} |
| 10912 |
extern "C" { |
| 10913 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_data"] |
| 10914 |
pub fn CBS_data(cbs: *const CBS) -> *const u8; |
| 10915 |
} |
| 10916 |
extern "C" { |
| 10917 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_len"] |
| 10918 |
pub fn CBS_len(cbs: *const CBS) -> usize; |
| 10919 |
} |
| 10920 |
extern "C" { |
| 10921 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_stow"] |
| 10922 |
pub fn CBS_stow( |
| 10923 |
cbs: *const CBS, |
| 10924 |
out_ptr: *mut *mut u8, |
| 10925 |
out_len: *mut usize, |
| 10926 |
) -> ::std::os::raw::c_int; |
| 10927 |
} |
| 10928 |
extern "C" { |
| 10929 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_strdup"] |
| 10930 |
pub fn CBS_strdup( |
| 10931 |
cbs: *const CBS, |
| 10932 |
out_ptr: *mut *mut ::std::os::raw::c_char, |
| 10933 |
) -> ::std::os::raw::c_int; |
| 10934 |
} |
| 10935 |
extern "C" { |
| 10936 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_contains_zero_byte"] |
| 10937 |
pub fn CBS_contains_zero_byte(cbs: *const CBS) -> ::std::os::raw::c_int; |
| 10938 |
} |
| 10939 |
extern "C" { |
| 10940 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_mem_equal"] |
| 10941 |
pub fn CBS_mem_equal(cbs: *const CBS, data: *const u8, len: usize) -> ::std::os::raw::c_int; |
| 10942 |
} |
| 10943 |
extern "C" { |
| 10944 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u8"] |
| 10945 |
pub fn CBS_get_u8(cbs: *mut CBS, out: *mut u8) -> ::std::os::raw::c_int; |
| 10946 |
} |
| 10947 |
extern "C" { |
| 10948 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u16"] |
| 10949 |
pub fn CBS_get_u16(cbs: *mut CBS, out: *mut u16) -> ::std::os::raw::c_int; |
| 10950 |
} |
| 10951 |
extern "C" { |
| 10952 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u16le"] |
| 10953 |
pub fn CBS_get_u16le(cbs: *mut CBS, out: *mut u16) -> ::std::os::raw::c_int; |
| 10954 |
} |
| 10955 |
extern "C" { |
| 10956 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u24"] |
| 10957 |
pub fn CBS_get_u24(cbs: *mut CBS, out: *mut u32) -> ::std::os::raw::c_int; |
| 10958 |
} |
| 10959 |
extern "C" { |
| 10960 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u32"] |
| 10961 |
pub fn CBS_get_u32(cbs: *mut CBS, out: *mut u32) -> ::std::os::raw::c_int; |
| 10962 |
} |
| 10963 |
extern "C" { |
| 10964 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u32le"] |
| 10965 |
pub fn CBS_get_u32le(cbs: *mut CBS, out: *mut u32) -> ::std::os::raw::c_int; |
| 10966 |
} |
| 10967 |
extern "C" { |
| 10968 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u64"] |
| 10969 |
pub fn CBS_get_u64(cbs: *mut CBS, out: *mut u64) -> ::std::os::raw::c_int; |
| 10970 |
} |
| 10971 |
extern "C" { |
| 10972 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u64le"] |
| 10973 |
pub fn CBS_get_u64le(cbs: *mut CBS, out: *mut u64) -> ::std::os::raw::c_int; |
| 10974 |
} |
| 10975 |
extern "C" { |
| 10976 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_last_u8"] |
| 10977 |
pub fn CBS_get_last_u8(cbs: *mut CBS, out: *mut u8) -> ::std::os::raw::c_int; |
| 10978 |
} |
| 10979 |
extern "C" { |
| 10980 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_bytes"] |
| 10981 |
pub fn CBS_get_bytes(cbs: *mut CBS, out: *mut CBS, len: usize) -> ::std::os::raw::c_int; |
| 10982 |
} |
| 10983 |
extern "C" { |
| 10984 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_copy_bytes"] |
| 10985 |
pub fn CBS_copy_bytes(cbs: *mut CBS, out: *mut u8, len: usize) -> ::std::os::raw::c_int; |
| 10986 |
} |
| 10987 |
extern "C" { |
| 10988 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u8_length_prefixed"] |
| 10989 |
pub fn CBS_get_u8_length_prefixed(cbs: *mut CBS, out: *mut CBS) -> ::std::os::raw::c_int; |
| 10990 |
} |
| 10991 |
extern "C" { |
| 10992 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u16_length_prefixed"] |
| 10993 |
pub fn CBS_get_u16_length_prefixed(cbs: *mut CBS, out: *mut CBS) -> ::std::os::raw::c_int; |
| 10994 |
} |
| 10995 |
extern "C" { |
| 10996 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u24_length_prefixed"] |
| 10997 |
pub fn CBS_get_u24_length_prefixed(cbs: *mut CBS, out: *mut CBS) -> ::std::os::raw::c_int; |
| 10998 |
} |
| 10999 |
extern "C" { |
| 11000 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_until_first"] |
| 11001 |
pub fn CBS_get_until_first(cbs: *mut CBS, out: *mut CBS, c: u8) -> ::std::os::raw::c_int; |
| 11002 |
} |
| 11003 |
extern "C" { |
| 11004 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_u64_decimal"] |
| 11005 |
pub fn CBS_get_u64_decimal(cbs: *mut CBS, out: *mut u64) -> ::std::os::raw::c_int; |
| 11006 |
} |
| 11007 |
extern "C" { |
| 11008 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_asn1"] |
| 11009 |
pub fn CBS_get_asn1( |
| 11010 |
cbs: *mut CBS, |
| 11011 |
out: *mut CBS, |
| 11012 |
tag_value: CBS_ASN1_TAG, |
| 11013 |
) -> ::std::os::raw::c_int; |
| 11014 |
} |
| 11015 |
extern "C" { |
| 11016 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_asn1_element"] |
| 11017 |
pub fn CBS_get_asn1_element( |
| 11018 |
cbs: *mut CBS, |
| 11019 |
out: *mut CBS, |
| 11020 |
tag_value: CBS_ASN1_TAG, |
| 11021 |
) -> ::std::os::raw::c_int; |
| 11022 |
} |
| 11023 |
extern "C" { |
| 11024 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_peek_asn1_tag"] |
| 11025 |
pub fn CBS_peek_asn1_tag(cbs: *const CBS, tag_value: CBS_ASN1_TAG) -> ::std::os::raw::c_int; |
| 11026 |
} |
| 11027 |
extern "C" { |
| 11028 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_any_asn1"] |
| 11029 |
pub fn CBS_get_any_asn1( |
| 11030 |
cbs: *mut CBS, |
| 11031 |
out: *mut CBS, |
| 11032 |
out_tag: *mut CBS_ASN1_TAG, |
| 11033 |
) -> ::std::os::raw::c_int; |
| 11034 |
} |
| 11035 |
extern "C" { |
| 11036 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_any_asn1_element"] |
| 11037 |
pub fn CBS_get_any_asn1_element( |
| 11038 |
cbs: *mut CBS, |
| 11039 |
out: *mut CBS, |
| 11040 |
out_tag: *mut CBS_ASN1_TAG, |
| 11041 |
out_header_len: *mut usize, |
| 11042 |
) -> ::std::os::raw::c_int; |
| 11043 |
} |
| 11044 |
extern "C" { |
| 11045 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_any_ber_asn1_element"] |
| 11046 |
pub fn CBS_get_any_ber_asn1_element( |
| 11047 |
cbs: *mut CBS, |
| 11048 |
out: *mut CBS, |
| 11049 |
out_tag: *mut CBS_ASN1_TAG, |
| 11050 |
out_header_len: *mut usize, |
| 11051 |
out_ber_found: *mut ::std::os::raw::c_int, |
| 11052 |
out_indefinite: *mut ::std::os::raw::c_int, |
| 11053 |
) -> ::std::os::raw::c_int; |
| 11054 |
} |
| 11055 |
extern "C" { |
| 11056 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_asn1_uint64"] |
| 11057 |
pub fn CBS_get_asn1_uint64(cbs: *mut CBS, out: *mut u64) -> ::std::os::raw::c_int; |
| 11058 |
} |
| 11059 |
extern "C" { |
| 11060 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_asn1_int64"] |
| 11061 |
pub fn CBS_get_asn1_int64(cbs: *mut CBS, out: *mut i64) -> ::std::os::raw::c_int; |
| 11062 |
} |
| 11063 |
extern "C" { |
| 11064 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_asn1_bool"] |
| 11065 |
pub fn CBS_get_asn1_bool( |
| 11066 |
cbs: *mut CBS, |
| 11067 |
out: *mut ::std::os::raw::c_int, |
| 11068 |
) -> ::std::os::raw::c_int; |
| 11069 |
} |
| 11070 |
extern "C" { |
| 11071 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_optional_asn1"] |
| 11072 |
pub fn CBS_get_optional_asn1( |
| 11073 |
cbs: *mut CBS, |
| 11074 |
out: *mut CBS, |
| 11075 |
out_present: *mut ::std::os::raw::c_int, |
| 11076 |
tag: CBS_ASN1_TAG, |
| 11077 |
) -> ::std::os::raw::c_int; |
| 11078 |
} |
| 11079 |
extern "C" { |
| 11080 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_optional_asn1_octet_string"] |
| 11081 |
pub fn CBS_get_optional_asn1_octet_string( |
| 11082 |
cbs: *mut CBS, |
| 11083 |
out: *mut CBS, |
| 11084 |
out_present: *mut ::std::os::raw::c_int, |
| 11085 |
tag: CBS_ASN1_TAG, |
| 11086 |
) -> ::std::os::raw::c_int; |
| 11087 |
} |
| 11088 |
extern "C" { |
| 11089 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_optional_asn1_uint64"] |
| 11090 |
pub fn CBS_get_optional_asn1_uint64( |
| 11091 |
cbs: *mut CBS, |
| 11092 |
out: *mut u64, |
| 11093 |
tag: CBS_ASN1_TAG, |
| 11094 |
default_value: u64, |
| 11095 |
) -> ::std::os::raw::c_int; |
| 11096 |
} |
| 11097 |
extern "C" { |
| 11098 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_optional_asn1_bool"] |
| 11099 |
pub fn CBS_get_optional_asn1_bool( |
| 11100 |
cbs: *mut CBS, |
| 11101 |
out: *mut ::std::os::raw::c_int, |
| 11102 |
tag: CBS_ASN1_TAG, |
| 11103 |
default_value: ::std::os::raw::c_int, |
| 11104 |
) -> ::std::os::raw::c_int; |
| 11105 |
} |
| 11106 |
extern "C" { |
| 11107 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_is_valid_asn1_bitstring"] |
| 11108 |
pub fn CBS_is_valid_asn1_bitstring(cbs: *const CBS) -> ::std::os::raw::c_int; |
| 11109 |
} |
| 11110 |
extern "C" { |
| 11111 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_asn1_bitstring_has_bit"] |
| 11112 |
pub fn CBS_asn1_bitstring_has_bit( |
| 11113 |
cbs: *const CBS, |
| 11114 |
bit: ::std::os::raw::c_uint, |
| 11115 |
) -> ::std::os::raw::c_int; |
| 11116 |
} |
| 11117 |
extern "C" { |
| 11118 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_is_valid_asn1_integer"] |
| 11119 |
pub fn CBS_is_valid_asn1_integer( |
| 11120 |
cbs: *const CBS, |
| 11121 |
out_is_negative: *mut ::std::os::raw::c_int, |
| 11122 |
) -> ::std::os::raw::c_int; |
| 11123 |
} |
| 11124 |
extern "C" { |
| 11125 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_is_unsigned_asn1_integer"] |
| 11126 |
pub fn CBS_is_unsigned_asn1_integer(cbs: *const CBS) -> ::std::os::raw::c_int; |
| 11127 |
} |
| 11128 |
extern "C" { |
| 11129 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_is_valid_asn1_oid"] |
| 11130 |
pub fn CBS_is_valid_asn1_oid(cbs: *const CBS) -> ::std::os::raw::c_int; |
| 11131 |
} |
| 11132 |
extern "C" { |
| 11133 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_asn1_oid_to_text"] |
| 11134 |
pub fn CBS_asn1_oid_to_text(cbs: *const CBS) -> *mut ::std::os::raw::c_char; |
| 11135 |
} |
| 11136 |
extern "C" { |
| 11137 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_parse_generalized_time"] |
| 11138 |
pub fn CBS_parse_generalized_time( |
| 11139 |
cbs: *const CBS, |
| 11140 |
out_tm: *mut tm, |
| 11141 |
allow_timezone_offset: ::std::os::raw::c_int, |
| 11142 |
) -> ::std::os::raw::c_int; |
| 11143 |
} |
| 11144 |
extern "C" { |
| 11145 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_parse_utc_time"] |
| 11146 |
pub fn CBS_parse_utc_time( |
| 11147 |
cbs: *const CBS, |
| 11148 |
out_tm: *mut tm, |
| 11149 |
allow_timezone_offset: ::std::os::raw::c_int, |
| 11150 |
) -> ::std::os::raw::c_int; |
| 11151 |
} |
| 11152 |
extern "C" { |
| 11153 |
#[link_name = "\u{1}aws_lc_0_41_0_CBS_get_optional_asn1_int64"] |
| 11154 |
pub fn CBS_get_optional_asn1_int64( |
| 11155 |
cbs: *mut CBS, |
| 11156 |
out: *mut i64, |
| 11157 |
tag: CBS_ASN1_TAG, |
| 11158 |
default_value: i64, |
| 11159 |
) -> ::std::os::raw::c_int; |
| 11160 |
} |
| 11161 |
#[repr(C)] |
| 11162 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 11163 |
pub struct cbb_buffer_st { |
| 11164 |
pub buf: *mut u8, |
| 11165 |
pub len: usize, |
| 11166 |
pub cap: usize, |
| 11167 |
pub _bitfield_align_1: [u8; 0], |
| 11168 |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, |
| 11169 |
pub __bindgen_padding_0: [u8; 7usize], |
| 11170 |
} |
| 11171 |
#[test] |
| 11172 |
fn bindgen_test_layout_cbb_buffer_st() { |
| 11173 |
const UNINIT: ::std::mem::MaybeUninit<cbb_buffer_st> = ::std::mem::MaybeUninit::uninit(); |
| 11174 |
let ptr = UNINIT.as_ptr(); |
| 11175 |
assert_eq!( |
| 11176 |
::std::mem::size_of::<cbb_buffer_st>(), |
| 11177 |
32usize, |
| 11178 |
"Size of cbb_buffer_st" |
| 11179 |
); |
| 11180 |
assert_eq!( |
| 11181 |
::std::mem::align_of::<cbb_buffer_st>(), |
| 11182 |
8usize, |
| 11183 |
"Alignment of cbb_buffer_st" |
| 11184 |
); |
| 11185 |
assert_eq!( |
| 11186 |
unsafe { ::std::ptr::addr_of!((*ptr).buf) as usize - ptr as usize }, |
| 11187 |
0usize, |
| 11188 |
"Offset of field: cbb_buffer_st::buf" |
| 11189 |
); |
| 11190 |
assert_eq!( |
| 11191 |
unsafe { ::std::ptr::addr_of!((*ptr).len) as usize - ptr as usize }, |
| 11192 |
8usize, |
| 11193 |
"Offset of field: cbb_buffer_st::len" |
| 11194 |
); |
| 11195 |
assert_eq!( |
| 11196 |
unsafe { ::std::ptr::addr_of!((*ptr).cap) as usize - ptr as usize }, |
| 11197 |
16usize, |
| 11198 |
"Offset of field: cbb_buffer_st::cap" |
| 11199 |
); |
| 11200 |
} |
| 11201 |
impl Default for cbb_buffer_st { |
| 11202 |
fn default() -> Self { |
| 11203 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 11204 |
unsafe { |
| 11205 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 11206 |
s.assume_init() |
| 11207 |
} |
| 11208 |
} |
| 11209 |
} |
| 11210 |
impl cbb_buffer_st { |
| 11211 |
#[inline] |
| 11212 |
pub fn can_resize(&self) -> ::std::os::raw::c_uint { |
| 11213 |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } |
| 11214 |
} |
| 11215 |
#[inline] |
| 11216 |
pub fn set_can_resize(&mut self, val: ::std::os::raw::c_uint) { |
| 11217 |
unsafe { |
| 11218 |
let val: u32 = ::std::mem::transmute(val); |
| 11219 |
self._bitfield_1.set(0usize, 1u8, val as u64) |
| 11220 |
} |
| 11221 |
} |
| 11222 |
#[inline] |
| 11223 |
pub unsafe fn can_resize_raw(this: *const Self) -> ::std::os::raw::c_uint { |
| 11224 |
unsafe { |
| 11225 |
::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get( |
| 11226 |
::std::ptr::addr_of!((*this)._bitfield_1), |
| 11227 |
0usize, |
| 11228 |
1u8, |
| 11229 |
) as u32) |
| 11230 |
} |
| 11231 |
} |
| 11232 |
#[inline] |
| 11233 |
pub unsafe fn set_can_resize_raw(this: *mut Self, val: ::std::os::raw::c_uint) { |
| 11234 |
unsafe { |
| 11235 |
let val: u32 = ::std::mem::transmute(val); |
| 11236 |
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set( |
| 11237 |
::std::ptr::addr_of_mut!((*this)._bitfield_1), |
| 11238 |
0usize, |
| 11239 |
1u8, |
| 11240 |
val as u64, |
| 11241 |
) |
| 11242 |
} |
| 11243 |
} |
| 11244 |
#[inline] |
| 11245 |
pub fn error(&self) -> ::std::os::raw::c_uint { |
| 11246 |
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } |
| 11247 |
} |
| 11248 |
#[inline] |
| 11249 |
pub fn set_error(&mut self, val: ::std::os::raw::c_uint) { |
| 11250 |
unsafe { |
| 11251 |
let val: u32 = ::std::mem::transmute(val); |
| 11252 |
self._bitfield_1.set(1usize, 1u8, val as u64) |
| 11253 |
} |
| 11254 |
} |
| 11255 |
#[inline] |
| 11256 |
pub unsafe fn error_raw(this: *const Self) -> ::std::os::raw::c_uint { |
| 11257 |
unsafe { |
| 11258 |
::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get( |
| 11259 |
::std::ptr::addr_of!((*this)._bitfield_1), |
| 11260 |
1usize, |
| 11261 |
1u8, |
| 11262 |
) as u32) |
| 11263 |
} |
| 11264 |
} |
| 11265 |
#[inline] |
| 11266 |
pub unsafe fn set_error_raw(this: *mut Self, val: ::std::os::raw::c_uint) { |
| 11267 |
unsafe { |
| 11268 |
let val: u32 = ::std::mem::transmute(val); |
| 11269 |
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set( |
| 11270 |
::std::ptr::addr_of_mut!((*this)._bitfield_1), |
| 11271 |
1usize, |
| 11272 |
1u8, |
| 11273 |
val as u64, |
| 11274 |
) |
| 11275 |
} |
| 11276 |
} |
| 11277 |
#[inline] |
| 11278 |
pub fn new_bitfield_1( |
| 11279 |
can_resize: ::std::os::raw::c_uint, |
| 11280 |
error: ::std::os::raw::c_uint, |
| 11281 |
) -> __BindgenBitfieldUnit<[u8; 1usize]> { |
| 11282 |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); |
| 11283 |
__bindgen_bitfield_unit.set(0usize, 1u8, { |
| 11284 |
let can_resize: u32 = unsafe { ::std::mem::transmute(can_resize) }; |
| 11285 |
can_resize as u64 |
| 11286 |
}); |
| 11287 |
__bindgen_bitfield_unit.set(1usize, 1u8, { |
| 11288 |
let error: u32 = unsafe { ::std::mem::transmute(error) }; |
| 11289 |
error as u64 |
| 11290 |
}); |
| 11291 |
__bindgen_bitfield_unit |
| 11292 |
} |
| 11293 |
} |
| 11294 |
#[repr(C)] |
| 11295 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 11296 |
pub struct cbb_child_st { |
| 11297 |
pub base: *mut cbb_buffer_st, |
| 11298 |
pub offset: usize, |
| 11299 |
pub pending_len_len: u8, |
| 11300 |
pub _bitfield_align_1: [u8; 0], |
| 11301 |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, |
| 11302 |
pub __bindgen_padding_0: [u16; 3usize], |
| 11303 |
} |
| 11304 |
#[test] |
| 11305 |
fn bindgen_test_layout_cbb_child_st() { |
| 11306 |
const UNINIT: ::std::mem::MaybeUninit<cbb_child_st> = ::std::mem::MaybeUninit::uninit(); |
| 11307 |
let ptr = UNINIT.as_ptr(); |
| 11308 |
assert_eq!( |
| 11309 |
::std::mem::size_of::<cbb_child_st>(), |
| 11310 |
24usize, |
| 11311 |
"Size of cbb_child_st" |
| 11312 |
); |
| 11313 |
assert_eq!( |
| 11314 |
::std::mem::align_of::<cbb_child_st>(), |
| 11315 |
8usize, |
| 11316 |
"Alignment of cbb_child_st" |
| 11317 |
); |
| 11318 |
assert_eq!( |
| 11319 |
unsafe { ::std::ptr::addr_of!((*ptr).base) as usize - ptr as usize }, |
| 11320 |
0usize, |
| 11321 |
"Offset of field: cbb_child_st::base" |
| 11322 |
); |
| 11323 |
assert_eq!( |
| 11324 |
unsafe { ::std::ptr::addr_of!((*ptr).offset) as usize - ptr as usize }, |
| 11325 |
8usize, |
| 11326 |
"Offset of field: cbb_child_st::offset" |
| 11327 |
); |
| 11328 |
assert_eq!( |
| 11329 |
unsafe { ::std::ptr::addr_of!((*ptr).pending_len_len) as usize - ptr as usize }, |
| 11330 |
16usize, |
| 11331 |
"Offset of field: cbb_child_st::pending_len_len" |
| 11332 |
); |
| 11333 |
} |
| 11334 |
impl Default for cbb_child_st { |
| 11335 |
fn default() -> Self { |
| 11336 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 11337 |
unsafe { |
| 11338 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 11339 |
s.assume_init() |
| 11340 |
} |
| 11341 |
} |
| 11342 |
} |
| 11343 |
impl cbb_child_st { |
| 11344 |
#[inline] |
| 11345 |
pub fn pending_is_asn1(&self) -> ::std::os::raw::c_uint { |
| 11346 |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } |
| 11347 |
} |
| 11348 |
#[inline] |
| 11349 |
pub fn set_pending_is_asn1(&mut self, val: ::std::os::raw::c_uint) { |
| 11350 |
unsafe { |
| 11351 |
let val: u32 = ::std::mem::transmute(val); |
| 11352 |
self._bitfield_1.set(0usize, 1u8, val as u64) |
| 11353 |
} |
| 11354 |
} |
| 11355 |
#[inline] |
| 11356 |
pub unsafe fn pending_is_asn1_raw(this: *const Self) -> ::std::os::raw::c_uint { |
| 11357 |
unsafe { |
| 11358 |
::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get( |
| 11359 |
::std::ptr::addr_of!((*this)._bitfield_1), |
| 11360 |
0usize, |
| 11361 |
1u8, |
| 11362 |
) as u32) |
| 11363 |
} |
| 11364 |
} |
| 11365 |
#[inline] |
| 11366 |
pub unsafe fn set_pending_is_asn1_raw(this: *mut Self, val: ::std::os::raw::c_uint) { |
| 11367 |
unsafe { |
| 11368 |
let val: u32 = ::std::mem::transmute(val); |
| 11369 |
<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set( |
| 11370 |
::std::ptr::addr_of_mut!((*this)._bitfield_1), |
| 11371 |
0usize, |
| 11372 |
1u8, |
| 11373 |
val as u64, |
| 11374 |
) |
| 11375 |
} |
| 11376 |
} |
| 11377 |
#[inline] |
| 11378 |
pub fn new_bitfield_1( |
| 11379 |
pending_is_asn1: ::std::os::raw::c_uint, |
| 11380 |
) -> __BindgenBitfieldUnit<[u8; 1usize]> { |
| 11381 |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); |
| 11382 |
__bindgen_bitfield_unit.set(0usize, 1u8, { |
| 11383 |
let pending_is_asn1: u32 = unsafe { ::std::mem::transmute(pending_is_asn1) }; |
| 11384 |
pending_is_asn1 as u64 |
| 11385 |
}); |
| 11386 |
__bindgen_bitfield_unit |
| 11387 |
} |
| 11388 |
} |
| 11389 |
#[repr(C)] |
| 11390 |
#[derive(Copy, Clone)] |
| 11391 |
pub struct cbb_st { |
| 11392 |
pub child: *mut CBB, |
| 11393 |
pub is_child: ::std::os::raw::c_char, |
| 11394 |
pub u: cbb_st__bindgen_ty_1, |
| 11395 |
} |
| 11396 |
#[repr(C)] |
| 11397 |
#[derive(Copy, Clone)] |
| 11398 |
pub union cbb_st__bindgen_ty_1 { |
| 11399 |
pub base: cbb_buffer_st, |
| 11400 |
pub child: cbb_child_st, |
| 11401 |
} |
| 11402 |
#[test] |
| 11403 |
fn bindgen_test_layout_cbb_st__bindgen_ty_1() { |
| 11404 |
const UNINIT: ::std::mem::MaybeUninit<cbb_st__bindgen_ty_1> = ::std::mem::MaybeUninit::uninit(); |
| 11405 |
let ptr = UNINIT.as_ptr(); |
| 11406 |
assert_eq!( |
| 11407 |
::std::mem::size_of::<cbb_st__bindgen_ty_1>(), |
| 11408 |
32usize, |
| 11409 |
"Size of cbb_st__bindgen_ty_1" |
| 11410 |
); |
| 11411 |
assert_eq!( |
| 11412 |
::std::mem::align_of::<cbb_st__bindgen_ty_1>(), |
| 11413 |
8usize, |
| 11414 |
"Alignment of cbb_st__bindgen_ty_1" |
| 11415 |
); |
| 11416 |
assert_eq!( |
| 11417 |
unsafe { ::std::ptr::addr_of!((*ptr).base) as usize - ptr as usize }, |
| 11418 |
0usize, |
| 11419 |
"Offset of field: cbb_st__bindgen_ty_1::base" |
| 11420 |
); |
| 11421 |
assert_eq!( |
| 11422 |
unsafe { ::std::ptr::addr_of!((*ptr).child) as usize - ptr as usize }, |
| 11423 |
0usize, |
| 11424 |
"Offset of field: cbb_st__bindgen_ty_1::child" |
| 11425 |
); |
| 11426 |
} |
| 11427 |
impl Default for cbb_st__bindgen_ty_1 { |
| 11428 |
fn default() -> Self { |
| 11429 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 11430 |
unsafe { |
| 11431 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 11432 |
s.assume_init() |
| 11433 |
} |
| 11434 |
} |
| 11435 |
} |
| 11436 |
#[test] |
| 11437 |
fn bindgen_test_layout_cbb_st() { |
| 11438 |
const UNINIT: ::std::mem::MaybeUninit<cbb_st> = ::std::mem::MaybeUninit::uninit(); |
| 11439 |
let ptr = UNINIT.as_ptr(); |
| 11440 |
assert_eq!(::std::mem::size_of::<cbb_st>(), 48usize, "Size of cbb_st"); |
| 11441 |
assert_eq!( |
| 11442 |
::std::mem::align_of::<cbb_st>(), |
| 11443 |
8usize, |
| 11444 |
"Alignment of cbb_st" |
| 11445 |
); |
| 11446 |
assert_eq!( |
| 11447 |
unsafe { ::std::ptr::addr_of!((*ptr).child) as usize - ptr as usize }, |
| 11448 |
0usize, |
| 11449 |
"Offset of field: cbb_st::child" |
| 11450 |
); |
| 11451 |
assert_eq!( |
| 11452 |
unsafe { ::std::ptr::addr_of!((*ptr).is_child) as usize - ptr as usize }, |
| 11453 |
8usize, |
| 11454 |
"Offset of field: cbb_st::is_child" |
| 11455 |
); |
| 11456 |
assert_eq!( |
| 11457 |
unsafe { ::std::ptr::addr_of!((*ptr).u) as usize - ptr as usize }, |
| 11458 |
16usize, |
| 11459 |
"Offset of field: cbb_st::u" |
| 11460 |
); |
| 11461 |
} |
| 11462 |
impl Default for cbb_st { |
| 11463 |
fn default() -> Self { |
| 11464 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 11465 |
unsafe { |
| 11466 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 11467 |
s.assume_init() |
| 11468 |
} |
| 11469 |
} |
| 11470 |
} |
| 11471 |
extern "C" { |
| 11472 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_zero"] |
| 11473 |
pub fn CBB_zero(cbb: *mut CBB); |
| 11474 |
} |
| 11475 |
extern "C" { |
| 11476 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_init"] |
| 11477 |
pub fn CBB_init(cbb: *mut CBB, initial_capacity: usize) -> ::std::os::raw::c_int; |
| 11478 |
} |
| 11479 |
extern "C" { |
| 11480 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_init_fixed"] |
| 11481 |
pub fn CBB_init_fixed(cbb: *mut CBB, buf: *mut u8, len: usize) -> ::std::os::raw::c_int; |
| 11482 |
} |
| 11483 |
extern "C" { |
| 11484 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_cleanup"] |
| 11485 |
pub fn CBB_cleanup(cbb: *mut CBB); |
| 11486 |
} |
| 11487 |
extern "C" { |
| 11488 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_finish"] |
| 11489 |
pub fn CBB_finish( |
| 11490 |
cbb: *mut CBB, |
| 11491 |
out_data: *mut *mut u8, |
| 11492 |
out_len: *mut usize, |
| 11493 |
) -> ::std::os::raw::c_int; |
| 11494 |
} |
| 11495 |
extern "C" { |
| 11496 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_flush"] |
| 11497 |
pub fn CBB_flush(cbb: *mut CBB) -> ::std::os::raw::c_int; |
| 11498 |
} |
| 11499 |
extern "C" { |
| 11500 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_data"] |
| 11501 |
pub fn CBB_data(cbb: *const CBB) -> *const u8; |
| 11502 |
} |
| 11503 |
extern "C" { |
| 11504 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_len"] |
| 11505 |
pub fn CBB_len(cbb: *const CBB) -> usize; |
| 11506 |
} |
| 11507 |
extern "C" { |
| 11508 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u8_length_prefixed"] |
| 11509 |
pub fn CBB_add_u8_length_prefixed( |
| 11510 |
cbb: *mut CBB, |
| 11511 |
out_contents: *mut CBB, |
| 11512 |
) -> ::std::os::raw::c_int; |
| 11513 |
} |
| 11514 |
extern "C" { |
| 11515 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u16_length_prefixed"] |
| 11516 |
pub fn CBB_add_u16_length_prefixed( |
| 11517 |
cbb: *mut CBB, |
| 11518 |
out_contents: *mut CBB, |
| 11519 |
) -> ::std::os::raw::c_int; |
| 11520 |
} |
| 11521 |
extern "C" { |
| 11522 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u24_length_prefixed"] |
| 11523 |
pub fn CBB_add_u24_length_prefixed( |
| 11524 |
cbb: *mut CBB, |
| 11525 |
out_contents: *mut CBB, |
| 11526 |
) -> ::std::os::raw::c_int; |
| 11527 |
} |
| 11528 |
extern "C" { |
| 11529 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_asn1"] |
| 11530 |
pub fn CBB_add_asn1( |
| 11531 |
cbb: *mut CBB, |
| 11532 |
out_contents: *mut CBB, |
| 11533 |
tag: CBS_ASN1_TAG, |
| 11534 |
) -> ::std::os::raw::c_int; |
| 11535 |
} |
| 11536 |
extern "C" { |
| 11537 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_bytes"] |
| 11538 |
pub fn CBB_add_bytes(cbb: *mut CBB, data: *const u8, len: usize) -> ::std::os::raw::c_int; |
| 11539 |
} |
| 11540 |
extern "C" { |
| 11541 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_zeros"] |
| 11542 |
pub fn CBB_add_zeros(cbb: *mut CBB, len: usize) -> ::std::os::raw::c_int; |
| 11543 |
} |
| 11544 |
extern "C" { |
| 11545 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_space"] |
| 11546 |
pub fn CBB_add_space( |
| 11547 |
cbb: *mut CBB, |
| 11548 |
out_data: *mut *mut u8, |
| 11549 |
len: usize, |
| 11550 |
) -> ::std::os::raw::c_int; |
| 11551 |
} |
| 11552 |
extern "C" { |
| 11553 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_reserve"] |
| 11554 |
pub fn CBB_reserve(cbb: *mut CBB, out_data: *mut *mut u8, len: usize) -> ::std::os::raw::c_int; |
| 11555 |
} |
| 11556 |
extern "C" { |
| 11557 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_did_write"] |
| 11558 |
pub fn CBB_did_write(cbb: *mut CBB, len: usize) -> ::std::os::raw::c_int; |
| 11559 |
} |
| 11560 |
extern "C" { |
| 11561 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u8"] |
| 11562 |
pub fn CBB_add_u8(cbb: *mut CBB, value: u8) -> ::std::os::raw::c_int; |
| 11563 |
} |
| 11564 |
extern "C" { |
| 11565 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u16"] |
| 11566 |
pub fn CBB_add_u16(cbb: *mut CBB, value: u16) -> ::std::os::raw::c_int; |
| 11567 |
} |
| 11568 |
extern "C" { |
| 11569 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u16le"] |
| 11570 |
pub fn CBB_add_u16le(cbb: *mut CBB, value: u16) -> ::std::os::raw::c_int; |
| 11571 |
} |
| 11572 |
extern "C" { |
| 11573 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u24"] |
| 11574 |
pub fn CBB_add_u24(cbb: *mut CBB, value: u32) -> ::std::os::raw::c_int; |
| 11575 |
} |
| 11576 |
extern "C" { |
| 11577 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u32"] |
| 11578 |
pub fn CBB_add_u32(cbb: *mut CBB, value: u32) -> ::std::os::raw::c_int; |
| 11579 |
} |
| 11580 |
extern "C" { |
| 11581 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u32le"] |
| 11582 |
pub fn CBB_add_u32le(cbb: *mut CBB, value: u32) -> ::std::os::raw::c_int; |
| 11583 |
} |
| 11584 |
extern "C" { |
| 11585 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u64"] |
| 11586 |
pub fn CBB_add_u64(cbb: *mut CBB, value: u64) -> ::std::os::raw::c_int; |
| 11587 |
} |
| 11588 |
extern "C" { |
| 11589 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_u64le"] |
| 11590 |
pub fn CBB_add_u64le(cbb: *mut CBB, value: u64) -> ::std::os::raw::c_int; |
| 11591 |
} |
| 11592 |
extern "C" { |
| 11593 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_discard_child"] |
| 11594 |
pub fn CBB_discard_child(cbb: *mut CBB); |
| 11595 |
} |
| 11596 |
extern "C" { |
| 11597 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_asn1_uint64"] |
| 11598 |
pub fn CBB_add_asn1_uint64(cbb: *mut CBB, value: u64) -> ::std::os::raw::c_int; |
| 11599 |
} |
| 11600 |
extern "C" { |
| 11601 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_asn1_uint64_with_tag"] |
| 11602 |
pub fn CBB_add_asn1_uint64_with_tag( |
| 11603 |
cbb: *mut CBB, |
| 11604 |
value: u64, |
| 11605 |
tag: CBS_ASN1_TAG, |
| 11606 |
) -> ::std::os::raw::c_int; |
| 11607 |
} |
| 11608 |
extern "C" { |
| 11609 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_asn1_int64"] |
| 11610 |
pub fn CBB_add_asn1_int64(cbb: *mut CBB, value: i64) -> ::std::os::raw::c_int; |
| 11611 |
} |
| 11612 |
extern "C" { |
| 11613 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_asn1_int64_with_tag"] |
| 11614 |
pub fn CBB_add_asn1_int64_with_tag( |
| 11615 |
cbb: *mut CBB, |
| 11616 |
value: i64, |
| 11617 |
tag: CBS_ASN1_TAG, |
| 11618 |
) -> ::std::os::raw::c_int; |
| 11619 |
} |
| 11620 |
extern "C" { |
| 11621 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_asn1_octet_string"] |
| 11622 |
pub fn CBB_add_asn1_octet_string( |
| 11623 |
cbb: *mut CBB, |
| 11624 |
data: *const u8, |
| 11625 |
data_len: usize, |
| 11626 |
) -> ::std::os::raw::c_int; |
| 11627 |
} |
| 11628 |
extern "C" { |
| 11629 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_asn1_bool"] |
| 11630 |
pub fn CBB_add_asn1_bool(cbb: *mut CBB, value: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 11631 |
} |
| 11632 |
extern "C" { |
| 11633 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_add_asn1_oid_from_text"] |
| 11634 |
pub fn CBB_add_asn1_oid_from_text( |
| 11635 |
cbb: *mut CBB, |
| 11636 |
text: *const ::std::os::raw::c_char, |
| 11637 |
len: usize, |
| 11638 |
) -> ::std::os::raw::c_int; |
| 11639 |
} |
| 11640 |
extern "C" { |
| 11641 |
#[link_name = "\u{1}aws_lc_0_41_0_CBB_flush_asn1_set_of"] |
| 11642 |
pub fn CBB_flush_asn1_set_of(cbb: *mut CBB) -> ::std::os::raw::c_int; |
| 11643 |
} |
| 11644 |
extern "C" { |
| 11645 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_chacha_20"] |
| 11646 |
pub fn CRYPTO_chacha_20( |
| 11647 |
out: *mut u8, |
| 11648 |
in_: *const u8, |
| 11649 |
in_len: usize, |
| 11650 |
key: *const u8, |
| 11651 |
nonce: *const u8, |
| 11652 |
counter: u32, |
| 11653 |
); |
| 11654 |
} |
| 11655 |
extern "C" { |
| 11656 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_rc4"] |
| 11657 |
pub fn EVP_rc4() -> *const EVP_CIPHER; |
| 11658 |
} |
| 11659 |
extern "C" { |
| 11660 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_des_cbc"] |
| 11661 |
pub fn EVP_des_cbc() -> *const EVP_CIPHER; |
| 11662 |
} |
| 11663 |
extern "C" { |
| 11664 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_des_ecb"] |
| 11665 |
pub fn EVP_des_ecb() -> *const EVP_CIPHER; |
| 11666 |
} |
| 11667 |
extern "C" { |
| 11668 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_des_ede"] |
| 11669 |
pub fn EVP_des_ede() -> *const EVP_CIPHER; |
| 11670 |
} |
| 11671 |
extern "C" { |
| 11672 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_des_ede3"] |
| 11673 |
pub fn EVP_des_ede3() -> *const EVP_CIPHER; |
| 11674 |
} |
| 11675 |
extern "C" { |
| 11676 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_des_ede_cbc"] |
| 11677 |
pub fn EVP_des_ede_cbc() -> *const EVP_CIPHER; |
| 11678 |
} |
| 11679 |
extern "C" { |
| 11680 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_des_ede3_cbc"] |
| 11681 |
pub fn EVP_des_ede3_cbc() -> *const EVP_CIPHER; |
| 11682 |
} |
| 11683 |
extern "C" { |
| 11684 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_ecb"] |
| 11685 |
pub fn EVP_aes_128_ecb() -> *const EVP_CIPHER; |
| 11686 |
} |
| 11687 |
extern "C" { |
| 11688 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_cbc"] |
| 11689 |
pub fn EVP_aes_128_cbc() -> *const EVP_CIPHER; |
| 11690 |
} |
| 11691 |
extern "C" { |
| 11692 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_ctr"] |
| 11693 |
pub fn EVP_aes_128_ctr() -> *const EVP_CIPHER; |
| 11694 |
} |
| 11695 |
extern "C" { |
| 11696 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_ofb"] |
| 11697 |
pub fn EVP_aes_128_ofb() -> *const EVP_CIPHER; |
| 11698 |
} |
| 11699 |
extern "C" { |
| 11700 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_ecb"] |
| 11701 |
pub fn EVP_aes_256_ecb() -> *const EVP_CIPHER; |
| 11702 |
} |
| 11703 |
extern "C" { |
| 11704 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_cbc"] |
| 11705 |
pub fn EVP_aes_256_cbc() -> *const EVP_CIPHER; |
| 11706 |
} |
| 11707 |
extern "C" { |
| 11708 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_ctr"] |
| 11709 |
pub fn EVP_aes_256_ctr() -> *const EVP_CIPHER; |
| 11710 |
} |
| 11711 |
extern "C" { |
| 11712 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_ofb"] |
| 11713 |
pub fn EVP_aes_256_ofb() -> *const EVP_CIPHER; |
| 11714 |
} |
| 11715 |
extern "C" { |
| 11716 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_xts"] |
| 11717 |
pub fn EVP_aes_256_xts() -> *const EVP_CIPHER; |
| 11718 |
} |
| 11719 |
extern "C" { |
| 11720 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_wrap"] |
| 11721 |
pub fn EVP_aes_256_wrap() -> *const EVP_CIPHER; |
| 11722 |
} |
| 11723 |
extern "C" { |
| 11724 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_enc_null"] |
| 11725 |
pub fn EVP_enc_null() -> *const EVP_CIPHER; |
| 11726 |
} |
| 11727 |
extern "C" { |
| 11728 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_rc2_cbc"] |
| 11729 |
pub fn EVP_rc2_cbc() -> *const EVP_CIPHER; |
| 11730 |
} |
| 11731 |
extern "C" { |
| 11732 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_rc2_40_cbc"] |
| 11733 |
pub fn EVP_rc2_40_cbc() -> *const EVP_CIPHER; |
| 11734 |
} |
| 11735 |
extern "C" { |
| 11736 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_chacha20_poly1305"] |
| 11737 |
pub fn EVP_chacha20_poly1305() -> *const EVP_CIPHER; |
| 11738 |
} |
| 11739 |
extern "C" { |
| 11740 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_get_cipherbynid"] |
| 11741 |
pub fn EVP_get_cipherbynid(nid: ::std::os::raw::c_int) -> *const EVP_CIPHER; |
| 11742 |
} |
| 11743 |
extern "C" { |
| 11744 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_init"] |
| 11745 |
pub fn EVP_CIPHER_CTX_init(ctx: *mut EVP_CIPHER_CTX); |
| 11746 |
} |
| 11747 |
extern "C" { |
| 11748 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_new"] |
| 11749 |
pub fn EVP_CIPHER_CTX_new() -> *mut EVP_CIPHER_CTX; |
| 11750 |
} |
| 11751 |
extern "C" { |
| 11752 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_cleanup"] |
| 11753 |
pub fn EVP_CIPHER_CTX_cleanup(ctx: *mut EVP_CIPHER_CTX) -> ::std::os::raw::c_int; |
| 11754 |
} |
| 11755 |
extern "C" { |
| 11756 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_free"] |
| 11757 |
pub fn EVP_CIPHER_CTX_free(ctx: *mut EVP_CIPHER_CTX); |
| 11758 |
} |
| 11759 |
extern "C" { |
| 11760 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_copy"] |
| 11761 |
pub fn EVP_CIPHER_CTX_copy( |
| 11762 |
out: *mut EVP_CIPHER_CTX, |
| 11763 |
in_: *const EVP_CIPHER_CTX, |
| 11764 |
) -> ::std::os::raw::c_int; |
| 11765 |
} |
| 11766 |
extern "C" { |
| 11767 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_reset"] |
| 11768 |
pub fn EVP_CIPHER_CTX_reset(ctx: *mut EVP_CIPHER_CTX) -> ::std::os::raw::c_int; |
| 11769 |
} |
| 11770 |
extern "C" { |
| 11771 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CipherInit_ex"] |
| 11772 |
pub fn EVP_CipherInit_ex( |
| 11773 |
ctx: *mut EVP_CIPHER_CTX, |
| 11774 |
cipher: *const EVP_CIPHER, |
| 11775 |
engine: *mut ENGINE, |
| 11776 |
key: *const u8, |
| 11777 |
iv: *const u8, |
| 11778 |
enc: ::std::os::raw::c_int, |
| 11779 |
) -> ::std::os::raw::c_int; |
| 11780 |
} |
| 11781 |
extern "C" { |
| 11782 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncryptInit_ex"] |
| 11783 |
pub fn EVP_EncryptInit_ex( |
| 11784 |
ctx: *mut EVP_CIPHER_CTX, |
| 11785 |
cipher: *const EVP_CIPHER, |
| 11786 |
impl_: *mut ENGINE, |
| 11787 |
key: *const u8, |
| 11788 |
iv: *const u8, |
| 11789 |
) -> ::std::os::raw::c_int; |
| 11790 |
} |
| 11791 |
extern "C" { |
| 11792 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecryptInit_ex"] |
| 11793 |
pub fn EVP_DecryptInit_ex( |
| 11794 |
ctx: *mut EVP_CIPHER_CTX, |
| 11795 |
cipher: *const EVP_CIPHER, |
| 11796 |
impl_: *mut ENGINE, |
| 11797 |
key: *const u8, |
| 11798 |
iv: *const u8, |
| 11799 |
) -> ::std::os::raw::c_int; |
| 11800 |
} |
| 11801 |
extern "C" { |
| 11802 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncryptUpdate"] |
| 11803 |
pub fn EVP_EncryptUpdate( |
| 11804 |
ctx: *mut EVP_CIPHER_CTX, |
| 11805 |
out: *mut u8, |
| 11806 |
out_len: *mut ::std::os::raw::c_int, |
| 11807 |
in_: *const u8, |
| 11808 |
in_len: ::std::os::raw::c_int, |
| 11809 |
) -> ::std::os::raw::c_int; |
| 11810 |
} |
| 11811 |
extern "C" { |
| 11812 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncryptFinal_ex"] |
| 11813 |
pub fn EVP_EncryptFinal_ex( |
| 11814 |
ctx: *mut EVP_CIPHER_CTX, |
| 11815 |
out: *mut u8, |
| 11816 |
out_len: *mut ::std::os::raw::c_int, |
| 11817 |
) -> ::std::os::raw::c_int; |
| 11818 |
} |
| 11819 |
extern "C" { |
| 11820 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecryptUpdate"] |
| 11821 |
pub fn EVP_DecryptUpdate( |
| 11822 |
ctx: *mut EVP_CIPHER_CTX, |
| 11823 |
out: *mut u8, |
| 11824 |
out_len: *mut ::std::os::raw::c_int, |
| 11825 |
in_: *const u8, |
| 11826 |
in_len: ::std::os::raw::c_int, |
| 11827 |
) -> ::std::os::raw::c_int; |
| 11828 |
} |
| 11829 |
extern "C" { |
| 11830 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecryptFinal_ex"] |
| 11831 |
pub fn EVP_DecryptFinal_ex( |
| 11832 |
ctx: *mut EVP_CIPHER_CTX, |
| 11833 |
out: *mut u8, |
| 11834 |
out_len: *mut ::std::os::raw::c_int, |
| 11835 |
) -> ::std::os::raw::c_int; |
| 11836 |
} |
| 11837 |
extern "C" { |
| 11838 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CipherUpdate"] |
| 11839 |
pub fn EVP_CipherUpdate( |
| 11840 |
ctx: *mut EVP_CIPHER_CTX, |
| 11841 |
out: *mut u8, |
| 11842 |
out_len: *mut ::std::os::raw::c_int, |
| 11843 |
in_: *const u8, |
| 11844 |
in_len: ::std::os::raw::c_int, |
| 11845 |
) -> ::std::os::raw::c_int; |
| 11846 |
} |
| 11847 |
extern "C" { |
| 11848 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CipherFinal_ex"] |
| 11849 |
pub fn EVP_CipherFinal_ex( |
| 11850 |
ctx: *mut EVP_CIPHER_CTX, |
| 11851 |
out: *mut u8, |
| 11852 |
out_len: *mut ::std::os::raw::c_int, |
| 11853 |
) -> ::std::os::raw::c_int; |
| 11854 |
} |
| 11855 |
extern "C" { |
| 11856 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_cipher"] |
| 11857 |
pub fn EVP_CIPHER_CTX_cipher(ctx: *const EVP_CIPHER_CTX) -> *const EVP_CIPHER; |
| 11858 |
} |
| 11859 |
extern "C" { |
| 11860 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_nid"] |
| 11861 |
pub fn EVP_CIPHER_CTX_nid(ctx: *const EVP_CIPHER_CTX) -> ::std::os::raw::c_int; |
| 11862 |
} |
| 11863 |
extern "C" { |
| 11864 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_encrypting"] |
| 11865 |
pub fn EVP_CIPHER_CTX_encrypting(ctx: *const EVP_CIPHER_CTX) -> ::std::os::raw::c_int; |
| 11866 |
} |
| 11867 |
extern "C" { |
| 11868 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_block_size"] |
| 11869 |
pub fn EVP_CIPHER_CTX_block_size(ctx: *const EVP_CIPHER_CTX) -> ::std::os::raw::c_uint; |
| 11870 |
} |
| 11871 |
extern "C" { |
| 11872 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_key_length"] |
| 11873 |
pub fn EVP_CIPHER_CTX_key_length(ctx: *const EVP_CIPHER_CTX) -> ::std::os::raw::c_uint; |
| 11874 |
} |
| 11875 |
extern "C" { |
| 11876 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_iv_length"] |
| 11877 |
pub fn EVP_CIPHER_CTX_iv_length(ctx: *const EVP_CIPHER_CTX) -> ::std::os::raw::c_uint; |
| 11878 |
} |
| 11879 |
extern "C" { |
| 11880 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_get_app_data"] |
| 11881 |
pub fn EVP_CIPHER_CTX_get_app_data(ctx: *const EVP_CIPHER_CTX) -> *mut ::std::os::raw::c_void; |
| 11882 |
} |
| 11883 |
extern "C" { |
| 11884 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_set_app_data"] |
| 11885 |
pub fn EVP_CIPHER_CTX_set_app_data(ctx: *mut EVP_CIPHER_CTX, data: *mut ::std::os::raw::c_void); |
| 11886 |
} |
| 11887 |
extern "C" { |
| 11888 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_flags"] |
| 11889 |
pub fn EVP_CIPHER_CTX_flags(ctx: *const EVP_CIPHER_CTX) -> u32; |
| 11890 |
} |
| 11891 |
extern "C" { |
| 11892 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_mode"] |
| 11893 |
pub fn EVP_CIPHER_CTX_mode(ctx: *const EVP_CIPHER_CTX) -> u32; |
| 11894 |
} |
| 11895 |
extern "C" { |
| 11896 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_ctrl"] |
| 11897 |
pub fn EVP_CIPHER_CTX_ctrl( |
| 11898 |
ctx: *mut EVP_CIPHER_CTX, |
| 11899 |
command: ::std::os::raw::c_int, |
| 11900 |
arg: ::std::os::raw::c_int, |
| 11901 |
ptr: *mut ::std::os::raw::c_void, |
| 11902 |
) -> ::std::os::raw::c_int; |
| 11903 |
} |
| 11904 |
extern "C" { |
| 11905 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_set_padding"] |
| 11906 |
pub fn EVP_CIPHER_CTX_set_padding( |
| 11907 |
ctx: *mut EVP_CIPHER_CTX, |
| 11908 |
pad: ::std::os::raw::c_int, |
| 11909 |
) -> ::std::os::raw::c_int; |
| 11910 |
} |
| 11911 |
extern "C" { |
| 11912 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_set_key_length"] |
| 11913 |
pub fn EVP_CIPHER_CTX_set_key_length( |
| 11914 |
ctx: *mut EVP_CIPHER_CTX, |
| 11915 |
key_len: ::std::os::raw::c_uint, |
| 11916 |
) -> ::std::os::raw::c_int; |
| 11917 |
} |
| 11918 |
extern "C" { |
| 11919 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_nid"] |
| 11920 |
pub fn EVP_CIPHER_nid(cipher: *const EVP_CIPHER) -> ::std::os::raw::c_int; |
| 11921 |
} |
| 11922 |
extern "C" { |
| 11923 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_name"] |
| 11924 |
pub fn EVP_CIPHER_name(cipher: *const EVP_CIPHER) -> *const ::std::os::raw::c_char; |
| 11925 |
} |
| 11926 |
extern "C" { |
| 11927 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_block_size"] |
| 11928 |
pub fn EVP_CIPHER_block_size(cipher: *const EVP_CIPHER) -> ::std::os::raw::c_uint; |
| 11929 |
} |
| 11930 |
extern "C" { |
| 11931 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_key_length"] |
| 11932 |
pub fn EVP_CIPHER_key_length(cipher: *const EVP_CIPHER) -> ::std::os::raw::c_uint; |
| 11933 |
} |
| 11934 |
extern "C" { |
| 11935 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_iv_length"] |
| 11936 |
pub fn EVP_CIPHER_iv_length(cipher: *const EVP_CIPHER) -> ::std::os::raw::c_uint; |
| 11937 |
} |
| 11938 |
extern "C" { |
| 11939 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_flags"] |
| 11940 |
pub fn EVP_CIPHER_flags(cipher: *const EVP_CIPHER) -> u32; |
| 11941 |
} |
| 11942 |
extern "C" { |
| 11943 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_mode"] |
| 11944 |
pub fn EVP_CIPHER_mode(cipher: *const EVP_CIPHER) -> u32; |
| 11945 |
} |
| 11946 |
extern "C" { |
| 11947 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_BytesToKey"] |
| 11948 |
pub fn EVP_BytesToKey( |
| 11949 |
type_: *const EVP_CIPHER, |
| 11950 |
md: *const EVP_MD, |
| 11951 |
salt: *const u8, |
| 11952 |
data: *const u8, |
| 11953 |
data_len: usize, |
| 11954 |
count: ::std::os::raw::c_uint, |
| 11955 |
key: *mut u8, |
| 11956 |
iv: *mut u8, |
| 11957 |
) -> ::std::os::raw::c_int; |
| 11958 |
} |
| 11959 |
extern "C" { |
| 11960 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_cbc_hmac_sha1"] |
| 11961 |
pub fn EVP_aes_128_cbc_hmac_sha1() -> *const EVP_CIPHER; |
| 11962 |
} |
| 11963 |
extern "C" { |
| 11964 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_cbc_hmac_sha1"] |
| 11965 |
pub fn EVP_aes_256_cbc_hmac_sha1() -> *const EVP_CIPHER; |
| 11966 |
} |
| 11967 |
extern "C" { |
| 11968 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_cbc_hmac_sha256"] |
| 11969 |
pub fn EVP_aes_128_cbc_hmac_sha256() -> *const EVP_CIPHER; |
| 11970 |
} |
| 11971 |
extern "C" { |
| 11972 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_cbc_hmac_sha256"] |
| 11973 |
pub fn EVP_aes_256_cbc_hmac_sha256() -> *const EVP_CIPHER; |
| 11974 |
} |
| 11975 |
extern "C" { |
| 11976 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CipherInit"] |
| 11977 |
pub fn EVP_CipherInit( |
| 11978 |
ctx: *mut EVP_CIPHER_CTX, |
| 11979 |
cipher: *const EVP_CIPHER, |
| 11980 |
key: *const u8, |
| 11981 |
iv: *const u8, |
| 11982 |
enc: ::std::os::raw::c_int, |
| 11983 |
) -> ::std::os::raw::c_int; |
| 11984 |
} |
| 11985 |
extern "C" { |
| 11986 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncryptInit"] |
| 11987 |
pub fn EVP_EncryptInit( |
| 11988 |
ctx: *mut EVP_CIPHER_CTX, |
| 11989 |
cipher: *const EVP_CIPHER, |
| 11990 |
key: *const u8, |
| 11991 |
iv: *const u8, |
| 11992 |
) -> ::std::os::raw::c_int; |
| 11993 |
} |
| 11994 |
extern "C" { |
| 11995 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecryptInit"] |
| 11996 |
pub fn EVP_DecryptInit( |
| 11997 |
ctx: *mut EVP_CIPHER_CTX, |
| 11998 |
cipher: *const EVP_CIPHER, |
| 11999 |
key: *const u8, |
| 12000 |
iv: *const u8, |
| 12001 |
) -> ::std::os::raw::c_int; |
| 12002 |
} |
| 12003 |
extern "C" { |
| 12004 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CipherFinal"] |
| 12005 |
pub fn EVP_CipherFinal( |
| 12006 |
ctx: *mut EVP_CIPHER_CTX, |
| 12007 |
out: *mut u8, |
| 12008 |
out_len: *mut ::std::os::raw::c_int, |
| 12009 |
) -> ::std::os::raw::c_int; |
| 12010 |
} |
| 12011 |
extern "C" { |
| 12012 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_EncryptFinal"] |
| 12013 |
pub fn EVP_EncryptFinal( |
| 12014 |
ctx: *mut EVP_CIPHER_CTX, |
| 12015 |
out: *mut u8, |
| 12016 |
out_len: *mut ::std::os::raw::c_int, |
| 12017 |
) -> ::std::os::raw::c_int; |
| 12018 |
} |
| 12019 |
extern "C" { |
| 12020 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DecryptFinal"] |
| 12021 |
pub fn EVP_DecryptFinal( |
| 12022 |
ctx: *mut EVP_CIPHER_CTX, |
| 12023 |
out: *mut u8, |
| 12024 |
out_len: *mut ::std::os::raw::c_int, |
| 12025 |
) -> ::std::os::raw::c_int; |
| 12026 |
} |
| 12027 |
extern "C" { |
| 12028 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_Cipher"] |
| 12029 |
pub fn EVP_Cipher( |
| 12030 |
ctx: *mut EVP_CIPHER_CTX, |
| 12031 |
out: *mut u8, |
| 12032 |
in_: *const u8, |
| 12033 |
in_len: usize, |
| 12034 |
) -> ::std::os::raw::c_int; |
| 12035 |
} |
| 12036 |
extern "C" { |
| 12037 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_get_cipherbyname"] |
| 12038 |
pub fn EVP_get_cipherbyname(name: *const ::std::os::raw::c_char) -> *const EVP_CIPHER; |
| 12039 |
} |
| 12040 |
extern "C" { |
| 12041 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_gcm"] |
| 12042 |
pub fn EVP_aes_128_gcm() -> *const EVP_CIPHER; |
| 12043 |
} |
| 12044 |
extern "C" { |
| 12045 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_gcm"] |
| 12046 |
pub fn EVP_aes_256_gcm() -> *const EVP_CIPHER; |
| 12047 |
} |
| 12048 |
extern "C" { |
| 12049 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_ccm"] |
| 12050 |
pub fn EVP_aes_128_ccm() -> *const EVP_CIPHER; |
| 12051 |
} |
| 12052 |
extern "C" { |
| 12053 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_ccm"] |
| 12054 |
pub fn EVP_aes_192_ccm() -> *const EVP_CIPHER; |
| 12055 |
} |
| 12056 |
extern "C" { |
| 12057 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_ccm"] |
| 12058 |
pub fn EVP_aes_256_ccm() -> *const EVP_CIPHER; |
| 12059 |
} |
| 12060 |
extern "C" { |
| 12061 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_ecb"] |
| 12062 |
pub fn EVP_aes_192_ecb() -> *const EVP_CIPHER; |
| 12063 |
} |
| 12064 |
extern "C" { |
| 12065 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_cbc"] |
| 12066 |
pub fn EVP_aes_192_cbc() -> *const EVP_CIPHER; |
| 12067 |
} |
| 12068 |
extern "C" { |
| 12069 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_ctr"] |
| 12070 |
pub fn EVP_aes_192_ctr() -> *const EVP_CIPHER; |
| 12071 |
} |
| 12072 |
extern "C" { |
| 12073 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_gcm"] |
| 12074 |
pub fn EVP_aes_192_gcm() -> *const EVP_CIPHER; |
| 12075 |
} |
| 12076 |
extern "C" { |
| 12077 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_ofb"] |
| 12078 |
pub fn EVP_aes_192_ofb() -> *const EVP_CIPHER; |
| 12079 |
} |
| 12080 |
extern "C" { |
| 12081 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_des_ede3_ecb"] |
| 12082 |
pub fn EVP_des_ede3_ecb() -> *const EVP_CIPHER; |
| 12083 |
} |
| 12084 |
extern "C" { |
| 12085 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_cfb128"] |
| 12086 |
pub fn EVP_aes_128_cfb128() -> *const EVP_CIPHER; |
| 12087 |
} |
| 12088 |
extern "C" { |
| 12089 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_cfb"] |
| 12090 |
pub fn EVP_aes_128_cfb() -> *const EVP_CIPHER; |
| 12091 |
} |
| 12092 |
extern "C" { |
| 12093 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_cfb1"] |
| 12094 |
pub fn EVP_aes_128_cfb1() -> *const EVP_CIPHER; |
| 12095 |
} |
| 12096 |
extern "C" { |
| 12097 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_128_cfb8"] |
| 12098 |
pub fn EVP_aes_128_cfb8() -> *const EVP_CIPHER; |
| 12099 |
} |
| 12100 |
extern "C" { |
| 12101 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_cfb128"] |
| 12102 |
pub fn EVP_aes_192_cfb128() -> *const EVP_CIPHER; |
| 12103 |
} |
| 12104 |
extern "C" { |
| 12105 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_cfb"] |
| 12106 |
pub fn EVP_aes_192_cfb() -> *const EVP_CIPHER; |
| 12107 |
} |
| 12108 |
extern "C" { |
| 12109 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_cfb1"] |
| 12110 |
pub fn EVP_aes_192_cfb1() -> *const EVP_CIPHER; |
| 12111 |
} |
| 12112 |
extern "C" { |
| 12113 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_192_cfb8"] |
| 12114 |
pub fn EVP_aes_192_cfb8() -> *const EVP_CIPHER; |
| 12115 |
} |
| 12116 |
extern "C" { |
| 12117 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_cfb128"] |
| 12118 |
pub fn EVP_aes_256_cfb128() -> *const EVP_CIPHER; |
| 12119 |
} |
| 12120 |
extern "C" { |
| 12121 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_cfb"] |
| 12122 |
pub fn EVP_aes_256_cfb() -> *const EVP_CIPHER; |
| 12123 |
} |
| 12124 |
extern "C" { |
| 12125 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_cfb1"] |
| 12126 |
pub fn EVP_aes_256_cfb1() -> *const EVP_CIPHER; |
| 12127 |
} |
| 12128 |
extern "C" { |
| 12129 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aes_256_cfb8"] |
| 12130 |
pub fn EVP_aes_256_cfb8() -> *const EVP_CIPHER; |
| 12131 |
} |
| 12132 |
extern "C" { |
| 12133 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_bf_ecb"] |
| 12134 |
pub fn EVP_bf_ecb() -> *const EVP_CIPHER; |
| 12135 |
} |
| 12136 |
extern "C" { |
| 12137 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_bf_cbc"] |
| 12138 |
pub fn EVP_bf_cbc() -> *const EVP_CIPHER; |
| 12139 |
} |
| 12140 |
extern "C" { |
| 12141 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_bf_cfb"] |
| 12142 |
pub fn EVP_bf_cfb() -> *const EVP_CIPHER; |
| 12143 |
} |
| 12144 |
extern "C" { |
| 12145 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_bf_cfb64"] |
| 12146 |
pub fn EVP_bf_cfb64() -> *const EVP_CIPHER; |
| 12147 |
} |
| 12148 |
extern "C" { |
| 12149 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_bf_ofb"] |
| 12150 |
pub fn EVP_bf_ofb() -> *const EVP_CIPHER; |
| 12151 |
} |
| 12152 |
extern "C" { |
| 12153 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_cast5_ecb"] |
| 12154 |
pub fn EVP_cast5_ecb() -> *const EVP_CIPHER; |
| 12155 |
} |
| 12156 |
extern "C" { |
| 12157 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_cast5_cbc"] |
| 12158 |
pub fn EVP_cast5_cbc() -> *const EVP_CIPHER; |
| 12159 |
} |
| 12160 |
extern "C" { |
| 12161 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_CTX_set_flags"] |
| 12162 |
pub fn EVP_CIPHER_CTX_set_flags(ctx: *const EVP_CIPHER_CTX, flags: u32); |
| 12163 |
} |
| 12164 |
extern "C" { |
| 12165 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_add_cipher_alias"] |
| 12166 |
pub fn EVP_add_cipher_alias( |
| 12167 |
a: *const ::std::os::raw::c_char, |
| 12168 |
b: *const ::std::os::raw::c_char, |
| 12169 |
) -> ::std::os::raw::c_int; |
| 12170 |
} |
| 12171 |
#[repr(C)] |
| 12172 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 12173 |
pub struct evp_cipher_ctx_st { |
| 12174 |
pub cipher: *const EVP_CIPHER, |
| 12175 |
pub app_data: *mut ::std::os::raw::c_void, |
| 12176 |
pub cipher_data: *mut ::std::os::raw::c_void, |
| 12177 |
pub key_len: ::std::os::raw::c_uint, |
| 12178 |
pub encrypt: ::std::os::raw::c_int, |
| 12179 |
pub flags: u32, |
| 12180 |
pub oiv: [u8; 16usize], |
| 12181 |
pub iv: [u8; 16usize], |
| 12182 |
pub buf: [u8; 32usize], |
| 12183 |
pub buf_len: ::std::os::raw::c_int, |
| 12184 |
pub num: ::std::os::raw::c_uint, |
| 12185 |
pub final_used: ::std::os::raw::c_int, |
| 12186 |
pub final_: [u8; 32usize], |
| 12187 |
pub poisoned: ::std::os::raw::c_int, |
| 12188 |
} |
| 12189 |
#[test] |
| 12190 |
fn bindgen_test_layout_evp_cipher_ctx_st() { |
| 12191 |
const UNINIT: ::std::mem::MaybeUninit<evp_cipher_ctx_st> = ::std::mem::MaybeUninit::uninit(); |
| 12192 |
let ptr = UNINIT.as_ptr(); |
| 12193 |
assert_eq!( |
| 12194 |
::std::mem::size_of::<evp_cipher_ctx_st>(), |
| 12195 |
152usize, |
| 12196 |
"Size of evp_cipher_ctx_st" |
| 12197 |
); |
| 12198 |
assert_eq!( |
| 12199 |
::std::mem::align_of::<evp_cipher_ctx_st>(), |
| 12200 |
8usize, |
| 12201 |
"Alignment of evp_cipher_ctx_st" |
| 12202 |
); |
| 12203 |
assert_eq!( |
| 12204 |
unsafe { ::std::ptr::addr_of!((*ptr).cipher) as usize - ptr as usize }, |
| 12205 |
0usize, |
| 12206 |
"Offset of field: evp_cipher_ctx_st::cipher" |
| 12207 |
); |
| 12208 |
assert_eq!( |
| 12209 |
unsafe { ::std::ptr::addr_of!((*ptr).app_data) as usize - ptr as usize }, |
| 12210 |
8usize, |
| 12211 |
"Offset of field: evp_cipher_ctx_st::app_data" |
| 12212 |
); |
| 12213 |
assert_eq!( |
| 12214 |
unsafe { ::std::ptr::addr_of!((*ptr).cipher_data) as usize - ptr as usize }, |
| 12215 |
16usize, |
| 12216 |
"Offset of field: evp_cipher_ctx_st::cipher_data" |
| 12217 |
); |
| 12218 |
assert_eq!( |
| 12219 |
unsafe { ::std::ptr::addr_of!((*ptr).key_len) as usize - ptr as usize }, |
| 12220 |
24usize, |
| 12221 |
"Offset of field: evp_cipher_ctx_st::key_len" |
| 12222 |
); |
| 12223 |
assert_eq!( |
| 12224 |
unsafe { ::std::ptr::addr_of!((*ptr).encrypt) as usize - ptr as usize }, |
| 12225 |
28usize, |
| 12226 |
"Offset of field: evp_cipher_ctx_st::encrypt" |
| 12227 |
); |
| 12228 |
assert_eq!( |
| 12229 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 12230 |
32usize, |
| 12231 |
"Offset of field: evp_cipher_ctx_st::flags" |
| 12232 |
); |
| 12233 |
assert_eq!( |
| 12234 |
unsafe { ::std::ptr::addr_of!((*ptr).oiv) as usize - ptr as usize }, |
| 12235 |
36usize, |
| 12236 |
"Offset of field: evp_cipher_ctx_st::oiv" |
| 12237 |
); |
| 12238 |
assert_eq!( |
| 12239 |
unsafe { ::std::ptr::addr_of!((*ptr).iv) as usize - ptr as usize }, |
| 12240 |
52usize, |
| 12241 |
"Offset of field: evp_cipher_ctx_st::iv" |
| 12242 |
); |
| 12243 |
assert_eq!( |
| 12244 |
unsafe { ::std::ptr::addr_of!((*ptr).buf) as usize - ptr as usize }, |
| 12245 |
68usize, |
| 12246 |
"Offset of field: evp_cipher_ctx_st::buf" |
| 12247 |
); |
| 12248 |
assert_eq!( |
| 12249 |
unsafe { ::std::ptr::addr_of!((*ptr).buf_len) as usize - ptr as usize }, |
| 12250 |
100usize, |
| 12251 |
"Offset of field: evp_cipher_ctx_st::buf_len" |
| 12252 |
); |
| 12253 |
assert_eq!( |
| 12254 |
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize }, |
| 12255 |
104usize, |
| 12256 |
"Offset of field: evp_cipher_ctx_st::num" |
| 12257 |
); |
| 12258 |
assert_eq!( |
| 12259 |
unsafe { ::std::ptr::addr_of!((*ptr).final_used) as usize - ptr as usize }, |
| 12260 |
108usize, |
| 12261 |
"Offset of field: evp_cipher_ctx_st::final_used" |
| 12262 |
); |
| 12263 |
assert_eq!( |
| 12264 |
unsafe { ::std::ptr::addr_of!((*ptr).final_) as usize - ptr as usize }, |
| 12265 |
112usize, |
| 12266 |
"Offset of field: evp_cipher_ctx_st::final_" |
| 12267 |
); |
| 12268 |
assert_eq!( |
| 12269 |
unsafe { ::std::ptr::addr_of!((*ptr).poisoned) as usize - ptr as usize }, |
| 12270 |
144usize, |
| 12271 |
"Offset of field: evp_cipher_ctx_st::poisoned" |
| 12272 |
); |
| 12273 |
} |
| 12274 |
impl Default for evp_cipher_ctx_st { |
| 12275 |
fn default() -> Self { |
| 12276 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 12277 |
unsafe { |
| 12278 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 12279 |
s.assume_init() |
| 12280 |
} |
| 12281 |
} |
| 12282 |
} |
| 12283 |
#[repr(C)] |
| 12284 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 12285 |
pub struct evp_cipher_info_st { |
| 12286 |
pub cipher: *const EVP_CIPHER, |
| 12287 |
pub iv: [::std::os::raw::c_uchar; 16usize], |
| 12288 |
} |
| 12289 |
#[test] |
| 12290 |
fn bindgen_test_layout_evp_cipher_info_st() { |
| 12291 |
const UNINIT: ::std::mem::MaybeUninit<evp_cipher_info_st> = ::std::mem::MaybeUninit::uninit(); |
| 12292 |
let ptr = UNINIT.as_ptr(); |
| 12293 |
assert_eq!( |
| 12294 |
::std::mem::size_of::<evp_cipher_info_st>(), |
| 12295 |
24usize, |
| 12296 |
"Size of evp_cipher_info_st" |
| 12297 |
); |
| 12298 |
assert_eq!( |
| 12299 |
::std::mem::align_of::<evp_cipher_info_st>(), |
| 12300 |
8usize, |
| 12301 |
"Alignment of evp_cipher_info_st" |
| 12302 |
); |
| 12303 |
assert_eq!( |
| 12304 |
unsafe { ::std::ptr::addr_of!((*ptr).cipher) as usize - ptr as usize }, |
| 12305 |
0usize, |
| 12306 |
"Offset of field: evp_cipher_info_st::cipher" |
| 12307 |
); |
| 12308 |
assert_eq!( |
| 12309 |
unsafe { ::std::ptr::addr_of!((*ptr).iv) as usize - ptr as usize }, |
| 12310 |
8usize, |
| 12311 |
"Offset of field: evp_cipher_info_st::iv" |
| 12312 |
); |
| 12313 |
} |
| 12314 |
impl Default for evp_cipher_info_st { |
| 12315 |
fn default() -> Self { |
| 12316 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 12317 |
unsafe { |
| 12318 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 12319 |
s.assume_init() |
| 12320 |
} |
| 12321 |
} |
| 12322 |
} |
| 12323 |
pub type EVP_CIPHER_INFO = evp_cipher_info_st; |
| 12324 |
extern "C" { |
| 12325 |
#[link_name = "\u{1}aws_lc_0_41_0_AES_CMAC"] |
| 12326 |
pub fn AES_CMAC( |
| 12327 |
out: *mut u8, |
| 12328 |
key: *const u8, |
| 12329 |
key_len: usize, |
| 12330 |
in_: *const u8, |
| 12331 |
in_len: usize, |
| 12332 |
) -> ::std::os::raw::c_int; |
| 12333 |
} |
| 12334 |
extern "C" { |
| 12335 |
#[link_name = "\u{1}aws_lc_0_41_0_CMAC_CTX_new"] |
| 12336 |
pub fn CMAC_CTX_new() -> *mut CMAC_CTX; |
| 12337 |
} |
| 12338 |
extern "C" { |
| 12339 |
#[link_name = "\u{1}aws_lc_0_41_0_CMAC_CTX_free"] |
| 12340 |
pub fn CMAC_CTX_free(ctx: *mut CMAC_CTX); |
| 12341 |
} |
| 12342 |
extern "C" { |
| 12343 |
#[link_name = "\u{1}aws_lc_0_41_0_CMAC_CTX_copy"] |
| 12344 |
pub fn CMAC_CTX_copy(out: *mut CMAC_CTX, in_: *const CMAC_CTX) -> ::std::os::raw::c_int; |
| 12345 |
} |
| 12346 |
extern "C" { |
| 12347 |
#[link_name = "\u{1}aws_lc_0_41_0_CMAC_Init"] |
| 12348 |
pub fn CMAC_Init( |
| 12349 |
ctx: *mut CMAC_CTX, |
| 12350 |
key: *const ::std::os::raw::c_void, |
| 12351 |
key_len: usize, |
| 12352 |
cipher: *const EVP_CIPHER, |
| 12353 |
engine: *mut ENGINE, |
| 12354 |
) -> ::std::os::raw::c_int; |
| 12355 |
} |
| 12356 |
extern "C" { |
| 12357 |
#[link_name = "\u{1}aws_lc_0_41_0_CMAC_Reset"] |
| 12358 |
pub fn CMAC_Reset(ctx: *mut CMAC_CTX) -> ::std::os::raw::c_int; |
| 12359 |
} |
| 12360 |
extern "C" { |
| 12361 |
#[link_name = "\u{1}aws_lc_0_41_0_CMAC_Update"] |
| 12362 |
pub fn CMAC_Update(ctx: *mut CMAC_CTX, in_: *const u8, in_len: usize) -> ::std::os::raw::c_int; |
| 12363 |
} |
| 12364 |
extern "C" { |
| 12365 |
#[link_name = "\u{1}aws_lc_0_41_0_CMAC_Final"] |
| 12366 |
pub fn CMAC_Final( |
| 12367 |
ctx: *mut CMAC_CTX, |
| 12368 |
out: *mut u8, |
| 12369 |
out_len: *mut usize, |
| 12370 |
) -> ::std::os::raw::c_int; |
| 12371 |
} |
| 12372 |
extern "C" { |
| 12373 |
#[link_name = "\u{1}aws_lc_0_41_0_CMAC_CTX_get0_cipher_ctx"] |
| 12374 |
pub fn CMAC_CTX_get0_cipher_ctx(ctx: *mut CMAC_CTX) -> *mut EVP_CIPHER_CTX; |
| 12375 |
} |
| 12376 |
#[repr(C)] |
| 12377 |
#[derive(Debug, Copy, Clone)] |
| 12378 |
pub struct lhash_st { |
| 12379 |
_unused: [u8; 0], |
| 12380 |
} |
| 12381 |
pub type _LHASH = lhash_st; |
| 12382 |
extern "C" { |
| 12383 |
#[link_name = "\u{1}aws_lc_0_41_0_lh_doall_arg"] |
| 12384 |
pub fn lh_doall_arg( |
| 12385 |
lh: *mut _LHASH, |
| 12386 |
func: ::std::option::Option< |
| 12387 |
unsafe extern "C" fn( |
| 12388 |
arg1: *mut ::std::os::raw::c_void, |
| 12389 |
arg2: *mut ::std::os::raw::c_void, |
| 12390 |
), |
| 12391 |
>, |
| 12392 |
arg: *mut ::std::os::raw::c_void, |
| 12393 |
); |
| 12394 |
} |
| 12395 |
#[repr(C)] |
| 12396 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 12397 |
pub struct conf_value_st { |
| 12398 |
pub section: *mut ::std::os::raw::c_char, |
| 12399 |
pub name: *mut ::std::os::raw::c_char, |
| 12400 |
pub value: *mut ::std::os::raw::c_char, |
| 12401 |
} |
| 12402 |
#[test] |
| 12403 |
fn bindgen_test_layout_conf_value_st() { |
| 12404 |
const UNINIT: ::std::mem::MaybeUninit<conf_value_st> = ::std::mem::MaybeUninit::uninit(); |
| 12405 |
let ptr = UNINIT.as_ptr(); |
| 12406 |
assert_eq!( |
| 12407 |
::std::mem::size_of::<conf_value_st>(), |
| 12408 |
24usize, |
| 12409 |
"Size of conf_value_st" |
| 12410 |
); |
| 12411 |
assert_eq!( |
| 12412 |
::std::mem::align_of::<conf_value_st>(), |
| 12413 |
8usize, |
| 12414 |
"Alignment of conf_value_st" |
| 12415 |
); |
| 12416 |
assert_eq!( |
| 12417 |
unsafe { ::std::ptr::addr_of!((*ptr).section) as usize - ptr as usize }, |
| 12418 |
0usize, |
| 12419 |
"Offset of field: conf_value_st::section" |
| 12420 |
); |
| 12421 |
assert_eq!( |
| 12422 |
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, |
| 12423 |
8usize, |
| 12424 |
"Offset of field: conf_value_st::name" |
| 12425 |
); |
| 12426 |
assert_eq!( |
| 12427 |
unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize }, |
| 12428 |
16usize, |
| 12429 |
"Offset of field: conf_value_st::value" |
| 12430 |
); |
| 12431 |
} |
| 12432 |
impl Default for conf_value_st { |
| 12433 |
fn default() -> Self { |
| 12434 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 12435 |
unsafe { |
| 12436 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 12437 |
s.assume_init() |
| 12438 |
} |
| 12439 |
} |
| 12440 |
} |
| 12441 |
#[repr(C)] |
| 12442 |
#[derive(Debug, Copy, Clone)] |
| 12443 |
pub struct stack_st_CONF_VALUE { |
| 12444 |
_unused: [u8; 0], |
| 12445 |
} |
| 12446 |
pub type sk_CONF_VALUE_free_func = |
| 12447 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut CONF_VALUE)>; |
| 12448 |
pub type sk_CONF_VALUE_copy_func = |
| 12449 |
::std::option::Option<unsafe extern "C" fn(arg1: *const CONF_VALUE) -> *mut CONF_VALUE>; |
| 12450 |
pub type sk_CONF_VALUE_cmp_func = ::std::option::Option< |
| 12451 |
unsafe extern "C" fn( |
| 12452 |
arg1: *const *const CONF_VALUE, |
| 12453 |
arg2: *const *const CONF_VALUE, |
| 12454 |
) -> ::std::os::raw::c_int, |
| 12455 |
>; |
| 12456 |
pub type sk_CONF_VALUE_delete_if_func = ::std::option::Option< |
| 12457 |
unsafe extern "C" fn( |
| 12458 |
arg1: *mut CONF_VALUE, |
| 12459 |
arg2: *mut ::std::os::raw::c_void, |
| 12460 |
) -> ::std::os::raw::c_int, |
| 12461 |
>; |
| 12462 |
#[repr(C)] |
| 12463 |
#[derive(Debug, Copy, Clone)] |
| 12464 |
pub struct lhash_st_CONF_VALUE { |
| 12465 |
_unused: [u8; 0], |
| 12466 |
} |
| 12467 |
#[repr(C)] |
| 12468 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 12469 |
pub struct conf_st { |
| 12470 |
pub data: *mut lhash_st_CONF_VALUE, |
| 12471 |
} |
| 12472 |
#[test] |
| 12473 |
fn bindgen_test_layout_conf_st() { |
| 12474 |
const UNINIT: ::std::mem::MaybeUninit<conf_st> = ::std::mem::MaybeUninit::uninit(); |
| 12475 |
let ptr = UNINIT.as_ptr(); |
| 12476 |
assert_eq!(::std::mem::size_of::<conf_st>(), 8usize, "Size of conf_st"); |
| 12477 |
assert_eq!( |
| 12478 |
::std::mem::align_of::<conf_st>(), |
| 12479 |
8usize, |
| 12480 |
"Alignment of conf_st" |
| 12481 |
); |
| 12482 |
assert_eq!( |
| 12483 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 12484 |
0usize, |
| 12485 |
"Offset of field: conf_st::data" |
| 12486 |
); |
| 12487 |
} |
| 12488 |
impl Default for conf_st { |
| 12489 |
fn default() -> Self { |
| 12490 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 12491 |
unsafe { |
| 12492 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 12493 |
s.assume_init() |
| 12494 |
} |
| 12495 |
} |
| 12496 |
} |
| 12497 |
extern "C" { |
| 12498 |
#[link_name = "\u{1}aws_lc_0_41_0_NCONF_new"] |
| 12499 |
pub fn NCONF_new(method: *mut ::std::os::raw::c_void) -> *mut CONF; |
| 12500 |
} |
| 12501 |
extern "C" { |
| 12502 |
#[link_name = "\u{1}aws_lc_0_41_0_NCONF_free"] |
| 12503 |
pub fn NCONF_free(conf: *mut CONF); |
| 12504 |
} |
| 12505 |
extern "C" { |
| 12506 |
#[link_name = "\u{1}aws_lc_0_41_0_NCONF_load"] |
| 12507 |
pub fn NCONF_load( |
| 12508 |
conf: *mut CONF, |
| 12509 |
filename: *const ::std::os::raw::c_char, |
| 12510 |
out_error_line: *mut ::std::os::raw::c_long, |
| 12511 |
) -> ::std::os::raw::c_int; |
| 12512 |
} |
| 12513 |
extern "C" { |
| 12514 |
#[link_name = "\u{1}aws_lc_0_41_0_NCONF_load_bio"] |
| 12515 |
pub fn NCONF_load_bio( |
| 12516 |
conf: *mut CONF, |
| 12517 |
bio: *mut BIO, |
| 12518 |
out_error_line: *mut ::std::os::raw::c_long, |
| 12519 |
) -> ::std::os::raw::c_int; |
| 12520 |
} |
| 12521 |
extern "C" { |
| 12522 |
#[link_name = "\u{1}aws_lc_0_41_0_NCONF_get_section"] |
| 12523 |
pub fn NCONF_get_section( |
| 12524 |
conf: *const CONF, |
| 12525 |
section: *const ::std::os::raw::c_char, |
| 12526 |
) -> *const stack_st_CONF_VALUE; |
| 12527 |
} |
| 12528 |
extern "C" { |
| 12529 |
#[link_name = "\u{1}aws_lc_0_41_0_NCONF_get_string"] |
| 12530 |
pub fn NCONF_get_string( |
| 12531 |
conf: *const CONF, |
| 12532 |
section: *const ::std::os::raw::c_char, |
| 12533 |
name: *const ::std::os::raw::c_char, |
| 12534 |
) -> *const ::std::os::raw::c_char; |
| 12535 |
} |
| 12536 |
extern "C" { |
| 12537 |
#[link_name = "\u{1}aws_lc_0_41_0_CONF_modules_load_file"] |
| 12538 |
pub fn CONF_modules_load_file( |
| 12539 |
filename: *const ::std::os::raw::c_char, |
| 12540 |
appname: *const ::std::os::raw::c_char, |
| 12541 |
flags: ::std::os::raw::c_ulong, |
| 12542 |
) -> ::std::os::raw::c_int; |
| 12543 |
} |
| 12544 |
extern "C" { |
| 12545 |
#[link_name = "\u{1}aws_lc_0_41_0_CONF_get1_default_config_file"] |
| 12546 |
pub fn CONF_get1_default_config_file() -> *mut ::std::os::raw::c_char; |
| 12547 |
} |
| 12548 |
extern "C" { |
| 12549 |
#[link_name = "\u{1}aws_lc_0_41_0_CONF_modules_free"] |
| 12550 |
pub fn CONF_modules_free(); |
| 12551 |
} |
| 12552 |
extern "C" { |
| 12553 |
#[link_name = "\u{1}aws_lc_0_41_0_CONF_modules_unload"] |
| 12554 |
pub fn CONF_modules_unload(all: ::std::os::raw::c_int); |
| 12555 |
} |
| 12556 |
extern "C" { |
| 12557 |
#[link_name = "\u{1}aws_lc_0_41_0_CONF_modules_finish"] |
| 12558 |
pub fn CONF_modules_finish(); |
| 12559 |
} |
| 12560 |
extern "C" { |
| 12561 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_config"] |
| 12562 |
pub fn OPENSSL_config(config_name: *const ::std::os::raw::c_char); |
| 12563 |
} |
| 12564 |
extern "C" { |
| 12565 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_no_config"] |
| 12566 |
pub fn OPENSSL_no_config(); |
| 12567 |
} |
| 12568 |
extern "C" { |
| 12569 |
#[link_name = "\u{1}aws_lc_0_41_0_CTR_DRBG_new"] |
| 12570 |
pub fn CTR_DRBG_new( |
| 12571 |
entropy: *const u8, |
| 12572 |
personalization: *const u8, |
| 12573 |
personalization_len: usize, |
| 12574 |
) -> *mut CTR_DRBG_STATE; |
| 12575 |
} |
| 12576 |
extern "C" { |
| 12577 |
#[link_name = "\u{1}aws_lc_0_41_0_CTR_DRBG_free"] |
| 12578 |
pub fn CTR_DRBG_free(state: *mut CTR_DRBG_STATE); |
| 12579 |
} |
| 12580 |
extern "C" { |
| 12581 |
#[link_name = "\u{1}aws_lc_0_41_0_CTR_DRBG_reseed"] |
| 12582 |
pub fn CTR_DRBG_reseed( |
| 12583 |
drbg: *mut CTR_DRBG_STATE, |
| 12584 |
entropy: *const u8, |
| 12585 |
additional_data: *const u8, |
| 12586 |
additional_data_len: usize, |
| 12587 |
) -> ::std::os::raw::c_int; |
| 12588 |
} |
| 12589 |
extern "C" { |
| 12590 |
#[link_name = "\u{1}aws_lc_0_41_0_CTR_DRBG_generate"] |
| 12591 |
pub fn CTR_DRBG_generate( |
| 12592 |
drbg: *mut CTR_DRBG_STATE, |
| 12593 |
out: *mut u8, |
| 12594 |
out_len: usize, |
| 12595 |
additional_data: *const u8, |
| 12596 |
additional_data_len: usize, |
| 12597 |
) -> ::std::os::raw::c_int; |
| 12598 |
} |
| 12599 |
extern "C" { |
| 12600 |
#[link_name = "\u{1}aws_lc_0_41_0_CTR_DRBG_clear"] |
| 12601 |
pub fn CTR_DRBG_clear(drbg: *mut CTR_DRBG_STATE); |
| 12602 |
} |
| 12603 |
extern "C" { |
| 12604 |
#[link_name = "\u{1}aws_lc_0_41_0_X25519_keypair"] |
| 12605 |
pub fn X25519_keypair(out_public_value: *mut u8, out_private_key: *mut u8); |
| 12606 |
} |
| 12607 |
extern "C" { |
| 12608 |
#[link_name = "\u{1}aws_lc_0_41_0_X25519"] |
| 12609 |
pub fn X25519( |
| 12610 |
out_shared_key: *mut u8, |
| 12611 |
private_key: *const u8, |
| 12612 |
peer_public_value: *const u8, |
| 12613 |
) -> ::std::os::raw::c_int; |
| 12614 |
} |
| 12615 |
extern "C" { |
| 12616 |
#[link_name = "\u{1}aws_lc_0_41_0_X25519_public_from_private"] |
| 12617 |
pub fn X25519_public_from_private(out_public_value: *mut u8, private_key: *const u8); |
| 12618 |
} |
| 12619 |
extern "C" { |
| 12620 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519_keypair"] |
| 12621 |
pub fn ED25519_keypair(out_public_key: *mut u8, out_private_key: *mut u8); |
| 12622 |
} |
| 12623 |
extern "C" { |
| 12624 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519_sign"] |
| 12625 |
pub fn ED25519_sign( |
| 12626 |
out_sig: *mut u8, |
| 12627 |
message: *const u8, |
| 12628 |
message_len: usize, |
| 12629 |
private_key: *const u8, |
| 12630 |
) -> ::std::os::raw::c_int; |
| 12631 |
} |
| 12632 |
extern "C" { |
| 12633 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519_verify"] |
| 12634 |
pub fn ED25519_verify( |
| 12635 |
message: *const u8, |
| 12636 |
message_len: usize, |
| 12637 |
signature: *const u8, |
| 12638 |
public_key: *const u8, |
| 12639 |
) -> ::std::os::raw::c_int; |
| 12640 |
} |
| 12641 |
extern "C" { |
| 12642 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519ctx_sign"] |
| 12643 |
pub fn ED25519ctx_sign( |
| 12644 |
out_sig: *mut u8, |
| 12645 |
message: *const u8, |
| 12646 |
message_len: usize, |
| 12647 |
private_key: *const u8, |
| 12648 |
context: *const u8, |
| 12649 |
context_len: usize, |
| 12650 |
) -> ::std::os::raw::c_int; |
| 12651 |
} |
| 12652 |
extern "C" { |
| 12653 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519ctx_verify"] |
| 12654 |
pub fn ED25519ctx_verify( |
| 12655 |
message: *const u8, |
| 12656 |
message_len: usize, |
| 12657 |
signature: *const u8, |
| 12658 |
public_key: *const u8, |
| 12659 |
context: *const u8, |
| 12660 |
context_len: usize, |
| 12661 |
) -> ::std::os::raw::c_int; |
| 12662 |
} |
| 12663 |
extern "C" { |
| 12664 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519ph_sign"] |
| 12665 |
pub fn ED25519ph_sign( |
| 12666 |
out_sig: *mut u8, |
| 12667 |
message: *const u8, |
| 12668 |
message_len: usize, |
| 12669 |
private_key: *const u8, |
| 12670 |
context: *const u8, |
| 12671 |
context_len: usize, |
| 12672 |
) -> ::std::os::raw::c_int; |
| 12673 |
} |
| 12674 |
extern "C" { |
| 12675 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519ph_verify"] |
| 12676 |
pub fn ED25519ph_verify( |
| 12677 |
message: *const u8, |
| 12678 |
message_len: usize, |
| 12679 |
signature: *const u8, |
| 12680 |
public_key: *const u8, |
| 12681 |
context: *const u8, |
| 12682 |
context_len: usize, |
| 12683 |
) -> ::std::os::raw::c_int; |
| 12684 |
} |
| 12685 |
extern "C" { |
| 12686 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519ph_sign_digest"] |
| 12687 |
pub fn ED25519ph_sign_digest( |
| 12688 |
out_sig: *mut u8, |
| 12689 |
digest: *const u8, |
| 12690 |
private_key: *const u8, |
| 12691 |
context: *const u8, |
| 12692 |
context_len: usize, |
| 12693 |
) -> ::std::os::raw::c_int; |
| 12694 |
} |
| 12695 |
extern "C" { |
| 12696 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519ph_verify_digest"] |
| 12697 |
pub fn ED25519ph_verify_digest( |
| 12698 |
digest: *const u8, |
| 12699 |
signature: *const u8, |
| 12700 |
public_key: *const u8, |
| 12701 |
context: *const u8, |
| 12702 |
context_len: usize, |
| 12703 |
) -> ::std::os::raw::c_int; |
| 12704 |
} |
| 12705 |
extern "C" { |
| 12706 |
#[link_name = "\u{1}aws_lc_0_41_0_ED25519_keypair_from_seed"] |
| 12707 |
pub fn ED25519_keypair_from_seed( |
| 12708 |
out_public_key: *mut u8, |
| 12709 |
out_private_key: *mut u8, |
| 12710 |
seed: *const u8, |
| 12711 |
); |
| 12712 |
} |
| 12713 |
pub const spake2_role_t_spake2_role_alice: spake2_role_t = 0; |
| 12714 |
pub const spake2_role_t_spake2_role_bob: spake2_role_t = 1; |
| 12715 |
pub type spake2_role_t = ::std::os::raw::c_uint; |
| 12716 |
extern "C" { |
| 12717 |
#[link_name = "\u{1}aws_lc_0_41_0_SPAKE2_CTX_new"] |
| 12718 |
pub fn SPAKE2_CTX_new( |
| 12719 |
my_role: spake2_role_t, |
| 12720 |
my_name: *const u8, |
| 12721 |
my_name_len: usize, |
| 12722 |
their_name: *const u8, |
| 12723 |
their_name_len: usize, |
| 12724 |
) -> *mut SPAKE2_CTX; |
| 12725 |
} |
| 12726 |
extern "C" { |
| 12727 |
#[link_name = "\u{1}aws_lc_0_41_0_SPAKE2_CTX_free"] |
| 12728 |
pub fn SPAKE2_CTX_free(ctx: *mut SPAKE2_CTX); |
| 12729 |
} |
| 12730 |
extern "C" { |
| 12731 |
#[link_name = "\u{1}aws_lc_0_41_0_SPAKE2_generate_msg"] |
| 12732 |
pub fn SPAKE2_generate_msg( |
| 12733 |
ctx: *mut SPAKE2_CTX, |
| 12734 |
out: *mut u8, |
| 12735 |
out_len: *mut usize, |
| 12736 |
max_out_len: usize, |
| 12737 |
password: *const u8, |
| 12738 |
password_len: usize, |
| 12739 |
) -> ::std::os::raw::c_int; |
| 12740 |
} |
| 12741 |
extern "C" { |
| 12742 |
#[link_name = "\u{1}aws_lc_0_41_0_SPAKE2_process_msg"] |
| 12743 |
pub fn SPAKE2_process_msg( |
| 12744 |
ctx: *mut SPAKE2_CTX, |
| 12745 |
out_key: *mut u8, |
| 12746 |
out_key_len: *mut usize, |
| 12747 |
max_out_key_len: usize, |
| 12748 |
their_msg: *const u8, |
| 12749 |
their_msg_len: usize, |
| 12750 |
) -> ::std::os::raw::c_int; |
| 12751 |
} |
| 12752 |
#[repr(C)] |
| 12753 |
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] |
| 12754 |
pub struct DES_cblock_st { |
| 12755 |
pub bytes: [u8; 8usize], |
| 12756 |
} |
| 12757 |
#[test] |
| 12758 |
fn bindgen_test_layout_DES_cblock_st() { |
| 12759 |
const UNINIT: ::std::mem::MaybeUninit<DES_cblock_st> = ::std::mem::MaybeUninit::uninit(); |
| 12760 |
let ptr = UNINIT.as_ptr(); |
| 12761 |
assert_eq!( |
| 12762 |
::std::mem::size_of::<DES_cblock_st>(), |
| 12763 |
8usize, |
| 12764 |
"Size of DES_cblock_st" |
| 12765 |
); |
| 12766 |
assert_eq!( |
| 12767 |
::std::mem::align_of::<DES_cblock_st>(), |
| 12768 |
1usize, |
| 12769 |
"Alignment of DES_cblock_st" |
| 12770 |
); |
| 12771 |
assert_eq!( |
| 12772 |
unsafe { ::std::ptr::addr_of!((*ptr).bytes) as usize - ptr as usize }, |
| 12773 |
0usize, |
| 12774 |
"Offset of field: DES_cblock_st::bytes" |
| 12775 |
); |
| 12776 |
} |
| 12777 |
pub type DES_cblock = DES_cblock_st; |
| 12778 |
pub type const_DES_cblock = DES_cblock_st; |
| 12779 |
#[repr(C)] |
| 12780 |
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] |
| 12781 |
pub struct DES_ks { |
| 12782 |
pub subkeys: [[u32; 2usize]; 16usize], |
| 12783 |
} |
| 12784 |
#[test] |
| 12785 |
fn bindgen_test_layout_DES_ks() { |
| 12786 |
const UNINIT: ::std::mem::MaybeUninit<DES_ks> = ::std::mem::MaybeUninit::uninit(); |
| 12787 |
let ptr = UNINIT.as_ptr(); |
| 12788 |
assert_eq!(::std::mem::size_of::<DES_ks>(), 128usize, "Size of DES_ks"); |
| 12789 |
assert_eq!( |
| 12790 |
::std::mem::align_of::<DES_ks>(), |
| 12791 |
4usize, |
| 12792 |
"Alignment of DES_ks" |
| 12793 |
); |
| 12794 |
assert_eq!( |
| 12795 |
unsafe { ::std::ptr::addr_of!((*ptr).subkeys) as usize - ptr as usize }, |
| 12796 |
0usize, |
| 12797 |
"Offset of field: DES_ks::subkeys" |
| 12798 |
); |
| 12799 |
} |
| 12800 |
pub type DES_key_schedule = DES_ks; |
| 12801 |
extern "C" { |
| 12802 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_is_weak_key"] |
| 12803 |
pub fn DES_is_weak_key(key: *const DES_cblock) -> ::std::os::raw::c_int; |
| 12804 |
} |
| 12805 |
extern "C" { |
| 12806 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_set_key"] |
| 12807 |
pub fn DES_set_key( |
| 12808 |
key: *const DES_cblock, |
| 12809 |
schedule: *mut DES_key_schedule, |
| 12810 |
) -> ::std::os::raw::c_int; |
| 12811 |
} |
| 12812 |
extern "C" { |
| 12813 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_set_key_unchecked"] |
| 12814 |
pub fn DES_set_key_unchecked(key: *const DES_cblock, schedule: *mut DES_key_schedule); |
| 12815 |
} |
| 12816 |
extern "C" { |
| 12817 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_key_sched"] |
| 12818 |
pub fn DES_key_sched( |
| 12819 |
key: *const DES_cblock, |
| 12820 |
schedule: *mut DES_key_schedule, |
| 12821 |
) -> ::std::os::raw::c_int; |
| 12822 |
} |
| 12823 |
extern "C" { |
| 12824 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_set_odd_parity"] |
| 12825 |
pub fn DES_set_odd_parity(key: *mut DES_cblock); |
| 12826 |
} |
| 12827 |
extern "C" { |
| 12828 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_ecb_encrypt"] |
| 12829 |
pub fn DES_ecb_encrypt( |
| 12830 |
in_: *const DES_cblock, |
| 12831 |
out: *mut DES_cblock, |
| 12832 |
schedule: *const DES_key_schedule, |
| 12833 |
is_encrypt: ::std::os::raw::c_int, |
| 12834 |
); |
| 12835 |
} |
| 12836 |
extern "C" { |
| 12837 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_ncbc_encrypt"] |
| 12838 |
pub fn DES_ncbc_encrypt( |
| 12839 |
in_: *const u8, |
| 12840 |
out: *mut u8, |
| 12841 |
len: usize, |
| 12842 |
schedule: *const DES_key_schedule, |
| 12843 |
ivec: *mut DES_cblock, |
| 12844 |
enc: ::std::os::raw::c_int, |
| 12845 |
); |
| 12846 |
} |
| 12847 |
extern "C" { |
| 12848 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_ecb3_encrypt"] |
| 12849 |
pub fn DES_ecb3_encrypt( |
| 12850 |
input: *const DES_cblock, |
| 12851 |
output: *mut DES_cblock, |
| 12852 |
ks1: *const DES_key_schedule, |
| 12853 |
ks2: *const DES_key_schedule, |
| 12854 |
ks3: *const DES_key_schedule, |
| 12855 |
enc: ::std::os::raw::c_int, |
| 12856 |
); |
| 12857 |
} |
| 12858 |
extern "C" { |
| 12859 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_ede3_cbc_encrypt"] |
| 12860 |
pub fn DES_ede3_cbc_encrypt( |
| 12861 |
in_: *const u8, |
| 12862 |
out: *mut u8, |
| 12863 |
len: usize, |
| 12864 |
ks1: *const DES_key_schedule, |
| 12865 |
ks2: *const DES_key_schedule, |
| 12866 |
ks3: *const DES_key_schedule, |
| 12867 |
ivec: *mut DES_cblock, |
| 12868 |
enc: ::std::os::raw::c_int, |
| 12869 |
); |
| 12870 |
} |
| 12871 |
extern "C" { |
| 12872 |
#[link_name = "\u{1}aws_lc_0_41_0_DES_ede2_cbc_encrypt"] |
| 12873 |
pub fn DES_ede2_cbc_encrypt( |
| 12874 |
in_: *const u8, |
| 12875 |
out: *mut u8, |
| 12876 |
len: usize, |
| 12877 |
ks1: *const DES_key_schedule, |
| 12878 |
ks2: *const DES_key_schedule, |
| 12879 |
ivec: *mut DES_cblock, |
| 12880 |
enc: ::std::os::raw::c_int, |
| 12881 |
); |
| 12882 |
} |
| 12883 |
extern "C" { |
| 12884 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_new"] |
| 12885 |
pub fn DH_new() -> *mut DH; |
| 12886 |
} |
| 12887 |
extern "C" { |
| 12888 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_new_by_nid"] |
| 12889 |
pub fn DH_new_by_nid(nid: ::std::os::raw::c_int) -> *mut DH; |
| 12890 |
} |
| 12891 |
extern "C" { |
| 12892 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_free"] |
| 12893 |
pub fn DH_free(dh: *mut DH); |
| 12894 |
} |
| 12895 |
extern "C" { |
| 12896 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_up_ref"] |
| 12897 |
pub fn DH_up_ref(dh: *mut DH) -> ::std::os::raw::c_int; |
| 12898 |
} |
| 12899 |
extern "C" { |
| 12900 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_bits"] |
| 12901 |
pub fn DH_bits(dh: *const DH) -> ::std::os::raw::c_uint; |
| 12902 |
} |
| 12903 |
extern "C" { |
| 12904 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get0_pub_key"] |
| 12905 |
pub fn DH_get0_pub_key(dh: *const DH) -> *const BIGNUM; |
| 12906 |
} |
| 12907 |
extern "C" { |
| 12908 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get0_priv_key"] |
| 12909 |
pub fn DH_get0_priv_key(dh: *const DH) -> *const BIGNUM; |
| 12910 |
} |
| 12911 |
extern "C" { |
| 12912 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get0_p"] |
| 12913 |
pub fn DH_get0_p(dh: *const DH) -> *const BIGNUM; |
| 12914 |
} |
| 12915 |
extern "C" { |
| 12916 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get0_q"] |
| 12917 |
pub fn DH_get0_q(dh: *const DH) -> *const BIGNUM; |
| 12918 |
} |
| 12919 |
extern "C" { |
| 12920 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get0_g"] |
| 12921 |
pub fn DH_get0_g(dh: *const DH) -> *const BIGNUM; |
| 12922 |
} |
| 12923 |
extern "C" { |
| 12924 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get0_key"] |
| 12925 |
pub fn DH_get0_key( |
| 12926 |
dh: *const DH, |
| 12927 |
out_pub_key: *mut *const BIGNUM, |
| 12928 |
out_priv_key: *mut *const BIGNUM, |
| 12929 |
); |
| 12930 |
} |
| 12931 |
extern "C" { |
| 12932 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_set0_key"] |
| 12933 |
pub fn DH_set0_key( |
| 12934 |
dh: *mut DH, |
| 12935 |
pub_key: *mut BIGNUM, |
| 12936 |
priv_key: *mut BIGNUM, |
| 12937 |
) -> ::std::os::raw::c_int; |
| 12938 |
} |
| 12939 |
extern "C" { |
| 12940 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get0_pqg"] |
| 12941 |
pub fn DH_get0_pqg( |
| 12942 |
dh: *const DH, |
| 12943 |
out_p: *mut *const BIGNUM, |
| 12944 |
out_q: *mut *const BIGNUM, |
| 12945 |
out_g: *mut *const BIGNUM, |
| 12946 |
); |
| 12947 |
} |
| 12948 |
extern "C" { |
| 12949 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_set0_pqg"] |
| 12950 |
pub fn DH_set0_pqg( |
| 12951 |
dh: *mut DH, |
| 12952 |
p: *mut BIGNUM, |
| 12953 |
q: *mut BIGNUM, |
| 12954 |
g: *mut BIGNUM, |
| 12955 |
) -> ::std::os::raw::c_int; |
| 12956 |
} |
| 12957 |
extern "C" { |
| 12958 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_set_length"] |
| 12959 |
pub fn DH_set_length(dh: *mut DH, priv_length: ::std::os::raw::c_uint) |
| 12960 |
-> ::std::os::raw::c_int; |
| 12961 |
} |
| 12962 |
extern "C" { |
| 12963 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get_rfc7919_2048"] |
| 12964 |
pub fn DH_get_rfc7919_2048() -> *mut DH; |
| 12965 |
} |
| 12966 |
extern "C" { |
| 12967 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get_rfc7919_4096"] |
| 12968 |
pub fn DH_get_rfc7919_4096() -> *mut DH; |
| 12969 |
} |
| 12970 |
extern "C" { |
| 12971 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_rfc3526_prime_1536"] |
| 12972 |
pub fn BN_get_rfc3526_prime_1536(ret: *mut BIGNUM) -> *mut BIGNUM; |
| 12973 |
} |
| 12974 |
extern "C" { |
| 12975 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_rfc3526_prime_2048"] |
| 12976 |
pub fn BN_get_rfc3526_prime_2048(ret: *mut BIGNUM) -> *mut BIGNUM; |
| 12977 |
} |
| 12978 |
extern "C" { |
| 12979 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_rfc3526_prime_3072"] |
| 12980 |
pub fn BN_get_rfc3526_prime_3072(ret: *mut BIGNUM) -> *mut BIGNUM; |
| 12981 |
} |
| 12982 |
extern "C" { |
| 12983 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_rfc3526_prime_4096"] |
| 12984 |
pub fn BN_get_rfc3526_prime_4096(ret: *mut BIGNUM) -> *mut BIGNUM; |
| 12985 |
} |
| 12986 |
extern "C" { |
| 12987 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_rfc3526_prime_6144"] |
| 12988 |
pub fn BN_get_rfc3526_prime_6144(ret: *mut BIGNUM) -> *mut BIGNUM; |
| 12989 |
} |
| 12990 |
extern "C" { |
| 12991 |
#[link_name = "\u{1}aws_lc_0_41_0_BN_get_rfc3526_prime_8192"] |
| 12992 |
pub fn BN_get_rfc3526_prime_8192(ret: *mut BIGNUM) -> *mut BIGNUM; |
| 12993 |
} |
| 12994 |
extern "C" { |
| 12995 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_generate_parameters_ex"] |
| 12996 |
pub fn DH_generate_parameters_ex( |
| 12997 |
dh: *mut DH, |
| 12998 |
prime_bits: ::std::os::raw::c_int, |
| 12999 |
generator: ::std::os::raw::c_int, |
| 13000 |
cb: *mut BN_GENCB, |
| 13001 |
) -> ::std::os::raw::c_int; |
| 13002 |
} |
| 13003 |
extern "C" { |
| 13004 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_generate_key"] |
| 13005 |
pub fn DH_generate_key(dh: *mut DH) -> ::std::os::raw::c_int; |
| 13006 |
} |
| 13007 |
extern "C" { |
| 13008 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_compute_key_padded"] |
| 13009 |
pub fn DH_compute_key_padded( |
| 13010 |
out: *mut u8, |
| 13011 |
peers_key: *const BIGNUM, |
| 13012 |
dh: *mut DH, |
| 13013 |
) -> ::std::os::raw::c_int; |
| 13014 |
} |
| 13015 |
extern "C" { |
| 13016 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_compute_key_hashed"] |
| 13017 |
pub fn DH_compute_key_hashed( |
| 13018 |
dh: *mut DH, |
| 13019 |
out: *mut u8, |
| 13020 |
out_len: *mut usize, |
| 13021 |
max_out_len: usize, |
| 13022 |
peers_key: *const BIGNUM, |
| 13023 |
digest: *const EVP_MD, |
| 13024 |
) -> ::std::os::raw::c_int; |
| 13025 |
} |
| 13026 |
extern "C" { |
| 13027 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_size"] |
| 13028 |
pub fn DH_size(dh: *const DH) -> ::std::os::raw::c_int; |
| 13029 |
} |
| 13030 |
extern "C" { |
| 13031 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_num_bits"] |
| 13032 |
pub fn DH_num_bits(dh: *const DH) -> ::std::os::raw::c_uint; |
| 13033 |
} |
| 13034 |
extern "C" { |
| 13035 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_check"] |
| 13036 |
pub fn DH_check(dh: *const DH, out_flags: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 13037 |
} |
| 13038 |
extern "C" { |
| 13039 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_check_pub_key"] |
| 13040 |
pub fn DH_check_pub_key( |
| 13041 |
dh: *const DH, |
| 13042 |
pub_key: *const BIGNUM, |
| 13043 |
out_flags: *mut ::std::os::raw::c_int, |
| 13044 |
) -> ::std::os::raw::c_int; |
| 13045 |
} |
| 13046 |
extern "C" { |
| 13047 |
#[link_name = "\u{1}aws_lc_0_41_0_DHparams_dup"] |
| 13048 |
pub fn DHparams_dup(dh: *const DH) -> *mut DH; |
| 13049 |
} |
| 13050 |
extern "C" { |
| 13051 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_parse_parameters"] |
| 13052 |
pub fn DH_parse_parameters(cbs: *mut CBS) -> *mut DH; |
| 13053 |
} |
| 13054 |
extern "C" { |
| 13055 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_marshal_parameters"] |
| 13056 |
pub fn DH_marshal_parameters(cbb: *mut CBB, dh: *const DH) -> ::std::os::raw::c_int; |
| 13057 |
} |
| 13058 |
extern "C" { |
| 13059 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_generate_parameters"] |
| 13060 |
pub fn DH_generate_parameters( |
| 13061 |
prime_len: ::std::os::raw::c_int, |
| 13062 |
generator: ::std::os::raw::c_int, |
| 13063 |
callback: ::std::option::Option< |
| 13064 |
unsafe extern "C" fn( |
| 13065 |
arg1: ::std::os::raw::c_int, |
| 13066 |
arg2: ::std::os::raw::c_int, |
| 13067 |
arg3: *mut ::std::os::raw::c_void, |
| 13068 |
), |
| 13069 |
>, |
| 13070 |
cb_arg: *mut ::std::os::raw::c_void, |
| 13071 |
) -> *mut DH; |
| 13072 |
} |
| 13073 |
extern "C" { |
| 13074 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DHparams"] |
| 13075 |
pub fn d2i_DHparams( |
| 13076 |
ret: *mut *mut DH, |
| 13077 |
inp: *mut *const ::std::os::raw::c_uchar, |
| 13078 |
len: ::std::os::raw::c_long, |
| 13079 |
) -> *mut DH; |
| 13080 |
} |
| 13081 |
extern "C" { |
| 13082 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DHparams"] |
| 13083 |
pub fn i2d_DHparams( |
| 13084 |
in_: *const DH, |
| 13085 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 13086 |
) -> ::std::os::raw::c_int; |
| 13087 |
} |
| 13088 |
extern "C" { |
| 13089 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_compute_key"] |
| 13090 |
pub fn DH_compute_key( |
| 13091 |
out: *mut u8, |
| 13092 |
peers_key: *const BIGNUM, |
| 13093 |
dh: *mut DH, |
| 13094 |
) -> ::std::os::raw::c_int; |
| 13095 |
} |
| 13096 |
extern "C" { |
| 13097 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_get_2048_256"] |
| 13098 |
pub fn DH_get_2048_256() -> *mut DH; |
| 13099 |
} |
| 13100 |
extern "C" { |
| 13101 |
#[link_name = "\u{1}aws_lc_0_41_0_DH_clear_flags"] |
| 13102 |
pub fn DH_clear_flags(dh: *mut DH, flags: ::std::os::raw::c_int); |
| 13103 |
} |
| 13104 |
extern "C" { |
| 13105 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_md4"] |
| 13106 |
pub fn EVP_md4() -> *const EVP_MD; |
| 13107 |
} |
| 13108 |
extern "C" { |
| 13109 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_md5"] |
| 13110 |
pub fn EVP_md5() -> *const EVP_MD; |
| 13111 |
} |
| 13112 |
extern "C" { |
| 13113 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_ripemd160"] |
| 13114 |
pub fn EVP_ripemd160() -> *const EVP_MD; |
| 13115 |
} |
| 13116 |
extern "C" { |
| 13117 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha1"] |
| 13118 |
pub fn EVP_sha1() -> *const EVP_MD; |
| 13119 |
} |
| 13120 |
extern "C" { |
| 13121 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha224"] |
| 13122 |
pub fn EVP_sha224() -> *const EVP_MD; |
| 13123 |
} |
| 13124 |
extern "C" { |
| 13125 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha256"] |
| 13126 |
pub fn EVP_sha256() -> *const EVP_MD; |
| 13127 |
} |
| 13128 |
extern "C" { |
| 13129 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha384"] |
| 13130 |
pub fn EVP_sha384() -> *const EVP_MD; |
| 13131 |
} |
| 13132 |
extern "C" { |
| 13133 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha512"] |
| 13134 |
pub fn EVP_sha512() -> *const EVP_MD; |
| 13135 |
} |
| 13136 |
extern "C" { |
| 13137 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha512_224"] |
| 13138 |
pub fn EVP_sha512_224() -> *const EVP_MD; |
| 13139 |
} |
| 13140 |
extern "C" { |
| 13141 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha512_256"] |
| 13142 |
pub fn EVP_sha512_256() -> *const EVP_MD; |
| 13143 |
} |
| 13144 |
extern "C" { |
| 13145 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha3_224"] |
| 13146 |
pub fn EVP_sha3_224() -> *const EVP_MD; |
| 13147 |
} |
| 13148 |
extern "C" { |
| 13149 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha3_256"] |
| 13150 |
pub fn EVP_sha3_256() -> *const EVP_MD; |
| 13151 |
} |
| 13152 |
extern "C" { |
| 13153 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha3_384"] |
| 13154 |
pub fn EVP_sha3_384() -> *const EVP_MD; |
| 13155 |
} |
| 13156 |
extern "C" { |
| 13157 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_sha3_512"] |
| 13158 |
pub fn EVP_sha3_512() -> *const EVP_MD; |
| 13159 |
} |
| 13160 |
extern "C" { |
| 13161 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_shake128"] |
| 13162 |
pub fn EVP_shake128() -> *const EVP_MD; |
| 13163 |
} |
| 13164 |
extern "C" { |
| 13165 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_shake256"] |
| 13166 |
pub fn EVP_shake256() -> *const EVP_MD; |
| 13167 |
} |
| 13168 |
extern "C" { |
| 13169 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_blake2b256"] |
| 13170 |
pub fn EVP_blake2b256() -> *const EVP_MD; |
| 13171 |
} |
| 13172 |
extern "C" { |
| 13173 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_md5_sha1"] |
| 13174 |
pub fn EVP_md5_sha1() -> *const EVP_MD; |
| 13175 |
} |
| 13176 |
extern "C" { |
| 13177 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_get_digestbynid"] |
| 13178 |
pub fn EVP_get_digestbynid(nid: ::std::os::raw::c_int) -> *const EVP_MD; |
| 13179 |
} |
| 13180 |
extern "C" { |
| 13181 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_get_digestbyobj"] |
| 13182 |
pub fn EVP_get_digestbyobj(obj: *const ASN1_OBJECT) -> *const EVP_MD; |
| 13183 |
} |
| 13184 |
extern "C" { |
| 13185 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_init"] |
| 13186 |
pub fn EVP_MD_CTX_init(ctx: *mut EVP_MD_CTX); |
| 13187 |
} |
| 13188 |
extern "C" { |
| 13189 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_new"] |
| 13190 |
pub fn EVP_MD_CTX_new() -> *mut EVP_MD_CTX; |
| 13191 |
} |
| 13192 |
extern "C" { |
| 13193 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_cleanup"] |
| 13194 |
pub fn EVP_MD_CTX_cleanup(ctx: *mut EVP_MD_CTX) -> ::std::os::raw::c_int; |
| 13195 |
} |
| 13196 |
extern "C" { |
| 13197 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_cleanse"] |
| 13198 |
pub fn EVP_MD_CTX_cleanse(ctx: *mut EVP_MD_CTX); |
| 13199 |
} |
| 13200 |
extern "C" { |
| 13201 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_free"] |
| 13202 |
pub fn EVP_MD_CTX_free(ctx: *mut EVP_MD_CTX); |
| 13203 |
} |
| 13204 |
extern "C" { |
| 13205 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_copy_ex"] |
| 13206 |
pub fn EVP_MD_CTX_copy_ex( |
| 13207 |
out: *mut EVP_MD_CTX, |
| 13208 |
in_: *const EVP_MD_CTX, |
| 13209 |
) -> ::std::os::raw::c_int; |
| 13210 |
} |
| 13211 |
extern "C" { |
| 13212 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_move"] |
| 13213 |
pub fn EVP_MD_CTX_move(out: *mut EVP_MD_CTX, in_: *mut EVP_MD_CTX); |
| 13214 |
} |
| 13215 |
extern "C" { |
| 13216 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_reset"] |
| 13217 |
pub fn EVP_MD_CTX_reset(ctx: *mut EVP_MD_CTX) -> ::std::os::raw::c_int; |
| 13218 |
} |
| 13219 |
extern "C" { |
| 13220 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestInit_ex"] |
| 13221 |
pub fn EVP_DigestInit_ex( |
| 13222 |
ctx: *mut EVP_MD_CTX, |
| 13223 |
type_: *const EVP_MD, |
| 13224 |
engine: *mut ENGINE, |
| 13225 |
) -> ::std::os::raw::c_int; |
| 13226 |
} |
| 13227 |
extern "C" { |
| 13228 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestInit"] |
| 13229 |
pub fn EVP_DigestInit(ctx: *mut EVP_MD_CTX, type_: *const EVP_MD) -> ::std::os::raw::c_int; |
| 13230 |
} |
| 13231 |
extern "C" { |
| 13232 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestUpdate"] |
| 13233 |
pub fn EVP_DigestUpdate( |
| 13234 |
ctx: *mut EVP_MD_CTX, |
| 13235 |
data: *const ::std::os::raw::c_void, |
| 13236 |
len: usize, |
| 13237 |
) -> ::std::os::raw::c_int; |
| 13238 |
} |
| 13239 |
extern "C" { |
| 13240 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestFinal_ex"] |
| 13241 |
pub fn EVP_DigestFinal_ex( |
| 13242 |
ctx: *mut EVP_MD_CTX, |
| 13243 |
md_out: *mut u8, |
| 13244 |
out_size: *mut ::std::os::raw::c_uint, |
| 13245 |
) -> ::std::os::raw::c_int; |
| 13246 |
} |
| 13247 |
extern "C" { |
| 13248 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestFinal"] |
| 13249 |
pub fn EVP_DigestFinal( |
| 13250 |
ctx: *mut EVP_MD_CTX, |
| 13251 |
md_out: *mut u8, |
| 13252 |
out_size: *mut ::std::os::raw::c_uint, |
| 13253 |
) -> ::std::os::raw::c_int; |
| 13254 |
} |
| 13255 |
extern "C" { |
| 13256 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_Digest"] |
| 13257 |
pub fn EVP_Digest( |
| 13258 |
data: *const ::std::os::raw::c_void, |
| 13259 |
len: usize, |
| 13260 |
md_out: *mut u8, |
| 13261 |
out_size: *mut ::std::os::raw::c_uint, |
| 13262 |
type_: *const EVP_MD, |
| 13263 |
impl_: *mut ENGINE, |
| 13264 |
) -> ::std::os::raw::c_int; |
| 13265 |
} |
| 13266 |
extern "C" { |
| 13267 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_type"] |
| 13268 |
pub fn EVP_MD_type(md: *const EVP_MD) -> ::std::os::raw::c_int; |
| 13269 |
} |
| 13270 |
extern "C" { |
| 13271 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_flags"] |
| 13272 |
pub fn EVP_MD_flags(md: *const EVP_MD) -> u32; |
| 13273 |
} |
| 13274 |
extern "C" { |
| 13275 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_size"] |
| 13276 |
pub fn EVP_MD_size(md: *const EVP_MD) -> usize; |
| 13277 |
} |
| 13278 |
extern "C" { |
| 13279 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_block_size"] |
| 13280 |
pub fn EVP_MD_block_size(md: *const EVP_MD) -> usize; |
| 13281 |
} |
| 13282 |
extern "C" { |
| 13283 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_md"] |
| 13284 |
pub fn EVP_MD_CTX_md(ctx: *const EVP_MD_CTX) -> *const EVP_MD; |
| 13285 |
} |
| 13286 |
extern "C" { |
| 13287 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_size"] |
| 13288 |
pub fn EVP_MD_CTX_size(ctx: *const EVP_MD_CTX) -> usize; |
| 13289 |
} |
| 13290 |
extern "C" { |
| 13291 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_block_size"] |
| 13292 |
pub fn EVP_MD_CTX_block_size(ctx: *const EVP_MD_CTX) -> usize; |
| 13293 |
} |
| 13294 |
extern "C" { |
| 13295 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_type"] |
| 13296 |
pub fn EVP_MD_CTX_type(ctx: *const EVP_MD_CTX) -> ::std::os::raw::c_int; |
| 13297 |
} |
| 13298 |
extern "C" { |
| 13299 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_parse_digest_algorithm"] |
| 13300 |
pub fn EVP_parse_digest_algorithm(cbs: *mut CBS) -> *const EVP_MD; |
| 13301 |
} |
| 13302 |
extern "C" { |
| 13303 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_marshal_digest_algorithm"] |
| 13304 |
pub fn EVP_marshal_digest_algorithm(cbb: *mut CBB, md: *const EVP_MD) -> ::std::os::raw::c_int; |
| 13305 |
} |
| 13306 |
extern "C" { |
| 13307 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_copy"] |
| 13308 |
pub fn EVP_MD_CTX_copy(out: *mut EVP_MD_CTX, in_: *const EVP_MD_CTX) -> ::std::os::raw::c_int; |
| 13309 |
} |
| 13310 |
extern "C" { |
| 13311 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_get_digestbyname"] |
| 13312 |
pub fn EVP_get_digestbyname(arg1: *const ::std::os::raw::c_char) -> *const EVP_MD; |
| 13313 |
} |
| 13314 |
extern "C" { |
| 13315 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_create"] |
| 13316 |
pub fn EVP_MD_CTX_create() -> *mut EVP_MD_CTX; |
| 13317 |
} |
| 13318 |
extern "C" { |
| 13319 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_destroy"] |
| 13320 |
pub fn EVP_MD_CTX_destroy(ctx: *mut EVP_MD_CTX); |
| 13321 |
} |
| 13322 |
extern "C" { |
| 13323 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestFinalXOF"] |
| 13324 |
pub fn EVP_DigestFinalXOF( |
| 13325 |
ctx: *mut EVP_MD_CTX, |
| 13326 |
out: *mut u8, |
| 13327 |
len: usize, |
| 13328 |
) -> ::std::os::raw::c_int; |
| 13329 |
} |
| 13330 |
extern "C" { |
| 13331 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestSqueeze"] |
| 13332 |
pub fn EVP_DigestSqueeze( |
| 13333 |
ctx: *mut EVP_MD_CTX, |
| 13334 |
out: *mut u8, |
| 13335 |
len: usize, |
| 13336 |
) -> ::std::os::raw::c_int; |
| 13337 |
} |
| 13338 |
extern "C" { |
| 13339 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_meth_get_flags"] |
| 13340 |
pub fn EVP_MD_meth_get_flags(md: *const EVP_MD) -> u32; |
| 13341 |
} |
| 13342 |
extern "C" { |
| 13343 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_nid"] |
| 13344 |
pub fn EVP_MD_nid(md: *const EVP_MD) -> ::std::os::raw::c_int; |
| 13345 |
} |
| 13346 |
extern "C" { |
| 13347 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_set_pkey_ctx"] |
| 13348 |
pub fn EVP_MD_CTX_set_pkey_ctx(ctx: *mut EVP_MD_CTX, pctx: *mut EVP_PKEY_CTX); |
| 13349 |
} |
| 13350 |
extern "C" { |
| 13351 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_get_pkey_ctx"] |
| 13352 |
pub fn EVP_MD_CTX_get_pkey_ctx(ctx: *const EVP_MD_CTX) -> *mut EVP_PKEY_CTX; |
| 13353 |
} |
| 13354 |
extern "C" { |
| 13355 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_pkey_ctx"] |
| 13356 |
pub fn EVP_MD_CTX_pkey_ctx(ctx: *const EVP_MD_CTX) -> *mut EVP_PKEY_CTX; |
| 13357 |
} |
| 13358 |
#[repr(C)] |
| 13359 |
#[derive(Debug, Copy, Clone)] |
| 13360 |
pub struct evp_md_pctx_ops { |
| 13361 |
_unused: [u8; 0], |
| 13362 |
} |
| 13363 |
#[repr(C)] |
| 13364 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 13365 |
pub struct env_md_ctx_st { |
| 13366 |
pub digest: *const EVP_MD, |
| 13367 |
pub md_data: *mut ::std::os::raw::c_void, |
| 13368 |
pub update: ::std::option::Option< |
| 13369 |
unsafe extern "C" fn( |
| 13370 |
ctx: *mut EVP_MD_CTX, |
| 13371 |
data: *const ::std::os::raw::c_void, |
| 13372 |
count: usize, |
| 13373 |
) -> ::std::os::raw::c_int, |
| 13374 |
>, |
| 13375 |
pub pctx: *mut EVP_PKEY_CTX, |
| 13376 |
pub pctx_ops: *const evp_md_pctx_ops, |
| 13377 |
pub flags: ::std::os::raw::c_ulong, |
| 13378 |
} |
| 13379 |
#[test] |
| 13380 |
fn bindgen_test_layout_env_md_ctx_st() { |
| 13381 |
const UNINIT: ::std::mem::MaybeUninit<env_md_ctx_st> = ::std::mem::MaybeUninit::uninit(); |
| 13382 |
let ptr = UNINIT.as_ptr(); |
| 13383 |
assert_eq!( |
| 13384 |
::std::mem::size_of::<env_md_ctx_st>(), |
| 13385 |
48usize, |
| 13386 |
"Size of env_md_ctx_st" |
| 13387 |
); |
| 13388 |
assert_eq!( |
| 13389 |
::std::mem::align_of::<env_md_ctx_st>(), |
| 13390 |
8usize, |
| 13391 |
"Alignment of env_md_ctx_st" |
| 13392 |
); |
| 13393 |
assert_eq!( |
| 13394 |
unsafe { ::std::ptr::addr_of!((*ptr).digest) as usize - ptr as usize }, |
| 13395 |
0usize, |
| 13396 |
"Offset of field: env_md_ctx_st::digest" |
| 13397 |
); |
| 13398 |
assert_eq!( |
| 13399 |
unsafe { ::std::ptr::addr_of!((*ptr).md_data) as usize - ptr as usize }, |
| 13400 |
8usize, |
| 13401 |
"Offset of field: env_md_ctx_st::md_data" |
| 13402 |
); |
| 13403 |
assert_eq!( |
| 13404 |
unsafe { ::std::ptr::addr_of!((*ptr).update) as usize - ptr as usize }, |
| 13405 |
16usize, |
| 13406 |
"Offset of field: env_md_ctx_st::update" |
| 13407 |
); |
| 13408 |
assert_eq!( |
| 13409 |
unsafe { ::std::ptr::addr_of!((*ptr).pctx) as usize - ptr as usize }, |
| 13410 |
24usize, |
| 13411 |
"Offset of field: env_md_ctx_st::pctx" |
| 13412 |
); |
| 13413 |
assert_eq!( |
| 13414 |
unsafe { ::std::ptr::addr_of!((*ptr).pctx_ops) as usize - ptr as usize }, |
| 13415 |
32usize, |
| 13416 |
"Offset of field: env_md_ctx_st::pctx_ops" |
| 13417 |
); |
| 13418 |
assert_eq!( |
| 13419 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 13420 |
40usize, |
| 13421 |
"Offset of field: env_md_ctx_st::flags" |
| 13422 |
); |
| 13423 |
} |
| 13424 |
impl Default for env_md_ctx_st { |
| 13425 |
fn default() -> Self { |
| 13426 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 13427 |
unsafe { |
| 13428 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 13429 |
s.assume_init() |
| 13430 |
} |
| 13431 |
} |
| 13432 |
} |
| 13433 |
extern "C" { |
| 13434 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_unstable_sha3_enable"] |
| 13435 |
pub fn EVP_MD_unstable_sha3_enable(enable: bool); |
| 13436 |
} |
| 13437 |
extern "C" { |
| 13438 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_unstable_sha3_is_enabled"] |
| 13439 |
pub fn EVP_MD_unstable_sha3_is_enabled() -> bool; |
| 13440 |
} |
| 13441 |
extern "C" { |
| 13442 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_CTX_set_flags"] |
| 13443 |
pub fn EVP_MD_CTX_set_flags(ctx: *mut EVP_MD_CTX, flags: ::std::os::raw::c_int); |
| 13444 |
} |
| 13445 |
extern "C" { |
| 13446 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_add_digest"] |
| 13447 |
pub fn EVP_add_digest(digest: *const EVP_MD) -> ::std::os::raw::c_int; |
| 13448 |
} |
| 13449 |
extern "C" { |
| 13450 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_md_null"] |
| 13451 |
pub fn EVP_md_null() -> *const EVP_MD; |
| 13452 |
} |
| 13453 |
extern "C" { |
| 13454 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_new"] |
| 13455 |
pub fn DSA_new() -> *mut DSA; |
| 13456 |
} |
| 13457 |
extern "C" { |
| 13458 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_free"] |
| 13459 |
pub fn DSA_free(dsa: *mut DSA); |
| 13460 |
} |
| 13461 |
extern "C" { |
| 13462 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_up_ref"] |
| 13463 |
pub fn DSA_up_ref(dsa: *mut DSA) -> ::std::os::raw::c_int; |
| 13464 |
} |
| 13465 |
extern "C" { |
| 13466 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_print"] |
| 13467 |
pub fn DSA_print( |
| 13468 |
bio: *mut BIO, |
| 13469 |
dsa: *const DSA, |
| 13470 |
indent: ::std::os::raw::c_int, |
| 13471 |
) -> ::std::os::raw::c_int; |
| 13472 |
} |
| 13473 |
extern "C" { |
| 13474 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_print_fp"] |
| 13475 |
pub fn DSA_print_fp( |
| 13476 |
fp: *mut FILE, |
| 13477 |
dsa: *const DSA, |
| 13478 |
indent: ::std::os::raw::c_int, |
| 13479 |
) -> ::std::os::raw::c_int; |
| 13480 |
} |
| 13481 |
extern "C" { |
| 13482 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_bits"] |
| 13483 |
pub fn DSA_bits(dsa: *const DSA) -> ::std::os::raw::c_uint; |
| 13484 |
} |
| 13485 |
extern "C" { |
| 13486 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get0_pub_key"] |
| 13487 |
pub fn DSA_get0_pub_key(dsa: *const DSA) -> *const BIGNUM; |
| 13488 |
} |
| 13489 |
extern "C" { |
| 13490 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get0_priv_key"] |
| 13491 |
pub fn DSA_get0_priv_key(dsa: *const DSA) -> *const BIGNUM; |
| 13492 |
} |
| 13493 |
extern "C" { |
| 13494 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get0_p"] |
| 13495 |
pub fn DSA_get0_p(dsa: *const DSA) -> *const BIGNUM; |
| 13496 |
} |
| 13497 |
extern "C" { |
| 13498 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get0_q"] |
| 13499 |
pub fn DSA_get0_q(dsa: *const DSA) -> *const BIGNUM; |
| 13500 |
} |
| 13501 |
extern "C" { |
| 13502 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get0_g"] |
| 13503 |
pub fn DSA_get0_g(dsa: *const DSA) -> *const BIGNUM; |
| 13504 |
} |
| 13505 |
extern "C" { |
| 13506 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get0_key"] |
| 13507 |
pub fn DSA_get0_key( |
| 13508 |
dsa: *const DSA, |
| 13509 |
out_pub_key: *mut *const BIGNUM, |
| 13510 |
out_priv_key: *mut *const BIGNUM, |
| 13511 |
); |
| 13512 |
} |
| 13513 |
extern "C" { |
| 13514 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get0_pqg"] |
| 13515 |
pub fn DSA_get0_pqg( |
| 13516 |
dsa: *const DSA, |
| 13517 |
out_p: *mut *const BIGNUM, |
| 13518 |
out_q: *mut *const BIGNUM, |
| 13519 |
out_g: *mut *const BIGNUM, |
| 13520 |
); |
| 13521 |
} |
| 13522 |
extern "C" { |
| 13523 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_set0_key"] |
| 13524 |
pub fn DSA_set0_key( |
| 13525 |
dsa: *mut DSA, |
| 13526 |
pub_key: *mut BIGNUM, |
| 13527 |
priv_key: *mut BIGNUM, |
| 13528 |
) -> ::std::os::raw::c_int; |
| 13529 |
} |
| 13530 |
extern "C" { |
| 13531 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_set0_pqg"] |
| 13532 |
pub fn DSA_set0_pqg( |
| 13533 |
dsa: *mut DSA, |
| 13534 |
p: *mut BIGNUM, |
| 13535 |
q: *mut BIGNUM, |
| 13536 |
g: *mut BIGNUM, |
| 13537 |
) -> ::std::os::raw::c_int; |
| 13538 |
} |
| 13539 |
extern "C" { |
| 13540 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_generate_parameters_ex"] |
| 13541 |
pub fn DSA_generate_parameters_ex( |
| 13542 |
dsa: *mut DSA, |
| 13543 |
bits: ::std::os::raw::c_uint, |
| 13544 |
seed: *const u8, |
| 13545 |
seed_len: usize, |
| 13546 |
out_counter: *mut ::std::os::raw::c_int, |
| 13547 |
out_h: *mut ::std::os::raw::c_ulong, |
| 13548 |
cb: *mut BN_GENCB, |
| 13549 |
) -> ::std::os::raw::c_int; |
| 13550 |
} |
| 13551 |
extern "C" { |
| 13552 |
#[link_name = "\u{1}aws_lc_0_41_0_DSAparams_dup"] |
| 13553 |
pub fn DSAparams_dup(dsa: *const DSA) -> *mut DSA; |
| 13554 |
} |
| 13555 |
extern "C" { |
| 13556 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_generate_key"] |
| 13557 |
pub fn DSA_generate_key(dsa: *mut DSA) -> ::std::os::raw::c_int; |
| 13558 |
} |
| 13559 |
#[repr(C)] |
| 13560 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 13561 |
pub struct DSA_SIG_st { |
| 13562 |
pub r: *mut BIGNUM, |
| 13563 |
pub s: *mut BIGNUM, |
| 13564 |
} |
| 13565 |
#[test] |
| 13566 |
fn bindgen_test_layout_DSA_SIG_st() { |
| 13567 |
const UNINIT: ::std::mem::MaybeUninit<DSA_SIG_st> = ::std::mem::MaybeUninit::uninit(); |
| 13568 |
let ptr = UNINIT.as_ptr(); |
| 13569 |
assert_eq!( |
| 13570 |
::std::mem::size_of::<DSA_SIG_st>(), |
| 13571 |
16usize, |
| 13572 |
"Size of DSA_SIG_st" |
| 13573 |
); |
| 13574 |
assert_eq!( |
| 13575 |
::std::mem::align_of::<DSA_SIG_st>(), |
| 13576 |
8usize, |
| 13577 |
"Alignment of DSA_SIG_st" |
| 13578 |
); |
| 13579 |
assert_eq!( |
| 13580 |
unsafe { ::std::ptr::addr_of!((*ptr).r) as usize - ptr as usize }, |
| 13581 |
0usize, |
| 13582 |
"Offset of field: DSA_SIG_st::r" |
| 13583 |
); |
| 13584 |
assert_eq!( |
| 13585 |
unsafe { ::std::ptr::addr_of!((*ptr).s) as usize - ptr as usize }, |
| 13586 |
8usize, |
| 13587 |
"Offset of field: DSA_SIG_st::s" |
| 13588 |
); |
| 13589 |
} |
| 13590 |
impl Default for DSA_SIG_st { |
| 13591 |
fn default() -> Self { |
| 13592 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 13593 |
unsafe { |
| 13594 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 13595 |
s.assume_init() |
| 13596 |
} |
| 13597 |
} |
| 13598 |
} |
| 13599 |
extern "C" { |
| 13600 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_SIG_new"] |
| 13601 |
pub fn DSA_SIG_new() -> *mut DSA_SIG; |
| 13602 |
} |
| 13603 |
extern "C" { |
| 13604 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_SIG_free"] |
| 13605 |
pub fn DSA_SIG_free(sig: *mut DSA_SIG); |
| 13606 |
} |
| 13607 |
extern "C" { |
| 13608 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_SIG_get0"] |
| 13609 |
pub fn DSA_SIG_get0(sig: *const DSA_SIG, out_r: *mut *const BIGNUM, out_s: *mut *const BIGNUM); |
| 13610 |
} |
| 13611 |
extern "C" { |
| 13612 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_SIG_set0"] |
| 13613 |
pub fn DSA_SIG_set0(sig: *mut DSA_SIG, r: *mut BIGNUM, s: *mut BIGNUM) |
| 13614 |
-> ::std::os::raw::c_int; |
| 13615 |
} |
| 13616 |
extern "C" { |
| 13617 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_do_sign"] |
| 13618 |
pub fn DSA_do_sign(digest: *const u8, digest_len: usize, dsa: *const DSA) -> *mut DSA_SIG; |
| 13619 |
} |
| 13620 |
extern "C" { |
| 13621 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_do_verify"] |
| 13622 |
pub fn DSA_do_verify( |
| 13623 |
digest: *const u8, |
| 13624 |
digest_len: usize, |
| 13625 |
sig: *const DSA_SIG, |
| 13626 |
dsa: *const DSA, |
| 13627 |
) -> ::std::os::raw::c_int; |
| 13628 |
} |
| 13629 |
extern "C" { |
| 13630 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_do_check_signature"] |
| 13631 |
pub fn DSA_do_check_signature( |
| 13632 |
out_valid: *mut ::std::os::raw::c_int, |
| 13633 |
digest: *const u8, |
| 13634 |
digest_len: usize, |
| 13635 |
sig: *const DSA_SIG, |
| 13636 |
dsa: *const DSA, |
| 13637 |
) -> ::std::os::raw::c_int; |
| 13638 |
} |
| 13639 |
extern "C" { |
| 13640 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_sign"] |
| 13641 |
pub fn DSA_sign( |
| 13642 |
type_: ::std::os::raw::c_int, |
| 13643 |
digest: *const u8, |
| 13644 |
digest_len: usize, |
| 13645 |
out_sig: *mut u8, |
| 13646 |
out_siglen: *mut ::std::os::raw::c_uint, |
| 13647 |
dsa: *const DSA, |
| 13648 |
) -> ::std::os::raw::c_int; |
| 13649 |
} |
| 13650 |
extern "C" { |
| 13651 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_verify"] |
| 13652 |
pub fn DSA_verify( |
| 13653 |
type_: ::std::os::raw::c_int, |
| 13654 |
digest: *const u8, |
| 13655 |
digest_len: usize, |
| 13656 |
sig: *const u8, |
| 13657 |
sig_len: usize, |
| 13658 |
dsa: *const DSA, |
| 13659 |
) -> ::std::os::raw::c_int; |
| 13660 |
} |
| 13661 |
extern "C" { |
| 13662 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_check_signature"] |
| 13663 |
pub fn DSA_check_signature( |
| 13664 |
out_valid: *mut ::std::os::raw::c_int, |
| 13665 |
digest: *const u8, |
| 13666 |
digest_len: usize, |
| 13667 |
sig: *const u8, |
| 13668 |
sig_len: usize, |
| 13669 |
dsa: *const DSA, |
| 13670 |
) -> ::std::os::raw::c_int; |
| 13671 |
} |
| 13672 |
extern "C" { |
| 13673 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_size"] |
| 13674 |
pub fn DSA_size(dsa: *const DSA) -> ::std::os::raw::c_int; |
| 13675 |
} |
| 13676 |
extern "C" { |
| 13677 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_SIG_parse"] |
| 13678 |
pub fn DSA_SIG_parse(cbs: *mut CBS) -> *mut DSA_SIG; |
| 13679 |
} |
| 13680 |
extern "C" { |
| 13681 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_SIG_marshal"] |
| 13682 |
pub fn DSA_SIG_marshal(cbb: *mut CBB, sig: *const DSA_SIG) -> ::std::os::raw::c_int; |
| 13683 |
} |
| 13684 |
extern "C" { |
| 13685 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_parse_public_key"] |
| 13686 |
pub fn DSA_parse_public_key(cbs: *mut CBS) -> *mut DSA; |
| 13687 |
} |
| 13688 |
extern "C" { |
| 13689 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_marshal_public_key"] |
| 13690 |
pub fn DSA_marshal_public_key(cbb: *mut CBB, dsa: *const DSA) -> ::std::os::raw::c_int; |
| 13691 |
} |
| 13692 |
extern "C" { |
| 13693 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_parse_private_key"] |
| 13694 |
pub fn DSA_parse_private_key(cbs: *mut CBS) -> *mut DSA; |
| 13695 |
} |
| 13696 |
extern "C" { |
| 13697 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_marshal_private_key"] |
| 13698 |
pub fn DSA_marshal_private_key(cbb: *mut CBB, dsa: *const DSA) -> ::std::os::raw::c_int; |
| 13699 |
} |
| 13700 |
extern "C" { |
| 13701 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_parse_parameters"] |
| 13702 |
pub fn DSA_parse_parameters(cbs: *mut CBS) -> *mut DSA; |
| 13703 |
} |
| 13704 |
extern "C" { |
| 13705 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_marshal_parameters"] |
| 13706 |
pub fn DSA_marshal_parameters(cbb: *mut CBB, dsa: *const DSA) -> ::std::os::raw::c_int; |
| 13707 |
} |
| 13708 |
extern "C" { |
| 13709 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_dup_DH"] |
| 13710 |
pub fn DSA_dup_DH(dsa: *const DSA) -> *mut DH; |
| 13711 |
} |
| 13712 |
extern "C" { |
| 13713 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get_ex_new_index"] |
| 13714 |
pub fn DSA_get_ex_new_index( |
| 13715 |
argl: ::std::os::raw::c_long, |
| 13716 |
argp: *mut ::std::os::raw::c_void, |
| 13717 |
unused: *mut CRYPTO_EX_unused, |
| 13718 |
dup_unused: CRYPTO_EX_dup, |
| 13719 |
free_func: CRYPTO_EX_free, |
| 13720 |
) -> ::std::os::raw::c_int; |
| 13721 |
} |
| 13722 |
extern "C" { |
| 13723 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_set_ex_data"] |
| 13724 |
pub fn DSA_set_ex_data( |
| 13725 |
dsa: *mut DSA, |
| 13726 |
idx: ::std::os::raw::c_int, |
| 13727 |
arg: *mut ::std::os::raw::c_void, |
| 13728 |
) -> ::std::os::raw::c_int; |
| 13729 |
} |
| 13730 |
extern "C" { |
| 13731 |
#[link_name = "\u{1}aws_lc_0_41_0_DSA_get_ex_data"] |
| 13732 |
pub fn DSA_get_ex_data( |
| 13733 |
dsa: *const DSA, |
| 13734 |
idx: ::std::os::raw::c_int, |
| 13735 |
) -> *mut ::std::os::raw::c_void; |
| 13736 |
} |
| 13737 |
extern "C" { |
| 13738 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSA_SIG"] |
| 13739 |
pub fn d2i_DSA_SIG( |
| 13740 |
out_sig: *mut *mut DSA_SIG, |
| 13741 |
inp: *mut *const u8, |
| 13742 |
len: ::std::os::raw::c_long, |
| 13743 |
) -> *mut DSA_SIG; |
| 13744 |
} |
| 13745 |
extern "C" { |
| 13746 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSA_SIG"] |
| 13747 |
pub fn i2d_DSA_SIG(in_: *const DSA_SIG, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 13748 |
} |
| 13749 |
extern "C" { |
| 13750 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSAPublicKey"] |
| 13751 |
pub fn d2i_DSAPublicKey( |
| 13752 |
out: *mut *mut DSA, |
| 13753 |
inp: *mut *const u8, |
| 13754 |
len: ::std::os::raw::c_long, |
| 13755 |
) -> *mut DSA; |
| 13756 |
} |
| 13757 |
extern "C" { |
| 13758 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSAPublicKey"] |
| 13759 |
pub fn i2d_DSAPublicKey(in_: *const DSA, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 13760 |
} |
| 13761 |
extern "C" { |
| 13762 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSAPrivateKey"] |
| 13763 |
pub fn d2i_DSAPrivateKey( |
| 13764 |
out: *mut *mut DSA, |
| 13765 |
inp: *mut *const u8, |
| 13766 |
len: ::std::os::raw::c_long, |
| 13767 |
) -> *mut DSA; |
| 13768 |
} |
| 13769 |
extern "C" { |
| 13770 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSAPrivateKey"] |
| 13771 |
pub fn i2d_DSAPrivateKey(in_: *const DSA, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 13772 |
} |
| 13773 |
extern "C" { |
| 13774 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSAparams"] |
| 13775 |
pub fn d2i_DSAparams( |
| 13776 |
out: *mut *mut DSA, |
| 13777 |
inp: *mut *const u8, |
| 13778 |
len: ::std::os::raw::c_long, |
| 13779 |
) -> *mut DSA; |
| 13780 |
} |
| 13781 |
extern "C" { |
| 13782 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSAparams"] |
| 13783 |
pub fn i2d_DSAparams(in_: *const DSA, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 13784 |
} |
| 13785 |
#[repr(u32)] |
| 13786 |
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] |
| 13787 |
pub enum point_conversion_form_t { |
| 13788 |
POINT_CONVERSION_COMPRESSED = 2, |
| 13789 |
POINT_CONVERSION_UNCOMPRESSED = 4, |
| 13790 |
POINT_CONVERSION_HYBRID = 6, |
| 13791 |
} |
| 13792 |
extern "C" { |
| 13793 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_group_p224"] |
| 13794 |
pub fn EC_group_p224() -> *const EC_GROUP; |
| 13795 |
} |
| 13796 |
extern "C" { |
| 13797 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_group_p256"] |
| 13798 |
pub fn EC_group_p256() -> *const EC_GROUP; |
| 13799 |
} |
| 13800 |
extern "C" { |
| 13801 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_group_p384"] |
| 13802 |
pub fn EC_group_p384() -> *const EC_GROUP; |
| 13803 |
} |
| 13804 |
extern "C" { |
| 13805 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_group_p521"] |
| 13806 |
pub fn EC_group_p521() -> *const EC_GROUP; |
| 13807 |
} |
| 13808 |
extern "C" { |
| 13809 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_group_secp256k1"] |
| 13810 |
pub fn EC_group_secp256k1() -> *const EC_GROUP; |
| 13811 |
} |
| 13812 |
extern "C" { |
| 13813 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_new_by_curve_name"] |
| 13814 |
pub fn EC_GROUP_new_by_curve_name(nid: ::std::os::raw::c_int) -> *mut EC_GROUP; |
| 13815 |
} |
| 13816 |
extern "C" { |
| 13817 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_new_by_curve_name_mutable"] |
| 13818 |
pub fn EC_GROUP_new_by_curve_name_mutable(nid: ::std::os::raw::c_int) -> *mut EC_GROUP; |
| 13819 |
} |
| 13820 |
extern "C" { |
| 13821 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_cmp"] |
| 13822 |
pub fn EC_GROUP_cmp( |
| 13823 |
a: *const EC_GROUP, |
| 13824 |
b: *const EC_GROUP, |
| 13825 |
ignored: *mut BN_CTX, |
| 13826 |
) -> ::std::os::raw::c_int; |
| 13827 |
} |
| 13828 |
extern "C" { |
| 13829 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get0_generator"] |
| 13830 |
pub fn EC_GROUP_get0_generator(group: *const EC_GROUP) -> *const EC_POINT; |
| 13831 |
} |
| 13832 |
extern "C" { |
| 13833 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get0_order"] |
| 13834 |
pub fn EC_GROUP_get0_order(group: *const EC_GROUP) -> *const BIGNUM; |
| 13835 |
} |
| 13836 |
extern "C" { |
| 13837 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_order_bits"] |
| 13838 |
pub fn EC_GROUP_order_bits(group: *const EC_GROUP) -> ::std::os::raw::c_int; |
| 13839 |
} |
| 13840 |
extern "C" { |
| 13841 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get_cofactor"] |
| 13842 |
pub fn EC_GROUP_get_cofactor( |
| 13843 |
group: *const EC_GROUP, |
| 13844 |
cofactor: *mut BIGNUM, |
| 13845 |
ctx: *mut BN_CTX, |
| 13846 |
) -> ::std::os::raw::c_int; |
| 13847 |
} |
| 13848 |
extern "C" { |
| 13849 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get_curve_GFp"] |
| 13850 |
pub fn EC_GROUP_get_curve_GFp( |
| 13851 |
group: *const EC_GROUP, |
| 13852 |
out_p: *mut BIGNUM, |
| 13853 |
out_a: *mut BIGNUM, |
| 13854 |
out_b: *mut BIGNUM, |
| 13855 |
ctx: *mut BN_CTX, |
| 13856 |
) -> ::std::os::raw::c_int; |
| 13857 |
} |
| 13858 |
extern "C" { |
| 13859 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get_curve_name"] |
| 13860 |
pub fn EC_GROUP_get_curve_name(group: *const EC_GROUP) -> ::std::os::raw::c_int; |
| 13861 |
} |
| 13862 |
extern "C" { |
| 13863 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get_degree"] |
| 13864 |
pub fn EC_GROUP_get_degree(group: *const EC_GROUP) -> ::std::os::raw::c_uint; |
| 13865 |
} |
| 13866 |
extern "C" { |
| 13867 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_curve_nid2nist"] |
| 13868 |
pub fn EC_curve_nid2nist(nid: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; |
| 13869 |
} |
| 13870 |
extern "C" { |
| 13871 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_curve_nist2nid"] |
| 13872 |
pub fn EC_curve_nist2nid(name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; |
| 13873 |
} |
| 13874 |
extern "C" { |
| 13875 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_new"] |
| 13876 |
pub fn EC_POINT_new(group: *const EC_GROUP) -> *mut EC_POINT; |
| 13877 |
} |
| 13878 |
extern "C" { |
| 13879 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_free"] |
| 13880 |
pub fn EC_POINT_free(point: *mut EC_POINT); |
| 13881 |
} |
| 13882 |
extern "C" { |
| 13883 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_copy"] |
| 13884 |
pub fn EC_POINT_copy(dest: *mut EC_POINT, src: *const EC_POINT) -> ::std::os::raw::c_int; |
| 13885 |
} |
| 13886 |
extern "C" { |
| 13887 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_dup"] |
| 13888 |
pub fn EC_POINT_dup(src: *const EC_POINT, group: *const EC_GROUP) -> *mut EC_POINT; |
| 13889 |
} |
| 13890 |
extern "C" { |
| 13891 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_set_to_infinity"] |
| 13892 |
pub fn EC_POINT_set_to_infinity( |
| 13893 |
group: *const EC_GROUP, |
| 13894 |
point: *mut EC_POINT, |
| 13895 |
) -> ::std::os::raw::c_int; |
| 13896 |
} |
| 13897 |
extern "C" { |
| 13898 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_is_at_infinity"] |
| 13899 |
pub fn EC_POINT_is_at_infinity( |
| 13900 |
group: *const EC_GROUP, |
| 13901 |
point: *const EC_POINT, |
| 13902 |
) -> ::std::os::raw::c_int; |
| 13903 |
} |
| 13904 |
extern "C" { |
| 13905 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_is_on_curve"] |
| 13906 |
pub fn EC_POINT_is_on_curve( |
| 13907 |
group: *const EC_GROUP, |
| 13908 |
point: *const EC_POINT, |
| 13909 |
ctx: *mut BN_CTX, |
| 13910 |
) -> ::std::os::raw::c_int; |
| 13911 |
} |
| 13912 |
extern "C" { |
| 13913 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_cmp"] |
| 13914 |
pub fn EC_POINT_cmp( |
| 13915 |
group: *const EC_GROUP, |
| 13916 |
a: *const EC_POINT, |
| 13917 |
b: *const EC_POINT, |
| 13918 |
ctx: *mut BN_CTX, |
| 13919 |
) -> ::std::os::raw::c_int; |
| 13920 |
} |
| 13921 |
extern "C" { |
| 13922 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_get_affine_coordinates_GFp"] |
| 13923 |
pub fn EC_POINT_get_affine_coordinates_GFp( |
| 13924 |
group: *const EC_GROUP, |
| 13925 |
point: *const EC_POINT, |
| 13926 |
x: *mut BIGNUM, |
| 13927 |
y: *mut BIGNUM, |
| 13928 |
ctx: *mut BN_CTX, |
| 13929 |
) -> ::std::os::raw::c_int; |
| 13930 |
} |
| 13931 |
extern "C" { |
| 13932 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_get_affine_coordinates"] |
| 13933 |
pub fn EC_POINT_get_affine_coordinates( |
| 13934 |
group: *const EC_GROUP, |
| 13935 |
point: *const EC_POINT, |
| 13936 |
x: *mut BIGNUM, |
| 13937 |
y: *mut BIGNUM, |
| 13938 |
ctx: *mut BN_CTX, |
| 13939 |
) -> ::std::os::raw::c_int; |
| 13940 |
} |
| 13941 |
extern "C" { |
| 13942 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_set_affine_coordinates_GFp"] |
| 13943 |
pub fn EC_POINT_set_affine_coordinates_GFp( |
| 13944 |
group: *const EC_GROUP, |
| 13945 |
point: *mut EC_POINT, |
| 13946 |
x: *const BIGNUM, |
| 13947 |
y: *const BIGNUM, |
| 13948 |
ctx: *mut BN_CTX, |
| 13949 |
) -> ::std::os::raw::c_int; |
| 13950 |
} |
| 13951 |
extern "C" { |
| 13952 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_set_affine_coordinates"] |
| 13953 |
pub fn EC_POINT_set_affine_coordinates( |
| 13954 |
group: *const EC_GROUP, |
| 13955 |
point: *mut EC_POINT, |
| 13956 |
x: *const BIGNUM, |
| 13957 |
y: *const BIGNUM, |
| 13958 |
ctx: *mut BN_CTX, |
| 13959 |
) -> ::std::os::raw::c_int; |
| 13960 |
} |
| 13961 |
extern "C" { |
| 13962 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_point2oct"] |
| 13963 |
pub fn EC_POINT_point2oct( |
| 13964 |
group: *const EC_GROUP, |
| 13965 |
point: *const EC_POINT, |
| 13966 |
form: point_conversion_form_t, |
| 13967 |
buf: *mut u8, |
| 13968 |
len: usize, |
| 13969 |
ctx: *mut BN_CTX, |
| 13970 |
) -> usize; |
| 13971 |
} |
| 13972 |
extern "C" { |
| 13973 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_point2cbb"] |
| 13974 |
pub fn EC_POINT_point2cbb( |
| 13975 |
out: *mut CBB, |
| 13976 |
group: *const EC_GROUP, |
| 13977 |
point: *const EC_POINT, |
| 13978 |
form: point_conversion_form_t, |
| 13979 |
ctx: *mut BN_CTX, |
| 13980 |
) -> ::std::os::raw::c_int; |
| 13981 |
} |
| 13982 |
extern "C" { |
| 13983 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_oct2point"] |
| 13984 |
pub fn EC_POINT_oct2point( |
| 13985 |
group: *const EC_GROUP, |
| 13986 |
point: *mut EC_POINT, |
| 13987 |
buf: *const u8, |
| 13988 |
len: usize, |
| 13989 |
ctx: *mut BN_CTX, |
| 13990 |
) -> ::std::os::raw::c_int; |
| 13991 |
} |
| 13992 |
extern "C" { |
| 13993 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_set_compressed_coordinates_GFp"] |
| 13994 |
pub fn EC_POINT_set_compressed_coordinates_GFp( |
| 13995 |
group: *const EC_GROUP, |
| 13996 |
point: *mut EC_POINT, |
| 13997 |
x: *const BIGNUM, |
| 13998 |
y_bit: ::std::os::raw::c_int, |
| 13999 |
ctx: *mut BN_CTX, |
| 14000 |
) -> ::std::os::raw::c_int; |
| 14001 |
} |
| 14002 |
extern "C" { |
| 14003 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_add"] |
| 14004 |
pub fn EC_POINT_add( |
| 14005 |
group: *const EC_GROUP, |
| 14006 |
r: *mut EC_POINT, |
| 14007 |
a: *const EC_POINT, |
| 14008 |
b: *const EC_POINT, |
| 14009 |
ctx: *mut BN_CTX, |
| 14010 |
) -> ::std::os::raw::c_int; |
| 14011 |
} |
| 14012 |
extern "C" { |
| 14013 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_dbl"] |
| 14014 |
pub fn EC_POINT_dbl( |
| 14015 |
group: *const EC_GROUP, |
| 14016 |
r: *mut EC_POINT, |
| 14017 |
a: *const EC_POINT, |
| 14018 |
ctx: *mut BN_CTX, |
| 14019 |
) -> ::std::os::raw::c_int; |
| 14020 |
} |
| 14021 |
extern "C" { |
| 14022 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_invert"] |
| 14023 |
pub fn EC_POINT_invert( |
| 14024 |
group: *const EC_GROUP, |
| 14025 |
a: *mut EC_POINT, |
| 14026 |
ctx: *mut BN_CTX, |
| 14027 |
) -> ::std::os::raw::c_int; |
| 14028 |
} |
| 14029 |
extern "C" { |
| 14030 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_mul"] |
| 14031 |
pub fn EC_POINT_mul( |
| 14032 |
group: *const EC_GROUP, |
| 14033 |
r: *mut EC_POINT, |
| 14034 |
n: *const BIGNUM, |
| 14035 |
q: *const EC_POINT, |
| 14036 |
m: *const BIGNUM, |
| 14037 |
ctx: *mut BN_CTX, |
| 14038 |
) -> ::std::os::raw::c_int; |
| 14039 |
} |
| 14040 |
extern "C" { |
| 14041 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_hash_to_curve_p256_xmd_sha256_sswu"] |
| 14042 |
pub fn EC_hash_to_curve_p256_xmd_sha256_sswu( |
| 14043 |
group: *const EC_GROUP, |
| 14044 |
out: *mut EC_POINT, |
| 14045 |
dst: *const u8, |
| 14046 |
dst_len: usize, |
| 14047 |
msg: *const u8, |
| 14048 |
msg_len: usize, |
| 14049 |
) -> ::std::os::raw::c_int; |
| 14050 |
} |
| 14051 |
extern "C" { |
| 14052 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_hash_to_curve_p384_xmd_sha384_sswu"] |
| 14053 |
pub fn EC_hash_to_curve_p384_xmd_sha384_sswu( |
| 14054 |
group: *const EC_GROUP, |
| 14055 |
out: *mut EC_POINT, |
| 14056 |
dst: *const u8, |
| 14057 |
dst_len: usize, |
| 14058 |
msg: *const u8, |
| 14059 |
msg_len: usize, |
| 14060 |
) -> ::std::os::raw::c_int; |
| 14061 |
} |
| 14062 |
extern "C" { |
| 14063 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_free"] |
| 14064 |
pub fn EC_GROUP_free(group: *mut EC_GROUP); |
| 14065 |
} |
| 14066 |
extern "C" { |
| 14067 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_dup"] |
| 14068 |
pub fn EC_GROUP_dup(group: *const EC_GROUP) -> *mut EC_GROUP; |
| 14069 |
} |
| 14070 |
extern "C" { |
| 14071 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_new_curve_GFp"] |
| 14072 |
pub fn EC_GROUP_new_curve_GFp( |
| 14073 |
p: *const BIGNUM, |
| 14074 |
a: *const BIGNUM, |
| 14075 |
b: *const BIGNUM, |
| 14076 |
ctx: *mut BN_CTX, |
| 14077 |
) -> *mut EC_GROUP; |
| 14078 |
} |
| 14079 |
extern "C" { |
| 14080 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_set_generator"] |
| 14081 |
pub fn EC_GROUP_set_generator( |
| 14082 |
group: *mut EC_GROUP, |
| 14083 |
generator: *const EC_POINT, |
| 14084 |
order: *const BIGNUM, |
| 14085 |
cofactor: *const BIGNUM, |
| 14086 |
) -> ::std::os::raw::c_int; |
| 14087 |
} |
| 14088 |
extern "C" { |
| 14089 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_point2bn"] |
| 14090 |
pub fn EC_POINT_point2bn( |
| 14091 |
group: *const EC_GROUP, |
| 14092 |
point: *const EC_POINT, |
| 14093 |
form: point_conversion_form_t, |
| 14094 |
ret: *mut BIGNUM, |
| 14095 |
ctx: *mut BN_CTX, |
| 14096 |
) -> *mut BIGNUM; |
| 14097 |
} |
| 14098 |
extern "C" { |
| 14099 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_bn2point"] |
| 14100 |
pub fn EC_POINT_bn2point( |
| 14101 |
group: *const EC_GROUP, |
| 14102 |
bn: *const BIGNUM, |
| 14103 |
point: *mut EC_POINT, |
| 14104 |
ctx: *mut BN_CTX, |
| 14105 |
) -> *mut EC_POINT; |
| 14106 |
} |
| 14107 |
extern "C" { |
| 14108 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get_order"] |
| 14109 |
pub fn EC_GROUP_get_order( |
| 14110 |
group: *const EC_GROUP, |
| 14111 |
order: *mut BIGNUM, |
| 14112 |
ctx: *mut BN_CTX, |
| 14113 |
) -> ::std::os::raw::c_int; |
| 14114 |
} |
| 14115 |
#[repr(C)] |
| 14116 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 14117 |
pub struct EC_builtin_curve { |
| 14118 |
pub nid: ::std::os::raw::c_int, |
| 14119 |
pub comment: *const ::std::os::raw::c_char, |
| 14120 |
} |
| 14121 |
#[test] |
| 14122 |
fn bindgen_test_layout_EC_builtin_curve() { |
| 14123 |
const UNINIT: ::std::mem::MaybeUninit<EC_builtin_curve> = ::std::mem::MaybeUninit::uninit(); |
| 14124 |
let ptr = UNINIT.as_ptr(); |
| 14125 |
assert_eq!( |
| 14126 |
::std::mem::size_of::<EC_builtin_curve>(), |
| 14127 |
16usize, |
| 14128 |
"Size of EC_builtin_curve" |
| 14129 |
); |
| 14130 |
assert_eq!( |
| 14131 |
::std::mem::align_of::<EC_builtin_curve>(), |
| 14132 |
8usize, |
| 14133 |
"Alignment of EC_builtin_curve" |
| 14134 |
); |
| 14135 |
assert_eq!( |
| 14136 |
unsafe { ::std::ptr::addr_of!((*ptr).nid) as usize - ptr as usize }, |
| 14137 |
0usize, |
| 14138 |
"Offset of field: EC_builtin_curve::nid" |
| 14139 |
); |
| 14140 |
assert_eq!( |
| 14141 |
unsafe { ::std::ptr::addr_of!((*ptr).comment) as usize - ptr as usize }, |
| 14142 |
8usize, |
| 14143 |
"Offset of field: EC_builtin_curve::comment" |
| 14144 |
); |
| 14145 |
} |
| 14146 |
impl Default for EC_builtin_curve { |
| 14147 |
fn default() -> Self { |
| 14148 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 14149 |
unsafe { |
| 14150 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 14151 |
s.assume_init() |
| 14152 |
} |
| 14153 |
} |
| 14154 |
} |
| 14155 |
extern "C" { |
| 14156 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_get_builtin_curves"] |
| 14157 |
pub fn EC_get_builtin_curves(out_curves: *mut EC_builtin_curve, max_num_curves: usize) |
| 14158 |
-> usize; |
| 14159 |
} |
| 14160 |
extern "C" { |
| 14161 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_POINT_clear_free"] |
| 14162 |
pub fn EC_POINT_clear_free(point: *mut EC_POINT); |
| 14163 |
} |
| 14164 |
extern "C" { |
| 14165 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_set_seed"] |
| 14166 |
pub fn EC_GROUP_set_seed( |
| 14167 |
group: *mut EC_GROUP, |
| 14168 |
p: *const ::std::os::raw::c_uchar, |
| 14169 |
len: usize, |
| 14170 |
) -> usize; |
| 14171 |
} |
| 14172 |
extern "C" { |
| 14173 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get0_seed"] |
| 14174 |
pub fn EC_GROUP_get0_seed(group: *const EC_GROUP) -> *mut ::std::os::raw::c_uchar; |
| 14175 |
} |
| 14176 |
extern "C" { |
| 14177 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get_seed_len"] |
| 14178 |
pub fn EC_GROUP_get_seed_len(group: *const EC_GROUP) -> usize; |
| 14179 |
} |
| 14180 |
extern "C" { |
| 14181 |
#[link_name = "\u{1}aws_lc_0_41_0_ECPKParameters_print"] |
| 14182 |
pub fn ECPKParameters_print( |
| 14183 |
bio: *mut BIO, |
| 14184 |
group: *const EC_GROUP, |
| 14185 |
offset: ::std::os::raw::c_int, |
| 14186 |
) -> ::std::os::raw::c_int; |
| 14187 |
} |
| 14188 |
extern "C" { |
| 14189 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_set_asn1_flag"] |
| 14190 |
pub fn EC_GROUP_set_asn1_flag(group: *mut EC_GROUP, flag: ::std::os::raw::c_int); |
| 14191 |
} |
| 14192 |
extern "C" { |
| 14193 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get_asn1_flag"] |
| 14194 |
pub fn EC_GROUP_get_asn1_flag(group: *const EC_GROUP) -> ::std::os::raw::c_int; |
| 14195 |
} |
| 14196 |
extern "C" { |
| 14197 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_set_point_conversion_form"] |
| 14198 |
pub fn EC_GROUP_set_point_conversion_form(group: *mut EC_GROUP, form: point_conversion_form_t); |
| 14199 |
} |
| 14200 |
extern "C" { |
| 14201 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_get_point_conversion_form"] |
| 14202 |
pub fn EC_GROUP_get_point_conversion_form(group: *const EC_GROUP) -> point_conversion_form_t; |
| 14203 |
} |
| 14204 |
extern "C" { |
| 14205 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_decoded_from_explicit_params"] |
| 14206 |
pub fn EC_KEY_decoded_from_explicit_params(key: *const EC_KEY) -> ::std::os::raw::c_int; |
| 14207 |
} |
| 14208 |
#[repr(C)] |
| 14209 |
#[derive(Debug, Copy, Clone)] |
| 14210 |
pub struct ec_method_st { |
| 14211 |
_unused: [u8; 0], |
| 14212 |
} |
| 14213 |
pub type EC_METHOD = ec_method_st; |
| 14214 |
extern "C" { |
| 14215 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_GROUP_method_of"] |
| 14216 |
pub fn EC_GROUP_method_of(group: *const EC_GROUP) -> *const EC_METHOD; |
| 14217 |
} |
| 14218 |
extern "C" { |
| 14219 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_METHOD_get_field_type"] |
| 14220 |
pub fn EC_METHOD_get_field_type(meth: *const EC_METHOD) -> ::std::os::raw::c_int; |
| 14221 |
} |
| 14222 |
extern "C" { |
| 14223 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_new"] |
| 14224 |
pub fn ENGINE_new() -> *mut ENGINE; |
| 14225 |
} |
| 14226 |
extern "C" { |
| 14227 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_free"] |
| 14228 |
pub fn ENGINE_free(engine: *mut ENGINE) -> ::std::os::raw::c_int; |
| 14229 |
} |
| 14230 |
extern "C" { |
| 14231 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_set_RSA"] |
| 14232 |
pub fn ENGINE_set_RSA(engine: *mut ENGINE, method: *const RSA_METHOD) -> ::std::os::raw::c_int; |
| 14233 |
} |
| 14234 |
extern "C" { |
| 14235 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_get_RSA"] |
| 14236 |
pub fn ENGINE_get_RSA(engine: *const ENGINE) -> *const RSA_METHOD; |
| 14237 |
} |
| 14238 |
extern "C" { |
| 14239 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_set_EC"] |
| 14240 |
pub fn ENGINE_set_EC( |
| 14241 |
engine: *mut ENGINE, |
| 14242 |
method: *const EC_KEY_METHOD, |
| 14243 |
) -> ::std::os::raw::c_int; |
| 14244 |
} |
| 14245 |
extern "C" { |
| 14246 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_get_EC"] |
| 14247 |
pub fn ENGINE_get_EC(engine: *const ENGINE) -> *const EC_KEY_METHOD; |
| 14248 |
} |
| 14249 |
extern "C" { |
| 14250 |
#[link_name = "\u{1}aws_lc_0_41_0_ENGINE_cleanup"] |
| 14251 |
pub fn ENGINE_cleanup(); |
| 14252 |
} |
| 14253 |
extern "C" { |
| 14254 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_new"] |
| 14255 |
pub fn EC_KEY_new() -> *mut EC_KEY; |
| 14256 |
} |
| 14257 |
extern "C" { |
| 14258 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_new_method"] |
| 14259 |
pub fn EC_KEY_new_method(engine: *const ENGINE) -> *mut EC_KEY; |
| 14260 |
} |
| 14261 |
extern "C" { |
| 14262 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_new_by_curve_name"] |
| 14263 |
pub fn EC_KEY_new_by_curve_name(nid: ::std::os::raw::c_int) -> *mut EC_KEY; |
| 14264 |
} |
| 14265 |
extern "C" { |
| 14266 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_free"] |
| 14267 |
pub fn EC_KEY_free(key: *mut EC_KEY); |
| 14268 |
} |
| 14269 |
extern "C" { |
| 14270 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_dup"] |
| 14271 |
pub fn EC_KEY_dup(src: *const EC_KEY) -> *mut EC_KEY; |
| 14272 |
} |
| 14273 |
extern "C" { |
| 14274 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_up_ref"] |
| 14275 |
pub fn EC_KEY_up_ref(key: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 14276 |
} |
| 14277 |
extern "C" { |
| 14278 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_is_opaque"] |
| 14279 |
pub fn EC_KEY_is_opaque(key: *const EC_KEY) -> ::std::os::raw::c_int; |
| 14280 |
} |
| 14281 |
extern "C" { |
| 14282 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get0_group"] |
| 14283 |
pub fn EC_KEY_get0_group(key: *const EC_KEY) -> *const EC_GROUP; |
| 14284 |
} |
| 14285 |
extern "C" { |
| 14286 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_group"] |
| 14287 |
pub fn EC_KEY_set_group(key: *mut EC_KEY, group: *const EC_GROUP) -> ::std::os::raw::c_int; |
| 14288 |
} |
| 14289 |
extern "C" { |
| 14290 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get0_private_key"] |
| 14291 |
pub fn EC_KEY_get0_private_key(key: *const EC_KEY) -> *const BIGNUM; |
| 14292 |
} |
| 14293 |
extern "C" { |
| 14294 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_private_key"] |
| 14295 |
pub fn EC_KEY_set_private_key(key: *mut EC_KEY, priv_: *const BIGNUM) -> ::std::os::raw::c_int; |
| 14296 |
} |
| 14297 |
extern "C" { |
| 14298 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get0_public_key"] |
| 14299 |
pub fn EC_KEY_get0_public_key(key: *const EC_KEY) -> *const EC_POINT; |
| 14300 |
} |
| 14301 |
extern "C" { |
| 14302 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_public_key"] |
| 14303 |
pub fn EC_KEY_set_public_key(key: *mut EC_KEY, pub_: *const EC_POINT) -> ::std::os::raw::c_int; |
| 14304 |
} |
| 14305 |
extern "C" { |
| 14306 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get_enc_flags"] |
| 14307 |
pub fn EC_KEY_get_enc_flags(key: *const EC_KEY) -> ::std::os::raw::c_uint; |
| 14308 |
} |
| 14309 |
extern "C" { |
| 14310 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_enc_flags"] |
| 14311 |
pub fn EC_KEY_set_enc_flags(key: *mut EC_KEY, flags: ::std::os::raw::c_uint); |
| 14312 |
} |
| 14313 |
extern "C" { |
| 14314 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get_conv_form"] |
| 14315 |
pub fn EC_KEY_get_conv_form(key: *const EC_KEY) -> point_conversion_form_t; |
| 14316 |
} |
| 14317 |
extern "C" { |
| 14318 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_conv_form"] |
| 14319 |
pub fn EC_KEY_set_conv_form(key: *mut EC_KEY, cform: point_conversion_form_t); |
| 14320 |
} |
| 14321 |
extern "C" { |
| 14322 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_check_key"] |
| 14323 |
pub fn EC_KEY_check_key(key: *const EC_KEY) -> ::std::os::raw::c_int; |
| 14324 |
} |
| 14325 |
extern "C" { |
| 14326 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_check_fips"] |
| 14327 |
pub fn EC_KEY_check_fips(key: *const EC_KEY) -> ::std::os::raw::c_int; |
| 14328 |
} |
| 14329 |
extern "C" { |
| 14330 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_public_key_affine_coordinates"] |
| 14331 |
pub fn EC_KEY_set_public_key_affine_coordinates( |
| 14332 |
key: *mut EC_KEY, |
| 14333 |
x: *const BIGNUM, |
| 14334 |
y: *const BIGNUM, |
| 14335 |
) -> ::std::os::raw::c_int; |
| 14336 |
} |
| 14337 |
extern "C" { |
| 14338 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_key2buf"] |
| 14339 |
pub fn EC_KEY_key2buf( |
| 14340 |
key: *const EC_KEY, |
| 14341 |
form: point_conversion_form_t, |
| 14342 |
out_buf: *mut *mut ::std::os::raw::c_uchar, |
| 14343 |
ctx: *mut BN_CTX, |
| 14344 |
) -> usize; |
| 14345 |
} |
| 14346 |
extern "C" { |
| 14347 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_generate_key"] |
| 14348 |
pub fn EC_KEY_generate_key(key: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 14349 |
} |
| 14350 |
extern "C" { |
| 14351 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_generate_key_fips"] |
| 14352 |
pub fn EC_KEY_generate_key_fips(key: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 14353 |
} |
| 14354 |
extern "C" { |
| 14355 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_derive_from_secret"] |
| 14356 |
pub fn EC_KEY_derive_from_secret( |
| 14357 |
group: *const EC_GROUP, |
| 14358 |
secret: *const u8, |
| 14359 |
secret_len: usize, |
| 14360 |
) -> *mut EC_KEY; |
| 14361 |
} |
| 14362 |
extern "C" { |
| 14363 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_parse_private_key"] |
| 14364 |
pub fn EC_KEY_parse_private_key(cbs: *mut CBS, group: *const EC_GROUP) -> *mut EC_KEY; |
| 14365 |
} |
| 14366 |
extern "C" { |
| 14367 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_marshal_private_key"] |
| 14368 |
pub fn EC_KEY_marshal_private_key( |
| 14369 |
cbb: *mut CBB, |
| 14370 |
key: *const EC_KEY, |
| 14371 |
enc_flags: ::std::os::raw::c_uint, |
| 14372 |
) -> ::std::os::raw::c_int; |
| 14373 |
} |
| 14374 |
extern "C" { |
| 14375 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_parse_curve_name"] |
| 14376 |
pub fn EC_KEY_parse_curve_name(cbs: *mut CBS) -> *mut EC_GROUP; |
| 14377 |
} |
| 14378 |
extern "C" { |
| 14379 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_marshal_curve_name"] |
| 14380 |
pub fn EC_KEY_marshal_curve_name( |
| 14381 |
cbb: *mut CBB, |
| 14382 |
group: *const EC_GROUP, |
| 14383 |
) -> ::std::os::raw::c_int; |
| 14384 |
} |
| 14385 |
extern "C" { |
| 14386 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_parse_parameters"] |
| 14387 |
pub fn EC_KEY_parse_parameters(cbs: *mut CBS) -> *mut EC_GROUP; |
| 14388 |
} |
| 14389 |
extern "C" { |
| 14390 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get_ex_new_index"] |
| 14391 |
pub fn EC_KEY_get_ex_new_index( |
| 14392 |
argl: ::std::os::raw::c_long, |
| 14393 |
argp: *mut ::std::os::raw::c_void, |
| 14394 |
unused: *mut CRYPTO_EX_unused, |
| 14395 |
dup_unused: CRYPTO_EX_dup, |
| 14396 |
free_func: CRYPTO_EX_free, |
| 14397 |
) -> ::std::os::raw::c_int; |
| 14398 |
} |
| 14399 |
extern "C" { |
| 14400 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_ex_data"] |
| 14401 |
pub fn EC_KEY_set_ex_data( |
| 14402 |
r: *mut EC_KEY, |
| 14403 |
idx: ::std::os::raw::c_int, |
| 14404 |
arg: *mut ::std::os::raw::c_void, |
| 14405 |
) -> ::std::os::raw::c_int; |
| 14406 |
} |
| 14407 |
extern "C" { |
| 14408 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get_ex_data"] |
| 14409 |
pub fn EC_KEY_get_ex_data( |
| 14410 |
r: *const EC_KEY, |
| 14411 |
idx: ::std::os::raw::c_int, |
| 14412 |
) -> *mut ::std::os::raw::c_void; |
| 14413 |
} |
| 14414 |
extern "C" { |
| 14415 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ECPrivateKey"] |
| 14416 |
pub fn d2i_ECPrivateKey( |
| 14417 |
out_key: *mut *mut EC_KEY, |
| 14418 |
inp: *mut *const u8, |
| 14419 |
len: ::std::os::raw::c_long, |
| 14420 |
) -> *mut EC_KEY; |
| 14421 |
} |
| 14422 |
extern "C" { |
| 14423 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ECPrivateKey"] |
| 14424 |
pub fn i2d_ECPrivateKey(key: *const EC_KEY, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 14425 |
} |
| 14426 |
extern "C" { |
| 14427 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ECParameters"] |
| 14428 |
pub fn d2i_ECParameters( |
| 14429 |
out_key: *mut *mut EC_KEY, |
| 14430 |
inp: *mut *const u8, |
| 14431 |
len: ::std::os::raw::c_long, |
| 14432 |
) -> *mut EC_KEY; |
| 14433 |
} |
| 14434 |
extern "C" { |
| 14435 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ECParameters"] |
| 14436 |
pub fn i2d_ECParameters(key: *const EC_KEY, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 14437 |
} |
| 14438 |
extern "C" { |
| 14439 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ECPKParameters_bio"] |
| 14440 |
pub fn d2i_ECPKParameters_bio(bio: *mut BIO, out_group: *mut *mut EC_GROUP) -> *mut EC_GROUP; |
| 14441 |
} |
| 14442 |
extern "C" { |
| 14443 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ECPKParameters_bio"] |
| 14444 |
pub fn i2d_ECPKParameters_bio(bio: *mut BIO, group: *const EC_GROUP) -> ::std::os::raw::c_int; |
| 14445 |
} |
| 14446 |
extern "C" { |
| 14447 |
#[link_name = "\u{1}aws_lc_0_41_0_o2i_ECPublicKey"] |
| 14448 |
pub fn o2i_ECPublicKey( |
| 14449 |
out_key: *mut *mut EC_KEY, |
| 14450 |
inp: *mut *const u8, |
| 14451 |
len: ::std::os::raw::c_long, |
| 14452 |
) -> *mut EC_KEY; |
| 14453 |
} |
| 14454 |
extern "C" { |
| 14455 |
#[link_name = "\u{1}aws_lc_0_41_0_i2o_ECPublicKey"] |
| 14456 |
pub fn i2o_ECPublicKey( |
| 14457 |
key: *const EC_KEY, |
| 14458 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 14459 |
) -> ::std::os::raw::c_int; |
| 14460 |
} |
| 14461 |
extern "C" { |
| 14462 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get_default_method"] |
| 14463 |
pub fn EC_KEY_get_default_method() -> *const EC_KEY_METHOD; |
| 14464 |
} |
| 14465 |
extern "C" { |
| 14466 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_OpenSSL"] |
| 14467 |
pub fn EC_KEY_OpenSSL() -> *const EC_KEY_METHOD; |
| 14468 |
} |
| 14469 |
extern "C" { |
| 14470 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_METHOD_new"] |
| 14471 |
pub fn EC_KEY_METHOD_new(eckey_meth: *const EC_KEY_METHOD) -> *mut EC_KEY_METHOD; |
| 14472 |
} |
| 14473 |
extern "C" { |
| 14474 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_METHOD_free"] |
| 14475 |
pub fn EC_KEY_METHOD_free(eckey_meth: *mut EC_KEY_METHOD); |
| 14476 |
} |
| 14477 |
extern "C" { |
| 14478 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_method"] |
| 14479 |
pub fn EC_KEY_set_method(ec: *mut EC_KEY, meth: *const EC_KEY_METHOD) -> ::std::os::raw::c_int; |
| 14480 |
} |
| 14481 |
extern "C" { |
| 14482 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_get_method"] |
| 14483 |
pub fn EC_KEY_get_method(ec: *const EC_KEY) -> *const EC_KEY_METHOD; |
| 14484 |
} |
| 14485 |
extern "C" { |
| 14486 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_METHOD_set_sign_awslc"] |
| 14487 |
pub fn EC_KEY_METHOD_set_sign_awslc( |
| 14488 |
meth: *mut EC_KEY_METHOD, |
| 14489 |
sign: ::std::option::Option< |
| 14490 |
unsafe extern "C" fn( |
| 14491 |
type_: ::std::os::raw::c_int, |
| 14492 |
digest: *const u8, |
| 14493 |
digest_len: ::std::os::raw::c_int, |
| 14494 |
sig: *mut u8, |
| 14495 |
siglen: *mut ::std::os::raw::c_uint, |
| 14496 |
k_inv: *const BIGNUM, |
| 14497 |
r: *const BIGNUM, |
| 14498 |
eckey: *mut EC_KEY, |
| 14499 |
) -> ::std::os::raw::c_int, |
| 14500 |
>, |
| 14501 |
sign_sig: ::std::option::Option< |
| 14502 |
unsafe extern "C" fn( |
| 14503 |
digest: *const u8, |
| 14504 |
digest_len: ::std::os::raw::c_int, |
| 14505 |
in_kinv: *const BIGNUM, |
| 14506 |
in_r: *const BIGNUM, |
| 14507 |
eckey: *mut EC_KEY, |
| 14508 |
) -> *mut ECDSA_SIG, |
| 14509 |
>, |
| 14510 |
); |
| 14511 |
} |
| 14512 |
extern "C" { |
| 14513 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_METHOD_set_init_awslc"] |
| 14514 |
pub fn EC_KEY_METHOD_set_init_awslc( |
| 14515 |
meth: *mut EC_KEY_METHOD, |
| 14516 |
init: ::std::option::Option< |
| 14517 |
unsafe extern "C" fn(key: *mut EC_KEY) -> ::std::os::raw::c_int, |
| 14518 |
>, |
| 14519 |
finish: ::std::option::Option<unsafe extern "C" fn(key: *mut EC_KEY)>, |
| 14520 |
); |
| 14521 |
} |
| 14522 |
extern "C" { |
| 14523 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_METHOD_set_flags"] |
| 14524 |
pub fn EC_KEY_METHOD_set_flags( |
| 14525 |
meth: *mut EC_KEY_METHOD, |
| 14526 |
flags: ::std::os::raw::c_int, |
| 14527 |
) -> ::std::os::raw::c_int; |
| 14528 |
} |
| 14529 |
extern "C" { |
| 14530 |
#[link_name = "\u{1}aws_lc_0_41_0_EC_KEY_set_asn1_flag"] |
| 14531 |
pub fn EC_KEY_set_asn1_flag(key: *mut EC_KEY, flag: ::std::os::raw::c_int); |
| 14532 |
} |
| 14533 |
extern "C" { |
| 14534 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDH_compute_key"] |
| 14535 |
pub fn ECDH_compute_key( |
| 14536 |
out: *mut ::std::os::raw::c_void, |
| 14537 |
outlen: usize, |
| 14538 |
pub_key: *const EC_POINT, |
| 14539 |
priv_key: *const EC_KEY, |
| 14540 |
kdf: ::std::option::Option< |
| 14541 |
unsafe extern "C" fn( |
| 14542 |
in_: *const ::std::os::raw::c_void, |
| 14543 |
inlen: usize, |
| 14544 |
out: *mut ::std::os::raw::c_void, |
| 14545 |
outlen: *mut usize, |
| 14546 |
) -> *mut ::std::os::raw::c_void, |
| 14547 |
>, |
| 14548 |
) -> ::std::os::raw::c_int; |
| 14549 |
} |
| 14550 |
extern "C" { |
| 14551 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDH_compute_key_fips"] |
| 14552 |
pub fn ECDH_compute_key_fips( |
| 14553 |
out: *mut u8, |
| 14554 |
out_len: usize, |
| 14555 |
pub_key: *const EC_POINT, |
| 14556 |
priv_key: *const EC_KEY, |
| 14557 |
) -> ::std::os::raw::c_int; |
| 14558 |
} |
| 14559 |
extern "C" { |
| 14560 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_sign"] |
| 14561 |
pub fn ECDSA_sign( |
| 14562 |
type_: ::std::os::raw::c_int, |
| 14563 |
digest: *const u8, |
| 14564 |
digest_len: usize, |
| 14565 |
sig: *mut u8, |
| 14566 |
sig_len: *mut ::std::os::raw::c_uint, |
| 14567 |
key: *const EC_KEY, |
| 14568 |
) -> ::std::os::raw::c_int; |
| 14569 |
} |
| 14570 |
extern "C" { |
| 14571 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_verify"] |
| 14572 |
pub fn ECDSA_verify( |
| 14573 |
type_: ::std::os::raw::c_int, |
| 14574 |
digest: *const u8, |
| 14575 |
digest_len: usize, |
| 14576 |
sig: *const u8, |
| 14577 |
sig_len: usize, |
| 14578 |
key: *const EC_KEY, |
| 14579 |
) -> ::std::os::raw::c_int; |
| 14580 |
} |
| 14581 |
extern "C" { |
| 14582 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_size"] |
| 14583 |
pub fn ECDSA_size(key: *const EC_KEY) -> usize; |
| 14584 |
} |
| 14585 |
#[repr(C)] |
| 14586 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 14587 |
pub struct ecdsa_sig_st { |
| 14588 |
pub r: *mut BIGNUM, |
| 14589 |
pub s: *mut BIGNUM, |
| 14590 |
} |
| 14591 |
#[test] |
| 14592 |
fn bindgen_test_layout_ecdsa_sig_st() { |
| 14593 |
const UNINIT: ::std::mem::MaybeUninit<ecdsa_sig_st> = ::std::mem::MaybeUninit::uninit(); |
| 14594 |
let ptr = UNINIT.as_ptr(); |
| 14595 |
assert_eq!( |
| 14596 |
::std::mem::size_of::<ecdsa_sig_st>(), |
| 14597 |
16usize, |
| 14598 |
"Size of ecdsa_sig_st" |
| 14599 |
); |
| 14600 |
assert_eq!( |
| 14601 |
::std::mem::align_of::<ecdsa_sig_st>(), |
| 14602 |
8usize, |
| 14603 |
"Alignment of ecdsa_sig_st" |
| 14604 |
); |
| 14605 |
assert_eq!( |
| 14606 |
unsafe { ::std::ptr::addr_of!((*ptr).r) as usize - ptr as usize }, |
| 14607 |
0usize, |
| 14608 |
"Offset of field: ecdsa_sig_st::r" |
| 14609 |
); |
| 14610 |
assert_eq!( |
| 14611 |
unsafe { ::std::ptr::addr_of!((*ptr).s) as usize - ptr as usize }, |
| 14612 |
8usize, |
| 14613 |
"Offset of field: ecdsa_sig_st::s" |
| 14614 |
); |
| 14615 |
} |
| 14616 |
impl Default for ecdsa_sig_st { |
| 14617 |
fn default() -> Self { |
| 14618 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 14619 |
unsafe { |
| 14620 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 14621 |
s.assume_init() |
| 14622 |
} |
| 14623 |
} |
| 14624 |
} |
| 14625 |
extern "C" { |
| 14626 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_new"] |
| 14627 |
pub fn ECDSA_SIG_new() -> *mut ECDSA_SIG; |
| 14628 |
} |
| 14629 |
extern "C" { |
| 14630 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_free"] |
| 14631 |
pub fn ECDSA_SIG_free(sig: *mut ECDSA_SIG); |
| 14632 |
} |
| 14633 |
extern "C" { |
| 14634 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_get0_r"] |
| 14635 |
pub fn ECDSA_SIG_get0_r(sig: *const ECDSA_SIG) -> *const BIGNUM; |
| 14636 |
} |
| 14637 |
extern "C" { |
| 14638 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_get0_s"] |
| 14639 |
pub fn ECDSA_SIG_get0_s(sig: *const ECDSA_SIG) -> *const BIGNUM; |
| 14640 |
} |
| 14641 |
extern "C" { |
| 14642 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_get0"] |
| 14643 |
pub fn ECDSA_SIG_get0( |
| 14644 |
sig: *const ECDSA_SIG, |
| 14645 |
out_r: *mut *const BIGNUM, |
| 14646 |
out_s: *mut *const BIGNUM, |
| 14647 |
); |
| 14648 |
} |
| 14649 |
extern "C" { |
| 14650 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_set0"] |
| 14651 |
pub fn ECDSA_SIG_set0( |
| 14652 |
sig: *mut ECDSA_SIG, |
| 14653 |
r: *mut BIGNUM, |
| 14654 |
s: *mut BIGNUM, |
| 14655 |
) -> ::std::os::raw::c_int; |
| 14656 |
} |
| 14657 |
extern "C" { |
| 14658 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_do_sign"] |
| 14659 |
pub fn ECDSA_do_sign( |
| 14660 |
digest: *const u8, |
| 14661 |
digest_len: usize, |
| 14662 |
key: *const EC_KEY, |
| 14663 |
) -> *mut ECDSA_SIG; |
| 14664 |
} |
| 14665 |
extern "C" { |
| 14666 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_do_verify"] |
| 14667 |
pub fn ECDSA_do_verify( |
| 14668 |
digest: *const u8, |
| 14669 |
digest_len: usize, |
| 14670 |
sig: *const ECDSA_SIG, |
| 14671 |
key: *const EC_KEY, |
| 14672 |
) -> ::std::os::raw::c_int; |
| 14673 |
} |
| 14674 |
extern "C" { |
| 14675 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_parse"] |
| 14676 |
pub fn ECDSA_SIG_parse(cbs: *mut CBS) -> *mut ECDSA_SIG; |
| 14677 |
} |
| 14678 |
extern "C" { |
| 14679 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_from_bytes"] |
| 14680 |
pub fn ECDSA_SIG_from_bytes(in_: *const u8, in_len: usize) -> *mut ECDSA_SIG; |
| 14681 |
} |
| 14682 |
extern "C" { |
| 14683 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_marshal"] |
| 14684 |
pub fn ECDSA_SIG_marshal(cbb: *mut CBB, sig: *const ECDSA_SIG) -> ::std::os::raw::c_int; |
| 14685 |
} |
| 14686 |
extern "C" { |
| 14687 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_to_bytes"] |
| 14688 |
pub fn ECDSA_SIG_to_bytes( |
| 14689 |
out_bytes: *mut *mut u8, |
| 14690 |
out_len: *mut usize, |
| 14691 |
sig: *const ECDSA_SIG, |
| 14692 |
) -> ::std::os::raw::c_int; |
| 14693 |
} |
| 14694 |
extern "C" { |
| 14695 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_SIG_max_len"] |
| 14696 |
pub fn ECDSA_SIG_max_len(order_len: usize) -> usize; |
| 14697 |
} |
| 14698 |
extern "C" { |
| 14699 |
#[link_name = "\u{1}aws_lc_0_41_0_ECDSA_sign_with_nonce_and_leak_private_key_for_testing"] |
| 14700 |
pub fn ECDSA_sign_with_nonce_and_leak_private_key_for_testing( |
| 14701 |
digest: *const u8, |
| 14702 |
digest_len: usize, |
| 14703 |
eckey: *const EC_KEY, |
| 14704 |
nonce: *const u8, |
| 14705 |
nonce_len: usize, |
| 14706 |
) -> *mut ECDSA_SIG; |
| 14707 |
} |
| 14708 |
extern "C" { |
| 14709 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ECDSA_SIG"] |
| 14710 |
pub fn d2i_ECDSA_SIG( |
| 14711 |
out: *mut *mut ECDSA_SIG, |
| 14712 |
inp: *mut *const u8, |
| 14713 |
len: ::std::os::raw::c_long, |
| 14714 |
) -> *mut ECDSA_SIG; |
| 14715 |
} |
| 14716 |
extern "C" { |
| 14717 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ECDSA_SIG"] |
| 14718 |
pub fn i2d_ECDSA_SIG(sig: *const ECDSA_SIG, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 14719 |
} |
| 14720 |
extern "C" { |
| 14721 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_gcm"] |
| 14722 |
pub fn EVP_aead_aes_128_gcm() -> *const EVP_AEAD; |
| 14723 |
} |
| 14724 |
extern "C" { |
| 14725 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_192_gcm"] |
| 14726 |
pub fn EVP_aead_aes_192_gcm() -> *const EVP_AEAD; |
| 14727 |
} |
| 14728 |
extern "C" { |
| 14729 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_gcm"] |
| 14730 |
pub fn EVP_aead_aes_256_gcm() -> *const EVP_AEAD; |
| 14731 |
} |
| 14732 |
extern "C" { |
| 14733 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_chacha20_poly1305"] |
| 14734 |
pub fn EVP_aead_chacha20_poly1305() -> *const EVP_AEAD; |
| 14735 |
} |
| 14736 |
extern "C" { |
| 14737 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_xchacha20_poly1305"] |
| 14738 |
pub fn EVP_aead_xchacha20_poly1305() -> *const EVP_AEAD; |
| 14739 |
} |
| 14740 |
extern "C" { |
| 14741 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_ctr_hmac_sha256"] |
| 14742 |
pub fn EVP_aead_aes_128_ctr_hmac_sha256() -> *const EVP_AEAD; |
| 14743 |
} |
| 14744 |
extern "C" { |
| 14745 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_ctr_hmac_sha256"] |
| 14746 |
pub fn EVP_aead_aes_256_ctr_hmac_sha256() -> *const EVP_AEAD; |
| 14747 |
} |
| 14748 |
extern "C" { |
| 14749 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_gcm_siv"] |
| 14750 |
pub fn EVP_aead_aes_128_gcm_siv() -> *const EVP_AEAD; |
| 14751 |
} |
| 14752 |
extern "C" { |
| 14753 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_gcm_siv"] |
| 14754 |
pub fn EVP_aead_aes_256_gcm_siv() -> *const EVP_AEAD; |
| 14755 |
} |
| 14756 |
extern "C" { |
| 14757 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_gcm_randnonce"] |
| 14758 |
pub fn EVP_aead_aes_128_gcm_randnonce() -> *const EVP_AEAD; |
| 14759 |
} |
| 14760 |
extern "C" { |
| 14761 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_gcm_randnonce"] |
| 14762 |
pub fn EVP_aead_aes_256_gcm_randnonce() -> *const EVP_AEAD; |
| 14763 |
} |
| 14764 |
extern "C" { |
| 14765 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_ccm_bluetooth"] |
| 14766 |
pub fn EVP_aead_aes_128_ccm_bluetooth() -> *const EVP_AEAD; |
| 14767 |
} |
| 14768 |
extern "C" { |
| 14769 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_ccm_bluetooth_8"] |
| 14770 |
pub fn EVP_aead_aes_128_ccm_bluetooth_8() -> *const EVP_AEAD; |
| 14771 |
} |
| 14772 |
extern "C" { |
| 14773 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_ccm_matter"] |
| 14774 |
pub fn EVP_aead_aes_128_ccm_matter() -> *const EVP_AEAD; |
| 14775 |
} |
| 14776 |
extern "C" { |
| 14777 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_has_aes_hardware"] |
| 14778 |
pub fn EVP_has_aes_hardware() -> ::std::os::raw::c_int; |
| 14779 |
} |
| 14780 |
extern "C" { |
| 14781 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_key_length"] |
| 14782 |
pub fn EVP_AEAD_key_length(aead: *const EVP_AEAD) -> usize; |
| 14783 |
} |
| 14784 |
extern "C" { |
| 14785 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_nonce_length"] |
| 14786 |
pub fn EVP_AEAD_nonce_length(aead: *const EVP_AEAD) -> usize; |
| 14787 |
} |
| 14788 |
extern "C" { |
| 14789 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_max_overhead"] |
| 14790 |
pub fn EVP_AEAD_max_overhead(aead: *const EVP_AEAD) -> usize; |
| 14791 |
} |
| 14792 |
extern "C" { |
| 14793 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_max_tag_len"] |
| 14794 |
pub fn EVP_AEAD_max_tag_len(aead: *const EVP_AEAD) -> usize; |
| 14795 |
} |
| 14796 |
#[repr(C)] |
| 14797 |
#[derive(Copy, Clone)] |
| 14798 |
pub union evp_aead_ctx_st_state { |
| 14799 |
pub opaque: [u8; 564usize], |
| 14800 |
pub alignment: u64, |
| 14801 |
pub ptr: *mut ::std::os::raw::c_void, |
| 14802 |
} |
| 14803 |
#[test] |
| 14804 |
fn bindgen_test_layout_evp_aead_ctx_st_state() { |
| 14805 |
const UNINIT: ::std::mem::MaybeUninit<evp_aead_ctx_st_state> = |
| 14806 |
::std::mem::MaybeUninit::uninit(); |
| 14807 |
let ptr = UNINIT.as_ptr(); |
| 14808 |
assert_eq!( |
| 14809 |
::std::mem::size_of::<evp_aead_ctx_st_state>(), |
| 14810 |
568usize, |
| 14811 |
"Size of evp_aead_ctx_st_state" |
| 14812 |
); |
| 14813 |
assert_eq!( |
| 14814 |
::std::mem::align_of::<evp_aead_ctx_st_state>(), |
| 14815 |
8usize, |
| 14816 |
"Alignment of evp_aead_ctx_st_state" |
| 14817 |
); |
| 14818 |
assert_eq!( |
| 14819 |
unsafe { ::std::ptr::addr_of!((*ptr).opaque) as usize - ptr as usize }, |
| 14820 |
0usize, |
| 14821 |
"Offset of field: evp_aead_ctx_st_state::opaque" |
| 14822 |
); |
| 14823 |
assert_eq!( |
| 14824 |
unsafe { ::std::ptr::addr_of!((*ptr).alignment) as usize - ptr as usize }, |
| 14825 |
0usize, |
| 14826 |
"Offset of field: evp_aead_ctx_st_state::alignment" |
| 14827 |
); |
| 14828 |
assert_eq!( |
| 14829 |
unsafe { ::std::ptr::addr_of!((*ptr).ptr) as usize - ptr as usize }, |
| 14830 |
0usize, |
| 14831 |
"Offset of field: evp_aead_ctx_st_state::ptr" |
| 14832 |
); |
| 14833 |
} |
| 14834 |
impl Default for evp_aead_ctx_st_state { |
| 14835 |
fn default() -> Self { |
| 14836 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 14837 |
unsafe { |
| 14838 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 14839 |
s.assume_init() |
| 14840 |
} |
| 14841 |
} |
| 14842 |
} |
| 14843 |
#[repr(C)] |
| 14844 |
#[derive(Copy, Clone)] |
| 14845 |
pub struct evp_aead_ctx_st { |
| 14846 |
pub aead: *const EVP_AEAD, |
| 14847 |
pub state: evp_aead_ctx_st_state, |
| 14848 |
pub state_offset: u8, |
| 14849 |
pub tag_len: u8, |
| 14850 |
} |
| 14851 |
#[test] |
| 14852 |
fn bindgen_test_layout_evp_aead_ctx_st() { |
| 14853 |
const UNINIT: ::std::mem::MaybeUninit<evp_aead_ctx_st> = ::std::mem::MaybeUninit::uninit(); |
| 14854 |
let ptr = UNINIT.as_ptr(); |
| 14855 |
assert_eq!( |
| 14856 |
::std::mem::size_of::<evp_aead_ctx_st>(), |
| 14857 |
584usize, |
| 14858 |
"Size of evp_aead_ctx_st" |
| 14859 |
); |
| 14860 |
assert_eq!( |
| 14861 |
::std::mem::align_of::<evp_aead_ctx_st>(), |
| 14862 |
8usize, |
| 14863 |
"Alignment of evp_aead_ctx_st" |
| 14864 |
); |
| 14865 |
assert_eq!( |
| 14866 |
unsafe { ::std::ptr::addr_of!((*ptr).aead) as usize - ptr as usize }, |
| 14867 |
0usize, |
| 14868 |
"Offset of field: evp_aead_ctx_st::aead" |
| 14869 |
); |
| 14870 |
assert_eq!( |
| 14871 |
unsafe { ::std::ptr::addr_of!((*ptr).state) as usize - ptr as usize }, |
| 14872 |
8usize, |
| 14873 |
"Offset of field: evp_aead_ctx_st::state" |
| 14874 |
); |
| 14875 |
assert_eq!( |
| 14876 |
unsafe { ::std::ptr::addr_of!((*ptr).state_offset) as usize - ptr as usize }, |
| 14877 |
576usize, |
| 14878 |
"Offset of field: evp_aead_ctx_st::state_offset" |
| 14879 |
); |
| 14880 |
assert_eq!( |
| 14881 |
unsafe { ::std::ptr::addr_of!((*ptr).tag_len) as usize - ptr as usize }, |
| 14882 |
577usize, |
| 14883 |
"Offset of field: evp_aead_ctx_st::tag_len" |
| 14884 |
); |
| 14885 |
} |
| 14886 |
impl Default for evp_aead_ctx_st { |
| 14887 |
fn default() -> Self { |
| 14888 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 14889 |
unsafe { |
| 14890 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 14891 |
s.assume_init() |
| 14892 |
} |
| 14893 |
} |
| 14894 |
} |
| 14895 |
extern "C" { |
| 14896 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_zero"] |
| 14897 |
pub fn EVP_AEAD_CTX_zero(ctx: *mut EVP_AEAD_CTX); |
| 14898 |
} |
| 14899 |
extern "C" { |
| 14900 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_new"] |
| 14901 |
pub fn EVP_AEAD_CTX_new( |
| 14902 |
aead: *const EVP_AEAD, |
| 14903 |
key: *const u8, |
| 14904 |
key_len: usize, |
| 14905 |
tag_len: usize, |
| 14906 |
) -> *mut EVP_AEAD_CTX; |
| 14907 |
} |
| 14908 |
extern "C" { |
| 14909 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_free"] |
| 14910 |
pub fn EVP_AEAD_CTX_free(ctx: *mut EVP_AEAD_CTX); |
| 14911 |
} |
| 14912 |
extern "C" { |
| 14913 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_init"] |
| 14914 |
pub fn EVP_AEAD_CTX_init( |
| 14915 |
ctx: *mut EVP_AEAD_CTX, |
| 14916 |
aead: *const EVP_AEAD, |
| 14917 |
key: *const u8, |
| 14918 |
key_len: usize, |
| 14919 |
tag_len: usize, |
| 14920 |
impl_: *mut ENGINE, |
| 14921 |
) -> ::std::os::raw::c_int; |
| 14922 |
} |
| 14923 |
extern "C" { |
| 14924 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_cleanup"] |
| 14925 |
pub fn EVP_AEAD_CTX_cleanup(ctx: *mut EVP_AEAD_CTX); |
| 14926 |
} |
| 14927 |
extern "C" { |
| 14928 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_seal"] |
| 14929 |
pub fn EVP_AEAD_CTX_seal( |
| 14930 |
ctx: *const EVP_AEAD_CTX, |
| 14931 |
out: *mut u8, |
| 14932 |
out_len: *mut usize, |
| 14933 |
max_out_len: usize, |
| 14934 |
nonce: *const u8, |
| 14935 |
nonce_len: usize, |
| 14936 |
in_: *const u8, |
| 14937 |
in_len: usize, |
| 14938 |
ad: *const u8, |
| 14939 |
ad_len: usize, |
| 14940 |
) -> ::std::os::raw::c_int; |
| 14941 |
} |
| 14942 |
extern "C" { |
| 14943 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_open"] |
| 14944 |
pub fn EVP_AEAD_CTX_open( |
| 14945 |
ctx: *const EVP_AEAD_CTX, |
| 14946 |
out: *mut u8, |
| 14947 |
out_len: *mut usize, |
| 14948 |
max_out_len: usize, |
| 14949 |
nonce: *const u8, |
| 14950 |
nonce_len: usize, |
| 14951 |
in_: *const u8, |
| 14952 |
in_len: usize, |
| 14953 |
ad: *const u8, |
| 14954 |
ad_len: usize, |
| 14955 |
) -> ::std::os::raw::c_int; |
| 14956 |
} |
| 14957 |
extern "C" { |
| 14958 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_seal_scatter"] |
| 14959 |
pub fn EVP_AEAD_CTX_seal_scatter( |
| 14960 |
ctx: *const EVP_AEAD_CTX, |
| 14961 |
out: *mut u8, |
| 14962 |
out_tag: *mut u8, |
| 14963 |
out_tag_len: *mut usize, |
| 14964 |
max_out_tag_len: usize, |
| 14965 |
nonce: *const u8, |
| 14966 |
nonce_len: usize, |
| 14967 |
in_: *const u8, |
| 14968 |
in_len: usize, |
| 14969 |
extra_in: *const u8, |
| 14970 |
extra_in_len: usize, |
| 14971 |
ad: *const u8, |
| 14972 |
ad_len: usize, |
| 14973 |
) -> ::std::os::raw::c_int; |
| 14974 |
} |
| 14975 |
extern "C" { |
| 14976 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_open_gather"] |
| 14977 |
pub fn EVP_AEAD_CTX_open_gather( |
| 14978 |
ctx: *const EVP_AEAD_CTX, |
| 14979 |
out: *mut u8, |
| 14980 |
nonce: *const u8, |
| 14981 |
nonce_len: usize, |
| 14982 |
in_: *const u8, |
| 14983 |
in_len: usize, |
| 14984 |
in_tag: *const u8, |
| 14985 |
in_tag_len: usize, |
| 14986 |
ad: *const u8, |
| 14987 |
ad_len: usize, |
| 14988 |
) -> ::std::os::raw::c_int; |
| 14989 |
} |
| 14990 |
extern "C" { |
| 14991 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_aead"] |
| 14992 |
pub fn EVP_AEAD_CTX_aead(ctx: *const EVP_AEAD_CTX) -> *const EVP_AEAD; |
| 14993 |
} |
| 14994 |
extern "C" { |
| 14995 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_cbc_sha1_tls"] |
| 14996 |
pub fn EVP_aead_aes_128_cbc_sha1_tls() -> *const EVP_AEAD; |
| 14997 |
} |
| 14998 |
extern "C" { |
| 14999 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_cbc_sha1_tls_implicit_iv"] |
| 15000 |
pub fn EVP_aead_aes_128_cbc_sha1_tls_implicit_iv() -> *const EVP_AEAD; |
| 15001 |
} |
| 15002 |
extern "C" { |
| 15003 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_cbc_sha1_tls"] |
| 15004 |
pub fn EVP_aead_aes_256_cbc_sha1_tls() -> *const EVP_AEAD; |
| 15005 |
} |
| 15006 |
extern "C" { |
| 15007 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_cbc_sha1_tls_implicit_iv"] |
| 15008 |
pub fn EVP_aead_aes_256_cbc_sha1_tls_implicit_iv() -> *const EVP_AEAD; |
| 15009 |
} |
| 15010 |
extern "C" { |
| 15011 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_cbc_sha256_tls"] |
| 15012 |
pub fn EVP_aead_aes_128_cbc_sha256_tls() -> *const EVP_AEAD; |
| 15013 |
} |
| 15014 |
extern "C" { |
| 15015 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_cbc_sha256_tls_implicit_iv"] |
| 15016 |
pub fn EVP_aead_aes_128_cbc_sha256_tls_implicit_iv() -> *const EVP_AEAD; |
| 15017 |
} |
| 15018 |
extern "C" { |
| 15019 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_cbc_sha384_tls"] |
| 15020 |
pub fn EVP_aead_aes_256_cbc_sha384_tls() -> *const EVP_AEAD; |
| 15021 |
} |
| 15022 |
extern "C" { |
| 15023 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_des_ede3_cbc_sha1_tls"] |
| 15024 |
pub fn EVP_aead_des_ede3_cbc_sha1_tls() -> *const EVP_AEAD; |
| 15025 |
} |
| 15026 |
extern "C" { |
| 15027 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_des_ede3_cbc_sha1_tls_implicit_iv"] |
| 15028 |
pub fn EVP_aead_des_ede3_cbc_sha1_tls_implicit_iv() -> *const EVP_AEAD; |
| 15029 |
} |
| 15030 |
extern "C" { |
| 15031 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_null_sha1_tls"] |
| 15032 |
pub fn EVP_aead_null_sha1_tls() -> *const EVP_AEAD; |
| 15033 |
} |
| 15034 |
extern "C" { |
| 15035 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_gcm_tls12"] |
| 15036 |
pub fn EVP_aead_aes_128_gcm_tls12() -> *const EVP_AEAD; |
| 15037 |
} |
| 15038 |
extern "C" { |
| 15039 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_gcm_tls12"] |
| 15040 |
pub fn EVP_aead_aes_256_gcm_tls12() -> *const EVP_AEAD; |
| 15041 |
} |
| 15042 |
extern "C" { |
| 15043 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_128_gcm_tls13"] |
| 15044 |
pub fn EVP_aead_aes_128_gcm_tls13() -> *const EVP_AEAD; |
| 15045 |
} |
| 15046 |
extern "C" { |
| 15047 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_aead_aes_256_gcm_tls13"] |
| 15048 |
pub fn EVP_aead_aes_256_gcm_tls13() -> *const EVP_AEAD; |
| 15049 |
} |
| 15050 |
pub const evp_aead_direction_t_evp_aead_open: evp_aead_direction_t = 0; |
| 15051 |
pub const evp_aead_direction_t_evp_aead_seal: evp_aead_direction_t = 1; |
| 15052 |
pub type evp_aead_direction_t = ::std::os::raw::c_uint; |
| 15053 |
extern "C" { |
| 15054 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_init_with_direction"] |
| 15055 |
pub fn EVP_AEAD_CTX_init_with_direction( |
| 15056 |
ctx: *mut EVP_AEAD_CTX, |
| 15057 |
aead: *const EVP_AEAD, |
| 15058 |
key: *const u8, |
| 15059 |
key_len: usize, |
| 15060 |
tag_len: usize, |
| 15061 |
dir: evp_aead_direction_t, |
| 15062 |
) -> ::std::os::raw::c_int; |
| 15063 |
} |
| 15064 |
extern "C" { |
| 15065 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_get_iv"] |
| 15066 |
pub fn EVP_AEAD_CTX_get_iv( |
| 15067 |
ctx: *const EVP_AEAD_CTX, |
| 15068 |
out_iv: *mut *const u8, |
| 15069 |
out_len: *mut usize, |
| 15070 |
) -> ::std::os::raw::c_int; |
| 15071 |
} |
| 15072 |
extern "C" { |
| 15073 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_CTX_tag_len"] |
| 15074 |
pub fn EVP_AEAD_CTX_tag_len( |
| 15075 |
ctx: *const EVP_AEAD_CTX, |
| 15076 |
out_tag_len: *mut usize, |
| 15077 |
in_len: usize, |
| 15078 |
extra_in_len: usize, |
| 15079 |
) -> ::std::os::raw::c_int; |
| 15080 |
} |
| 15081 |
extern "C" { |
| 15082 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_AEAD_get_iv_from_ipv4_nanosecs"] |
| 15083 |
pub fn EVP_AEAD_get_iv_from_ipv4_nanosecs( |
| 15084 |
ipv4_address: u32, |
| 15085 |
nanosecs: u64, |
| 15086 |
out_iv: *mut u8, |
| 15087 |
) -> ::std::os::raw::c_int; |
| 15088 |
} |
| 15089 |
extern "C" { |
| 15090 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_dup"] |
| 15091 |
pub fn OBJ_dup(obj: *const ASN1_OBJECT) -> *mut ASN1_OBJECT; |
| 15092 |
} |
| 15093 |
extern "C" { |
| 15094 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_cmp"] |
| 15095 |
pub fn OBJ_cmp(a: *const ASN1_OBJECT, b: *const ASN1_OBJECT) -> ::std::os::raw::c_int; |
| 15096 |
} |
| 15097 |
extern "C" { |
| 15098 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_get0_data"] |
| 15099 |
pub fn OBJ_get0_data(obj: *const ASN1_OBJECT) -> *const u8; |
| 15100 |
} |
| 15101 |
extern "C" { |
| 15102 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_length"] |
| 15103 |
pub fn OBJ_length(obj: *const ASN1_OBJECT) -> usize; |
| 15104 |
} |
| 15105 |
extern "C" { |
| 15106 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_obj2nid"] |
| 15107 |
pub fn OBJ_obj2nid(obj: *const ASN1_OBJECT) -> ::std::os::raw::c_int; |
| 15108 |
} |
| 15109 |
extern "C" { |
| 15110 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_cbs2nid"] |
| 15111 |
pub fn OBJ_cbs2nid(cbs: *const CBS) -> ::std::os::raw::c_int; |
| 15112 |
} |
| 15113 |
extern "C" { |
| 15114 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_sn2nid"] |
| 15115 |
pub fn OBJ_sn2nid(short_name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; |
| 15116 |
} |
| 15117 |
extern "C" { |
| 15118 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_ln2nid"] |
| 15119 |
pub fn OBJ_ln2nid(long_name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; |
| 15120 |
} |
| 15121 |
extern "C" { |
| 15122 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_txt2nid"] |
| 15123 |
pub fn OBJ_txt2nid(s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; |
| 15124 |
} |
| 15125 |
extern "C" { |
| 15126 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_nid2obj"] |
| 15127 |
pub fn OBJ_nid2obj(nid: ::std::os::raw::c_int) -> *mut ASN1_OBJECT; |
| 15128 |
} |
| 15129 |
extern "C" { |
| 15130 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_get_undef"] |
| 15131 |
pub fn OBJ_get_undef() -> *const ASN1_OBJECT; |
| 15132 |
} |
| 15133 |
extern "C" { |
| 15134 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_nid2sn"] |
| 15135 |
pub fn OBJ_nid2sn(nid: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; |
| 15136 |
} |
| 15137 |
extern "C" { |
| 15138 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_nid2ln"] |
| 15139 |
pub fn OBJ_nid2ln(nid: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; |
| 15140 |
} |
| 15141 |
extern "C" { |
| 15142 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_nid2cbb"] |
| 15143 |
pub fn OBJ_nid2cbb(out: *mut CBB, nid: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 15144 |
} |
| 15145 |
extern "C" { |
| 15146 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_txt2obj"] |
| 15147 |
pub fn OBJ_txt2obj( |
| 15148 |
s: *const ::std::os::raw::c_char, |
| 15149 |
dont_search_names: ::std::os::raw::c_int, |
| 15150 |
) -> *mut ASN1_OBJECT; |
| 15151 |
} |
| 15152 |
extern "C" { |
| 15153 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_obj2txt"] |
| 15154 |
pub fn OBJ_obj2txt( |
| 15155 |
out: *mut ::std::os::raw::c_char, |
| 15156 |
out_len: ::std::os::raw::c_int, |
| 15157 |
obj: *const ASN1_OBJECT, |
| 15158 |
always_return_oid: ::std::os::raw::c_int, |
| 15159 |
) -> ::std::os::raw::c_int; |
| 15160 |
} |
| 15161 |
extern "C" { |
| 15162 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_create"] |
| 15163 |
pub fn OBJ_create( |
| 15164 |
oid: *const ::std::os::raw::c_char, |
| 15165 |
short_name: *const ::std::os::raw::c_char, |
| 15166 |
long_name: *const ::std::os::raw::c_char, |
| 15167 |
) -> ::std::os::raw::c_int; |
| 15168 |
} |
| 15169 |
extern "C" { |
| 15170 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_find_sigid_algs"] |
| 15171 |
pub fn OBJ_find_sigid_algs( |
| 15172 |
sign_nid: ::std::os::raw::c_int, |
| 15173 |
out_digest_nid: *mut ::std::os::raw::c_int, |
| 15174 |
out_pkey_nid: *mut ::std::os::raw::c_int, |
| 15175 |
) -> ::std::os::raw::c_int; |
| 15176 |
} |
| 15177 |
extern "C" { |
| 15178 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_find_sigid_by_algs"] |
| 15179 |
pub fn OBJ_find_sigid_by_algs( |
| 15180 |
out_sign_nid: *mut ::std::os::raw::c_int, |
| 15181 |
digest_nid: ::std::os::raw::c_int, |
| 15182 |
pkey_nid: ::std::os::raw::c_int, |
| 15183 |
) -> ::std::os::raw::c_int; |
| 15184 |
} |
| 15185 |
#[repr(C)] |
| 15186 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 15187 |
pub struct obj_name_st { |
| 15188 |
pub type_: ::std::os::raw::c_int, |
| 15189 |
pub alias: ::std::os::raw::c_int, |
| 15190 |
pub name: *const ::std::os::raw::c_char, |
| 15191 |
pub data: *const ::std::os::raw::c_char, |
| 15192 |
} |
| 15193 |
#[test] |
| 15194 |
fn bindgen_test_layout_obj_name_st() { |
| 15195 |
const UNINIT: ::std::mem::MaybeUninit<obj_name_st> = ::std::mem::MaybeUninit::uninit(); |
| 15196 |
let ptr = UNINIT.as_ptr(); |
| 15197 |
assert_eq!( |
| 15198 |
::std::mem::size_of::<obj_name_st>(), |
| 15199 |
24usize, |
| 15200 |
"Size of obj_name_st" |
| 15201 |
); |
| 15202 |
assert_eq!( |
| 15203 |
::std::mem::align_of::<obj_name_st>(), |
| 15204 |
8usize, |
| 15205 |
"Alignment of obj_name_st" |
| 15206 |
); |
| 15207 |
assert_eq!( |
| 15208 |
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, |
| 15209 |
0usize, |
| 15210 |
"Offset of field: obj_name_st::type_" |
| 15211 |
); |
| 15212 |
assert_eq!( |
| 15213 |
unsafe { ::std::ptr::addr_of!((*ptr).alias) as usize - ptr as usize }, |
| 15214 |
4usize, |
| 15215 |
"Offset of field: obj_name_st::alias" |
| 15216 |
); |
| 15217 |
assert_eq!( |
| 15218 |
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, |
| 15219 |
8usize, |
| 15220 |
"Offset of field: obj_name_st::name" |
| 15221 |
); |
| 15222 |
assert_eq!( |
| 15223 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 15224 |
16usize, |
| 15225 |
"Offset of field: obj_name_st::data" |
| 15226 |
); |
| 15227 |
} |
| 15228 |
impl Default for obj_name_st { |
| 15229 |
fn default() -> Self { |
| 15230 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 15231 |
unsafe { |
| 15232 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 15233 |
s.assume_init() |
| 15234 |
} |
| 15235 |
} |
| 15236 |
} |
| 15237 |
pub type OBJ_NAME = obj_name_st; |
| 15238 |
extern "C" { |
| 15239 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_NAME_do_all_sorted"] |
| 15240 |
pub fn OBJ_NAME_do_all_sorted( |
| 15241 |
type_: ::std::os::raw::c_int, |
| 15242 |
callback: ::std::option::Option< |
| 15243 |
unsafe extern "C" fn(arg1: *const OBJ_NAME, arg: *mut ::std::os::raw::c_void), |
| 15244 |
>, |
| 15245 |
arg: *mut ::std::os::raw::c_void, |
| 15246 |
); |
| 15247 |
} |
| 15248 |
extern "C" { |
| 15249 |
#[link_name = "\u{1}aws_lc_0_41_0_OBJ_cleanup"] |
| 15250 |
pub fn OBJ_cleanup(); |
| 15251 |
} |
| 15252 |
extern "C" { |
| 15253 |
#[link_name = "\u{1}aws_lc_0_41_0_MD5_Init"] |
| 15254 |
pub fn MD5_Init(md5: *mut MD5_CTX) -> ::std::os::raw::c_int; |
| 15255 |
} |
| 15256 |
extern "C" { |
| 15257 |
#[link_name = "\u{1}aws_lc_0_41_0_MD5_Update"] |
| 15258 |
pub fn MD5_Update( |
| 15259 |
md5: *mut MD5_CTX, |
| 15260 |
data: *const ::std::os::raw::c_void, |
| 15261 |
len: usize, |
| 15262 |
) -> ::std::os::raw::c_int; |
| 15263 |
} |
| 15264 |
extern "C" { |
| 15265 |
#[link_name = "\u{1}aws_lc_0_41_0_MD5_Final"] |
| 15266 |
pub fn MD5_Final(out: *mut u8, md5: *mut MD5_CTX) -> ::std::os::raw::c_int; |
| 15267 |
} |
| 15268 |
extern "C" { |
| 15269 |
#[link_name = "\u{1}aws_lc_0_41_0_MD5"] |
| 15270 |
pub fn MD5(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 15271 |
} |
| 15272 |
extern "C" { |
| 15273 |
#[link_name = "\u{1}aws_lc_0_41_0_MD5_Transform"] |
| 15274 |
pub fn MD5_Transform(md5: *mut MD5_CTX, block: *const u8); |
| 15275 |
} |
| 15276 |
#[repr(C)] |
| 15277 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 15278 |
pub struct md5_state_st { |
| 15279 |
pub h: [u32; 4usize], |
| 15280 |
pub Nl: u32, |
| 15281 |
pub Nh: u32, |
| 15282 |
pub data: [u8; 64usize], |
| 15283 |
pub num: ::std::os::raw::c_uint, |
| 15284 |
} |
| 15285 |
#[test] |
| 15286 |
fn bindgen_test_layout_md5_state_st() { |
| 15287 |
const UNINIT: ::std::mem::MaybeUninit<md5_state_st> = ::std::mem::MaybeUninit::uninit(); |
| 15288 |
let ptr = UNINIT.as_ptr(); |
| 15289 |
assert_eq!( |
| 15290 |
::std::mem::size_of::<md5_state_st>(), |
| 15291 |
92usize, |
| 15292 |
"Size of md5_state_st" |
| 15293 |
); |
| 15294 |
assert_eq!( |
| 15295 |
::std::mem::align_of::<md5_state_st>(), |
| 15296 |
4usize, |
| 15297 |
"Alignment of md5_state_st" |
| 15298 |
); |
| 15299 |
assert_eq!( |
| 15300 |
unsafe { ::std::ptr::addr_of!((*ptr).h) as usize - ptr as usize }, |
| 15301 |
0usize, |
| 15302 |
"Offset of field: md5_state_st::h" |
| 15303 |
); |
| 15304 |
assert_eq!( |
| 15305 |
unsafe { ::std::ptr::addr_of!((*ptr).Nl) as usize - ptr as usize }, |
| 15306 |
16usize, |
| 15307 |
"Offset of field: md5_state_st::Nl" |
| 15308 |
); |
| 15309 |
assert_eq!( |
| 15310 |
unsafe { ::std::ptr::addr_of!((*ptr).Nh) as usize - ptr as usize }, |
| 15311 |
20usize, |
| 15312 |
"Offset of field: md5_state_st::Nh" |
| 15313 |
); |
| 15314 |
assert_eq!( |
| 15315 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 15316 |
24usize, |
| 15317 |
"Offset of field: md5_state_st::data" |
| 15318 |
); |
| 15319 |
assert_eq!( |
| 15320 |
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize }, |
| 15321 |
88usize, |
| 15322 |
"Offset of field: md5_state_st::num" |
| 15323 |
); |
| 15324 |
} |
| 15325 |
impl Default for md5_state_st { |
| 15326 |
fn default() -> Self { |
| 15327 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 15328 |
unsafe { |
| 15329 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 15330 |
s.assume_init() |
| 15331 |
} |
| 15332 |
} |
| 15333 |
} |
| 15334 |
extern "C" { |
| 15335 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC"] |
| 15336 |
pub fn HMAC( |
| 15337 |
evp_md: *const EVP_MD, |
| 15338 |
key: *const ::std::os::raw::c_void, |
| 15339 |
key_len: usize, |
| 15340 |
data: *const u8, |
| 15341 |
data_len: usize, |
| 15342 |
out: *mut u8, |
| 15343 |
out_len: *mut ::std::os::raw::c_uint, |
| 15344 |
) -> *mut u8; |
| 15345 |
} |
| 15346 |
extern "C" { |
| 15347 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_init"] |
| 15348 |
pub fn HMAC_CTX_init(ctx: *mut HMAC_CTX); |
| 15349 |
} |
| 15350 |
extern "C" { |
| 15351 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_new"] |
| 15352 |
pub fn HMAC_CTX_new() -> *mut HMAC_CTX; |
| 15353 |
} |
| 15354 |
extern "C" { |
| 15355 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_cleanup"] |
| 15356 |
pub fn HMAC_CTX_cleanup(ctx: *mut HMAC_CTX); |
| 15357 |
} |
| 15358 |
extern "C" { |
| 15359 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_cleanse"] |
| 15360 |
pub fn HMAC_CTX_cleanse(ctx: *mut HMAC_CTX); |
| 15361 |
} |
| 15362 |
extern "C" { |
| 15363 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_free"] |
| 15364 |
pub fn HMAC_CTX_free(ctx: *mut HMAC_CTX); |
| 15365 |
} |
| 15366 |
extern "C" { |
| 15367 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_Init_ex"] |
| 15368 |
pub fn HMAC_Init_ex( |
| 15369 |
ctx: *mut HMAC_CTX, |
| 15370 |
key: *const ::std::os::raw::c_void, |
| 15371 |
key_len: usize, |
| 15372 |
md: *const EVP_MD, |
| 15373 |
impl_: *mut ENGINE, |
| 15374 |
) -> ::std::os::raw::c_int; |
| 15375 |
} |
| 15376 |
extern "C" { |
| 15377 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_Update"] |
| 15378 |
pub fn HMAC_Update( |
| 15379 |
ctx: *mut HMAC_CTX, |
| 15380 |
data: *const u8, |
| 15381 |
data_len: usize, |
| 15382 |
) -> ::std::os::raw::c_int; |
| 15383 |
} |
| 15384 |
extern "C" { |
| 15385 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_Final"] |
| 15386 |
pub fn HMAC_Final( |
| 15387 |
ctx: *mut HMAC_CTX, |
| 15388 |
out: *mut u8, |
| 15389 |
out_len: *mut ::std::os::raw::c_uint, |
| 15390 |
) -> ::std::os::raw::c_int; |
| 15391 |
} |
| 15392 |
extern "C" { |
| 15393 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_size"] |
| 15394 |
pub fn HMAC_size(ctx: *const HMAC_CTX) -> usize; |
| 15395 |
} |
| 15396 |
extern "C" { |
| 15397 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_get_md"] |
| 15398 |
pub fn HMAC_CTX_get_md(ctx: *const HMAC_CTX) -> *const EVP_MD; |
| 15399 |
} |
| 15400 |
extern "C" { |
| 15401 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_copy_ex"] |
| 15402 |
pub fn HMAC_CTX_copy_ex(dest: *mut HMAC_CTX, src: *const HMAC_CTX) -> ::std::os::raw::c_int; |
| 15403 |
} |
| 15404 |
extern "C" { |
| 15405 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_reset"] |
| 15406 |
pub fn HMAC_CTX_reset(ctx: *mut HMAC_CTX); |
| 15407 |
} |
| 15408 |
extern "C" { |
| 15409 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_set_precomputed_key_export"] |
| 15410 |
pub fn HMAC_set_precomputed_key_export(ctx: *mut HMAC_CTX) -> ::std::os::raw::c_int; |
| 15411 |
} |
| 15412 |
extern "C" { |
| 15413 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_get_precomputed_key"] |
| 15414 |
pub fn HMAC_get_precomputed_key( |
| 15415 |
ctx: *mut HMAC_CTX, |
| 15416 |
out: *mut u8, |
| 15417 |
out_len: *mut usize, |
| 15418 |
) -> ::std::os::raw::c_int; |
| 15419 |
} |
| 15420 |
extern "C" { |
| 15421 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_Init_from_precomputed_key"] |
| 15422 |
pub fn HMAC_Init_from_precomputed_key( |
| 15423 |
ctx: *mut HMAC_CTX, |
| 15424 |
precomputed_key: *const u8, |
| 15425 |
precompute_key_len: usize, |
| 15426 |
md: *const EVP_MD, |
| 15427 |
) -> ::std::os::raw::c_int; |
| 15428 |
} |
| 15429 |
extern "C" { |
| 15430 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_Init"] |
| 15431 |
pub fn HMAC_Init( |
| 15432 |
ctx: *mut HMAC_CTX, |
| 15433 |
key: *const ::std::os::raw::c_void, |
| 15434 |
key_len: ::std::os::raw::c_int, |
| 15435 |
md: *const EVP_MD, |
| 15436 |
) -> ::std::os::raw::c_int; |
| 15437 |
} |
| 15438 |
extern "C" { |
| 15439 |
#[link_name = "\u{1}aws_lc_0_41_0_HMAC_CTX_copy"] |
| 15440 |
pub fn HMAC_CTX_copy(dest: *mut HMAC_CTX, src: *const HMAC_CTX) -> ::std::os::raw::c_int; |
| 15441 |
} |
| 15442 |
#[repr(C)] |
| 15443 |
#[derive(Debug, Copy, Clone)] |
| 15444 |
pub struct hmac_methods_st { |
| 15445 |
_unused: [u8; 0], |
| 15446 |
} |
| 15447 |
pub type HmacMethods = hmac_methods_st; |
| 15448 |
#[repr(C)] |
| 15449 |
#[derive(Copy, Clone)] |
| 15450 |
pub union md_ctx_union { |
| 15451 |
pub md5: MD5_CTX, |
| 15452 |
pub sha1: SHA_CTX, |
| 15453 |
pub sha256: SHA256_CTX, |
| 15454 |
pub sha512: SHA512_CTX, |
| 15455 |
pub sha3: [u8; 400usize], |
| 15456 |
} |
| 15457 |
#[test] |
| 15458 |
fn bindgen_test_layout_md_ctx_union() { |
| 15459 |
const UNINIT: ::std::mem::MaybeUninit<md_ctx_union> = ::std::mem::MaybeUninit::uninit(); |
| 15460 |
let ptr = UNINIT.as_ptr(); |
| 15461 |
assert_eq!( |
| 15462 |
::std::mem::size_of::<md_ctx_union>(), |
| 15463 |
400usize, |
| 15464 |
"Size of md_ctx_union" |
| 15465 |
); |
| 15466 |
assert_eq!( |
| 15467 |
::std::mem::align_of::<md_ctx_union>(), |
| 15468 |
8usize, |
| 15469 |
"Alignment of md_ctx_union" |
| 15470 |
); |
| 15471 |
assert_eq!( |
| 15472 |
unsafe { ::std::ptr::addr_of!((*ptr).md5) as usize - ptr as usize }, |
| 15473 |
0usize, |
| 15474 |
"Offset of field: md_ctx_union::md5" |
| 15475 |
); |
| 15476 |
assert_eq!( |
| 15477 |
unsafe { ::std::ptr::addr_of!((*ptr).sha1) as usize - ptr as usize }, |
| 15478 |
0usize, |
| 15479 |
"Offset of field: md_ctx_union::sha1" |
| 15480 |
); |
| 15481 |
assert_eq!( |
| 15482 |
unsafe { ::std::ptr::addr_of!((*ptr).sha256) as usize - ptr as usize }, |
| 15483 |
0usize, |
| 15484 |
"Offset of field: md_ctx_union::sha256" |
| 15485 |
); |
| 15486 |
assert_eq!( |
| 15487 |
unsafe { ::std::ptr::addr_of!((*ptr).sha512) as usize - ptr as usize }, |
| 15488 |
0usize, |
| 15489 |
"Offset of field: md_ctx_union::sha512" |
| 15490 |
); |
| 15491 |
assert_eq!( |
| 15492 |
unsafe { ::std::ptr::addr_of!((*ptr).sha3) as usize - ptr as usize }, |
| 15493 |
0usize, |
| 15494 |
"Offset of field: md_ctx_union::sha3" |
| 15495 |
); |
| 15496 |
} |
| 15497 |
impl Default for md_ctx_union { |
| 15498 |
fn default() -> Self { |
| 15499 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 15500 |
unsafe { |
| 15501 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 15502 |
s.assume_init() |
| 15503 |
} |
| 15504 |
} |
| 15505 |
} |
| 15506 |
#[repr(C)] |
| 15507 |
#[derive(Copy, Clone)] |
| 15508 |
pub struct hmac_ctx_st { |
| 15509 |
pub md: *const EVP_MD, |
| 15510 |
pub methods: *const HmacMethods, |
| 15511 |
pub md_ctx: md_ctx_union, |
| 15512 |
pub i_ctx: md_ctx_union, |
| 15513 |
pub o_ctx: md_ctx_union, |
| 15514 |
pub state: i8, |
| 15515 |
} |
| 15516 |
#[test] |
| 15517 |
fn bindgen_test_layout_hmac_ctx_st() { |
| 15518 |
const UNINIT: ::std::mem::MaybeUninit<hmac_ctx_st> = ::std::mem::MaybeUninit::uninit(); |
| 15519 |
let ptr = UNINIT.as_ptr(); |
| 15520 |
assert_eq!( |
| 15521 |
::std::mem::size_of::<hmac_ctx_st>(), |
| 15522 |
1224usize, |
| 15523 |
"Size of hmac_ctx_st" |
| 15524 |
); |
| 15525 |
assert_eq!( |
| 15526 |
::std::mem::align_of::<hmac_ctx_st>(), |
| 15527 |
8usize, |
| 15528 |
"Alignment of hmac_ctx_st" |
| 15529 |
); |
| 15530 |
assert_eq!( |
| 15531 |
unsafe { ::std::ptr::addr_of!((*ptr).md) as usize - ptr as usize }, |
| 15532 |
0usize, |
| 15533 |
"Offset of field: hmac_ctx_st::md" |
| 15534 |
); |
| 15535 |
assert_eq!( |
| 15536 |
unsafe { ::std::ptr::addr_of!((*ptr).methods) as usize - ptr as usize }, |
| 15537 |
8usize, |
| 15538 |
"Offset of field: hmac_ctx_st::methods" |
| 15539 |
); |
| 15540 |
assert_eq!( |
| 15541 |
unsafe { ::std::ptr::addr_of!((*ptr).md_ctx) as usize - ptr as usize }, |
| 15542 |
16usize, |
| 15543 |
"Offset of field: hmac_ctx_st::md_ctx" |
| 15544 |
); |
| 15545 |
assert_eq!( |
| 15546 |
unsafe { ::std::ptr::addr_of!((*ptr).i_ctx) as usize - ptr as usize }, |
| 15547 |
416usize, |
| 15548 |
"Offset of field: hmac_ctx_st::i_ctx" |
| 15549 |
); |
| 15550 |
assert_eq!( |
| 15551 |
unsafe { ::std::ptr::addr_of!((*ptr).o_ctx) as usize - ptr as usize }, |
| 15552 |
816usize, |
| 15553 |
"Offset of field: hmac_ctx_st::o_ctx" |
| 15554 |
); |
| 15555 |
assert_eq!( |
| 15556 |
unsafe { ::std::ptr::addr_of!((*ptr).state) as usize - ptr as usize }, |
| 15557 |
1216usize, |
| 15558 |
"Offset of field: hmac_ctx_st::state" |
| 15559 |
); |
| 15560 |
} |
| 15561 |
impl Default for hmac_ctx_st { |
| 15562 |
fn default() -> Self { |
| 15563 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 15564 |
unsafe { |
| 15565 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 15566 |
s.assume_init() |
| 15567 |
} |
| 15568 |
} |
| 15569 |
} |
| 15570 |
extern "C" { |
| 15571 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_new"] |
| 15572 |
pub fn EVP_PKEY_new() -> *mut EVP_PKEY; |
| 15573 |
} |
| 15574 |
extern "C" { |
| 15575 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_free"] |
| 15576 |
pub fn EVP_PKEY_free(pkey: *mut EVP_PKEY); |
| 15577 |
} |
| 15578 |
extern "C" { |
| 15579 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_up_ref"] |
| 15580 |
pub fn EVP_PKEY_up_ref(pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 15581 |
} |
| 15582 |
extern "C" { |
| 15583 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_is_opaque"] |
| 15584 |
pub fn EVP_PKEY_is_opaque(pkey: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15585 |
} |
| 15586 |
extern "C" { |
| 15587 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_cmp"] |
| 15588 |
pub fn EVP_PKEY_cmp(a: *const EVP_PKEY, b: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15589 |
} |
| 15590 |
extern "C" { |
| 15591 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_copy_parameters"] |
| 15592 |
pub fn EVP_PKEY_copy_parameters( |
| 15593 |
to: *mut EVP_PKEY, |
| 15594 |
from: *const EVP_PKEY, |
| 15595 |
) -> ::std::os::raw::c_int; |
| 15596 |
} |
| 15597 |
extern "C" { |
| 15598 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_missing_parameters"] |
| 15599 |
pub fn EVP_PKEY_missing_parameters(pkey: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15600 |
} |
| 15601 |
extern "C" { |
| 15602 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_size"] |
| 15603 |
pub fn EVP_PKEY_size(pkey: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15604 |
} |
| 15605 |
extern "C" { |
| 15606 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_bits"] |
| 15607 |
pub fn EVP_PKEY_bits(pkey: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15608 |
} |
| 15609 |
extern "C" { |
| 15610 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_id"] |
| 15611 |
pub fn EVP_PKEY_id(pkey: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15612 |
} |
| 15613 |
extern "C" { |
| 15614 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_pqdsa_get_type"] |
| 15615 |
pub fn EVP_PKEY_pqdsa_get_type(pkey: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15616 |
} |
| 15617 |
extern "C" { |
| 15618 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_get0_name"] |
| 15619 |
pub fn EVP_MD_get0_name(md: *const EVP_MD) -> *const ::std::os::raw::c_char; |
| 15620 |
} |
| 15621 |
extern "C" { |
| 15622 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_name"] |
| 15623 |
pub fn EVP_MD_name(md: *const EVP_MD) -> *const ::std::os::raw::c_char; |
| 15624 |
} |
| 15625 |
extern "C" { |
| 15626 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_get_pw_prompt"] |
| 15627 |
pub fn EVP_get_pw_prompt() -> *mut ::std::os::raw::c_char; |
| 15628 |
} |
| 15629 |
extern "C" { |
| 15630 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_read_pw_string"] |
| 15631 |
pub fn EVP_read_pw_string( |
| 15632 |
buf: *mut ::std::os::raw::c_char, |
| 15633 |
length: ::std::os::raw::c_int, |
| 15634 |
prompt: *const ::std::os::raw::c_char, |
| 15635 |
verify: ::std::os::raw::c_int, |
| 15636 |
) -> ::std::os::raw::c_int; |
| 15637 |
} |
| 15638 |
extern "C" { |
| 15639 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_read_pw_string_min"] |
| 15640 |
pub fn EVP_read_pw_string_min( |
| 15641 |
buf: *mut ::std::os::raw::c_char, |
| 15642 |
min_length: ::std::os::raw::c_int, |
| 15643 |
length: ::std::os::raw::c_int, |
| 15644 |
prompt: *const ::std::os::raw::c_char, |
| 15645 |
verify: ::std::os::raw::c_int, |
| 15646 |
) -> ::std::os::raw::c_int; |
| 15647 |
} |
| 15648 |
extern "C" { |
| 15649 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_set1_RSA"] |
| 15650 |
pub fn EVP_PKEY_set1_RSA(pkey: *mut EVP_PKEY, key: *mut RSA) -> ::std::os::raw::c_int; |
| 15651 |
} |
| 15652 |
extern "C" { |
| 15653 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_assign_RSA"] |
| 15654 |
pub fn EVP_PKEY_assign_RSA(pkey: *mut EVP_PKEY, key: *mut RSA) -> ::std::os::raw::c_int; |
| 15655 |
} |
| 15656 |
extern "C" { |
| 15657 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get0_RSA"] |
| 15658 |
pub fn EVP_PKEY_get0_RSA(pkey: *const EVP_PKEY) -> *mut RSA; |
| 15659 |
} |
| 15660 |
extern "C" { |
| 15661 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get1_RSA"] |
| 15662 |
pub fn EVP_PKEY_get1_RSA(pkey: *const EVP_PKEY) -> *mut RSA; |
| 15663 |
} |
| 15664 |
extern "C" { |
| 15665 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_set1_DSA"] |
| 15666 |
pub fn EVP_PKEY_set1_DSA(pkey: *mut EVP_PKEY, key: *mut DSA) -> ::std::os::raw::c_int; |
| 15667 |
} |
| 15668 |
extern "C" { |
| 15669 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_assign_DSA"] |
| 15670 |
pub fn EVP_PKEY_assign_DSA(pkey: *mut EVP_PKEY, key: *mut DSA) -> ::std::os::raw::c_int; |
| 15671 |
} |
| 15672 |
extern "C" { |
| 15673 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get0_DSA"] |
| 15674 |
pub fn EVP_PKEY_get0_DSA(pkey: *const EVP_PKEY) -> *mut DSA; |
| 15675 |
} |
| 15676 |
extern "C" { |
| 15677 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get1_DSA"] |
| 15678 |
pub fn EVP_PKEY_get1_DSA(pkey: *const EVP_PKEY) -> *mut DSA; |
| 15679 |
} |
| 15680 |
extern "C" { |
| 15681 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_set1_EC_KEY"] |
| 15682 |
pub fn EVP_PKEY_set1_EC_KEY(pkey: *mut EVP_PKEY, key: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 15683 |
} |
| 15684 |
extern "C" { |
| 15685 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_assign_EC_KEY"] |
| 15686 |
pub fn EVP_PKEY_assign_EC_KEY(pkey: *mut EVP_PKEY, key: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 15687 |
} |
| 15688 |
extern "C" { |
| 15689 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get0_EC_KEY"] |
| 15690 |
pub fn EVP_PKEY_get0_EC_KEY(pkey: *const EVP_PKEY) -> *mut EC_KEY; |
| 15691 |
} |
| 15692 |
extern "C" { |
| 15693 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get1_EC_KEY"] |
| 15694 |
pub fn EVP_PKEY_get1_EC_KEY(pkey: *const EVP_PKEY) -> *mut EC_KEY; |
| 15695 |
} |
| 15696 |
extern "C" { |
| 15697 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_set1_DH"] |
| 15698 |
pub fn EVP_PKEY_set1_DH(pkey: *mut EVP_PKEY, key: *mut DH) -> ::std::os::raw::c_int; |
| 15699 |
} |
| 15700 |
extern "C" { |
| 15701 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_assign_DH"] |
| 15702 |
pub fn EVP_PKEY_assign_DH(pkey: *mut EVP_PKEY, key: *mut DH) -> ::std::os::raw::c_int; |
| 15703 |
} |
| 15704 |
extern "C" { |
| 15705 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get0_DH"] |
| 15706 |
pub fn EVP_PKEY_get0_DH(pkey: *const EVP_PKEY) -> *mut DH; |
| 15707 |
} |
| 15708 |
extern "C" { |
| 15709 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get1_DH"] |
| 15710 |
pub fn EVP_PKEY_get1_DH(pkey: *const EVP_PKEY) -> *mut DH; |
| 15711 |
} |
| 15712 |
extern "C" { |
| 15713 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_dh_paramgen_prime_len"] |
| 15714 |
pub fn EVP_PKEY_CTX_set_dh_paramgen_prime_len( |
| 15715 |
ctx: *mut EVP_PKEY_CTX, |
| 15716 |
pbits: ::std::os::raw::c_int, |
| 15717 |
) -> ::std::os::raw::c_int; |
| 15718 |
} |
| 15719 |
extern "C" { |
| 15720 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_dh_paramgen_generator"] |
| 15721 |
pub fn EVP_PKEY_CTX_set_dh_paramgen_generator( |
| 15722 |
ctx: *mut EVP_PKEY_CTX, |
| 15723 |
gen_: ::std::os::raw::c_int, |
| 15724 |
) -> ::std::os::raw::c_int; |
| 15725 |
} |
| 15726 |
extern "C" { |
| 15727 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_set_type"] |
| 15728 |
pub fn EVP_PKEY_set_type( |
| 15729 |
pkey: *mut EVP_PKEY, |
| 15730 |
type_: ::std::os::raw::c_int, |
| 15731 |
) -> ::std::os::raw::c_int; |
| 15732 |
} |
| 15733 |
extern "C" { |
| 15734 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_set_type_str"] |
| 15735 |
pub fn EVP_PKEY_set_type_str( |
| 15736 |
pkey: *mut EVP_PKEY, |
| 15737 |
str_: *const ::std::os::raw::c_char, |
| 15738 |
len: ::std::os::raw::c_int, |
| 15739 |
) -> ::std::os::raw::c_int; |
| 15740 |
} |
| 15741 |
extern "C" { |
| 15742 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_cmp_parameters"] |
| 15743 |
pub fn EVP_PKEY_cmp_parameters(a: *const EVP_PKEY, b: *const EVP_PKEY) |
| 15744 |
-> ::std::os::raw::c_int; |
| 15745 |
} |
| 15746 |
extern "C" { |
| 15747 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_parse_public_key"] |
| 15748 |
pub fn EVP_parse_public_key(cbs: *mut CBS) -> *mut EVP_PKEY; |
| 15749 |
} |
| 15750 |
extern "C" { |
| 15751 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_marshal_public_key"] |
| 15752 |
pub fn EVP_marshal_public_key(cbb: *mut CBB, key: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15753 |
} |
| 15754 |
extern "C" { |
| 15755 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_parse_private_key"] |
| 15756 |
pub fn EVP_parse_private_key(cbs: *mut CBS) -> *mut EVP_PKEY; |
| 15757 |
} |
| 15758 |
extern "C" { |
| 15759 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_marshal_private_key"] |
| 15760 |
pub fn EVP_marshal_private_key(cbb: *mut CBB, key: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 15761 |
} |
| 15762 |
extern "C" { |
| 15763 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_marshal_private_key_v2"] |
| 15764 |
pub fn EVP_marshal_private_key_v2(cbb: *mut CBB, key: *const EVP_PKEY) |
| 15765 |
-> ::std::os::raw::c_int; |
| 15766 |
} |
| 15767 |
extern "C" { |
| 15768 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_new_raw_private_key"] |
| 15769 |
pub fn EVP_PKEY_new_raw_private_key( |
| 15770 |
type_: ::std::os::raw::c_int, |
| 15771 |
unused: *mut ENGINE, |
| 15772 |
in_: *const u8, |
| 15773 |
len: usize, |
| 15774 |
) -> *mut EVP_PKEY; |
| 15775 |
} |
| 15776 |
extern "C" { |
| 15777 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_new_raw_public_key"] |
| 15778 |
pub fn EVP_PKEY_new_raw_public_key( |
| 15779 |
type_: ::std::os::raw::c_int, |
| 15780 |
unused: *mut ENGINE, |
| 15781 |
in_: *const u8, |
| 15782 |
len: usize, |
| 15783 |
) -> *mut EVP_PKEY; |
| 15784 |
} |
| 15785 |
extern "C" { |
| 15786 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get_raw_private_key"] |
| 15787 |
pub fn EVP_PKEY_get_raw_private_key( |
| 15788 |
pkey: *const EVP_PKEY, |
| 15789 |
out: *mut u8, |
| 15790 |
out_len: *mut usize, |
| 15791 |
) -> ::std::os::raw::c_int; |
| 15792 |
} |
| 15793 |
extern "C" { |
| 15794 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get_raw_public_key"] |
| 15795 |
pub fn EVP_PKEY_get_raw_public_key( |
| 15796 |
pkey: *const EVP_PKEY, |
| 15797 |
out: *mut u8, |
| 15798 |
out_len: *mut usize, |
| 15799 |
) -> ::std::os::raw::c_int; |
| 15800 |
} |
| 15801 |
extern "C" { |
| 15802 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestSignInit"] |
| 15803 |
pub fn EVP_DigestSignInit( |
| 15804 |
ctx: *mut EVP_MD_CTX, |
| 15805 |
pctx: *mut *mut EVP_PKEY_CTX, |
| 15806 |
type_: *const EVP_MD, |
| 15807 |
e: *mut ENGINE, |
| 15808 |
pkey: *mut EVP_PKEY, |
| 15809 |
) -> ::std::os::raw::c_int; |
| 15810 |
} |
| 15811 |
extern "C" { |
| 15812 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestSignUpdate"] |
| 15813 |
pub fn EVP_DigestSignUpdate( |
| 15814 |
ctx: *mut EVP_MD_CTX, |
| 15815 |
data: *const ::std::os::raw::c_void, |
| 15816 |
len: usize, |
| 15817 |
) -> ::std::os::raw::c_int; |
| 15818 |
} |
| 15819 |
extern "C" { |
| 15820 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestSignFinal"] |
| 15821 |
pub fn EVP_DigestSignFinal( |
| 15822 |
ctx: *mut EVP_MD_CTX, |
| 15823 |
out_sig: *mut u8, |
| 15824 |
out_sig_len: *mut usize, |
| 15825 |
) -> ::std::os::raw::c_int; |
| 15826 |
} |
| 15827 |
extern "C" { |
| 15828 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestSign"] |
| 15829 |
pub fn EVP_DigestSign( |
| 15830 |
ctx: *mut EVP_MD_CTX, |
| 15831 |
out_sig: *mut u8, |
| 15832 |
out_sig_len: *mut usize, |
| 15833 |
data: *const u8, |
| 15834 |
data_len: usize, |
| 15835 |
) -> ::std::os::raw::c_int; |
| 15836 |
} |
| 15837 |
extern "C" { |
| 15838 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestVerifyInit"] |
| 15839 |
pub fn EVP_DigestVerifyInit( |
| 15840 |
ctx: *mut EVP_MD_CTX, |
| 15841 |
pctx: *mut *mut EVP_PKEY_CTX, |
| 15842 |
type_: *const EVP_MD, |
| 15843 |
e: *mut ENGINE, |
| 15844 |
pkey: *mut EVP_PKEY, |
| 15845 |
) -> ::std::os::raw::c_int; |
| 15846 |
} |
| 15847 |
extern "C" { |
| 15848 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestVerifyUpdate"] |
| 15849 |
pub fn EVP_DigestVerifyUpdate( |
| 15850 |
ctx: *mut EVP_MD_CTX, |
| 15851 |
data: *const ::std::os::raw::c_void, |
| 15852 |
len: usize, |
| 15853 |
) -> ::std::os::raw::c_int; |
| 15854 |
} |
| 15855 |
extern "C" { |
| 15856 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestVerifyFinal"] |
| 15857 |
pub fn EVP_DigestVerifyFinal( |
| 15858 |
ctx: *mut EVP_MD_CTX, |
| 15859 |
sig: *const u8, |
| 15860 |
sig_len: usize, |
| 15861 |
) -> ::std::os::raw::c_int; |
| 15862 |
} |
| 15863 |
extern "C" { |
| 15864 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_DigestVerify"] |
| 15865 |
pub fn EVP_DigestVerify( |
| 15866 |
ctx: *mut EVP_MD_CTX, |
| 15867 |
sig: *const u8, |
| 15868 |
sig_len: usize, |
| 15869 |
data: *const u8, |
| 15870 |
len: usize, |
| 15871 |
) -> ::std::os::raw::c_int; |
| 15872 |
} |
| 15873 |
extern "C" { |
| 15874 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_SignInit_ex"] |
| 15875 |
pub fn EVP_SignInit_ex( |
| 15876 |
ctx: *mut EVP_MD_CTX, |
| 15877 |
type_: *const EVP_MD, |
| 15878 |
impl_: *mut ENGINE, |
| 15879 |
) -> ::std::os::raw::c_int; |
| 15880 |
} |
| 15881 |
extern "C" { |
| 15882 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_SignInit"] |
| 15883 |
pub fn EVP_SignInit(ctx: *mut EVP_MD_CTX, type_: *const EVP_MD) -> ::std::os::raw::c_int; |
| 15884 |
} |
| 15885 |
extern "C" { |
| 15886 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_SignUpdate"] |
| 15887 |
pub fn EVP_SignUpdate( |
| 15888 |
ctx: *mut EVP_MD_CTX, |
| 15889 |
data: *const ::std::os::raw::c_void, |
| 15890 |
len: usize, |
| 15891 |
) -> ::std::os::raw::c_int; |
| 15892 |
} |
| 15893 |
extern "C" { |
| 15894 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_SignFinal"] |
| 15895 |
pub fn EVP_SignFinal( |
| 15896 |
ctx: *const EVP_MD_CTX, |
| 15897 |
sig: *mut u8, |
| 15898 |
out_sig_len: *mut ::std::os::raw::c_uint, |
| 15899 |
pkey: *mut EVP_PKEY, |
| 15900 |
) -> ::std::os::raw::c_int; |
| 15901 |
} |
| 15902 |
extern "C" { |
| 15903 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_VerifyInit_ex"] |
| 15904 |
pub fn EVP_VerifyInit_ex( |
| 15905 |
ctx: *mut EVP_MD_CTX, |
| 15906 |
type_: *const EVP_MD, |
| 15907 |
impl_: *mut ENGINE, |
| 15908 |
) -> ::std::os::raw::c_int; |
| 15909 |
} |
| 15910 |
extern "C" { |
| 15911 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_VerifyInit"] |
| 15912 |
pub fn EVP_VerifyInit(ctx: *mut EVP_MD_CTX, type_: *const EVP_MD) -> ::std::os::raw::c_int; |
| 15913 |
} |
| 15914 |
extern "C" { |
| 15915 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_VerifyUpdate"] |
| 15916 |
pub fn EVP_VerifyUpdate( |
| 15917 |
ctx: *mut EVP_MD_CTX, |
| 15918 |
data: *const ::std::os::raw::c_void, |
| 15919 |
len: usize, |
| 15920 |
) -> ::std::os::raw::c_int; |
| 15921 |
} |
| 15922 |
extern "C" { |
| 15923 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_VerifyFinal"] |
| 15924 |
pub fn EVP_VerifyFinal( |
| 15925 |
ctx: *mut EVP_MD_CTX, |
| 15926 |
sig: *const u8, |
| 15927 |
sig_len: usize, |
| 15928 |
pkey: *mut EVP_PKEY, |
| 15929 |
) -> ::std::os::raw::c_int; |
| 15930 |
} |
| 15931 |
extern "C" { |
| 15932 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_print_public"] |
| 15933 |
pub fn EVP_PKEY_print_public( |
| 15934 |
out: *mut BIO, |
| 15935 |
pkey: *const EVP_PKEY, |
| 15936 |
indent: ::std::os::raw::c_int, |
| 15937 |
pctx: *mut ASN1_PCTX, |
| 15938 |
) -> ::std::os::raw::c_int; |
| 15939 |
} |
| 15940 |
extern "C" { |
| 15941 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_print_private"] |
| 15942 |
pub fn EVP_PKEY_print_private( |
| 15943 |
out: *mut BIO, |
| 15944 |
pkey: *const EVP_PKEY, |
| 15945 |
indent: ::std::os::raw::c_int, |
| 15946 |
pctx: *mut ASN1_PCTX, |
| 15947 |
) -> ::std::os::raw::c_int; |
| 15948 |
} |
| 15949 |
extern "C" { |
| 15950 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_print_params"] |
| 15951 |
pub fn EVP_PKEY_print_params( |
| 15952 |
out: *mut BIO, |
| 15953 |
pkey: *const EVP_PKEY, |
| 15954 |
indent: ::std::os::raw::c_int, |
| 15955 |
pctx: *mut ASN1_PCTX, |
| 15956 |
) -> ::std::os::raw::c_int; |
| 15957 |
} |
| 15958 |
extern "C" { |
| 15959 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS5_PBKDF2_HMAC"] |
| 15960 |
pub fn PKCS5_PBKDF2_HMAC( |
| 15961 |
password: *const ::std::os::raw::c_char, |
| 15962 |
password_len: usize, |
| 15963 |
salt: *const u8, |
| 15964 |
salt_len: usize, |
| 15965 |
iterations: u32, |
| 15966 |
digest: *const EVP_MD, |
| 15967 |
key_len: usize, |
| 15968 |
out_key: *mut u8, |
| 15969 |
) -> ::std::os::raw::c_int; |
| 15970 |
} |
| 15971 |
extern "C" { |
| 15972 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS5_PBKDF2_HMAC_SHA1"] |
| 15973 |
pub fn PKCS5_PBKDF2_HMAC_SHA1( |
| 15974 |
password: *const ::std::os::raw::c_char, |
| 15975 |
password_len: usize, |
| 15976 |
salt: *const u8, |
| 15977 |
salt_len: usize, |
| 15978 |
iterations: u32, |
| 15979 |
key_len: usize, |
| 15980 |
out_key: *mut u8, |
| 15981 |
) -> ::std::os::raw::c_int; |
| 15982 |
} |
| 15983 |
extern "C" { |
| 15984 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PBE_scrypt"] |
| 15985 |
pub fn EVP_PBE_scrypt( |
| 15986 |
password: *const ::std::os::raw::c_char, |
| 15987 |
password_len: usize, |
| 15988 |
salt: *const u8, |
| 15989 |
salt_len: usize, |
| 15990 |
N: u64, |
| 15991 |
r: u64, |
| 15992 |
p: u64, |
| 15993 |
max_mem: usize, |
| 15994 |
out_key: *mut u8, |
| 15995 |
key_len: usize, |
| 15996 |
) -> ::std::os::raw::c_int; |
| 15997 |
} |
| 15998 |
extern "C" { |
| 15999 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_new"] |
| 16000 |
pub fn EVP_PKEY_CTX_new(pkey: *mut EVP_PKEY, e: *mut ENGINE) -> *mut EVP_PKEY_CTX; |
| 16001 |
} |
| 16002 |
extern "C" { |
| 16003 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_new_id"] |
| 16004 |
pub fn EVP_PKEY_CTX_new_id(id: ::std::os::raw::c_int, e: *mut ENGINE) -> *mut EVP_PKEY_CTX; |
| 16005 |
} |
| 16006 |
extern "C" { |
| 16007 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_free"] |
| 16008 |
pub fn EVP_PKEY_CTX_free(ctx: *mut EVP_PKEY_CTX); |
| 16009 |
} |
| 16010 |
extern "C" { |
| 16011 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_dup"] |
| 16012 |
pub fn EVP_PKEY_CTX_dup(ctx: *mut EVP_PKEY_CTX) -> *mut EVP_PKEY_CTX; |
| 16013 |
} |
| 16014 |
extern "C" { |
| 16015 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get0_pkey"] |
| 16016 |
pub fn EVP_PKEY_CTX_get0_pkey(ctx: *mut EVP_PKEY_CTX) -> *mut EVP_PKEY; |
| 16017 |
} |
| 16018 |
extern "C" { |
| 16019 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_sign_init"] |
| 16020 |
pub fn EVP_PKEY_sign_init(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16021 |
} |
| 16022 |
extern "C" { |
| 16023 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_sign"] |
| 16024 |
pub fn EVP_PKEY_sign( |
| 16025 |
ctx: *mut EVP_PKEY_CTX, |
| 16026 |
sig: *mut u8, |
| 16027 |
sig_len: *mut usize, |
| 16028 |
digest: *const u8, |
| 16029 |
digest_len: usize, |
| 16030 |
) -> ::std::os::raw::c_int; |
| 16031 |
} |
| 16032 |
extern "C" { |
| 16033 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_verify_init"] |
| 16034 |
pub fn EVP_PKEY_verify_init(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16035 |
} |
| 16036 |
extern "C" { |
| 16037 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_verify"] |
| 16038 |
pub fn EVP_PKEY_verify( |
| 16039 |
ctx: *mut EVP_PKEY_CTX, |
| 16040 |
sig: *const u8, |
| 16041 |
sig_len: usize, |
| 16042 |
digest: *const u8, |
| 16043 |
digest_len: usize, |
| 16044 |
) -> ::std::os::raw::c_int; |
| 16045 |
} |
| 16046 |
extern "C" { |
| 16047 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_encrypt_init"] |
| 16048 |
pub fn EVP_PKEY_encrypt_init(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16049 |
} |
| 16050 |
extern "C" { |
| 16051 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_encrypt"] |
| 16052 |
pub fn EVP_PKEY_encrypt( |
| 16053 |
ctx: *mut EVP_PKEY_CTX, |
| 16054 |
out: *mut u8, |
| 16055 |
out_len: *mut usize, |
| 16056 |
in_: *const u8, |
| 16057 |
in_len: usize, |
| 16058 |
) -> ::std::os::raw::c_int; |
| 16059 |
} |
| 16060 |
extern "C" { |
| 16061 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_decrypt_init"] |
| 16062 |
pub fn EVP_PKEY_decrypt_init(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16063 |
} |
| 16064 |
extern "C" { |
| 16065 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_decrypt"] |
| 16066 |
pub fn EVP_PKEY_decrypt( |
| 16067 |
ctx: *mut EVP_PKEY_CTX, |
| 16068 |
out: *mut u8, |
| 16069 |
out_len: *mut usize, |
| 16070 |
in_: *const u8, |
| 16071 |
in_len: usize, |
| 16072 |
) -> ::std::os::raw::c_int; |
| 16073 |
} |
| 16074 |
extern "C" { |
| 16075 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_verify_recover_init"] |
| 16076 |
pub fn EVP_PKEY_verify_recover_init(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16077 |
} |
| 16078 |
extern "C" { |
| 16079 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_verify_recover"] |
| 16080 |
pub fn EVP_PKEY_verify_recover( |
| 16081 |
ctx: *mut EVP_PKEY_CTX, |
| 16082 |
out: *mut u8, |
| 16083 |
out_len: *mut usize, |
| 16084 |
sig: *const u8, |
| 16085 |
siglen: usize, |
| 16086 |
) -> ::std::os::raw::c_int; |
| 16087 |
} |
| 16088 |
extern "C" { |
| 16089 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_derive_init"] |
| 16090 |
pub fn EVP_PKEY_derive_init(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16091 |
} |
| 16092 |
extern "C" { |
| 16093 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_derive_set_peer"] |
| 16094 |
pub fn EVP_PKEY_derive_set_peer( |
| 16095 |
ctx: *mut EVP_PKEY_CTX, |
| 16096 |
peer: *mut EVP_PKEY, |
| 16097 |
) -> ::std::os::raw::c_int; |
| 16098 |
} |
| 16099 |
extern "C" { |
| 16100 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_derive"] |
| 16101 |
pub fn EVP_PKEY_derive( |
| 16102 |
ctx: *mut EVP_PKEY_CTX, |
| 16103 |
key: *mut u8, |
| 16104 |
out_key_len: *mut usize, |
| 16105 |
) -> ::std::os::raw::c_int; |
| 16106 |
} |
| 16107 |
extern "C" { |
| 16108 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_check"] |
| 16109 |
pub fn EVP_PKEY_check(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16110 |
} |
| 16111 |
extern "C" { |
| 16112 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_public_check"] |
| 16113 |
pub fn EVP_PKEY_public_check(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16114 |
} |
| 16115 |
extern "C" { |
| 16116 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_param_check"] |
| 16117 |
pub fn EVP_PKEY_param_check(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16118 |
} |
| 16119 |
extern "C" { |
| 16120 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_keygen_init"] |
| 16121 |
pub fn EVP_PKEY_keygen_init(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16122 |
} |
| 16123 |
extern "C" { |
| 16124 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_keygen"] |
| 16125 |
pub fn EVP_PKEY_keygen( |
| 16126 |
ctx: *mut EVP_PKEY_CTX, |
| 16127 |
out_pkey: *mut *mut EVP_PKEY, |
| 16128 |
) -> ::std::os::raw::c_int; |
| 16129 |
} |
| 16130 |
extern "C" { |
| 16131 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_encapsulate"] |
| 16132 |
pub fn EVP_PKEY_encapsulate( |
| 16133 |
ctx: *mut EVP_PKEY_CTX, |
| 16134 |
ciphertext: *mut u8, |
| 16135 |
ciphertext_len: *mut usize, |
| 16136 |
shared_secret: *mut u8, |
| 16137 |
shared_secret_len: *mut usize, |
| 16138 |
) -> ::std::os::raw::c_int; |
| 16139 |
} |
| 16140 |
extern "C" { |
| 16141 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_decapsulate"] |
| 16142 |
pub fn EVP_PKEY_decapsulate( |
| 16143 |
ctx: *mut EVP_PKEY_CTX, |
| 16144 |
shared_secret: *mut u8, |
| 16145 |
shared_secret_len: *mut usize, |
| 16146 |
ciphertext: *const u8, |
| 16147 |
ciphertext_len: usize, |
| 16148 |
) -> ::std::os::raw::c_int; |
| 16149 |
} |
| 16150 |
extern "C" { |
| 16151 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_paramgen_init"] |
| 16152 |
pub fn EVP_PKEY_paramgen_init(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int; |
| 16153 |
} |
| 16154 |
extern "C" { |
| 16155 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_paramgen"] |
| 16156 |
pub fn EVP_PKEY_paramgen( |
| 16157 |
ctx: *mut EVP_PKEY_CTX, |
| 16158 |
out_pkey: *mut *mut EVP_PKEY, |
| 16159 |
) -> ::std::os::raw::c_int; |
| 16160 |
} |
| 16161 |
extern "C" { |
| 16162 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_signature_md"] |
| 16163 |
pub fn EVP_PKEY_CTX_set_signature_md( |
| 16164 |
ctx: *mut EVP_PKEY_CTX, |
| 16165 |
md: *const EVP_MD, |
| 16166 |
) -> ::std::os::raw::c_int; |
| 16167 |
} |
| 16168 |
extern "C" { |
| 16169 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get_signature_md"] |
| 16170 |
pub fn EVP_PKEY_CTX_get_signature_md( |
| 16171 |
ctx: *mut EVP_PKEY_CTX, |
| 16172 |
out_md: *mut *const EVP_MD, |
| 16173 |
) -> ::std::os::raw::c_int; |
| 16174 |
} |
| 16175 |
extern "C" { |
| 16176 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set1_signature_context_string"] |
| 16177 |
pub fn EVP_PKEY_CTX_set1_signature_context_string( |
| 16178 |
ctx: *mut EVP_PKEY_CTX, |
| 16179 |
context: *const u8, |
| 16180 |
context_len: usize, |
| 16181 |
) -> ::std::os::raw::c_int; |
| 16182 |
} |
| 16183 |
extern "C" { |
| 16184 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_signature_context"] |
| 16185 |
pub fn EVP_PKEY_CTX_set_signature_context( |
| 16186 |
ctx: *mut EVP_PKEY_CTX, |
| 16187 |
context: *const u8, |
| 16188 |
context_len: usize, |
| 16189 |
) -> ::std::os::raw::c_int; |
| 16190 |
} |
| 16191 |
extern "C" { |
| 16192 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get0_signature_context"] |
| 16193 |
pub fn EVP_PKEY_CTX_get0_signature_context( |
| 16194 |
ctx: *mut EVP_PKEY_CTX, |
| 16195 |
context: *mut *const u8, |
| 16196 |
context_len: *mut usize, |
| 16197 |
) -> ::std::os::raw::c_int; |
| 16198 |
} |
| 16199 |
extern "C" { |
| 16200 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_padding"] |
| 16201 |
pub fn EVP_PKEY_CTX_set_rsa_padding( |
| 16202 |
ctx: *mut EVP_PKEY_CTX, |
| 16203 |
padding: ::std::os::raw::c_int, |
| 16204 |
) -> ::std::os::raw::c_int; |
| 16205 |
} |
| 16206 |
extern "C" { |
| 16207 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get_rsa_padding"] |
| 16208 |
pub fn EVP_PKEY_CTX_get_rsa_padding( |
| 16209 |
ctx: *mut EVP_PKEY_CTX, |
| 16210 |
out_padding: *mut ::std::os::raw::c_int, |
| 16211 |
) -> ::std::os::raw::c_int; |
| 16212 |
} |
| 16213 |
extern "C" { |
| 16214 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_pss_saltlen"] |
| 16215 |
pub fn EVP_PKEY_CTX_set_rsa_pss_saltlen( |
| 16216 |
ctx: *mut EVP_PKEY_CTX, |
| 16217 |
salt_len: ::std::os::raw::c_int, |
| 16218 |
) -> ::std::os::raw::c_int; |
| 16219 |
} |
| 16220 |
extern "C" { |
| 16221 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get_rsa_pss_saltlen"] |
| 16222 |
pub fn EVP_PKEY_CTX_get_rsa_pss_saltlen( |
| 16223 |
ctx: *mut EVP_PKEY_CTX, |
| 16224 |
out_salt_len: *mut ::std::os::raw::c_int, |
| 16225 |
) -> ::std::os::raw::c_int; |
| 16226 |
} |
| 16227 |
extern "C" { |
| 16228 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_keygen_bits"] |
| 16229 |
pub fn EVP_PKEY_CTX_set_rsa_keygen_bits( |
| 16230 |
ctx: *mut EVP_PKEY_CTX, |
| 16231 |
bits: ::std::os::raw::c_int, |
| 16232 |
) -> ::std::os::raw::c_int; |
| 16233 |
} |
| 16234 |
extern "C" { |
| 16235 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_keygen_pubexp"] |
| 16236 |
pub fn EVP_PKEY_CTX_set_rsa_keygen_pubexp( |
| 16237 |
ctx: *mut EVP_PKEY_CTX, |
| 16238 |
e: *mut BIGNUM, |
| 16239 |
) -> ::std::os::raw::c_int; |
| 16240 |
} |
| 16241 |
extern "C" { |
| 16242 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_oaep_md"] |
| 16243 |
pub fn EVP_PKEY_CTX_set_rsa_oaep_md( |
| 16244 |
ctx: *mut EVP_PKEY_CTX, |
| 16245 |
md: *const EVP_MD, |
| 16246 |
) -> ::std::os::raw::c_int; |
| 16247 |
} |
| 16248 |
extern "C" { |
| 16249 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get_rsa_oaep_md"] |
| 16250 |
pub fn EVP_PKEY_CTX_get_rsa_oaep_md( |
| 16251 |
ctx: *mut EVP_PKEY_CTX, |
| 16252 |
out_md: *mut *const EVP_MD, |
| 16253 |
) -> ::std::os::raw::c_int; |
| 16254 |
} |
| 16255 |
extern "C" { |
| 16256 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_mgf1_md"] |
| 16257 |
pub fn EVP_PKEY_CTX_set_rsa_mgf1_md( |
| 16258 |
ctx: *mut EVP_PKEY_CTX, |
| 16259 |
md: *const EVP_MD, |
| 16260 |
) -> ::std::os::raw::c_int; |
| 16261 |
} |
| 16262 |
extern "C" { |
| 16263 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get_rsa_mgf1_md"] |
| 16264 |
pub fn EVP_PKEY_CTX_get_rsa_mgf1_md( |
| 16265 |
ctx: *mut EVP_PKEY_CTX, |
| 16266 |
out_md: *mut *const EVP_MD, |
| 16267 |
) -> ::std::os::raw::c_int; |
| 16268 |
} |
| 16269 |
extern "C" { |
| 16270 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set0_rsa_oaep_label"] |
| 16271 |
pub fn EVP_PKEY_CTX_set0_rsa_oaep_label( |
| 16272 |
ctx: *mut EVP_PKEY_CTX, |
| 16273 |
label: *mut u8, |
| 16274 |
label_len: usize, |
| 16275 |
) -> ::std::os::raw::c_int; |
| 16276 |
} |
| 16277 |
extern "C" { |
| 16278 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get0_rsa_oaep_label"] |
| 16279 |
pub fn EVP_PKEY_CTX_get0_rsa_oaep_label( |
| 16280 |
ctx: *mut EVP_PKEY_CTX, |
| 16281 |
out_label: *mut *const u8, |
| 16282 |
) -> ::std::os::raw::c_int; |
| 16283 |
} |
| 16284 |
extern "C" { |
| 16285 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_ec_paramgen_curve_nid"] |
| 16286 |
pub fn EVP_PKEY_CTX_set_ec_paramgen_curve_nid( |
| 16287 |
ctx: *mut EVP_PKEY_CTX, |
| 16288 |
nid: ::std::os::raw::c_int, |
| 16289 |
) -> ::std::os::raw::c_int; |
| 16290 |
} |
| 16291 |
extern "C" { |
| 16292 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_kem_set_params"] |
| 16293 |
pub fn EVP_PKEY_CTX_kem_set_params( |
| 16294 |
ctx: *mut EVP_PKEY_CTX, |
| 16295 |
nid: ::std::os::raw::c_int, |
| 16296 |
) -> ::std::os::raw::c_int; |
| 16297 |
} |
| 16298 |
extern "C" { |
| 16299 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_kem_new_raw_public_key"] |
| 16300 |
pub fn EVP_PKEY_kem_new_raw_public_key( |
| 16301 |
nid: ::std::os::raw::c_int, |
| 16302 |
in_: *const u8, |
| 16303 |
len: usize, |
| 16304 |
) -> *mut EVP_PKEY; |
| 16305 |
} |
| 16306 |
extern "C" { |
| 16307 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_kem_new_raw_secret_key"] |
| 16308 |
pub fn EVP_PKEY_kem_new_raw_secret_key( |
| 16309 |
nid: ::std::os::raw::c_int, |
| 16310 |
in_: *const u8, |
| 16311 |
len: usize, |
| 16312 |
) -> *mut EVP_PKEY; |
| 16313 |
} |
| 16314 |
extern "C" { |
| 16315 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_kem_new_raw_key"] |
| 16316 |
pub fn EVP_PKEY_kem_new_raw_key( |
| 16317 |
nid: ::std::os::raw::c_int, |
| 16318 |
in_public: *const u8, |
| 16319 |
len_public: usize, |
| 16320 |
in_secret: *const u8, |
| 16321 |
len_secret: usize, |
| 16322 |
) -> *mut EVP_PKEY; |
| 16323 |
} |
| 16324 |
extern "C" { |
| 16325 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_kem_check_key"] |
| 16326 |
pub fn EVP_PKEY_kem_check_key(key: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 16327 |
} |
| 16328 |
extern "C" { |
| 16329 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_kem_get_type"] |
| 16330 |
pub fn EVP_PKEY_kem_get_type(pkey: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 16331 |
} |
| 16332 |
extern "C" { |
| 16333 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_pqdsa_set_params"] |
| 16334 |
pub fn EVP_PKEY_CTX_pqdsa_set_params( |
| 16335 |
ctx: *mut EVP_PKEY_CTX, |
| 16336 |
nid: ::std::os::raw::c_int, |
| 16337 |
) -> ::std::os::raw::c_int; |
| 16338 |
} |
| 16339 |
extern "C" { |
| 16340 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_pqdsa_new_raw_public_key"] |
| 16341 |
pub fn EVP_PKEY_pqdsa_new_raw_public_key( |
| 16342 |
nid: ::std::os::raw::c_int, |
| 16343 |
in_: *const u8, |
| 16344 |
len: usize, |
| 16345 |
) -> *mut EVP_PKEY; |
| 16346 |
} |
| 16347 |
extern "C" { |
| 16348 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_pqdsa_new_raw_private_key"] |
| 16349 |
pub fn EVP_PKEY_pqdsa_new_raw_private_key( |
| 16350 |
nid: ::std::os::raw::c_int, |
| 16351 |
in_: *const u8, |
| 16352 |
len: usize, |
| 16353 |
) -> *mut EVP_PKEY; |
| 16354 |
} |
| 16355 |
extern "C" { |
| 16356 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_dh_pad"] |
| 16357 |
pub fn EVP_PKEY_CTX_set_dh_pad( |
| 16358 |
ctx: *mut EVP_PKEY_CTX, |
| 16359 |
pad: ::std::os::raw::c_int, |
| 16360 |
) -> ::std::os::raw::c_int; |
| 16361 |
} |
| 16362 |
extern "C" { |
| 16363 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_asn1_get_count"] |
| 16364 |
pub fn EVP_PKEY_asn1_get_count() -> ::std::os::raw::c_int; |
| 16365 |
} |
| 16366 |
extern "C" { |
| 16367 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_asn1_get0"] |
| 16368 |
pub fn EVP_PKEY_asn1_get0(idx: ::std::os::raw::c_int) -> *const EVP_PKEY_ASN1_METHOD; |
| 16369 |
} |
| 16370 |
extern "C" { |
| 16371 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_asn1_find"] |
| 16372 |
pub fn EVP_PKEY_asn1_find( |
| 16373 |
_pe: *mut *mut ENGINE, |
| 16374 |
type_: ::std::os::raw::c_int, |
| 16375 |
) -> *const EVP_PKEY_ASN1_METHOD; |
| 16376 |
} |
| 16377 |
extern "C" { |
| 16378 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_asn1_find_str"] |
| 16379 |
pub fn EVP_PKEY_asn1_find_str( |
| 16380 |
_pe: *mut *mut ENGINE, |
| 16381 |
name: *const ::std::os::raw::c_char, |
| 16382 |
len: ::std::os::raw::c_int, |
| 16383 |
) -> *const EVP_PKEY_ASN1_METHOD; |
| 16384 |
} |
| 16385 |
extern "C" { |
| 16386 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_asn1_get0_info"] |
| 16387 |
pub fn EVP_PKEY_asn1_get0_info( |
| 16388 |
ppkey_id: *mut ::std::os::raw::c_int, |
| 16389 |
pkey_base_id: *mut ::std::os::raw::c_int, |
| 16390 |
ppkey_flags: *mut ::std::os::raw::c_int, |
| 16391 |
pinfo: *mut *const ::std::os::raw::c_char, |
| 16392 |
ppem_str: *mut *const ::std::os::raw::c_char, |
| 16393 |
ameth: *const EVP_PKEY_ASN1_METHOD, |
| 16394 |
) -> ::std::os::raw::c_int; |
| 16395 |
} |
| 16396 |
extern "C" { |
| 16397 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get_private_seed"] |
| 16398 |
pub fn EVP_PKEY_get_private_seed( |
| 16399 |
key: *const EVP_PKEY, |
| 16400 |
out: *mut u8, |
| 16401 |
out_len: *mut usize, |
| 16402 |
) -> ::std::os::raw::c_int; |
| 16403 |
} |
| 16404 |
pub type EVP_PKEY_gen_cb = |
| 16405 |
::std::option::Option<unsafe extern "C" fn(ctx: *mut EVP_PKEY_CTX) -> ::std::os::raw::c_int>; |
| 16406 |
extern "C" { |
| 16407 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_cb"] |
| 16408 |
pub fn EVP_PKEY_CTX_set_cb(ctx: *mut EVP_PKEY_CTX, cb: EVP_PKEY_gen_cb); |
| 16409 |
} |
| 16410 |
extern "C" { |
| 16411 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get_keygen_info"] |
| 16412 |
pub fn EVP_PKEY_CTX_get_keygen_info( |
| 16413 |
ctx: *mut EVP_PKEY_CTX, |
| 16414 |
idx: ::std::os::raw::c_int, |
| 16415 |
) -> ::std::os::raw::c_int; |
| 16416 |
} |
| 16417 |
extern "C" { |
| 16418 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_app_data"] |
| 16419 |
pub fn EVP_PKEY_CTX_set_app_data(ctx: *mut EVP_PKEY_CTX, data: *mut ::std::os::raw::c_void); |
| 16420 |
} |
| 16421 |
extern "C" { |
| 16422 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_get_app_data"] |
| 16423 |
pub fn EVP_PKEY_CTX_get_app_data(ctx: *mut EVP_PKEY_CTX) -> *mut ::std::os::raw::c_void; |
| 16424 |
} |
| 16425 |
extern "C" { |
| 16426 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_get_pkey_type"] |
| 16427 |
pub fn EVP_MD_get_pkey_type(md: *const EVP_MD) -> ::std::os::raw::c_int; |
| 16428 |
} |
| 16429 |
extern "C" { |
| 16430 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_pkey_type"] |
| 16431 |
pub fn EVP_MD_pkey_type(md: *const EVP_MD) -> ::std::os::raw::c_int; |
| 16432 |
} |
| 16433 |
extern "C" { |
| 16434 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_CIPHER_do_all_sorted"] |
| 16435 |
pub fn EVP_CIPHER_do_all_sorted( |
| 16436 |
callback: ::std::option::Option< |
| 16437 |
unsafe extern "C" fn( |
| 16438 |
cipher: *const EVP_CIPHER, |
| 16439 |
name: *const ::std::os::raw::c_char, |
| 16440 |
unused: *const ::std::os::raw::c_char, |
| 16441 |
arg: *mut ::std::os::raw::c_void, |
| 16442 |
), |
| 16443 |
>, |
| 16444 |
arg: *mut ::std::os::raw::c_void, |
| 16445 |
); |
| 16446 |
} |
| 16447 |
extern "C" { |
| 16448 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_do_all_sorted"] |
| 16449 |
pub fn EVP_MD_do_all_sorted( |
| 16450 |
callback: ::std::option::Option< |
| 16451 |
unsafe extern "C" fn( |
| 16452 |
cipher: *const EVP_MD, |
| 16453 |
name: *const ::std::os::raw::c_char, |
| 16454 |
unused: *const ::std::os::raw::c_char, |
| 16455 |
arg: *mut ::std::os::raw::c_void, |
| 16456 |
), |
| 16457 |
>, |
| 16458 |
arg: *mut ::std::os::raw::c_void, |
| 16459 |
); |
| 16460 |
} |
| 16461 |
extern "C" { |
| 16462 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_MD_do_all"] |
| 16463 |
pub fn EVP_MD_do_all( |
| 16464 |
callback: ::std::option::Option< |
| 16465 |
unsafe extern "C" fn( |
| 16466 |
cipher: *const EVP_MD, |
| 16467 |
name: *const ::std::os::raw::c_char, |
| 16468 |
unused: *const ::std::os::raw::c_char, |
| 16469 |
arg: *mut ::std::os::raw::c_void, |
| 16470 |
), |
| 16471 |
>, |
| 16472 |
arg: *mut ::std::os::raw::c_void, |
| 16473 |
); |
| 16474 |
} |
| 16475 |
extern "C" { |
| 16476 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PrivateKey"] |
| 16477 |
pub fn i2d_PrivateKey(key: *const EVP_PKEY, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 16478 |
} |
| 16479 |
extern "C" { |
| 16480 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PublicKey"] |
| 16481 |
pub fn i2d_PublicKey(key: *const EVP_PKEY, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 16482 |
} |
| 16483 |
extern "C" { |
| 16484 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PrivateKey"] |
| 16485 |
pub fn d2i_PrivateKey( |
| 16486 |
type_: ::std::os::raw::c_int, |
| 16487 |
out: *mut *mut EVP_PKEY, |
| 16488 |
inp: *mut *const u8, |
| 16489 |
len: ::std::os::raw::c_long, |
| 16490 |
) -> *mut EVP_PKEY; |
| 16491 |
} |
| 16492 |
extern "C" { |
| 16493 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_AutoPrivateKey"] |
| 16494 |
pub fn d2i_AutoPrivateKey( |
| 16495 |
out: *mut *mut EVP_PKEY, |
| 16496 |
inp: *mut *const u8, |
| 16497 |
len: ::std::os::raw::c_long, |
| 16498 |
) -> *mut EVP_PKEY; |
| 16499 |
} |
| 16500 |
extern "C" { |
| 16501 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PublicKey"] |
| 16502 |
pub fn d2i_PublicKey( |
| 16503 |
type_: ::std::os::raw::c_int, |
| 16504 |
out: *mut *mut EVP_PKEY, |
| 16505 |
inp: *mut *const u8, |
| 16506 |
len: ::std::os::raw::c_long, |
| 16507 |
) -> *mut EVP_PKEY; |
| 16508 |
} |
| 16509 |
extern "C" { |
| 16510 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_ec_param_enc"] |
| 16511 |
pub fn EVP_PKEY_CTX_set_ec_param_enc( |
| 16512 |
ctx: *mut EVP_PKEY_CTX, |
| 16513 |
encoding: ::std::os::raw::c_int, |
| 16514 |
) -> ::std::os::raw::c_int; |
| 16515 |
} |
| 16516 |
extern "C" { |
| 16517 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_set1_tls_encodedpoint"] |
| 16518 |
pub fn EVP_PKEY_set1_tls_encodedpoint( |
| 16519 |
pkey: *mut EVP_PKEY, |
| 16520 |
in_: *const u8, |
| 16521 |
len: usize, |
| 16522 |
) -> ::std::os::raw::c_int; |
| 16523 |
} |
| 16524 |
extern "C" { |
| 16525 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get1_tls_encodedpoint"] |
| 16526 |
pub fn EVP_PKEY_get1_tls_encodedpoint(pkey: *const EVP_PKEY, out_ptr: *mut *mut u8) -> usize; |
| 16527 |
} |
| 16528 |
extern "C" { |
| 16529 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_base_id"] |
| 16530 |
pub fn EVP_PKEY_base_id(pkey: *const EVP_PKEY) -> ::std::os::raw::c_int; |
| 16531 |
} |
| 16532 |
extern "C" { |
| 16533 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_pss_keygen_md"] |
| 16534 |
pub fn EVP_PKEY_CTX_set_rsa_pss_keygen_md( |
| 16535 |
ctx: *mut EVP_PKEY_CTX, |
| 16536 |
md: *const EVP_MD, |
| 16537 |
) -> ::std::os::raw::c_int; |
| 16538 |
} |
| 16539 |
extern "C" { |
| 16540 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen"] |
| 16541 |
pub fn EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen( |
| 16542 |
ctx: *mut EVP_PKEY_CTX, |
| 16543 |
salt_len: ::std::os::raw::c_int, |
| 16544 |
) -> ::std::os::raw::c_int; |
| 16545 |
} |
| 16546 |
extern "C" { |
| 16547 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md"] |
| 16548 |
pub fn EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md( |
| 16549 |
ctx: *mut EVP_PKEY_CTX, |
| 16550 |
md: *const EVP_MD, |
| 16551 |
) -> ::std::os::raw::c_int; |
| 16552 |
} |
| 16553 |
extern "C" { |
| 16554 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PUBKEY"] |
| 16555 |
pub fn i2d_PUBKEY(pkey: *const EVP_PKEY, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 16556 |
} |
| 16557 |
extern "C" { |
| 16558 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PUBKEY"] |
| 16559 |
pub fn d2i_PUBKEY( |
| 16560 |
out: *mut *mut EVP_PKEY, |
| 16561 |
inp: *mut *const u8, |
| 16562 |
len: ::std::os::raw::c_long, |
| 16563 |
) -> *mut EVP_PKEY; |
| 16564 |
} |
| 16565 |
extern "C" { |
| 16566 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSA_PUBKEY"] |
| 16567 |
pub fn i2d_RSA_PUBKEY(rsa: *const RSA, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 16568 |
} |
| 16569 |
extern "C" { |
| 16570 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSA_PUBKEY"] |
| 16571 |
pub fn d2i_RSA_PUBKEY( |
| 16572 |
out: *mut *mut RSA, |
| 16573 |
inp: *mut *const u8, |
| 16574 |
len: ::std::os::raw::c_long, |
| 16575 |
) -> *mut RSA; |
| 16576 |
} |
| 16577 |
extern "C" { |
| 16578 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSA_PUBKEY"] |
| 16579 |
pub fn i2d_DSA_PUBKEY(dsa: *const DSA, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 16580 |
} |
| 16581 |
extern "C" { |
| 16582 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSA_PUBKEY"] |
| 16583 |
pub fn d2i_DSA_PUBKEY( |
| 16584 |
out: *mut *mut DSA, |
| 16585 |
inp: *mut *const u8, |
| 16586 |
len: ::std::os::raw::c_long, |
| 16587 |
) -> *mut DSA; |
| 16588 |
} |
| 16589 |
extern "C" { |
| 16590 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_EC_PUBKEY"] |
| 16591 |
pub fn i2d_EC_PUBKEY(ec_key: *const EC_KEY, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 16592 |
} |
| 16593 |
extern "C" { |
| 16594 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_EC_PUBKEY"] |
| 16595 |
pub fn d2i_EC_PUBKEY( |
| 16596 |
out: *mut *mut EC_KEY, |
| 16597 |
inp: *mut *const u8, |
| 16598 |
len: ::std::os::raw::c_long, |
| 16599 |
) -> *mut EC_KEY; |
| 16600 |
} |
| 16601 |
extern "C" { |
| 16602 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_assign"] |
| 16603 |
pub fn EVP_PKEY_assign( |
| 16604 |
pkey: *mut EVP_PKEY, |
| 16605 |
type_: ::std::os::raw::c_int, |
| 16606 |
key: *mut ::std::os::raw::c_void, |
| 16607 |
) -> ::std::os::raw::c_int; |
| 16608 |
} |
| 16609 |
extern "C" { |
| 16610 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_type"] |
| 16611 |
pub fn EVP_PKEY_type(nid: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 16612 |
} |
| 16613 |
extern "C" { |
| 16614 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_new_mac_key"] |
| 16615 |
pub fn EVP_PKEY_new_mac_key( |
| 16616 |
type_: ::std::os::raw::c_int, |
| 16617 |
engine: *mut ENGINE, |
| 16618 |
mac_key: *const u8, |
| 16619 |
mac_key_len: usize, |
| 16620 |
) -> *mut EVP_PKEY; |
| 16621 |
} |
| 16622 |
extern "C" { |
| 16623 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_get0"] |
| 16624 |
pub fn EVP_PKEY_get0(pkey: *const EVP_PKEY) -> *mut ::std::os::raw::c_void; |
| 16625 |
} |
| 16626 |
extern "C" { |
| 16627 |
#[link_name = "\u{1}aws_lc_0_41_0_OpenSSL_add_all_algorithms"] |
| 16628 |
pub fn OpenSSL_add_all_algorithms(); |
| 16629 |
} |
| 16630 |
extern "C" { |
| 16631 |
#[link_name = "\u{1}aws_lc_0_41_0_OPENSSL_add_all_algorithms_conf"] |
| 16632 |
pub fn OPENSSL_add_all_algorithms_conf(); |
| 16633 |
} |
| 16634 |
extern "C" { |
| 16635 |
#[link_name = "\u{1}aws_lc_0_41_0_OpenSSL_add_all_ciphers"] |
| 16636 |
pub fn OpenSSL_add_all_ciphers(); |
| 16637 |
} |
| 16638 |
extern "C" { |
| 16639 |
#[link_name = "\u{1}aws_lc_0_41_0_OpenSSL_add_all_digests"] |
| 16640 |
pub fn OpenSSL_add_all_digests(); |
| 16641 |
} |
| 16642 |
extern "C" { |
| 16643 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_cleanup"] |
| 16644 |
pub fn EVP_cleanup(); |
| 16645 |
} |
| 16646 |
extern "C" { |
| 16647 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_dsa_paramgen_bits"] |
| 16648 |
pub fn EVP_PKEY_CTX_set_dsa_paramgen_bits( |
| 16649 |
ctx: *mut EVP_PKEY_CTX, |
| 16650 |
nbits: ::std::os::raw::c_int, |
| 16651 |
) -> ::std::os::raw::c_int; |
| 16652 |
} |
| 16653 |
extern "C" { |
| 16654 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_dsa_paramgen_md"] |
| 16655 |
pub fn EVP_PKEY_CTX_set_dsa_paramgen_md( |
| 16656 |
ctx: *mut EVP_PKEY_CTX, |
| 16657 |
md: *const EVP_MD, |
| 16658 |
) -> ::std::os::raw::c_int; |
| 16659 |
} |
| 16660 |
extern "C" { |
| 16661 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_dsa_paramgen_q_bits"] |
| 16662 |
pub fn EVP_PKEY_CTX_set_dsa_paramgen_q_bits( |
| 16663 |
ctx: *mut EVP_PKEY_CTX, |
| 16664 |
qbits: ::std::os::raw::c_int, |
| 16665 |
) -> ::std::os::raw::c_int; |
| 16666 |
} |
| 16667 |
extern "C" { |
| 16668 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_ctrl_str"] |
| 16669 |
pub fn EVP_PKEY_CTX_ctrl_str( |
| 16670 |
ctx: *mut EVP_PKEY_CTX, |
| 16671 |
type_: *const ::std::os::raw::c_char, |
| 16672 |
value: *const ::std::os::raw::c_char, |
| 16673 |
) -> ::std::os::raw::c_int; |
| 16674 |
} |
| 16675 |
extern "C" { |
| 16676 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_tls1_prf"] |
| 16677 |
pub fn CRYPTO_tls1_prf( |
| 16678 |
digest: *const EVP_MD, |
| 16679 |
out: *mut u8, |
| 16680 |
out_len: usize, |
| 16681 |
secret: *const u8, |
| 16682 |
secret_len: usize, |
| 16683 |
label: *const ::std::os::raw::c_char, |
| 16684 |
label_len: usize, |
| 16685 |
seed1: *const u8, |
| 16686 |
seed1_len: usize, |
| 16687 |
seed2: *const u8, |
| 16688 |
seed2_len: usize, |
| 16689 |
) -> ::std::os::raw::c_int; |
| 16690 |
} |
| 16691 |
extern "C" { |
| 16692 |
#[link_name = "\u{1}aws_lc_0_41_0_SSKDF_digest"] |
| 16693 |
pub fn SSKDF_digest( |
| 16694 |
out_key: *mut u8, |
| 16695 |
out_len: usize, |
| 16696 |
digest: *const EVP_MD, |
| 16697 |
secret: *const u8, |
| 16698 |
secret_len: usize, |
| 16699 |
info: *const u8, |
| 16700 |
info_len: usize, |
| 16701 |
) -> ::std::os::raw::c_int; |
| 16702 |
} |
| 16703 |
extern "C" { |
| 16704 |
#[link_name = "\u{1}aws_lc_0_41_0_SSKDF_hmac"] |
| 16705 |
pub fn SSKDF_hmac( |
| 16706 |
out_key: *mut u8, |
| 16707 |
out_len: usize, |
| 16708 |
digest: *const EVP_MD, |
| 16709 |
secret: *const u8, |
| 16710 |
secret_len: usize, |
| 16711 |
info: *const u8, |
| 16712 |
info_len: usize, |
| 16713 |
salt: *const u8, |
| 16714 |
salt_len: usize, |
| 16715 |
) -> ::std::os::raw::c_int; |
| 16716 |
} |
| 16717 |
extern "C" { |
| 16718 |
#[link_name = "\u{1}aws_lc_0_41_0_KBKDF_ctr_hmac"] |
| 16719 |
pub fn KBKDF_ctr_hmac( |
| 16720 |
out_key: *mut u8, |
| 16721 |
out_len: usize, |
| 16722 |
digest: *const EVP_MD, |
| 16723 |
secret: *const u8, |
| 16724 |
secret_len: usize, |
| 16725 |
info: *const u8, |
| 16726 |
info_len: usize, |
| 16727 |
) -> ::std::os::raw::c_int; |
| 16728 |
} |
| 16729 |
extern "C" { |
| 16730 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_hkdf_mode"] |
| 16731 |
pub fn EVP_PKEY_CTX_hkdf_mode( |
| 16732 |
ctx: *mut EVP_PKEY_CTX, |
| 16733 |
mode: ::std::os::raw::c_int, |
| 16734 |
) -> ::std::os::raw::c_int; |
| 16735 |
} |
| 16736 |
extern "C" { |
| 16737 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set_hkdf_md"] |
| 16738 |
pub fn EVP_PKEY_CTX_set_hkdf_md( |
| 16739 |
ctx: *mut EVP_PKEY_CTX, |
| 16740 |
md: *const EVP_MD, |
| 16741 |
) -> ::std::os::raw::c_int; |
| 16742 |
} |
| 16743 |
extern "C" { |
| 16744 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set1_hkdf_key"] |
| 16745 |
pub fn EVP_PKEY_CTX_set1_hkdf_key( |
| 16746 |
ctx: *mut EVP_PKEY_CTX, |
| 16747 |
key: *const u8, |
| 16748 |
key_len: usize, |
| 16749 |
) -> ::std::os::raw::c_int; |
| 16750 |
} |
| 16751 |
extern "C" { |
| 16752 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_set1_hkdf_salt"] |
| 16753 |
pub fn EVP_PKEY_CTX_set1_hkdf_salt( |
| 16754 |
ctx: *mut EVP_PKEY_CTX, |
| 16755 |
salt: *const u8, |
| 16756 |
salt_len: usize, |
| 16757 |
) -> ::std::os::raw::c_int; |
| 16758 |
} |
| 16759 |
extern "C" { |
| 16760 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_CTX_add1_hkdf_info"] |
| 16761 |
pub fn EVP_PKEY_CTX_add1_hkdf_info( |
| 16762 |
ctx: *mut EVP_PKEY_CTX, |
| 16763 |
info: *const u8, |
| 16764 |
info_len: usize, |
| 16765 |
) -> ::std::os::raw::c_int; |
| 16766 |
} |
| 16767 |
extern "C" { |
| 16768 |
#[link_name = "\u{1}aws_lc_0_41_0_HKDF"] |
| 16769 |
pub fn HKDF( |
| 16770 |
out_key: *mut u8, |
| 16771 |
out_len: usize, |
| 16772 |
digest: *const EVP_MD, |
| 16773 |
secret: *const u8, |
| 16774 |
secret_len: usize, |
| 16775 |
salt: *const u8, |
| 16776 |
salt_len: usize, |
| 16777 |
info: *const u8, |
| 16778 |
info_len: usize, |
| 16779 |
) -> ::std::os::raw::c_int; |
| 16780 |
} |
| 16781 |
extern "C" { |
| 16782 |
#[link_name = "\u{1}aws_lc_0_41_0_HKDF_extract"] |
| 16783 |
pub fn HKDF_extract( |
| 16784 |
out_key: *mut u8, |
| 16785 |
out_len: *mut usize, |
| 16786 |
digest: *const EVP_MD, |
| 16787 |
secret: *const u8, |
| 16788 |
secret_len: usize, |
| 16789 |
salt: *const u8, |
| 16790 |
salt_len: usize, |
| 16791 |
) -> ::std::os::raw::c_int; |
| 16792 |
} |
| 16793 |
extern "C" { |
| 16794 |
#[link_name = "\u{1}aws_lc_0_41_0_HKDF_expand"] |
| 16795 |
pub fn HKDF_expand( |
| 16796 |
out_key: *mut u8, |
| 16797 |
out_len: usize, |
| 16798 |
digest: *const EVP_MD, |
| 16799 |
prk: *const u8, |
| 16800 |
prk_len: usize, |
| 16801 |
info: *const u8, |
| 16802 |
info_len: usize, |
| 16803 |
) -> ::std::os::raw::c_int; |
| 16804 |
} |
| 16805 |
extern "C" { |
| 16806 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_hpke_x25519_hkdf_sha256"] |
| 16807 |
pub fn EVP_hpke_x25519_hkdf_sha256() -> *const EVP_HPKE_KEM; |
| 16808 |
} |
| 16809 |
extern "C" { |
| 16810 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEM_id"] |
| 16811 |
pub fn EVP_HPKE_KEM_id(kem: *const EVP_HPKE_KEM) -> u16; |
| 16812 |
} |
| 16813 |
extern "C" { |
| 16814 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEM_public_key_len"] |
| 16815 |
pub fn EVP_HPKE_KEM_public_key_len(kem: *const EVP_HPKE_KEM) -> usize; |
| 16816 |
} |
| 16817 |
extern "C" { |
| 16818 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEM_private_key_len"] |
| 16819 |
pub fn EVP_HPKE_KEM_private_key_len(kem: *const EVP_HPKE_KEM) -> usize; |
| 16820 |
} |
| 16821 |
extern "C" { |
| 16822 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEM_enc_len"] |
| 16823 |
pub fn EVP_HPKE_KEM_enc_len(kem: *const EVP_HPKE_KEM) -> usize; |
| 16824 |
} |
| 16825 |
extern "C" { |
| 16826 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_hpke_hkdf_sha256"] |
| 16827 |
pub fn EVP_hpke_hkdf_sha256() -> *const EVP_HPKE_KDF; |
| 16828 |
} |
| 16829 |
extern "C" { |
| 16830 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KDF_id"] |
| 16831 |
pub fn EVP_HPKE_KDF_id(kdf: *const EVP_HPKE_KDF) -> u16; |
| 16832 |
} |
| 16833 |
extern "C" { |
| 16834 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KDF_hkdf_md"] |
| 16835 |
pub fn EVP_HPKE_KDF_hkdf_md(kdf: *const EVP_HPKE_KDF) -> *const EVP_MD; |
| 16836 |
} |
| 16837 |
extern "C" { |
| 16838 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_hpke_aes_128_gcm"] |
| 16839 |
pub fn EVP_hpke_aes_128_gcm() -> *const EVP_HPKE_AEAD; |
| 16840 |
} |
| 16841 |
extern "C" { |
| 16842 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_hpke_aes_256_gcm"] |
| 16843 |
pub fn EVP_hpke_aes_256_gcm() -> *const EVP_HPKE_AEAD; |
| 16844 |
} |
| 16845 |
extern "C" { |
| 16846 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_hpke_chacha20_poly1305"] |
| 16847 |
pub fn EVP_hpke_chacha20_poly1305() -> *const EVP_HPKE_AEAD; |
| 16848 |
} |
| 16849 |
extern "C" { |
| 16850 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_AEAD_id"] |
| 16851 |
pub fn EVP_HPKE_AEAD_id(aead: *const EVP_HPKE_AEAD) -> u16; |
| 16852 |
} |
| 16853 |
extern "C" { |
| 16854 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_AEAD_aead"] |
| 16855 |
pub fn EVP_HPKE_AEAD_aead(aead: *const EVP_HPKE_AEAD) -> *const EVP_AEAD; |
| 16856 |
} |
| 16857 |
extern "C" { |
| 16858 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_zero"] |
| 16859 |
pub fn EVP_HPKE_KEY_zero(key: *mut EVP_HPKE_KEY); |
| 16860 |
} |
| 16861 |
extern "C" { |
| 16862 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_cleanup"] |
| 16863 |
pub fn EVP_HPKE_KEY_cleanup(key: *mut EVP_HPKE_KEY); |
| 16864 |
} |
| 16865 |
extern "C" { |
| 16866 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_new"] |
| 16867 |
pub fn EVP_HPKE_KEY_new() -> *mut EVP_HPKE_KEY; |
| 16868 |
} |
| 16869 |
extern "C" { |
| 16870 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_free"] |
| 16871 |
pub fn EVP_HPKE_KEY_free(key: *mut EVP_HPKE_KEY); |
| 16872 |
} |
| 16873 |
extern "C" { |
| 16874 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_copy"] |
| 16875 |
pub fn EVP_HPKE_KEY_copy( |
| 16876 |
dst: *mut EVP_HPKE_KEY, |
| 16877 |
src: *const EVP_HPKE_KEY, |
| 16878 |
) -> ::std::os::raw::c_int; |
| 16879 |
} |
| 16880 |
extern "C" { |
| 16881 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_move"] |
| 16882 |
pub fn EVP_HPKE_KEY_move(out: *mut EVP_HPKE_KEY, in_: *mut EVP_HPKE_KEY); |
| 16883 |
} |
| 16884 |
extern "C" { |
| 16885 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_init"] |
| 16886 |
pub fn EVP_HPKE_KEY_init( |
| 16887 |
key: *mut EVP_HPKE_KEY, |
| 16888 |
kem: *const EVP_HPKE_KEM, |
| 16889 |
priv_key: *const u8, |
| 16890 |
priv_key_len: usize, |
| 16891 |
) -> ::std::os::raw::c_int; |
| 16892 |
} |
| 16893 |
extern "C" { |
| 16894 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_generate"] |
| 16895 |
pub fn EVP_HPKE_KEY_generate( |
| 16896 |
key: *mut EVP_HPKE_KEY, |
| 16897 |
kem: *const EVP_HPKE_KEM, |
| 16898 |
) -> ::std::os::raw::c_int; |
| 16899 |
} |
| 16900 |
extern "C" { |
| 16901 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_kem"] |
| 16902 |
pub fn EVP_HPKE_KEY_kem(key: *const EVP_HPKE_KEY) -> *const EVP_HPKE_KEM; |
| 16903 |
} |
| 16904 |
extern "C" { |
| 16905 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_public_key"] |
| 16906 |
pub fn EVP_HPKE_KEY_public_key( |
| 16907 |
key: *const EVP_HPKE_KEY, |
| 16908 |
out: *mut u8, |
| 16909 |
out_len: *mut usize, |
| 16910 |
max_out: usize, |
| 16911 |
) -> ::std::os::raw::c_int; |
| 16912 |
} |
| 16913 |
extern "C" { |
| 16914 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_KEY_private_key"] |
| 16915 |
pub fn EVP_HPKE_KEY_private_key( |
| 16916 |
key: *const EVP_HPKE_KEY, |
| 16917 |
out: *mut u8, |
| 16918 |
out_len: *mut usize, |
| 16919 |
max_out: usize, |
| 16920 |
) -> ::std::os::raw::c_int; |
| 16921 |
} |
| 16922 |
extern "C" { |
| 16923 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_zero"] |
| 16924 |
pub fn EVP_HPKE_CTX_zero(ctx: *mut EVP_HPKE_CTX); |
| 16925 |
} |
| 16926 |
extern "C" { |
| 16927 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_cleanup"] |
| 16928 |
pub fn EVP_HPKE_CTX_cleanup(ctx: *mut EVP_HPKE_CTX); |
| 16929 |
} |
| 16930 |
extern "C" { |
| 16931 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_new"] |
| 16932 |
pub fn EVP_HPKE_CTX_new() -> *mut EVP_HPKE_CTX; |
| 16933 |
} |
| 16934 |
extern "C" { |
| 16935 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_free"] |
| 16936 |
pub fn EVP_HPKE_CTX_free(ctx: *mut EVP_HPKE_CTX); |
| 16937 |
} |
| 16938 |
extern "C" { |
| 16939 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_setup_sender"] |
| 16940 |
pub fn EVP_HPKE_CTX_setup_sender( |
| 16941 |
ctx: *mut EVP_HPKE_CTX, |
| 16942 |
out_enc: *mut u8, |
| 16943 |
out_enc_len: *mut usize, |
| 16944 |
max_enc: usize, |
| 16945 |
kem: *const EVP_HPKE_KEM, |
| 16946 |
kdf: *const EVP_HPKE_KDF, |
| 16947 |
aead: *const EVP_HPKE_AEAD, |
| 16948 |
peer_public_key: *const u8, |
| 16949 |
peer_public_key_len: usize, |
| 16950 |
info: *const u8, |
| 16951 |
info_len: usize, |
| 16952 |
) -> ::std::os::raw::c_int; |
| 16953 |
} |
| 16954 |
extern "C" { |
| 16955 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_setup_sender_with_seed_for_testing"] |
| 16956 |
pub fn EVP_HPKE_CTX_setup_sender_with_seed_for_testing( |
| 16957 |
ctx: *mut EVP_HPKE_CTX, |
| 16958 |
out_enc: *mut u8, |
| 16959 |
out_enc_len: *mut usize, |
| 16960 |
max_enc: usize, |
| 16961 |
kem: *const EVP_HPKE_KEM, |
| 16962 |
kdf: *const EVP_HPKE_KDF, |
| 16963 |
aead: *const EVP_HPKE_AEAD, |
| 16964 |
peer_public_key: *const u8, |
| 16965 |
peer_public_key_len: usize, |
| 16966 |
info: *const u8, |
| 16967 |
info_len: usize, |
| 16968 |
seed: *const u8, |
| 16969 |
seed_len: usize, |
| 16970 |
) -> ::std::os::raw::c_int; |
| 16971 |
} |
| 16972 |
extern "C" { |
| 16973 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_setup_recipient"] |
| 16974 |
pub fn EVP_HPKE_CTX_setup_recipient( |
| 16975 |
ctx: *mut EVP_HPKE_CTX, |
| 16976 |
key: *const EVP_HPKE_KEY, |
| 16977 |
kdf: *const EVP_HPKE_KDF, |
| 16978 |
aead: *const EVP_HPKE_AEAD, |
| 16979 |
enc: *const u8, |
| 16980 |
enc_len: usize, |
| 16981 |
info: *const u8, |
| 16982 |
info_len: usize, |
| 16983 |
) -> ::std::os::raw::c_int; |
| 16984 |
} |
| 16985 |
extern "C" { |
| 16986 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_setup_auth_sender"] |
| 16987 |
pub fn EVP_HPKE_CTX_setup_auth_sender( |
| 16988 |
ctx: *mut EVP_HPKE_CTX, |
| 16989 |
out_enc: *mut u8, |
| 16990 |
out_enc_len: *mut usize, |
| 16991 |
max_enc: usize, |
| 16992 |
key: *const EVP_HPKE_KEY, |
| 16993 |
kdf: *const EVP_HPKE_KDF, |
| 16994 |
aead: *const EVP_HPKE_AEAD, |
| 16995 |
peer_public_key: *const u8, |
| 16996 |
peer_public_key_len: usize, |
| 16997 |
info: *const u8, |
| 16998 |
info_len: usize, |
| 16999 |
) -> ::std::os::raw::c_int; |
| 17000 |
} |
| 17001 |
extern "C" { |
| 17002 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_setup_auth_sender_with_seed_for_testing"] |
| 17003 |
pub fn EVP_HPKE_CTX_setup_auth_sender_with_seed_for_testing( |
| 17004 |
ctx: *mut EVP_HPKE_CTX, |
| 17005 |
out_enc: *mut u8, |
| 17006 |
out_enc_len: *mut usize, |
| 17007 |
max_enc: usize, |
| 17008 |
key: *const EVP_HPKE_KEY, |
| 17009 |
kdf: *const EVP_HPKE_KDF, |
| 17010 |
aead: *const EVP_HPKE_AEAD, |
| 17011 |
peer_public_key: *const u8, |
| 17012 |
peer_public_key_len: usize, |
| 17013 |
info: *const u8, |
| 17014 |
info_len: usize, |
| 17015 |
seed: *const u8, |
| 17016 |
seed_len: usize, |
| 17017 |
) -> ::std::os::raw::c_int; |
| 17018 |
} |
| 17019 |
extern "C" { |
| 17020 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_setup_auth_recipient"] |
| 17021 |
pub fn EVP_HPKE_CTX_setup_auth_recipient( |
| 17022 |
ctx: *mut EVP_HPKE_CTX, |
| 17023 |
key: *const EVP_HPKE_KEY, |
| 17024 |
kdf: *const EVP_HPKE_KDF, |
| 17025 |
aead: *const EVP_HPKE_AEAD, |
| 17026 |
enc: *const u8, |
| 17027 |
enc_len: usize, |
| 17028 |
info: *const u8, |
| 17029 |
info_len: usize, |
| 17030 |
peer_public_key: *const u8, |
| 17031 |
peer_public_key_len: usize, |
| 17032 |
) -> ::std::os::raw::c_int; |
| 17033 |
} |
| 17034 |
extern "C" { |
| 17035 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_open"] |
| 17036 |
pub fn EVP_HPKE_CTX_open( |
| 17037 |
ctx: *mut EVP_HPKE_CTX, |
| 17038 |
out: *mut u8, |
| 17039 |
out_len: *mut usize, |
| 17040 |
max_out_len: usize, |
| 17041 |
in_: *const u8, |
| 17042 |
in_len: usize, |
| 17043 |
ad: *const u8, |
| 17044 |
ad_len: usize, |
| 17045 |
) -> ::std::os::raw::c_int; |
| 17046 |
} |
| 17047 |
extern "C" { |
| 17048 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_seal"] |
| 17049 |
pub fn EVP_HPKE_CTX_seal( |
| 17050 |
ctx: *mut EVP_HPKE_CTX, |
| 17051 |
out: *mut u8, |
| 17052 |
out_len: *mut usize, |
| 17053 |
max_out_len: usize, |
| 17054 |
in_: *const u8, |
| 17055 |
in_len: usize, |
| 17056 |
ad: *const u8, |
| 17057 |
ad_len: usize, |
| 17058 |
) -> ::std::os::raw::c_int; |
| 17059 |
} |
| 17060 |
extern "C" { |
| 17061 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_export"] |
| 17062 |
pub fn EVP_HPKE_CTX_export( |
| 17063 |
ctx: *const EVP_HPKE_CTX, |
| 17064 |
out: *mut u8, |
| 17065 |
secret_len: usize, |
| 17066 |
context: *const u8, |
| 17067 |
context_len: usize, |
| 17068 |
) -> ::std::os::raw::c_int; |
| 17069 |
} |
| 17070 |
extern "C" { |
| 17071 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_max_overhead"] |
| 17072 |
pub fn EVP_HPKE_CTX_max_overhead(ctx: *const EVP_HPKE_CTX) -> usize; |
| 17073 |
} |
| 17074 |
extern "C" { |
| 17075 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_kem"] |
| 17076 |
pub fn EVP_HPKE_CTX_kem(ctx: *const EVP_HPKE_CTX) -> *const EVP_HPKE_KEM; |
| 17077 |
} |
| 17078 |
extern "C" { |
| 17079 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_aead"] |
| 17080 |
pub fn EVP_HPKE_CTX_aead(ctx: *const EVP_HPKE_CTX) -> *const EVP_HPKE_AEAD; |
| 17081 |
} |
| 17082 |
extern "C" { |
| 17083 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_HPKE_CTX_kdf"] |
| 17084 |
pub fn EVP_HPKE_CTX_kdf(ctx: *const EVP_HPKE_CTX) -> *const EVP_HPKE_KDF; |
| 17085 |
} |
| 17086 |
#[repr(C)] |
| 17087 |
#[derive(Copy, Clone)] |
| 17088 |
pub struct evp_hpke_ctx_st { |
| 17089 |
pub kem: *const EVP_HPKE_KEM, |
| 17090 |
pub aead: *const EVP_HPKE_AEAD, |
| 17091 |
pub kdf: *const EVP_HPKE_KDF, |
| 17092 |
pub aead_ctx: EVP_AEAD_CTX, |
| 17093 |
pub base_nonce: [u8; 24usize], |
| 17094 |
pub exporter_secret: [u8; 64usize], |
| 17095 |
pub seq: u64, |
| 17096 |
pub is_sender: ::std::os::raw::c_int, |
| 17097 |
} |
| 17098 |
#[test] |
| 17099 |
fn bindgen_test_layout_evp_hpke_ctx_st() { |
| 17100 |
const UNINIT: ::std::mem::MaybeUninit<evp_hpke_ctx_st> = ::std::mem::MaybeUninit::uninit(); |
| 17101 |
let ptr = UNINIT.as_ptr(); |
| 17102 |
assert_eq!( |
| 17103 |
::std::mem::size_of::<evp_hpke_ctx_st>(), |
| 17104 |
712usize, |
| 17105 |
"Size of evp_hpke_ctx_st" |
| 17106 |
); |
| 17107 |
assert_eq!( |
| 17108 |
::std::mem::align_of::<evp_hpke_ctx_st>(), |
| 17109 |
8usize, |
| 17110 |
"Alignment of evp_hpke_ctx_st" |
| 17111 |
); |
| 17112 |
assert_eq!( |
| 17113 |
unsafe { ::std::ptr::addr_of!((*ptr).kem) as usize - ptr as usize }, |
| 17114 |
0usize, |
| 17115 |
"Offset of field: evp_hpke_ctx_st::kem" |
| 17116 |
); |
| 17117 |
assert_eq!( |
| 17118 |
unsafe { ::std::ptr::addr_of!((*ptr).aead) as usize - ptr as usize }, |
| 17119 |
8usize, |
| 17120 |
"Offset of field: evp_hpke_ctx_st::aead" |
| 17121 |
); |
| 17122 |
assert_eq!( |
| 17123 |
unsafe { ::std::ptr::addr_of!((*ptr).kdf) as usize - ptr as usize }, |
| 17124 |
16usize, |
| 17125 |
"Offset of field: evp_hpke_ctx_st::kdf" |
| 17126 |
); |
| 17127 |
assert_eq!( |
| 17128 |
unsafe { ::std::ptr::addr_of!((*ptr).aead_ctx) as usize - ptr as usize }, |
| 17129 |
24usize, |
| 17130 |
"Offset of field: evp_hpke_ctx_st::aead_ctx" |
| 17131 |
); |
| 17132 |
assert_eq!( |
| 17133 |
unsafe { ::std::ptr::addr_of!((*ptr).base_nonce) as usize - ptr as usize }, |
| 17134 |
608usize, |
| 17135 |
"Offset of field: evp_hpke_ctx_st::base_nonce" |
| 17136 |
); |
| 17137 |
assert_eq!( |
| 17138 |
unsafe { ::std::ptr::addr_of!((*ptr).exporter_secret) as usize - ptr as usize }, |
| 17139 |
632usize, |
| 17140 |
"Offset of field: evp_hpke_ctx_st::exporter_secret" |
| 17141 |
); |
| 17142 |
assert_eq!( |
| 17143 |
unsafe { ::std::ptr::addr_of!((*ptr).seq) as usize - ptr as usize }, |
| 17144 |
696usize, |
| 17145 |
"Offset of field: evp_hpke_ctx_st::seq" |
| 17146 |
); |
| 17147 |
assert_eq!( |
| 17148 |
unsafe { ::std::ptr::addr_of!((*ptr).is_sender) as usize - ptr as usize }, |
| 17149 |
704usize, |
| 17150 |
"Offset of field: evp_hpke_ctx_st::is_sender" |
| 17151 |
); |
| 17152 |
} |
| 17153 |
impl Default for evp_hpke_ctx_st { |
| 17154 |
fn default() -> Self { |
| 17155 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17156 |
unsafe { |
| 17157 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17158 |
s.assume_init() |
| 17159 |
} |
| 17160 |
} |
| 17161 |
} |
| 17162 |
#[repr(C)] |
| 17163 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17164 |
pub struct evp_hpke_key_st { |
| 17165 |
pub kem: *const EVP_HPKE_KEM, |
| 17166 |
pub private_key: [u8; 32usize], |
| 17167 |
pub public_key: [u8; 32usize], |
| 17168 |
} |
| 17169 |
#[test] |
| 17170 |
fn bindgen_test_layout_evp_hpke_key_st() { |
| 17171 |
const UNINIT: ::std::mem::MaybeUninit<evp_hpke_key_st> = ::std::mem::MaybeUninit::uninit(); |
| 17172 |
let ptr = UNINIT.as_ptr(); |
| 17173 |
assert_eq!( |
| 17174 |
::std::mem::size_of::<evp_hpke_key_st>(), |
| 17175 |
72usize, |
| 17176 |
"Size of evp_hpke_key_st" |
| 17177 |
); |
| 17178 |
assert_eq!( |
| 17179 |
::std::mem::align_of::<evp_hpke_key_st>(), |
| 17180 |
8usize, |
| 17181 |
"Alignment of evp_hpke_key_st" |
| 17182 |
); |
| 17183 |
assert_eq!( |
| 17184 |
unsafe { ::std::ptr::addr_of!((*ptr).kem) as usize - ptr as usize }, |
| 17185 |
0usize, |
| 17186 |
"Offset of field: evp_hpke_key_st::kem" |
| 17187 |
); |
| 17188 |
assert_eq!( |
| 17189 |
unsafe { ::std::ptr::addr_of!((*ptr).private_key) as usize - ptr as usize }, |
| 17190 |
8usize, |
| 17191 |
"Offset of field: evp_hpke_key_st::private_key" |
| 17192 |
); |
| 17193 |
assert_eq!( |
| 17194 |
unsafe { ::std::ptr::addr_of!((*ptr).public_key) as usize - ptr as usize }, |
| 17195 |
40usize, |
| 17196 |
"Offset of field: evp_hpke_key_st::public_key" |
| 17197 |
); |
| 17198 |
} |
| 17199 |
impl Default for evp_hpke_key_st { |
| 17200 |
fn default() -> Self { |
| 17201 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17202 |
unsafe { |
| 17203 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17204 |
s.assume_init() |
| 17205 |
} |
| 17206 |
} |
| 17207 |
} |
| 17208 |
#[repr(C)] |
| 17209 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17210 |
pub struct HRSS_private_key { |
| 17211 |
pub opaque: [u8; 1808usize], |
| 17212 |
} |
| 17213 |
#[test] |
| 17214 |
fn bindgen_test_layout_HRSS_private_key() { |
| 17215 |
const UNINIT: ::std::mem::MaybeUninit<HRSS_private_key> = ::std::mem::MaybeUninit::uninit(); |
| 17216 |
let ptr = UNINIT.as_ptr(); |
| 17217 |
assert_eq!( |
| 17218 |
::std::mem::size_of::<HRSS_private_key>(), |
| 17219 |
1808usize, |
| 17220 |
"Size of HRSS_private_key" |
| 17221 |
); |
| 17222 |
assert_eq!( |
| 17223 |
::std::mem::align_of::<HRSS_private_key>(), |
| 17224 |
1usize, |
| 17225 |
"Alignment of HRSS_private_key" |
| 17226 |
); |
| 17227 |
assert_eq!( |
| 17228 |
unsafe { ::std::ptr::addr_of!((*ptr).opaque) as usize - ptr as usize }, |
| 17229 |
0usize, |
| 17230 |
"Offset of field: HRSS_private_key::opaque" |
| 17231 |
); |
| 17232 |
} |
| 17233 |
impl Default for HRSS_private_key { |
| 17234 |
fn default() -> Self { |
| 17235 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17236 |
unsafe { |
| 17237 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17238 |
s.assume_init() |
| 17239 |
} |
| 17240 |
} |
| 17241 |
} |
| 17242 |
#[repr(C)] |
| 17243 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17244 |
pub struct HRSS_public_key { |
| 17245 |
pub opaque: [u8; 1424usize], |
| 17246 |
} |
| 17247 |
#[test] |
| 17248 |
fn bindgen_test_layout_HRSS_public_key() { |
| 17249 |
const UNINIT: ::std::mem::MaybeUninit<HRSS_public_key> = ::std::mem::MaybeUninit::uninit(); |
| 17250 |
let ptr = UNINIT.as_ptr(); |
| 17251 |
assert_eq!( |
| 17252 |
::std::mem::size_of::<HRSS_public_key>(), |
| 17253 |
1424usize, |
| 17254 |
"Size of HRSS_public_key" |
| 17255 |
); |
| 17256 |
assert_eq!( |
| 17257 |
::std::mem::align_of::<HRSS_public_key>(), |
| 17258 |
1usize, |
| 17259 |
"Alignment of HRSS_public_key" |
| 17260 |
); |
| 17261 |
assert_eq!( |
| 17262 |
unsafe { ::std::ptr::addr_of!((*ptr).opaque) as usize - ptr as usize }, |
| 17263 |
0usize, |
| 17264 |
"Offset of field: HRSS_public_key::opaque" |
| 17265 |
); |
| 17266 |
} |
| 17267 |
impl Default for HRSS_public_key { |
| 17268 |
fn default() -> Self { |
| 17269 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17270 |
unsafe { |
| 17271 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17272 |
s.assume_init() |
| 17273 |
} |
| 17274 |
} |
| 17275 |
} |
| 17276 |
extern "C" { |
| 17277 |
#[link_name = "\u{1}aws_lc_0_41_0_HRSS_generate_key"] |
| 17278 |
pub fn HRSS_generate_key( |
| 17279 |
out_pub: *mut HRSS_public_key, |
| 17280 |
out_priv: *mut HRSS_private_key, |
| 17281 |
input: *const u8, |
| 17282 |
) -> ::std::os::raw::c_int; |
| 17283 |
} |
| 17284 |
extern "C" { |
| 17285 |
#[link_name = "\u{1}aws_lc_0_41_0_HRSS_encap"] |
| 17286 |
pub fn HRSS_encap( |
| 17287 |
out_ciphertext: *mut u8, |
| 17288 |
out_shared_key: *mut u8, |
| 17289 |
in_pub: *const HRSS_public_key, |
| 17290 |
in_: *const u8, |
| 17291 |
) -> ::std::os::raw::c_int; |
| 17292 |
} |
| 17293 |
extern "C" { |
| 17294 |
#[link_name = "\u{1}aws_lc_0_41_0_HRSS_decap"] |
| 17295 |
pub fn HRSS_decap( |
| 17296 |
out_shared_key: *mut u8, |
| 17297 |
in_priv: *const HRSS_private_key, |
| 17298 |
ciphertext: *const u8, |
| 17299 |
ciphertext_len: usize, |
| 17300 |
) -> ::std::os::raw::c_int; |
| 17301 |
} |
| 17302 |
extern "C" { |
| 17303 |
#[link_name = "\u{1}aws_lc_0_41_0_HRSS_marshal_public_key"] |
| 17304 |
pub fn HRSS_marshal_public_key(out: *mut u8, in_pub: *const HRSS_public_key); |
| 17305 |
} |
| 17306 |
extern "C" { |
| 17307 |
#[link_name = "\u{1}aws_lc_0_41_0_HRSS_parse_public_key"] |
| 17308 |
pub fn HRSS_parse_public_key( |
| 17309 |
out: *mut HRSS_public_key, |
| 17310 |
in_: *const u8, |
| 17311 |
) -> ::std::os::raw::c_int; |
| 17312 |
} |
| 17313 |
extern "C" { |
| 17314 |
#[link_name = "\u{1}aws_lc_0_41_0_MD4_Init"] |
| 17315 |
pub fn MD4_Init(md4: *mut MD4_CTX) -> ::std::os::raw::c_int; |
| 17316 |
} |
| 17317 |
extern "C" { |
| 17318 |
#[link_name = "\u{1}aws_lc_0_41_0_MD4_Update"] |
| 17319 |
pub fn MD4_Update( |
| 17320 |
md4: *mut MD4_CTX, |
| 17321 |
data: *const ::std::os::raw::c_void, |
| 17322 |
len: usize, |
| 17323 |
) -> ::std::os::raw::c_int; |
| 17324 |
} |
| 17325 |
extern "C" { |
| 17326 |
#[link_name = "\u{1}aws_lc_0_41_0_MD4_Final"] |
| 17327 |
pub fn MD4_Final(out: *mut u8, md4: *mut MD4_CTX) -> ::std::os::raw::c_int; |
| 17328 |
} |
| 17329 |
extern "C" { |
| 17330 |
#[link_name = "\u{1}aws_lc_0_41_0_MD4"] |
| 17331 |
pub fn MD4(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 17332 |
} |
| 17333 |
extern "C" { |
| 17334 |
#[link_name = "\u{1}aws_lc_0_41_0_MD4_Transform"] |
| 17335 |
pub fn MD4_Transform(md4: *mut MD4_CTX, block: *const u8); |
| 17336 |
} |
| 17337 |
#[repr(C)] |
| 17338 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17339 |
pub struct md4_state_st { |
| 17340 |
pub h: [u32; 4usize], |
| 17341 |
pub Nl: u32, |
| 17342 |
pub Nh: u32, |
| 17343 |
pub data: [u8; 64usize], |
| 17344 |
pub num: ::std::os::raw::c_uint, |
| 17345 |
} |
| 17346 |
#[test] |
| 17347 |
fn bindgen_test_layout_md4_state_st() { |
| 17348 |
const UNINIT: ::std::mem::MaybeUninit<md4_state_st> = ::std::mem::MaybeUninit::uninit(); |
| 17349 |
let ptr = UNINIT.as_ptr(); |
| 17350 |
assert_eq!( |
| 17351 |
::std::mem::size_of::<md4_state_st>(), |
| 17352 |
92usize, |
| 17353 |
"Size of md4_state_st" |
| 17354 |
); |
| 17355 |
assert_eq!( |
| 17356 |
::std::mem::align_of::<md4_state_st>(), |
| 17357 |
4usize, |
| 17358 |
"Alignment of md4_state_st" |
| 17359 |
); |
| 17360 |
assert_eq!( |
| 17361 |
unsafe { ::std::ptr::addr_of!((*ptr).h) as usize - ptr as usize }, |
| 17362 |
0usize, |
| 17363 |
"Offset of field: md4_state_st::h" |
| 17364 |
); |
| 17365 |
assert_eq!( |
| 17366 |
unsafe { ::std::ptr::addr_of!((*ptr).Nl) as usize - ptr as usize }, |
| 17367 |
16usize, |
| 17368 |
"Offset of field: md4_state_st::Nl" |
| 17369 |
); |
| 17370 |
assert_eq!( |
| 17371 |
unsafe { ::std::ptr::addr_of!((*ptr).Nh) as usize - ptr as usize }, |
| 17372 |
20usize, |
| 17373 |
"Offset of field: md4_state_st::Nh" |
| 17374 |
); |
| 17375 |
assert_eq!( |
| 17376 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 17377 |
24usize, |
| 17378 |
"Offset of field: md4_state_st::data" |
| 17379 |
); |
| 17380 |
assert_eq!( |
| 17381 |
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize }, |
| 17382 |
88usize, |
| 17383 |
"Offset of field: md4_state_st::num" |
| 17384 |
); |
| 17385 |
} |
| 17386 |
impl Default for md4_state_st { |
| 17387 |
fn default() -> Self { |
| 17388 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17389 |
unsafe { |
| 17390 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17391 |
s.assume_init() |
| 17392 |
} |
| 17393 |
} |
| 17394 |
} |
| 17395 |
#[repr(C)] |
| 17396 |
#[derive(Debug, Copy, Clone)] |
| 17397 |
pub struct stack_st_CRYPTO_BUFFER { |
| 17398 |
_unused: [u8; 0], |
| 17399 |
} |
| 17400 |
#[repr(C)] |
| 17401 |
#[derive(Debug, Copy, Clone)] |
| 17402 |
pub struct stack_st_X509 { |
| 17403 |
_unused: [u8; 0], |
| 17404 |
} |
| 17405 |
#[repr(C)] |
| 17406 |
#[derive(Debug, Copy, Clone)] |
| 17407 |
pub struct stack_st_X509_CRL { |
| 17408 |
_unused: [u8; 0], |
| 17409 |
} |
| 17410 |
extern "C" { |
| 17411 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_raw_certificates"] |
| 17412 |
pub fn PKCS7_get_raw_certificates( |
| 17413 |
out_certs: *mut stack_st_CRYPTO_BUFFER, |
| 17414 |
cbs: *mut CBS, |
| 17415 |
pool: *mut CRYPTO_BUFFER_POOL, |
| 17416 |
) -> ::std::os::raw::c_int; |
| 17417 |
} |
| 17418 |
extern "C" { |
| 17419 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_certificates"] |
| 17420 |
pub fn PKCS7_get_certificates( |
| 17421 |
out_certs: *mut stack_st_X509, |
| 17422 |
cbs: *mut CBS, |
| 17423 |
) -> ::std::os::raw::c_int; |
| 17424 |
} |
| 17425 |
extern "C" { |
| 17426 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_bundle_raw_certificates"] |
| 17427 |
pub fn PKCS7_bundle_raw_certificates( |
| 17428 |
out: *mut CBB, |
| 17429 |
certs: *const stack_st_CRYPTO_BUFFER, |
| 17430 |
) -> ::std::os::raw::c_int; |
| 17431 |
} |
| 17432 |
extern "C" { |
| 17433 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_bundle_certificates"] |
| 17434 |
pub fn PKCS7_bundle_certificates( |
| 17435 |
out: *mut CBB, |
| 17436 |
certs: *const stack_st_X509, |
| 17437 |
) -> ::std::os::raw::c_int; |
| 17438 |
} |
| 17439 |
extern "C" { |
| 17440 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_CRLs"] |
| 17441 |
pub fn PKCS7_get_CRLs(out_crls: *mut stack_st_X509_CRL, cbs: *mut CBS) |
| 17442 |
-> ::std::os::raw::c_int; |
| 17443 |
} |
| 17444 |
extern "C" { |
| 17445 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_bundle_CRLs"] |
| 17446 |
pub fn PKCS7_bundle_CRLs( |
| 17447 |
out: *mut CBB, |
| 17448 |
crls: *const stack_st_X509_CRL, |
| 17449 |
) -> ::std::os::raw::c_int; |
| 17450 |
} |
| 17451 |
extern "C" { |
| 17452 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_PEM_certificates"] |
| 17453 |
pub fn PKCS7_get_PEM_certificates( |
| 17454 |
out_certs: *mut stack_st_X509, |
| 17455 |
pem_bio: *mut BIO, |
| 17456 |
) -> ::std::os::raw::c_int; |
| 17457 |
} |
| 17458 |
extern "C" { |
| 17459 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_PEM_CRLs"] |
| 17460 |
pub fn PKCS7_get_PEM_CRLs( |
| 17461 |
out_crls: *mut stack_st_X509_CRL, |
| 17462 |
pem_bio: *mut BIO, |
| 17463 |
) -> ::std::os::raw::c_int; |
| 17464 |
} |
| 17465 |
extern "C" { |
| 17466 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS7_bio"] |
| 17467 |
pub fn d2i_PKCS7_bio(bio: *mut BIO, out: *mut *mut PKCS7) -> *mut PKCS7; |
| 17468 |
} |
| 17469 |
extern "C" { |
| 17470 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS7_bio"] |
| 17471 |
pub fn i2d_PKCS7_bio(bio: *mut BIO, p7: *const PKCS7) -> ::std::os::raw::c_int; |
| 17472 |
} |
| 17473 |
extern "C" { |
| 17474 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_type_is_data"] |
| 17475 |
pub fn PKCS7_type_is_data(p7: *const PKCS7) -> ::std::os::raw::c_int; |
| 17476 |
} |
| 17477 |
extern "C" { |
| 17478 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_type_is_digest"] |
| 17479 |
pub fn PKCS7_type_is_digest(p7: *const PKCS7) -> ::std::os::raw::c_int; |
| 17480 |
} |
| 17481 |
extern "C" { |
| 17482 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_type_is_encrypted"] |
| 17483 |
pub fn PKCS7_type_is_encrypted(p7: *const PKCS7) -> ::std::os::raw::c_int; |
| 17484 |
} |
| 17485 |
extern "C" { |
| 17486 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_type_is_enveloped"] |
| 17487 |
pub fn PKCS7_type_is_enveloped(p7: *const PKCS7) -> ::std::os::raw::c_int; |
| 17488 |
} |
| 17489 |
extern "C" { |
| 17490 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_type_is_signed"] |
| 17491 |
pub fn PKCS7_type_is_signed(p7: *const PKCS7) -> ::std::os::raw::c_int; |
| 17492 |
} |
| 17493 |
extern "C" { |
| 17494 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_type_is_signedAndEnveloped"] |
| 17495 |
pub fn PKCS7_type_is_signedAndEnveloped(p7: *const PKCS7) -> ::std::os::raw::c_int; |
| 17496 |
} |
| 17497 |
#[repr(C)] |
| 17498 |
#[derive(Copy, Clone)] |
| 17499 |
pub struct pkcs7_st { |
| 17500 |
pub type_: *mut ASN1_OBJECT, |
| 17501 |
pub d: pkcs7_st__bindgen_ty_1, |
| 17502 |
} |
| 17503 |
#[repr(C)] |
| 17504 |
#[derive(Copy, Clone)] |
| 17505 |
pub union pkcs7_st__bindgen_ty_1 { |
| 17506 |
pub ptr: *mut ::std::os::raw::c_char, |
| 17507 |
pub data: *mut ASN1_OCTET_STRING, |
| 17508 |
pub sign: *mut PKCS7_SIGNED, |
| 17509 |
pub enveloped: *mut PKCS7_ENVELOPE, |
| 17510 |
pub signed_and_enveloped: *mut PKCS7_SIGN_ENVELOPE, |
| 17511 |
pub digest: *mut PKCS7_DIGEST, |
| 17512 |
pub encrypted: *mut PKCS7_ENCRYPT, |
| 17513 |
pub other: *mut ASN1_TYPE, |
| 17514 |
} |
| 17515 |
#[test] |
| 17516 |
fn bindgen_test_layout_pkcs7_st__bindgen_ty_1() { |
| 17517 |
const UNINIT: ::std::mem::MaybeUninit<pkcs7_st__bindgen_ty_1> = |
| 17518 |
::std::mem::MaybeUninit::uninit(); |
| 17519 |
let ptr = UNINIT.as_ptr(); |
| 17520 |
assert_eq!( |
| 17521 |
::std::mem::size_of::<pkcs7_st__bindgen_ty_1>(), |
| 17522 |
8usize, |
| 17523 |
"Size of pkcs7_st__bindgen_ty_1" |
| 17524 |
); |
| 17525 |
assert_eq!( |
| 17526 |
::std::mem::align_of::<pkcs7_st__bindgen_ty_1>(), |
| 17527 |
8usize, |
| 17528 |
"Alignment of pkcs7_st__bindgen_ty_1" |
| 17529 |
); |
| 17530 |
assert_eq!( |
| 17531 |
unsafe { ::std::ptr::addr_of!((*ptr).ptr) as usize - ptr as usize }, |
| 17532 |
0usize, |
| 17533 |
"Offset of field: pkcs7_st__bindgen_ty_1::ptr" |
| 17534 |
); |
| 17535 |
assert_eq!( |
| 17536 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 17537 |
0usize, |
| 17538 |
"Offset of field: pkcs7_st__bindgen_ty_1::data" |
| 17539 |
); |
| 17540 |
assert_eq!( |
| 17541 |
unsafe { ::std::ptr::addr_of!((*ptr).sign) as usize - ptr as usize }, |
| 17542 |
0usize, |
| 17543 |
"Offset of field: pkcs7_st__bindgen_ty_1::sign" |
| 17544 |
); |
| 17545 |
assert_eq!( |
| 17546 |
unsafe { ::std::ptr::addr_of!((*ptr).enveloped) as usize - ptr as usize }, |
| 17547 |
0usize, |
| 17548 |
"Offset of field: pkcs7_st__bindgen_ty_1::enveloped" |
| 17549 |
); |
| 17550 |
assert_eq!( |
| 17551 |
unsafe { ::std::ptr::addr_of!((*ptr).signed_and_enveloped) as usize - ptr as usize }, |
| 17552 |
0usize, |
| 17553 |
"Offset of field: pkcs7_st__bindgen_ty_1::signed_and_enveloped" |
| 17554 |
); |
| 17555 |
assert_eq!( |
| 17556 |
unsafe { ::std::ptr::addr_of!((*ptr).digest) as usize - ptr as usize }, |
| 17557 |
0usize, |
| 17558 |
"Offset of field: pkcs7_st__bindgen_ty_1::digest" |
| 17559 |
); |
| 17560 |
assert_eq!( |
| 17561 |
unsafe { ::std::ptr::addr_of!((*ptr).encrypted) as usize - ptr as usize }, |
| 17562 |
0usize, |
| 17563 |
"Offset of field: pkcs7_st__bindgen_ty_1::encrypted" |
| 17564 |
); |
| 17565 |
assert_eq!( |
| 17566 |
unsafe { ::std::ptr::addr_of!((*ptr).other) as usize - ptr as usize }, |
| 17567 |
0usize, |
| 17568 |
"Offset of field: pkcs7_st__bindgen_ty_1::other" |
| 17569 |
); |
| 17570 |
} |
| 17571 |
impl Default for pkcs7_st__bindgen_ty_1 { |
| 17572 |
fn default() -> Self { |
| 17573 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17574 |
unsafe { |
| 17575 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17576 |
s.assume_init() |
| 17577 |
} |
| 17578 |
} |
| 17579 |
} |
| 17580 |
#[test] |
| 17581 |
fn bindgen_test_layout_pkcs7_st() { |
| 17582 |
const UNINIT: ::std::mem::MaybeUninit<pkcs7_st> = ::std::mem::MaybeUninit::uninit(); |
| 17583 |
let ptr = UNINIT.as_ptr(); |
| 17584 |
assert_eq!( |
| 17585 |
::std::mem::size_of::<pkcs7_st>(), |
| 17586 |
16usize, |
| 17587 |
"Size of pkcs7_st" |
| 17588 |
); |
| 17589 |
assert_eq!( |
| 17590 |
::std::mem::align_of::<pkcs7_st>(), |
| 17591 |
8usize, |
| 17592 |
"Alignment of pkcs7_st" |
| 17593 |
); |
| 17594 |
assert_eq!( |
| 17595 |
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, |
| 17596 |
0usize, |
| 17597 |
"Offset of field: pkcs7_st::type_" |
| 17598 |
); |
| 17599 |
assert_eq!( |
| 17600 |
unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize }, |
| 17601 |
8usize, |
| 17602 |
"Offset of field: pkcs7_st::d" |
| 17603 |
); |
| 17604 |
} |
| 17605 |
impl Default for pkcs7_st { |
| 17606 |
fn default() -> Self { |
| 17607 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17608 |
unsafe { |
| 17609 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17610 |
s.assume_init() |
| 17611 |
} |
| 17612 |
} |
| 17613 |
} |
| 17614 |
#[repr(C)] |
| 17615 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17616 |
pub struct pkcs7_signed_st { |
| 17617 |
pub version: *mut ASN1_INTEGER, |
| 17618 |
pub md_algs: *mut stack_st_X509_ALGOR, |
| 17619 |
pub contents: *mut PKCS7, |
| 17620 |
pub cert: *mut stack_st_X509, |
| 17621 |
pub crl: *mut stack_st_X509_CRL, |
| 17622 |
pub signer_info: *mut stack_st_PKCS7_SIGNER_INFO, |
| 17623 |
} |
| 17624 |
#[test] |
| 17625 |
fn bindgen_test_layout_pkcs7_signed_st() { |
| 17626 |
const UNINIT: ::std::mem::MaybeUninit<pkcs7_signed_st> = ::std::mem::MaybeUninit::uninit(); |
| 17627 |
let ptr = UNINIT.as_ptr(); |
| 17628 |
assert_eq!( |
| 17629 |
::std::mem::size_of::<pkcs7_signed_st>(), |
| 17630 |
48usize, |
| 17631 |
"Size of pkcs7_signed_st" |
| 17632 |
); |
| 17633 |
assert_eq!( |
| 17634 |
::std::mem::align_of::<pkcs7_signed_st>(), |
| 17635 |
8usize, |
| 17636 |
"Alignment of pkcs7_signed_st" |
| 17637 |
); |
| 17638 |
assert_eq!( |
| 17639 |
unsafe { ::std::ptr::addr_of!((*ptr).version) as usize - ptr as usize }, |
| 17640 |
0usize, |
| 17641 |
"Offset of field: pkcs7_signed_st::version" |
| 17642 |
); |
| 17643 |
assert_eq!( |
| 17644 |
unsafe { ::std::ptr::addr_of!((*ptr).md_algs) as usize - ptr as usize }, |
| 17645 |
8usize, |
| 17646 |
"Offset of field: pkcs7_signed_st::md_algs" |
| 17647 |
); |
| 17648 |
assert_eq!( |
| 17649 |
unsafe { ::std::ptr::addr_of!((*ptr).contents) as usize - ptr as usize }, |
| 17650 |
16usize, |
| 17651 |
"Offset of field: pkcs7_signed_st::contents" |
| 17652 |
); |
| 17653 |
assert_eq!( |
| 17654 |
unsafe { ::std::ptr::addr_of!((*ptr).cert) as usize - ptr as usize }, |
| 17655 |
24usize, |
| 17656 |
"Offset of field: pkcs7_signed_st::cert" |
| 17657 |
); |
| 17658 |
assert_eq!( |
| 17659 |
unsafe { ::std::ptr::addr_of!((*ptr).crl) as usize - ptr as usize }, |
| 17660 |
32usize, |
| 17661 |
"Offset of field: pkcs7_signed_st::crl" |
| 17662 |
); |
| 17663 |
assert_eq!( |
| 17664 |
unsafe { ::std::ptr::addr_of!((*ptr).signer_info) as usize - ptr as usize }, |
| 17665 |
40usize, |
| 17666 |
"Offset of field: pkcs7_signed_st::signer_info" |
| 17667 |
); |
| 17668 |
} |
| 17669 |
impl Default for pkcs7_signed_st { |
| 17670 |
fn default() -> Self { |
| 17671 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17672 |
unsafe { |
| 17673 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17674 |
s.assume_init() |
| 17675 |
} |
| 17676 |
} |
| 17677 |
} |
| 17678 |
#[repr(C)] |
| 17679 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17680 |
pub struct pkcs7_signer_info_st { |
| 17681 |
pub version: *mut ASN1_INTEGER, |
| 17682 |
pub issuer_and_serial: *mut PKCS7_ISSUER_AND_SERIAL, |
| 17683 |
pub digest_alg: *mut X509_ALGOR, |
| 17684 |
pub auth_attr: *mut stack_st_X509_ATTRIBUTE, |
| 17685 |
pub digest_enc_alg: *mut X509_ALGOR, |
| 17686 |
pub enc_digest: *mut ASN1_OCTET_STRING, |
| 17687 |
pub unauth_attr: *mut stack_st_X509_ATTRIBUTE, |
| 17688 |
pub pkey: *mut EVP_PKEY, |
| 17689 |
} |
| 17690 |
#[test] |
| 17691 |
fn bindgen_test_layout_pkcs7_signer_info_st() { |
| 17692 |
const UNINIT: ::std::mem::MaybeUninit<pkcs7_signer_info_st> = ::std::mem::MaybeUninit::uninit(); |
| 17693 |
let ptr = UNINIT.as_ptr(); |
| 17694 |
assert_eq!( |
| 17695 |
::std::mem::size_of::<pkcs7_signer_info_st>(), |
| 17696 |
64usize, |
| 17697 |
"Size of pkcs7_signer_info_st" |
| 17698 |
); |
| 17699 |
assert_eq!( |
| 17700 |
::std::mem::align_of::<pkcs7_signer_info_st>(), |
| 17701 |
8usize, |
| 17702 |
"Alignment of pkcs7_signer_info_st" |
| 17703 |
); |
| 17704 |
assert_eq!( |
| 17705 |
unsafe { ::std::ptr::addr_of!((*ptr).version) as usize - ptr as usize }, |
| 17706 |
0usize, |
| 17707 |
"Offset of field: pkcs7_signer_info_st::version" |
| 17708 |
); |
| 17709 |
assert_eq!( |
| 17710 |
unsafe { ::std::ptr::addr_of!((*ptr).issuer_and_serial) as usize - ptr as usize }, |
| 17711 |
8usize, |
| 17712 |
"Offset of field: pkcs7_signer_info_st::issuer_and_serial" |
| 17713 |
); |
| 17714 |
assert_eq!( |
| 17715 |
unsafe { ::std::ptr::addr_of!((*ptr).digest_alg) as usize - ptr as usize }, |
| 17716 |
16usize, |
| 17717 |
"Offset of field: pkcs7_signer_info_st::digest_alg" |
| 17718 |
); |
| 17719 |
assert_eq!( |
| 17720 |
unsafe { ::std::ptr::addr_of!((*ptr).auth_attr) as usize - ptr as usize }, |
| 17721 |
24usize, |
| 17722 |
"Offset of field: pkcs7_signer_info_st::auth_attr" |
| 17723 |
); |
| 17724 |
assert_eq!( |
| 17725 |
unsafe { ::std::ptr::addr_of!((*ptr).digest_enc_alg) as usize - ptr as usize }, |
| 17726 |
32usize, |
| 17727 |
"Offset of field: pkcs7_signer_info_st::digest_enc_alg" |
| 17728 |
); |
| 17729 |
assert_eq!( |
| 17730 |
unsafe { ::std::ptr::addr_of!((*ptr).enc_digest) as usize - ptr as usize }, |
| 17731 |
40usize, |
| 17732 |
"Offset of field: pkcs7_signer_info_st::enc_digest" |
| 17733 |
); |
| 17734 |
assert_eq!( |
| 17735 |
unsafe { ::std::ptr::addr_of!((*ptr).unauth_attr) as usize - ptr as usize }, |
| 17736 |
48usize, |
| 17737 |
"Offset of field: pkcs7_signer_info_st::unauth_attr" |
| 17738 |
); |
| 17739 |
assert_eq!( |
| 17740 |
unsafe { ::std::ptr::addr_of!((*ptr).pkey) as usize - ptr as usize }, |
| 17741 |
56usize, |
| 17742 |
"Offset of field: pkcs7_signer_info_st::pkey" |
| 17743 |
); |
| 17744 |
} |
| 17745 |
impl Default for pkcs7_signer_info_st { |
| 17746 |
fn default() -> Self { |
| 17747 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17748 |
unsafe { |
| 17749 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17750 |
s.assume_init() |
| 17751 |
} |
| 17752 |
} |
| 17753 |
} |
| 17754 |
#[repr(C)] |
| 17755 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17756 |
pub struct pkcs7_sign_envelope_st { |
| 17757 |
pub version: *mut ASN1_INTEGER, |
| 17758 |
pub recipientinfo: *mut stack_st_PKCS7_RECIP_INFO, |
| 17759 |
pub md_algs: *mut stack_st_X509_ALGOR, |
| 17760 |
pub enc_data: *mut PKCS7_ENC_CONTENT, |
| 17761 |
pub cert: *mut stack_st_X509, |
| 17762 |
pub crl: *mut stack_st_X509_CRL, |
| 17763 |
pub signer_info: *mut stack_st_PKCS7_SIGNER_INFO, |
| 17764 |
} |
| 17765 |
#[test] |
| 17766 |
fn bindgen_test_layout_pkcs7_sign_envelope_st() { |
| 17767 |
const UNINIT: ::std::mem::MaybeUninit<pkcs7_sign_envelope_st> = |
| 17768 |
::std::mem::MaybeUninit::uninit(); |
| 17769 |
let ptr = UNINIT.as_ptr(); |
| 17770 |
assert_eq!( |
| 17771 |
::std::mem::size_of::<pkcs7_sign_envelope_st>(), |
| 17772 |
56usize, |
| 17773 |
"Size of pkcs7_sign_envelope_st" |
| 17774 |
); |
| 17775 |
assert_eq!( |
| 17776 |
::std::mem::align_of::<pkcs7_sign_envelope_st>(), |
| 17777 |
8usize, |
| 17778 |
"Alignment of pkcs7_sign_envelope_st" |
| 17779 |
); |
| 17780 |
assert_eq!( |
| 17781 |
unsafe { ::std::ptr::addr_of!((*ptr).version) as usize - ptr as usize }, |
| 17782 |
0usize, |
| 17783 |
"Offset of field: pkcs7_sign_envelope_st::version" |
| 17784 |
); |
| 17785 |
assert_eq!( |
| 17786 |
unsafe { ::std::ptr::addr_of!((*ptr).recipientinfo) as usize - ptr as usize }, |
| 17787 |
8usize, |
| 17788 |
"Offset of field: pkcs7_sign_envelope_st::recipientinfo" |
| 17789 |
); |
| 17790 |
assert_eq!( |
| 17791 |
unsafe { ::std::ptr::addr_of!((*ptr).md_algs) as usize - ptr as usize }, |
| 17792 |
16usize, |
| 17793 |
"Offset of field: pkcs7_sign_envelope_st::md_algs" |
| 17794 |
); |
| 17795 |
assert_eq!( |
| 17796 |
unsafe { ::std::ptr::addr_of!((*ptr).enc_data) as usize - ptr as usize }, |
| 17797 |
24usize, |
| 17798 |
"Offset of field: pkcs7_sign_envelope_st::enc_data" |
| 17799 |
); |
| 17800 |
assert_eq!( |
| 17801 |
unsafe { ::std::ptr::addr_of!((*ptr).cert) as usize - ptr as usize }, |
| 17802 |
32usize, |
| 17803 |
"Offset of field: pkcs7_sign_envelope_st::cert" |
| 17804 |
); |
| 17805 |
assert_eq!( |
| 17806 |
unsafe { ::std::ptr::addr_of!((*ptr).crl) as usize - ptr as usize }, |
| 17807 |
40usize, |
| 17808 |
"Offset of field: pkcs7_sign_envelope_st::crl" |
| 17809 |
); |
| 17810 |
assert_eq!( |
| 17811 |
unsafe { ::std::ptr::addr_of!((*ptr).signer_info) as usize - ptr as usize }, |
| 17812 |
48usize, |
| 17813 |
"Offset of field: pkcs7_sign_envelope_st::signer_info" |
| 17814 |
); |
| 17815 |
} |
| 17816 |
impl Default for pkcs7_sign_envelope_st { |
| 17817 |
fn default() -> Self { |
| 17818 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17819 |
unsafe { |
| 17820 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17821 |
s.assume_init() |
| 17822 |
} |
| 17823 |
} |
| 17824 |
} |
| 17825 |
#[repr(C)] |
| 17826 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17827 |
pub struct pkcs7_envelope_st { |
| 17828 |
pub version: *mut ASN1_INTEGER, |
| 17829 |
pub enc_data: *mut PKCS7_ENC_CONTENT, |
| 17830 |
pub recipientinfo: *mut stack_st_PKCS7_RECIP_INFO, |
| 17831 |
} |
| 17832 |
#[test] |
| 17833 |
fn bindgen_test_layout_pkcs7_envelope_st() { |
| 17834 |
const UNINIT: ::std::mem::MaybeUninit<pkcs7_envelope_st> = ::std::mem::MaybeUninit::uninit(); |
| 17835 |
let ptr = UNINIT.as_ptr(); |
| 17836 |
assert_eq!( |
| 17837 |
::std::mem::size_of::<pkcs7_envelope_st>(), |
| 17838 |
24usize, |
| 17839 |
"Size of pkcs7_envelope_st" |
| 17840 |
); |
| 17841 |
assert_eq!( |
| 17842 |
::std::mem::align_of::<pkcs7_envelope_st>(), |
| 17843 |
8usize, |
| 17844 |
"Alignment of pkcs7_envelope_st" |
| 17845 |
); |
| 17846 |
assert_eq!( |
| 17847 |
unsafe { ::std::ptr::addr_of!((*ptr).version) as usize - ptr as usize }, |
| 17848 |
0usize, |
| 17849 |
"Offset of field: pkcs7_envelope_st::version" |
| 17850 |
); |
| 17851 |
assert_eq!( |
| 17852 |
unsafe { ::std::ptr::addr_of!((*ptr).enc_data) as usize - ptr as usize }, |
| 17853 |
8usize, |
| 17854 |
"Offset of field: pkcs7_envelope_st::enc_data" |
| 17855 |
); |
| 17856 |
assert_eq!( |
| 17857 |
unsafe { ::std::ptr::addr_of!((*ptr).recipientinfo) as usize - ptr as usize }, |
| 17858 |
16usize, |
| 17859 |
"Offset of field: pkcs7_envelope_st::recipientinfo" |
| 17860 |
); |
| 17861 |
} |
| 17862 |
impl Default for pkcs7_envelope_st { |
| 17863 |
fn default() -> Self { |
| 17864 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17865 |
unsafe { |
| 17866 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17867 |
s.assume_init() |
| 17868 |
} |
| 17869 |
} |
| 17870 |
} |
| 17871 |
#[repr(C)] |
| 17872 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17873 |
pub struct pkcs7_recip_info_st { |
| 17874 |
pub version: *mut ASN1_INTEGER, |
| 17875 |
pub issuer_and_serial: *mut PKCS7_ISSUER_AND_SERIAL, |
| 17876 |
pub key_enc_algor: *mut X509_ALGOR, |
| 17877 |
pub enc_key: *mut ASN1_OCTET_STRING, |
| 17878 |
pub cert: *mut X509, |
| 17879 |
} |
| 17880 |
#[test] |
| 17881 |
fn bindgen_test_layout_pkcs7_recip_info_st() { |
| 17882 |
const UNINIT: ::std::mem::MaybeUninit<pkcs7_recip_info_st> = ::std::mem::MaybeUninit::uninit(); |
| 17883 |
let ptr = UNINIT.as_ptr(); |
| 17884 |
assert_eq!( |
| 17885 |
::std::mem::size_of::<pkcs7_recip_info_st>(), |
| 17886 |
40usize, |
| 17887 |
"Size of pkcs7_recip_info_st" |
| 17888 |
); |
| 17889 |
assert_eq!( |
| 17890 |
::std::mem::align_of::<pkcs7_recip_info_st>(), |
| 17891 |
8usize, |
| 17892 |
"Alignment of pkcs7_recip_info_st" |
| 17893 |
); |
| 17894 |
assert_eq!( |
| 17895 |
unsafe { ::std::ptr::addr_of!((*ptr).version) as usize - ptr as usize }, |
| 17896 |
0usize, |
| 17897 |
"Offset of field: pkcs7_recip_info_st::version" |
| 17898 |
); |
| 17899 |
assert_eq!( |
| 17900 |
unsafe { ::std::ptr::addr_of!((*ptr).issuer_and_serial) as usize - ptr as usize }, |
| 17901 |
8usize, |
| 17902 |
"Offset of field: pkcs7_recip_info_st::issuer_and_serial" |
| 17903 |
); |
| 17904 |
assert_eq!( |
| 17905 |
unsafe { ::std::ptr::addr_of!((*ptr).key_enc_algor) as usize - ptr as usize }, |
| 17906 |
16usize, |
| 17907 |
"Offset of field: pkcs7_recip_info_st::key_enc_algor" |
| 17908 |
); |
| 17909 |
assert_eq!( |
| 17910 |
unsafe { ::std::ptr::addr_of!((*ptr).enc_key) as usize - ptr as usize }, |
| 17911 |
24usize, |
| 17912 |
"Offset of field: pkcs7_recip_info_st::enc_key" |
| 17913 |
); |
| 17914 |
assert_eq!( |
| 17915 |
unsafe { ::std::ptr::addr_of!((*ptr).cert) as usize - ptr as usize }, |
| 17916 |
32usize, |
| 17917 |
"Offset of field: pkcs7_recip_info_st::cert" |
| 17918 |
); |
| 17919 |
} |
| 17920 |
impl Default for pkcs7_recip_info_st { |
| 17921 |
fn default() -> Self { |
| 17922 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17923 |
unsafe { |
| 17924 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17925 |
s.assume_init() |
| 17926 |
} |
| 17927 |
} |
| 17928 |
} |
| 17929 |
#[repr(C)] |
| 17930 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 17931 |
pub struct pkcs7_issuer_and_serial_st { |
| 17932 |
pub issuer: *mut X509_NAME, |
| 17933 |
pub serial: *mut ASN1_INTEGER, |
| 17934 |
} |
| 17935 |
#[test] |
| 17936 |
fn bindgen_test_layout_pkcs7_issuer_and_serial_st() { |
| 17937 |
const UNINIT: ::std::mem::MaybeUninit<pkcs7_issuer_and_serial_st> = |
| 17938 |
::std::mem::MaybeUninit::uninit(); |
| 17939 |
let ptr = UNINIT.as_ptr(); |
| 17940 |
assert_eq!( |
| 17941 |
::std::mem::size_of::<pkcs7_issuer_and_serial_st>(), |
| 17942 |
16usize, |
| 17943 |
"Size of pkcs7_issuer_and_serial_st" |
| 17944 |
); |
| 17945 |
assert_eq!( |
| 17946 |
::std::mem::align_of::<pkcs7_issuer_and_serial_st>(), |
| 17947 |
8usize, |
| 17948 |
"Alignment of pkcs7_issuer_and_serial_st" |
| 17949 |
); |
| 17950 |
assert_eq!( |
| 17951 |
unsafe { ::std::ptr::addr_of!((*ptr).issuer) as usize - ptr as usize }, |
| 17952 |
0usize, |
| 17953 |
"Offset of field: pkcs7_issuer_and_serial_st::issuer" |
| 17954 |
); |
| 17955 |
assert_eq!( |
| 17956 |
unsafe { ::std::ptr::addr_of!((*ptr).serial) as usize - ptr as usize }, |
| 17957 |
8usize, |
| 17958 |
"Offset of field: pkcs7_issuer_and_serial_st::serial" |
| 17959 |
); |
| 17960 |
} |
| 17961 |
impl Default for pkcs7_issuer_and_serial_st { |
| 17962 |
fn default() -> Self { |
| 17963 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 17964 |
unsafe { |
| 17965 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 17966 |
s.assume_init() |
| 17967 |
} |
| 17968 |
} |
| 17969 |
} |
| 17970 |
extern "C" { |
| 17971 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_new"] |
| 17972 |
pub fn PKCS7_new() -> *mut PKCS7; |
| 17973 |
} |
| 17974 |
extern "C" { |
| 17975 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_free"] |
| 17976 |
pub fn PKCS7_free(a: *mut PKCS7); |
| 17977 |
} |
| 17978 |
extern "C" { |
| 17979 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS7"] |
| 17980 |
pub fn d2i_PKCS7( |
| 17981 |
a: *mut *mut PKCS7, |
| 17982 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 17983 |
len: ::std::os::raw::c_long, |
| 17984 |
) -> *mut PKCS7; |
| 17985 |
} |
| 17986 |
extern "C" { |
| 17987 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS7"] |
| 17988 |
pub fn i2d_PKCS7( |
| 17989 |
a: *mut PKCS7, |
| 17990 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 17991 |
) -> ::std::os::raw::c_int; |
| 17992 |
} |
| 17993 |
extern "C" { |
| 17994 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_it"] |
| 17995 |
pub static PKCS7_it: ASN1_ITEM; |
| 17996 |
} |
| 17997 |
extern "C" { |
| 17998 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_RECIP_INFO_new"] |
| 17999 |
pub fn PKCS7_RECIP_INFO_new() -> *mut PKCS7_RECIP_INFO; |
| 18000 |
} |
| 18001 |
extern "C" { |
| 18002 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_RECIP_INFO_free"] |
| 18003 |
pub fn PKCS7_RECIP_INFO_free(a: *mut PKCS7_RECIP_INFO); |
| 18004 |
} |
| 18005 |
extern "C" { |
| 18006 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS7_RECIP_INFO"] |
| 18007 |
pub fn d2i_PKCS7_RECIP_INFO( |
| 18008 |
a: *mut *mut PKCS7_RECIP_INFO, |
| 18009 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 18010 |
len: ::std::os::raw::c_long, |
| 18011 |
) -> *mut PKCS7_RECIP_INFO; |
| 18012 |
} |
| 18013 |
extern "C" { |
| 18014 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS7_RECIP_INFO"] |
| 18015 |
pub fn i2d_PKCS7_RECIP_INFO( |
| 18016 |
a: *mut PKCS7_RECIP_INFO, |
| 18017 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 18018 |
) -> ::std::os::raw::c_int; |
| 18019 |
} |
| 18020 |
extern "C" { |
| 18021 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_RECIP_INFO_it"] |
| 18022 |
pub static PKCS7_RECIP_INFO_it: ASN1_ITEM; |
| 18023 |
} |
| 18024 |
extern "C" { |
| 18025 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_SIGNER_INFO_new"] |
| 18026 |
pub fn PKCS7_SIGNER_INFO_new() -> *mut PKCS7_SIGNER_INFO; |
| 18027 |
} |
| 18028 |
extern "C" { |
| 18029 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_SIGNER_INFO_free"] |
| 18030 |
pub fn PKCS7_SIGNER_INFO_free(a: *mut PKCS7_SIGNER_INFO); |
| 18031 |
} |
| 18032 |
extern "C" { |
| 18033 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS7_SIGNER_INFO"] |
| 18034 |
pub fn d2i_PKCS7_SIGNER_INFO( |
| 18035 |
a: *mut *mut PKCS7_SIGNER_INFO, |
| 18036 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 18037 |
len: ::std::os::raw::c_long, |
| 18038 |
) -> *mut PKCS7_SIGNER_INFO; |
| 18039 |
} |
| 18040 |
extern "C" { |
| 18041 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS7_SIGNER_INFO"] |
| 18042 |
pub fn i2d_PKCS7_SIGNER_INFO( |
| 18043 |
a: *mut PKCS7_SIGNER_INFO, |
| 18044 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 18045 |
) -> ::std::os::raw::c_int; |
| 18046 |
} |
| 18047 |
extern "C" { |
| 18048 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_SIGNER_INFO_it"] |
| 18049 |
pub static PKCS7_SIGNER_INFO_it: ASN1_ITEM; |
| 18050 |
} |
| 18051 |
#[repr(C)] |
| 18052 |
#[derive(Debug, Copy, Clone)] |
| 18053 |
pub struct stack_st_PKCS7_RECIP_INFO { |
| 18054 |
_unused: [u8; 0], |
| 18055 |
} |
| 18056 |
pub type sk_PKCS7_RECIP_INFO_free_func = |
| 18057 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut PKCS7_RECIP_INFO)>; |
| 18058 |
pub type sk_PKCS7_RECIP_INFO_copy_func = ::std::option::Option< |
| 18059 |
unsafe extern "C" fn(arg1: *const PKCS7_RECIP_INFO) -> *mut PKCS7_RECIP_INFO, |
| 18060 |
>; |
| 18061 |
pub type sk_PKCS7_RECIP_INFO_cmp_func = ::std::option::Option< |
| 18062 |
unsafe extern "C" fn( |
| 18063 |
arg1: *const *const PKCS7_RECIP_INFO, |
| 18064 |
arg2: *const *const PKCS7_RECIP_INFO, |
| 18065 |
) -> ::std::os::raw::c_int, |
| 18066 |
>; |
| 18067 |
pub type sk_PKCS7_RECIP_INFO_delete_if_func = ::std::option::Option< |
| 18068 |
unsafe extern "C" fn( |
| 18069 |
arg1: *mut PKCS7_RECIP_INFO, |
| 18070 |
arg2: *mut ::std::os::raw::c_void, |
| 18071 |
) -> ::std::os::raw::c_int, |
| 18072 |
>; |
| 18073 |
#[repr(C)] |
| 18074 |
#[derive(Debug, Copy, Clone)] |
| 18075 |
pub struct stack_st_PKCS7_SIGNER_INFO { |
| 18076 |
_unused: [u8; 0], |
| 18077 |
} |
| 18078 |
pub type sk_PKCS7_SIGNER_INFO_free_func = |
| 18079 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut PKCS7_SIGNER_INFO)>; |
| 18080 |
pub type sk_PKCS7_SIGNER_INFO_copy_func = ::std::option::Option< |
| 18081 |
unsafe extern "C" fn(arg1: *const PKCS7_SIGNER_INFO) -> *mut PKCS7_SIGNER_INFO, |
| 18082 |
>; |
| 18083 |
pub type sk_PKCS7_SIGNER_INFO_cmp_func = ::std::option::Option< |
| 18084 |
unsafe extern "C" fn( |
| 18085 |
arg1: *const *const PKCS7_SIGNER_INFO, |
| 18086 |
arg2: *const *const PKCS7_SIGNER_INFO, |
| 18087 |
) -> ::std::os::raw::c_int, |
| 18088 |
>; |
| 18089 |
pub type sk_PKCS7_SIGNER_INFO_delete_if_func = ::std::option::Option< |
| 18090 |
unsafe extern "C" fn( |
| 18091 |
arg1: *mut PKCS7_SIGNER_INFO, |
| 18092 |
arg2: *mut ::std::os::raw::c_void, |
| 18093 |
) -> ::std::os::raw::c_int, |
| 18094 |
>; |
| 18095 |
extern "C" { |
| 18096 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_dup"] |
| 18097 |
pub fn PKCS7_dup(p7: *mut PKCS7) -> *mut PKCS7; |
| 18098 |
} |
| 18099 |
extern "C" { |
| 18100 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_signed_attribute"] |
| 18101 |
pub fn PKCS7_get_signed_attribute( |
| 18102 |
si: *const PKCS7_SIGNER_INFO, |
| 18103 |
nid: ::std::os::raw::c_int, |
| 18104 |
) -> *mut ASN1_TYPE; |
| 18105 |
} |
| 18106 |
extern "C" { |
| 18107 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_signer_info"] |
| 18108 |
pub fn PKCS7_get_signer_info(p7: *mut PKCS7) -> *mut stack_st_PKCS7_SIGNER_INFO; |
| 18109 |
} |
| 18110 |
extern "C" { |
| 18111 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_RECIP_INFO_set"] |
| 18112 |
pub fn PKCS7_RECIP_INFO_set( |
| 18113 |
p7i: *mut PKCS7_RECIP_INFO, |
| 18114 |
x509: *mut X509, |
| 18115 |
) -> ::std::os::raw::c_int; |
| 18116 |
} |
| 18117 |
extern "C" { |
| 18118 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_SIGNER_INFO_set"] |
| 18119 |
pub fn PKCS7_SIGNER_INFO_set( |
| 18120 |
p7i: *mut PKCS7_SIGNER_INFO, |
| 18121 |
x509: *mut X509, |
| 18122 |
pkey: *mut EVP_PKEY, |
| 18123 |
dgst: *const EVP_MD, |
| 18124 |
) -> ::std::os::raw::c_int; |
| 18125 |
} |
| 18126 |
extern "C" { |
| 18127 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_add_certificate"] |
| 18128 |
pub fn PKCS7_add_certificate(p7: *mut PKCS7, x509: *mut X509) -> ::std::os::raw::c_int; |
| 18129 |
} |
| 18130 |
extern "C" { |
| 18131 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_add_crl"] |
| 18132 |
pub fn PKCS7_add_crl(p7: *mut PKCS7, x509: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 18133 |
} |
| 18134 |
extern "C" { |
| 18135 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_add_recipient_info"] |
| 18136 |
pub fn PKCS7_add_recipient_info( |
| 18137 |
p7: *mut PKCS7, |
| 18138 |
ri: *mut PKCS7_RECIP_INFO, |
| 18139 |
) -> ::std::os::raw::c_int; |
| 18140 |
} |
| 18141 |
extern "C" { |
| 18142 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_add_signer"] |
| 18143 |
pub fn PKCS7_add_signer(p7: *mut PKCS7, p7i: *mut PKCS7_SIGNER_INFO) -> ::std::os::raw::c_int; |
| 18144 |
} |
| 18145 |
extern "C" { |
| 18146 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_content_new"] |
| 18147 |
pub fn PKCS7_content_new(p7: *mut PKCS7, nid: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 18148 |
} |
| 18149 |
extern "C" { |
| 18150 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_set_content"] |
| 18151 |
pub fn PKCS7_set_content(p7: *mut PKCS7, p7_data: *mut PKCS7) -> ::std::os::raw::c_int; |
| 18152 |
} |
| 18153 |
extern "C" { |
| 18154 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_set_cipher"] |
| 18155 |
pub fn PKCS7_set_cipher(p7: *mut PKCS7, cipher: *const EVP_CIPHER) -> ::std::os::raw::c_int; |
| 18156 |
} |
| 18157 |
extern "C" { |
| 18158 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_set_type"] |
| 18159 |
pub fn PKCS7_set_type(p7: *mut PKCS7, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 18160 |
} |
| 18161 |
extern "C" { |
| 18162 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_RECIP_INFO_get0_alg"] |
| 18163 |
pub fn PKCS7_RECIP_INFO_get0_alg(ri: *mut PKCS7_RECIP_INFO, penc: *mut *mut X509_ALGOR); |
| 18164 |
} |
| 18165 |
extern "C" { |
| 18166 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_SIGNER_INFO_get0_algs"] |
| 18167 |
pub fn PKCS7_SIGNER_INFO_get0_algs( |
| 18168 |
si: *mut PKCS7_SIGNER_INFO, |
| 18169 |
pk: *mut *mut EVP_PKEY, |
| 18170 |
pdig: *mut *mut X509_ALGOR, |
| 18171 |
psig: *mut *mut X509_ALGOR, |
| 18172 |
); |
| 18173 |
} |
| 18174 |
extern "C" { |
| 18175 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_sign"] |
| 18176 |
pub fn PKCS7_sign( |
| 18177 |
sign_cert: *mut X509, |
| 18178 |
pkey: *mut EVP_PKEY, |
| 18179 |
certs: *mut stack_st_X509, |
| 18180 |
data: *mut BIO, |
| 18181 |
flags: ::std::os::raw::c_int, |
| 18182 |
) -> *mut PKCS7; |
| 18183 |
} |
| 18184 |
extern "C" { |
| 18185 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_verify"] |
| 18186 |
pub fn PKCS7_verify( |
| 18187 |
p7: *mut PKCS7, |
| 18188 |
certs: *mut stack_st_X509, |
| 18189 |
store: *mut X509_STORE, |
| 18190 |
indata: *mut BIO, |
| 18191 |
outdata: *mut BIO, |
| 18192 |
flags: ::std::os::raw::c_int, |
| 18193 |
) -> ::std::os::raw::c_int; |
| 18194 |
} |
| 18195 |
extern "C" { |
| 18196 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_is_detached"] |
| 18197 |
pub fn PKCS7_is_detached(p7: *mut PKCS7) -> ::std::os::raw::c_int; |
| 18198 |
} |
| 18199 |
extern "C" { |
| 18200 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_set_detached"] |
| 18201 |
pub fn PKCS7_set_detached( |
| 18202 |
p7: *mut PKCS7, |
| 18203 |
detach: ::std::os::raw::c_int, |
| 18204 |
) -> ::std::os::raw::c_int; |
| 18205 |
} |
| 18206 |
extern "C" { |
| 18207 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_detached"] |
| 18208 |
pub fn PKCS7_get_detached(p7: *mut PKCS7) -> ::std::os::raw::c_int; |
| 18209 |
} |
| 18210 |
extern "C" { |
| 18211 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_dataInit"] |
| 18212 |
pub fn PKCS7_dataInit(p7: *mut PKCS7, bio: *mut BIO) -> *mut BIO; |
| 18213 |
} |
| 18214 |
extern "C" { |
| 18215 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_dataFinal"] |
| 18216 |
pub fn PKCS7_dataFinal(p7: *mut PKCS7, bio: *mut BIO) -> ::std::os::raw::c_int; |
| 18217 |
} |
| 18218 |
extern "C" { |
| 18219 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_set_digest"] |
| 18220 |
pub fn PKCS7_set_digest(p7: *mut PKCS7, md: *const EVP_MD) -> ::std::os::raw::c_int; |
| 18221 |
} |
| 18222 |
extern "C" { |
| 18223 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get_recipient_info"] |
| 18224 |
pub fn PKCS7_get_recipient_info(p7: *mut PKCS7) -> *mut stack_st_PKCS7_RECIP_INFO; |
| 18225 |
} |
| 18226 |
extern "C" { |
| 18227 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_add_recipient"] |
| 18228 |
pub fn PKCS7_add_recipient(p7: *mut PKCS7, x509: *mut X509) -> *mut PKCS7_RECIP_INFO; |
| 18229 |
} |
| 18230 |
extern "C" { |
| 18231 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_get0_signers"] |
| 18232 |
pub fn PKCS7_get0_signers( |
| 18233 |
p7: *mut PKCS7, |
| 18234 |
certs: *mut stack_st_X509, |
| 18235 |
flags: ::std::os::raw::c_int, |
| 18236 |
) -> *mut stack_st_X509; |
| 18237 |
} |
| 18238 |
extern "C" { |
| 18239 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_encrypt"] |
| 18240 |
pub fn PKCS7_encrypt( |
| 18241 |
certs: *mut stack_st_X509, |
| 18242 |
in_: *mut BIO, |
| 18243 |
cipher: *const EVP_CIPHER, |
| 18244 |
flags: ::std::os::raw::c_int, |
| 18245 |
) -> *mut PKCS7; |
| 18246 |
} |
| 18247 |
extern "C" { |
| 18248 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_decrypt"] |
| 18249 |
pub fn PKCS7_decrypt( |
| 18250 |
p7: *mut PKCS7, |
| 18251 |
pkey: *mut EVP_PKEY, |
| 18252 |
cert: *mut X509, |
| 18253 |
data: *mut BIO, |
| 18254 |
flags: ::std::os::raw::c_int, |
| 18255 |
) -> ::std::os::raw::c_int; |
| 18256 |
} |
| 18257 |
extern "C" { |
| 18258 |
#[link_name = "\u{1}aws_lc_0_41_0_SMIME_read_PKCS7"] |
| 18259 |
pub fn SMIME_read_PKCS7(in_: *mut BIO, bcont: *mut *mut BIO) -> *mut PKCS7; |
| 18260 |
} |
| 18261 |
extern "C" { |
| 18262 |
#[link_name = "\u{1}aws_lc_0_41_0_SMIME_write_PKCS7"] |
| 18263 |
pub fn SMIME_write_PKCS7( |
| 18264 |
out: *mut BIO, |
| 18265 |
p7: *mut PKCS7, |
| 18266 |
data: *mut BIO, |
| 18267 |
flags: ::std::os::raw::c_int, |
| 18268 |
) -> ::std::os::raw::c_int; |
| 18269 |
} |
| 18270 |
extern "C" { |
| 18271 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS7_print_ctx"] |
| 18272 |
pub fn PKCS7_print_ctx( |
| 18273 |
bio: *mut BIO, |
| 18274 |
pkcs7: *mut PKCS7, |
| 18275 |
indent: ::std::os::raw::c_int, |
| 18276 |
pctx: *const ASN1_PCTX, |
| 18277 |
) -> ::std::os::raw::c_int; |
| 18278 |
} |
| 18279 |
pub type sk_CRYPTO_BUFFER_free_func = |
| 18280 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut CRYPTO_BUFFER)>; |
| 18281 |
pub type sk_CRYPTO_BUFFER_copy_func = |
| 18282 |
::std::option::Option<unsafe extern "C" fn(arg1: *const CRYPTO_BUFFER) -> *mut CRYPTO_BUFFER>; |
| 18283 |
pub type sk_CRYPTO_BUFFER_cmp_func = ::std::option::Option< |
| 18284 |
unsafe extern "C" fn( |
| 18285 |
arg1: *const *const CRYPTO_BUFFER, |
| 18286 |
arg2: *const *const CRYPTO_BUFFER, |
| 18287 |
) -> ::std::os::raw::c_int, |
| 18288 |
>; |
| 18289 |
pub type sk_CRYPTO_BUFFER_delete_if_func = ::std::option::Option< |
| 18290 |
unsafe extern "C" fn( |
| 18291 |
arg1: *mut CRYPTO_BUFFER, |
| 18292 |
arg2: *mut ::std::os::raw::c_void, |
| 18293 |
) -> ::std::os::raw::c_int, |
| 18294 |
>; |
| 18295 |
extern "C" { |
| 18296 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_POOL_new"] |
| 18297 |
pub fn CRYPTO_BUFFER_POOL_new() -> *mut CRYPTO_BUFFER_POOL; |
| 18298 |
} |
| 18299 |
extern "C" { |
| 18300 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_POOL_free"] |
| 18301 |
pub fn CRYPTO_BUFFER_POOL_free(pool: *mut CRYPTO_BUFFER_POOL); |
| 18302 |
} |
| 18303 |
extern "C" { |
| 18304 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_new"] |
| 18305 |
pub fn CRYPTO_BUFFER_new( |
| 18306 |
data: *const u8, |
| 18307 |
len: usize, |
| 18308 |
pool: *mut CRYPTO_BUFFER_POOL, |
| 18309 |
) -> *mut CRYPTO_BUFFER; |
| 18310 |
} |
| 18311 |
extern "C" { |
| 18312 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_alloc"] |
| 18313 |
pub fn CRYPTO_BUFFER_alloc(out_data: *mut *mut u8, len: usize) -> *mut CRYPTO_BUFFER; |
| 18314 |
} |
| 18315 |
extern "C" { |
| 18316 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_new_from_CBS"] |
| 18317 |
pub fn CRYPTO_BUFFER_new_from_CBS( |
| 18318 |
cbs: *const CBS, |
| 18319 |
pool: *mut CRYPTO_BUFFER_POOL, |
| 18320 |
) -> *mut CRYPTO_BUFFER; |
| 18321 |
} |
| 18322 |
extern "C" { |
| 18323 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_new_from_static_data_unsafe"] |
| 18324 |
pub fn CRYPTO_BUFFER_new_from_static_data_unsafe( |
| 18325 |
data: *const u8, |
| 18326 |
len: usize, |
| 18327 |
pool: *mut CRYPTO_BUFFER_POOL, |
| 18328 |
) -> *mut CRYPTO_BUFFER; |
| 18329 |
} |
| 18330 |
extern "C" { |
| 18331 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_free"] |
| 18332 |
pub fn CRYPTO_BUFFER_free(buf: *mut CRYPTO_BUFFER); |
| 18333 |
} |
| 18334 |
extern "C" { |
| 18335 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_up_ref"] |
| 18336 |
pub fn CRYPTO_BUFFER_up_ref(buf: *mut CRYPTO_BUFFER) -> ::std::os::raw::c_int; |
| 18337 |
} |
| 18338 |
extern "C" { |
| 18339 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_data"] |
| 18340 |
pub fn CRYPTO_BUFFER_data(buf: *const CRYPTO_BUFFER) -> *const u8; |
| 18341 |
} |
| 18342 |
extern "C" { |
| 18343 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_len"] |
| 18344 |
pub fn CRYPTO_BUFFER_len(buf: *const CRYPTO_BUFFER) -> usize; |
| 18345 |
} |
| 18346 |
extern "C" { |
| 18347 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_BUFFER_init_CBS"] |
| 18348 |
pub fn CRYPTO_BUFFER_init_CBS(buf: *const CRYPTO_BUFFER, out: *mut CBS); |
| 18349 |
} |
| 18350 |
extern "C" { |
| 18351 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new_public_key"] |
| 18352 |
pub fn RSA_new_public_key(n: *const BIGNUM, e: *const BIGNUM) -> *mut RSA; |
| 18353 |
} |
| 18354 |
extern "C" { |
| 18355 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new_private_key"] |
| 18356 |
pub fn RSA_new_private_key( |
| 18357 |
n: *const BIGNUM, |
| 18358 |
e: *const BIGNUM, |
| 18359 |
d: *const BIGNUM, |
| 18360 |
p: *const BIGNUM, |
| 18361 |
q: *const BIGNUM, |
| 18362 |
dmp1: *const BIGNUM, |
| 18363 |
dmq1: *const BIGNUM, |
| 18364 |
iqmp: *const BIGNUM, |
| 18365 |
) -> *mut RSA; |
| 18366 |
} |
| 18367 |
extern "C" { |
| 18368 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new"] |
| 18369 |
pub fn RSA_new() -> *mut RSA; |
| 18370 |
} |
| 18371 |
extern "C" { |
| 18372 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new_method"] |
| 18373 |
pub fn RSA_new_method(engine: *const ENGINE) -> *mut RSA; |
| 18374 |
} |
| 18375 |
extern "C" { |
| 18376 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_free"] |
| 18377 |
pub fn RSA_free(rsa: *mut RSA); |
| 18378 |
} |
| 18379 |
extern "C" { |
| 18380 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_up_ref"] |
| 18381 |
pub fn RSA_up_ref(rsa: *mut RSA) -> ::std::os::raw::c_int; |
| 18382 |
} |
| 18383 |
extern "C" { |
| 18384 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_bits"] |
| 18385 |
pub fn RSA_bits(rsa: *const RSA) -> ::std::os::raw::c_uint; |
| 18386 |
} |
| 18387 |
extern "C" { |
| 18388 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_n"] |
| 18389 |
pub fn RSA_get0_n(rsa: *const RSA) -> *const BIGNUM; |
| 18390 |
} |
| 18391 |
extern "C" { |
| 18392 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_e"] |
| 18393 |
pub fn RSA_get0_e(rsa: *const RSA) -> *const BIGNUM; |
| 18394 |
} |
| 18395 |
extern "C" { |
| 18396 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_d"] |
| 18397 |
pub fn RSA_get0_d(rsa: *const RSA) -> *const BIGNUM; |
| 18398 |
} |
| 18399 |
extern "C" { |
| 18400 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_p"] |
| 18401 |
pub fn RSA_get0_p(rsa: *const RSA) -> *const BIGNUM; |
| 18402 |
} |
| 18403 |
extern "C" { |
| 18404 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_q"] |
| 18405 |
pub fn RSA_get0_q(rsa: *const RSA) -> *const BIGNUM; |
| 18406 |
} |
| 18407 |
extern "C" { |
| 18408 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_dmp1"] |
| 18409 |
pub fn RSA_get0_dmp1(rsa: *const RSA) -> *const BIGNUM; |
| 18410 |
} |
| 18411 |
extern "C" { |
| 18412 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_dmq1"] |
| 18413 |
pub fn RSA_get0_dmq1(rsa: *const RSA) -> *const BIGNUM; |
| 18414 |
} |
| 18415 |
extern "C" { |
| 18416 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_iqmp"] |
| 18417 |
pub fn RSA_get0_iqmp(rsa: *const RSA) -> *const BIGNUM; |
| 18418 |
} |
| 18419 |
extern "C" { |
| 18420 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_key"] |
| 18421 |
pub fn RSA_get0_key( |
| 18422 |
rsa: *const RSA, |
| 18423 |
out_n: *mut *const BIGNUM, |
| 18424 |
out_e: *mut *const BIGNUM, |
| 18425 |
out_d: *mut *const BIGNUM, |
| 18426 |
); |
| 18427 |
} |
| 18428 |
extern "C" { |
| 18429 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_factors"] |
| 18430 |
pub fn RSA_get0_factors(rsa: *const RSA, out_p: *mut *const BIGNUM, out_q: *mut *const BIGNUM); |
| 18431 |
} |
| 18432 |
extern "C" { |
| 18433 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_crt_params"] |
| 18434 |
pub fn RSA_get0_crt_params( |
| 18435 |
rsa: *const RSA, |
| 18436 |
out_dmp1: *mut *const BIGNUM, |
| 18437 |
out_dmq1: *mut *const BIGNUM, |
| 18438 |
out_iqmp: *mut *const BIGNUM, |
| 18439 |
); |
| 18440 |
} |
| 18441 |
extern "C" { |
| 18442 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_set0_key"] |
| 18443 |
pub fn RSA_set0_key( |
| 18444 |
rsa: *mut RSA, |
| 18445 |
n: *mut BIGNUM, |
| 18446 |
e: *mut BIGNUM, |
| 18447 |
d: *mut BIGNUM, |
| 18448 |
) -> ::std::os::raw::c_int; |
| 18449 |
} |
| 18450 |
extern "C" { |
| 18451 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_set0_factors"] |
| 18452 |
pub fn RSA_set0_factors(rsa: *mut RSA, p: *mut BIGNUM, q: *mut BIGNUM) |
| 18453 |
-> ::std::os::raw::c_int; |
| 18454 |
} |
| 18455 |
extern "C" { |
| 18456 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_set0_crt_params"] |
| 18457 |
pub fn RSA_set0_crt_params( |
| 18458 |
rsa: *mut RSA, |
| 18459 |
dmp1: *mut BIGNUM, |
| 18460 |
dmq1: *mut BIGNUM, |
| 18461 |
iqmp: *mut BIGNUM, |
| 18462 |
) -> ::std::os::raw::c_int; |
| 18463 |
} |
| 18464 |
extern "C" { |
| 18465 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get_default_method"] |
| 18466 |
pub fn RSA_get_default_method() -> *const RSA_METHOD; |
| 18467 |
} |
| 18468 |
extern "C" { |
| 18469 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_new"] |
| 18470 |
pub fn RSA_meth_new( |
| 18471 |
name: *const ::std::os::raw::c_char, |
| 18472 |
flags: ::std::os::raw::c_int, |
| 18473 |
) -> *mut RSA_METHOD; |
| 18474 |
} |
| 18475 |
extern "C" { |
| 18476 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_set_method"] |
| 18477 |
pub fn RSA_set_method(rsa: *mut RSA, meth: *const RSA_METHOD) -> ::std::os::raw::c_int; |
| 18478 |
} |
| 18479 |
extern "C" { |
| 18480 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get_method"] |
| 18481 |
pub fn RSA_get_method(rsa: *const RSA) -> *const RSA_METHOD; |
| 18482 |
} |
| 18483 |
extern "C" { |
| 18484 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_free"] |
| 18485 |
pub fn RSA_meth_free(meth: *mut RSA_METHOD); |
| 18486 |
} |
| 18487 |
extern "C" { |
| 18488 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_set_init"] |
| 18489 |
pub fn RSA_meth_set_init( |
| 18490 |
meth: *mut RSA_METHOD, |
| 18491 |
init: ::std::option::Option<unsafe extern "C" fn(rsa: *mut RSA) -> ::std::os::raw::c_int>, |
| 18492 |
) -> ::std::os::raw::c_int; |
| 18493 |
} |
| 18494 |
extern "C" { |
| 18495 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_set_finish"] |
| 18496 |
pub fn RSA_meth_set_finish( |
| 18497 |
meth: *mut RSA_METHOD, |
| 18498 |
finish: ::std::option::Option<unsafe extern "C" fn(rsa: *mut RSA) -> ::std::os::raw::c_int>, |
| 18499 |
) -> ::std::os::raw::c_int; |
| 18500 |
} |
| 18501 |
extern "C" { |
| 18502 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_set_priv_dec"] |
| 18503 |
pub fn RSA_meth_set_priv_dec( |
| 18504 |
meth: *mut RSA_METHOD, |
| 18505 |
priv_dec: ::std::option::Option< |
| 18506 |
unsafe extern "C" fn( |
| 18507 |
max_out: ::std::os::raw::c_int, |
| 18508 |
from: *const u8, |
| 18509 |
to: *mut u8, |
| 18510 |
rsa: *mut RSA, |
| 18511 |
padding: ::std::os::raw::c_int, |
| 18512 |
) -> ::std::os::raw::c_int, |
| 18513 |
>, |
| 18514 |
) -> ::std::os::raw::c_int; |
| 18515 |
} |
| 18516 |
extern "C" { |
| 18517 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_set_priv_enc"] |
| 18518 |
pub fn RSA_meth_set_priv_enc( |
| 18519 |
meth: *mut RSA_METHOD, |
| 18520 |
priv_enc: ::std::option::Option< |
| 18521 |
unsafe extern "C" fn( |
| 18522 |
max_out: ::std::os::raw::c_int, |
| 18523 |
from: *const u8, |
| 18524 |
to: *mut u8, |
| 18525 |
rsa: *mut RSA, |
| 18526 |
padding: ::std::os::raw::c_int, |
| 18527 |
) -> ::std::os::raw::c_int, |
| 18528 |
>, |
| 18529 |
) -> ::std::os::raw::c_int; |
| 18530 |
} |
| 18531 |
extern "C" { |
| 18532 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_set_pub_dec"] |
| 18533 |
pub fn RSA_meth_set_pub_dec( |
| 18534 |
meth: *mut RSA_METHOD, |
| 18535 |
pub_dec: ::std::option::Option< |
| 18536 |
unsafe extern "C" fn( |
| 18537 |
max_out: ::std::os::raw::c_int, |
| 18538 |
from: *const u8, |
| 18539 |
to: *mut u8, |
| 18540 |
rsa: *mut RSA, |
| 18541 |
padding: ::std::os::raw::c_int, |
| 18542 |
) -> ::std::os::raw::c_int, |
| 18543 |
>, |
| 18544 |
) -> ::std::os::raw::c_int; |
| 18545 |
} |
| 18546 |
extern "C" { |
| 18547 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_set_pub_enc"] |
| 18548 |
pub fn RSA_meth_set_pub_enc( |
| 18549 |
meth: *mut RSA_METHOD, |
| 18550 |
pub_enc: ::std::option::Option< |
| 18551 |
unsafe extern "C" fn( |
| 18552 |
max_out: ::std::os::raw::c_int, |
| 18553 |
from: *const u8, |
| 18554 |
to: *mut u8, |
| 18555 |
rsa: *mut RSA, |
| 18556 |
padding: ::std::os::raw::c_int, |
| 18557 |
) -> ::std::os::raw::c_int, |
| 18558 |
>, |
| 18559 |
) -> ::std::os::raw::c_int; |
| 18560 |
} |
| 18561 |
extern "C" { |
| 18562 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_set0_app_data"] |
| 18563 |
pub fn RSA_meth_set0_app_data( |
| 18564 |
meth: *mut RSA_METHOD, |
| 18565 |
app_data: *mut ::std::os::raw::c_void, |
| 18566 |
) -> ::std::os::raw::c_int; |
| 18567 |
} |
| 18568 |
extern "C" { |
| 18569 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_meth_set_sign"] |
| 18570 |
pub fn RSA_meth_set_sign( |
| 18571 |
meth: *mut RSA_METHOD, |
| 18572 |
sign: ::std::option::Option< |
| 18573 |
unsafe extern "C" fn( |
| 18574 |
type_: ::std::os::raw::c_int, |
| 18575 |
m: *const ::std::os::raw::c_uchar, |
| 18576 |
m_length: ::std::os::raw::c_uint, |
| 18577 |
sigret: *mut ::std::os::raw::c_uchar, |
| 18578 |
siglen: *mut ::std::os::raw::c_uint, |
| 18579 |
rsa: *const RSA, |
| 18580 |
) -> ::std::os::raw::c_int, |
| 18581 |
>, |
| 18582 |
) -> ::std::os::raw::c_int; |
| 18583 |
} |
| 18584 |
extern "C" { |
| 18585 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_generate_key_ex"] |
| 18586 |
pub fn RSA_generate_key_ex( |
| 18587 |
rsa: *mut RSA, |
| 18588 |
bits: ::std::os::raw::c_int, |
| 18589 |
e: *const BIGNUM, |
| 18590 |
cb: *mut BN_GENCB, |
| 18591 |
) -> ::std::os::raw::c_int; |
| 18592 |
} |
| 18593 |
extern "C" { |
| 18594 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_generate_key_fips"] |
| 18595 |
pub fn RSA_generate_key_fips( |
| 18596 |
rsa: *mut RSA, |
| 18597 |
bits: ::std::os::raw::c_int, |
| 18598 |
cb: *mut BN_GENCB, |
| 18599 |
) -> ::std::os::raw::c_int; |
| 18600 |
} |
| 18601 |
extern "C" { |
| 18602 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_encrypt"] |
| 18603 |
pub fn RSA_encrypt( |
| 18604 |
rsa: *mut RSA, |
| 18605 |
out_len: *mut usize, |
| 18606 |
out: *mut u8, |
| 18607 |
max_out: usize, |
| 18608 |
in_: *const u8, |
| 18609 |
in_len: usize, |
| 18610 |
padding: ::std::os::raw::c_int, |
| 18611 |
) -> ::std::os::raw::c_int; |
| 18612 |
} |
| 18613 |
extern "C" { |
| 18614 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_decrypt"] |
| 18615 |
pub fn RSA_decrypt( |
| 18616 |
rsa: *mut RSA, |
| 18617 |
out_len: *mut usize, |
| 18618 |
out: *mut u8, |
| 18619 |
max_out: usize, |
| 18620 |
in_: *const u8, |
| 18621 |
in_len: usize, |
| 18622 |
padding: ::std::os::raw::c_int, |
| 18623 |
) -> ::std::os::raw::c_int; |
| 18624 |
} |
| 18625 |
extern "C" { |
| 18626 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_public_encrypt"] |
| 18627 |
pub fn RSA_public_encrypt( |
| 18628 |
flen: usize, |
| 18629 |
from: *const u8, |
| 18630 |
to: *mut u8, |
| 18631 |
rsa: *mut RSA, |
| 18632 |
padding: ::std::os::raw::c_int, |
| 18633 |
) -> ::std::os::raw::c_int; |
| 18634 |
} |
| 18635 |
extern "C" { |
| 18636 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_private_decrypt"] |
| 18637 |
pub fn RSA_private_decrypt( |
| 18638 |
flen: usize, |
| 18639 |
from: *const u8, |
| 18640 |
to: *mut u8, |
| 18641 |
rsa: *mut RSA, |
| 18642 |
padding: ::std::os::raw::c_int, |
| 18643 |
) -> ::std::os::raw::c_int; |
| 18644 |
} |
| 18645 |
extern "C" { |
| 18646 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_sign"] |
| 18647 |
pub fn RSA_sign( |
| 18648 |
hash_nid: ::std::os::raw::c_int, |
| 18649 |
digest: *const u8, |
| 18650 |
digest_len: usize, |
| 18651 |
out: *mut u8, |
| 18652 |
out_len: *mut ::std::os::raw::c_uint, |
| 18653 |
rsa: *mut RSA, |
| 18654 |
) -> ::std::os::raw::c_int; |
| 18655 |
} |
| 18656 |
extern "C" { |
| 18657 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_sign_pss_mgf1"] |
| 18658 |
pub fn RSA_sign_pss_mgf1( |
| 18659 |
rsa: *mut RSA, |
| 18660 |
out_len: *mut usize, |
| 18661 |
out: *mut u8, |
| 18662 |
max_out: usize, |
| 18663 |
digest: *const u8, |
| 18664 |
digest_len: usize, |
| 18665 |
md: *const EVP_MD, |
| 18666 |
mgf1_md: *const EVP_MD, |
| 18667 |
salt_len: ::std::os::raw::c_int, |
| 18668 |
) -> ::std::os::raw::c_int; |
| 18669 |
} |
| 18670 |
extern "C" { |
| 18671 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_sign_raw"] |
| 18672 |
pub fn RSA_sign_raw( |
| 18673 |
rsa: *mut RSA, |
| 18674 |
out_len: *mut usize, |
| 18675 |
out: *mut u8, |
| 18676 |
max_out: usize, |
| 18677 |
in_: *const u8, |
| 18678 |
in_len: usize, |
| 18679 |
padding: ::std::os::raw::c_int, |
| 18680 |
) -> ::std::os::raw::c_int; |
| 18681 |
} |
| 18682 |
extern "C" { |
| 18683 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_verify"] |
| 18684 |
pub fn RSA_verify( |
| 18685 |
hash_nid: ::std::os::raw::c_int, |
| 18686 |
digest: *const u8, |
| 18687 |
digest_len: usize, |
| 18688 |
sig: *const u8, |
| 18689 |
sig_len: usize, |
| 18690 |
rsa: *mut RSA, |
| 18691 |
) -> ::std::os::raw::c_int; |
| 18692 |
} |
| 18693 |
extern "C" { |
| 18694 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_verify_pss_mgf1"] |
| 18695 |
pub fn RSA_verify_pss_mgf1( |
| 18696 |
rsa: *mut RSA, |
| 18697 |
digest: *const u8, |
| 18698 |
digest_len: usize, |
| 18699 |
md: *const EVP_MD, |
| 18700 |
mgf1_md: *const EVP_MD, |
| 18701 |
salt_len: ::std::os::raw::c_int, |
| 18702 |
sig: *const u8, |
| 18703 |
sig_len: usize, |
| 18704 |
) -> ::std::os::raw::c_int; |
| 18705 |
} |
| 18706 |
extern "C" { |
| 18707 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_verify_raw"] |
| 18708 |
pub fn RSA_verify_raw( |
| 18709 |
rsa: *mut RSA, |
| 18710 |
out_len: *mut usize, |
| 18711 |
out: *mut u8, |
| 18712 |
max_out: usize, |
| 18713 |
in_: *const u8, |
| 18714 |
in_len: usize, |
| 18715 |
padding: ::std::os::raw::c_int, |
| 18716 |
) -> ::std::os::raw::c_int; |
| 18717 |
} |
| 18718 |
extern "C" { |
| 18719 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_private_encrypt"] |
| 18720 |
pub fn RSA_private_encrypt( |
| 18721 |
flen: usize, |
| 18722 |
from: *const u8, |
| 18723 |
to: *mut u8, |
| 18724 |
rsa: *mut RSA, |
| 18725 |
padding: ::std::os::raw::c_int, |
| 18726 |
) -> ::std::os::raw::c_int; |
| 18727 |
} |
| 18728 |
extern "C" { |
| 18729 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_public_decrypt"] |
| 18730 |
pub fn RSA_public_decrypt( |
| 18731 |
flen: usize, |
| 18732 |
from: *const u8, |
| 18733 |
to: *mut u8, |
| 18734 |
rsa: *mut RSA, |
| 18735 |
padding: ::std::os::raw::c_int, |
| 18736 |
) -> ::std::os::raw::c_int; |
| 18737 |
} |
| 18738 |
extern "C" { |
| 18739 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_size"] |
| 18740 |
pub fn RSA_size(rsa: *const RSA) -> ::std::os::raw::c_uint; |
| 18741 |
} |
| 18742 |
extern "C" { |
| 18743 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_is_opaque"] |
| 18744 |
pub fn RSA_is_opaque(rsa: *const RSA) -> ::std::os::raw::c_int; |
| 18745 |
} |
| 18746 |
extern "C" { |
| 18747 |
#[link_name = "\u{1}aws_lc_0_41_0_RSAPublicKey_dup"] |
| 18748 |
pub fn RSAPublicKey_dup(rsa: *const RSA) -> *mut RSA; |
| 18749 |
} |
| 18750 |
extern "C" { |
| 18751 |
#[link_name = "\u{1}aws_lc_0_41_0_RSAPrivateKey_dup"] |
| 18752 |
pub fn RSAPrivateKey_dup(rsa: *const RSA) -> *mut RSA; |
| 18753 |
} |
| 18754 |
extern "C" { |
| 18755 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_check_key"] |
| 18756 |
pub fn RSA_check_key(rsa: *const RSA) -> ::std::os::raw::c_int; |
| 18757 |
} |
| 18758 |
extern "C" { |
| 18759 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_check_fips"] |
| 18760 |
pub fn RSA_check_fips(key: *mut RSA) -> ::std::os::raw::c_int; |
| 18761 |
} |
| 18762 |
extern "C" { |
| 18763 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_verify_PKCS1_PSS_mgf1"] |
| 18764 |
pub fn RSA_verify_PKCS1_PSS_mgf1( |
| 18765 |
rsa: *const RSA, |
| 18766 |
mHash: *const u8, |
| 18767 |
Hash: *const EVP_MD, |
| 18768 |
mgf1Hash: *const EVP_MD, |
| 18769 |
EM: *const u8, |
| 18770 |
sLen: ::std::os::raw::c_int, |
| 18771 |
) -> ::std::os::raw::c_int; |
| 18772 |
} |
| 18773 |
extern "C" { |
| 18774 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_padding_add_PKCS1_PSS_mgf1"] |
| 18775 |
pub fn RSA_padding_add_PKCS1_PSS_mgf1( |
| 18776 |
rsa: *const RSA, |
| 18777 |
EM: *mut u8, |
| 18778 |
mHash: *const u8, |
| 18779 |
Hash: *const EVP_MD, |
| 18780 |
mgf1Hash: *const EVP_MD, |
| 18781 |
sLen: ::std::os::raw::c_int, |
| 18782 |
) -> ::std::os::raw::c_int; |
| 18783 |
} |
| 18784 |
extern "C" { |
| 18785 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_padding_add_PKCS1_OAEP_mgf1"] |
| 18786 |
pub fn RSA_padding_add_PKCS1_OAEP_mgf1( |
| 18787 |
to: *mut u8, |
| 18788 |
to_len: usize, |
| 18789 |
from: *const u8, |
| 18790 |
from_len: usize, |
| 18791 |
param: *const u8, |
| 18792 |
param_len: usize, |
| 18793 |
md: *const EVP_MD, |
| 18794 |
mgf1md: *const EVP_MD, |
| 18795 |
) -> ::std::os::raw::c_int; |
| 18796 |
} |
| 18797 |
extern "C" { |
| 18798 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS1_MGF1"] |
| 18799 |
pub fn PKCS1_MGF1( |
| 18800 |
out: *mut u8, |
| 18801 |
len: usize, |
| 18802 |
seed: *const u8, |
| 18803 |
seed_len: usize, |
| 18804 |
md: *const EVP_MD, |
| 18805 |
) -> ::std::os::raw::c_int; |
| 18806 |
} |
| 18807 |
extern "C" { |
| 18808 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_add_pkcs1_prefix"] |
| 18809 |
pub fn RSA_add_pkcs1_prefix( |
| 18810 |
out_msg: *mut *mut u8, |
| 18811 |
out_msg_len: *mut usize, |
| 18812 |
is_alloced: *mut ::std::os::raw::c_int, |
| 18813 |
hash_nid: ::std::os::raw::c_int, |
| 18814 |
digest: *const u8, |
| 18815 |
digest_len: usize, |
| 18816 |
) -> ::std::os::raw::c_int; |
| 18817 |
} |
| 18818 |
extern "C" { |
| 18819 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_parse_public_key"] |
| 18820 |
pub fn RSA_parse_public_key(cbs: *mut CBS) -> *mut RSA; |
| 18821 |
} |
| 18822 |
extern "C" { |
| 18823 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_public_key_from_bytes"] |
| 18824 |
pub fn RSA_public_key_from_bytes(in_: *const u8, in_len: usize) -> *mut RSA; |
| 18825 |
} |
| 18826 |
extern "C" { |
| 18827 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_marshal_public_key"] |
| 18828 |
pub fn RSA_marshal_public_key(cbb: *mut CBB, rsa: *const RSA) -> ::std::os::raw::c_int; |
| 18829 |
} |
| 18830 |
extern "C" { |
| 18831 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_public_key_to_bytes"] |
| 18832 |
pub fn RSA_public_key_to_bytes( |
| 18833 |
out_bytes: *mut *mut u8, |
| 18834 |
out_len: *mut usize, |
| 18835 |
rsa: *const RSA, |
| 18836 |
) -> ::std::os::raw::c_int; |
| 18837 |
} |
| 18838 |
extern "C" { |
| 18839 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_parse_private_key"] |
| 18840 |
pub fn RSA_parse_private_key(cbs: *mut CBS) -> *mut RSA; |
| 18841 |
} |
| 18842 |
extern "C" { |
| 18843 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_private_key_from_bytes"] |
| 18844 |
pub fn RSA_private_key_from_bytes(in_: *const u8, in_len: usize) -> *mut RSA; |
| 18845 |
} |
| 18846 |
extern "C" { |
| 18847 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_marshal_private_key"] |
| 18848 |
pub fn RSA_marshal_private_key(cbb: *mut CBB, rsa: *const RSA) -> ::std::os::raw::c_int; |
| 18849 |
} |
| 18850 |
extern "C" { |
| 18851 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_private_key_to_bytes"] |
| 18852 |
pub fn RSA_private_key_to_bytes( |
| 18853 |
out_bytes: *mut *mut u8, |
| 18854 |
out_len: *mut usize, |
| 18855 |
rsa: *const RSA, |
| 18856 |
) -> ::std::os::raw::c_int; |
| 18857 |
} |
| 18858 |
extern "C" { |
| 18859 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new_private_key_no_crt"] |
| 18860 |
pub fn RSA_new_private_key_no_crt( |
| 18861 |
n: *const BIGNUM, |
| 18862 |
e: *const BIGNUM, |
| 18863 |
d: *const BIGNUM, |
| 18864 |
) -> *mut RSA; |
| 18865 |
} |
| 18866 |
extern "C" { |
| 18867 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new_private_key_no_e"] |
| 18868 |
pub fn RSA_new_private_key_no_e(n: *const BIGNUM, d: *const BIGNUM) -> *mut RSA; |
| 18869 |
} |
| 18870 |
extern "C" { |
| 18871 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new_public_key_large_e"] |
| 18872 |
pub fn RSA_new_public_key_large_e(n: *const BIGNUM, e: *const BIGNUM) -> *mut RSA; |
| 18873 |
} |
| 18874 |
extern "C" { |
| 18875 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new_private_key_large_e"] |
| 18876 |
pub fn RSA_new_private_key_large_e( |
| 18877 |
n: *const BIGNUM, |
| 18878 |
e: *const BIGNUM, |
| 18879 |
d: *const BIGNUM, |
| 18880 |
p: *const BIGNUM, |
| 18881 |
q: *const BIGNUM, |
| 18882 |
dmp1: *const BIGNUM, |
| 18883 |
dmq1: *const BIGNUM, |
| 18884 |
iqmp: *const BIGNUM, |
| 18885 |
) -> *mut RSA; |
| 18886 |
} |
| 18887 |
extern "C" { |
| 18888 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get_ex_new_index"] |
| 18889 |
pub fn RSA_get_ex_new_index( |
| 18890 |
argl: ::std::os::raw::c_long, |
| 18891 |
argp: *mut ::std::os::raw::c_void, |
| 18892 |
unused: *mut CRYPTO_EX_unused, |
| 18893 |
dup_unused: CRYPTO_EX_dup, |
| 18894 |
free_func: CRYPTO_EX_free, |
| 18895 |
) -> ::std::os::raw::c_int; |
| 18896 |
} |
| 18897 |
extern "C" { |
| 18898 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_set_ex_data"] |
| 18899 |
pub fn RSA_set_ex_data( |
| 18900 |
rsa: *mut RSA, |
| 18901 |
idx: ::std::os::raw::c_int, |
| 18902 |
arg: *mut ::std::os::raw::c_void, |
| 18903 |
) -> ::std::os::raw::c_int; |
| 18904 |
} |
| 18905 |
extern "C" { |
| 18906 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get_ex_data"] |
| 18907 |
pub fn RSA_get_ex_data( |
| 18908 |
rsa: *const RSA, |
| 18909 |
idx: ::std::os::raw::c_int, |
| 18910 |
) -> *mut ::std::os::raw::c_void; |
| 18911 |
} |
| 18912 |
extern "C" { |
| 18913 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_flags"] |
| 18914 |
pub fn RSA_flags(rsa: *const RSA) -> ::std::os::raw::c_int; |
| 18915 |
} |
| 18916 |
extern "C" { |
| 18917 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_set_flags"] |
| 18918 |
pub fn RSA_set_flags(rsa: *mut RSA, flags: ::std::os::raw::c_int); |
| 18919 |
} |
| 18920 |
extern "C" { |
| 18921 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_test_flags"] |
| 18922 |
pub fn RSA_test_flags(rsa: *const RSA, flags: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 18923 |
} |
| 18924 |
extern "C" { |
| 18925 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_blinding_on"] |
| 18926 |
pub fn RSA_blinding_on(rsa: *mut RSA, ctx: *mut BN_CTX) -> ::std::os::raw::c_int; |
| 18927 |
} |
| 18928 |
extern "C" { |
| 18929 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_blinding_off_temp_for_accp_compatibility"] |
| 18930 |
pub fn RSA_blinding_off_temp_for_accp_compatibility(rsa: *mut RSA); |
| 18931 |
} |
| 18932 |
extern "C" { |
| 18933 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_pkey_ctx_ctrl"] |
| 18934 |
pub fn RSA_pkey_ctx_ctrl( |
| 18935 |
ctx: *mut EVP_PKEY_CTX, |
| 18936 |
optype: ::std::os::raw::c_int, |
| 18937 |
cmd: ::std::os::raw::c_int, |
| 18938 |
p1: ::std::os::raw::c_int, |
| 18939 |
p2: *mut ::std::os::raw::c_void, |
| 18940 |
) -> ::std::os::raw::c_int; |
| 18941 |
} |
| 18942 |
extern "C" { |
| 18943 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_generate_key"] |
| 18944 |
pub fn RSA_generate_key( |
| 18945 |
bits: ::std::os::raw::c_int, |
| 18946 |
e: u64, |
| 18947 |
callback: *mut ::std::os::raw::c_void, |
| 18948 |
cb_arg: *mut ::std::os::raw::c_void, |
| 18949 |
) -> *mut RSA; |
| 18950 |
} |
| 18951 |
extern "C" { |
| 18952 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSAPublicKey"] |
| 18953 |
pub fn d2i_RSAPublicKey( |
| 18954 |
out: *mut *mut RSA, |
| 18955 |
inp: *mut *const u8, |
| 18956 |
len: ::std::os::raw::c_long, |
| 18957 |
) -> *mut RSA; |
| 18958 |
} |
| 18959 |
extern "C" { |
| 18960 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSAPublicKey"] |
| 18961 |
pub fn i2d_RSAPublicKey(in_: *const RSA, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 18962 |
} |
| 18963 |
extern "C" { |
| 18964 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSAPrivateKey"] |
| 18965 |
pub fn d2i_RSAPrivateKey( |
| 18966 |
out: *mut *mut RSA, |
| 18967 |
inp: *mut *const u8, |
| 18968 |
len: ::std::os::raw::c_long, |
| 18969 |
) -> *mut RSA; |
| 18970 |
} |
| 18971 |
extern "C" { |
| 18972 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSAPrivateKey"] |
| 18973 |
pub fn i2d_RSAPrivateKey(in_: *const RSA, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 18974 |
} |
| 18975 |
extern "C" { |
| 18976 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_padding_add_PKCS1_PSS"] |
| 18977 |
pub fn RSA_padding_add_PKCS1_PSS( |
| 18978 |
rsa: *const RSA, |
| 18979 |
EM: *mut u8, |
| 18980 |
mHash: *const u8, |
| 18981 |
Hash: *const EVP_MD, |
| 18982 |
sLen: ::std::os::raw::c_int, |
| 18983 |
) -> ::std::os::raw::c_int; |
| 18984 |
} |
| 18985 |
extern "C" { |
| 18986 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_verify_PKCS1_PSS"] |
| 18987 |
pub fn RSA_verify_PKCS1_PSS( |
| 18988 |
rsa: *const RSA, |
| 18989 |
mHash: *const u8, |
| 18990 |
Hash: *const EVP_MD, |
| 18991 |
EM: *const u8, |
| 18992 |
sLen: ::std::os::raw::c_int, |
| 18993 |
) -> ::std::os::raw::c_int; |
| 18994 |
} |
| 18995 |
extern "C" { |
| 18996 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_padding_add_PKCS1_OAEP"] |
| 18997 |
pub fn RSA_padding_add_PKCS1_OAEP( |
| 18998 |
to: *mut u8, |
| 18999 |
to_len: usize, |
| 19000 |
from: *const u8, |
| 19001 |
from_len: usize, |
| 19002 |
param: *const u8, |
| 19003 |
param_len: usize, |
| 19004 |
) -> ::std::os::raw::c_int; |
| 19005 |
} |
| 19006 |
extern "C" { |
| 19007 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_print"] |
| 19008 |
pub fn RSA_print( |
| 19009 |
bio: *mut BIO, |
| 19010 |
rsa: *const RSA, |
| 19011 |
indent: ::std::os::raw::c_int, |
| 19012 |
) -> ::std::os::raw::c_int; |
| 19013 |
} |
| 19014 |
extern "C" { |
| 19015 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_print_fp"] |
| 19016 |
pub fn RSA_print_fp( |
| 19017 |
fp: *mut FILE, |
| 19018 |
rsa: *const RSA, |
| 19019 |
indent: ::std::os::raw::c_int, |
| 19020 |
) -> ::std::os::raw::c_int; |
| 19021 |
} |
| 19022 |
extern "C" { |
| 19023 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_get0_pss_params"] |
| 19024 |
pub fn RSA_get0_pss_params(rsa: *const RSA) -> *const RSA_PSS_PARAMS; |
| 19025 |
} |
| 19026 |
extern "C" { |
| 19027 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_new_method_no_e"] |
| 19028 |
pub fn RSA_new_method_no_e(engine: *const ENGINE, n: *const BIGNUM) -> *mut RSA; |
| 19029 |
} |
| 19030 |
pub type sk_X509_free_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut X509)>; |
| 19031 |
pub type sk_X509_copy_func = |
| 19032 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509) -> *mut X509>; |
| 19033 |
pub type sk_X509_cmp_func = ::std::option::Option< |
| 19034 |
unsafe extern "C" fn( |
| 19035 |
arg1: *const *const X509, |
| 19036 |
arg2: *const *const X509, |
| 19037 |
) -> ::std::os::raw::c_int, |
| 19038 |
>; |
| 19039 |
pub type sk_X509_delete_if_func = ::std::option::Option< |
| 19040 |
unsafe extern "C" fn( |
| 19041 |
arg1: *mut X509, |
| 19042 |
arg2: *mut ::std::os::raw::c_void, |
| 19043 |
) -> ::std::os::raw::c_int, |
| 19044 |
>; |
| 19045 |
extern "C" { |
| 19046 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_it"] |
| 19047 |
pub static X509_it: ASN1_ITEM; |
| 19048 |
} |
| 19049 |
extern "C" { |
| 19050 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_up_ref"] |
| 19051 |
pub fn X509_up_ref(x509: *mut X509) -> ::std::os::raw::c_int; |
| 19052 |
} |
| 19053 |
extern "C" { |
| 19054 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_chain_up_ref"] |
| 19055 |
pub fn X509_chain_up_ref(chain: *mut stack_st_X509) -> *mut stack_st_X509; |
| 19056 |
} |
| 19057 |
extern "C" { |
| 19058 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_dup"] |
| 19059 |
pub fn X509_dup(x509: *mut X509) -> *mut X509; |
| 19060 |
} |
| 19061 |
extern "C" { |
| 19062 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_free"] |
| 19063 |
pub fn X509_free(x509: *mut X509); |
| 19064 |
} |
| 19065 |
extern "C" { |
| 19066 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509"] |
| 19067 |
pub fn d2i_X509( |
| 19068 |
out: *mut *mut X509, |
| 19069 |
inp: *mut *const u8, |
| 19070 |
len: ::std::os::raw::c_long, |
| 19071 |
) -> *mut X509; |
| 19072 |
} |
| 19073 |
extern "C" { |
| 19074 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_parse_from_buffer"] |
| 19075 |
pub fn X509_parse_from_buffer(buf: *mut CRYPTO_BUFFER) -> *mut X509; |
| 19076 |
} |
| 19077 |
extern "C" { |
| 19078 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509"] |
| 19079 |
pub fn i2d_X509(x509: *mut X509, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 19080 |
} |
| 19081 |
extern "C" { |
| 19082 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_version"] |
| 19083 |
pub fn X509_get_version(x509: *const X509) -> ::std::os::raw::c_long; |
| 19084 |
} |
| 19085 |
extern "C" { |
| 19086 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_serialNumber"] |
| 19087 |
pub fn X509_get0_serialNumber(x509: *const X509) -> *const ASN1_INTEGER; |
| 19088 |
} |
| 19089 |
extern "C" { |
| 19090 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_notBefore"] |
| 19091 |
pub fn X509_get0_notBefore(x509: *const X509) -> *const ASN1_TIME; |
| 19092 |
} |
| 19093 |
extern "C" { |
| 19094 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_notAfter"] |
| 19095 |
pub fn X509_get0_notAfter(x509: *const X509) -> *const ASN1_TIME; |
| 19096 |
} |
| 19097 |
extern "C" { |
| 19098 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_issuer_name"] |
| 19099 |
pub fn X509_get_issuer_name(x509: *const X509) -> *mut X509_NAME; |
| 19100 |
} |
| 19101 |
extern "C" { |
| 19102 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_subject_name"] |
| 19103 |
pub fn X509_get_subject_name(x509: *const X509) -> *mut X509_NAME; |
| 19104 |
} |
| 19105 |
extern "C" { |
| 19106 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_X509_PUBKEY"] |
| 19107 |
pub fn X509_get_X509_PUBKEY(x509: *const X509) -> *mut X509_PUBKEY; |
| 19108 |
} |
| 19109 |
extern "C" { |
| 19110 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_pubkey"] |
| 19111 |
pub fn X509_get0_pubkey(x509: *const X509) -> *mut EVP_PKEY; |
| 19112 |
} |
| 19113 |
extern "C" { |
| 19114 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_pubkey"] |
| 19115 |
pub fn X509_get_pubkey(x509: *const X509) -> *mut EVP_PKEY; |
| 19116 |
} |
| 19117 |
extern "C" { |
| 19118 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_pubkey_bitstr"] |
| 19119 |
pub fn X509_get0_pubkey_bitstr(x509: *const X509) -> *mut ASN1_BIT_STRING; |
| 19120 |
} |
| 19121 |
extern "C" { |
| 19122 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_private_key"] |
| 19123 |
pub fn X509_check_private_key( |
| 19124 |
x509: *const X509, |
| 19125 |
pkey: *const EVP_PKEY, |
| 19126 |
) -> ::std::os::raw::c_int; |
| 19127 |
} |
| 19128 |
extern "C" { |
| 19129 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_uids"] |
| 19130 |
pub fn X509_get0_uids( |
| 19131 |
x509: *const X509, |
| 19132 |
out_issuer_uid: *mut *const ASN1_BIT_STRING, |
| 19133 |
out_subject_uid: *mut *const ASN1_BIT_STRING, |
| 19134 |
); |
| 19135 |
} |
| 19136 |
extern "C" { |
| 19137 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_extension_flags"] |
| 19138 |
pub fn X509_get_extension_flags(x509: *mut X509) -> u32; |
| 19139 |
} |
| 19140 |
extern "C" { |
| 19141 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_pathlen"] |
| 19142 |
pub fn X509_get_pathlen(x509: *mut X509) -> ::std::os::raw::c_long; |
| 19143 |
} |
| 19144 |
extern "C" { |
| 19145 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_key_usage"] |
| 19146 |
pub fn X509_get_key_usage(x509: *mut X509) -> u32; |
| 19147 |
} |
| 19148 |
extern "C" { |
| 19149 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_extended_key_usage"] |
| 19150 |
pub fn X509_get_extended_key_usage(x509: *mut X509) -> u32; |
| 19151 |
} |
| 19152 |
extern "C" { |
| 19153 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_subject_key_id"] |
| 19154 |
pub fn X509_get0_subject_key_id(x509: *mut X509) -> *const ASN1_OCTET_STRING; |
| 19155 |
} |
| 19156 |
extern "C" { |
| 19157 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_authority_key_id"] |
| 19158 |
pub fn X509_get0_authority_key_id(x509: *mut X509) -> *const ASN1_OCTET_STRING; |
| 19159 |
} |
| 19160 |
#[repr(C)] |
| 19161 |
#[derive(Debug, Copy, Clone)] |
| 19162 |
pub struct stack_st_GENERAL_NAME { |
| 19163 |
_unused: [u8; 0], |
| 19164 |
} |
| 19165 |
pub type sk_GENERAL_NAME_free_func = |
| 19166 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut GENERAL_NAME)>; |
| 19167 |
pub type sk_GENERAL_NAME_copy_func = |
| 19168 |
::std::option::Option<unsafe extern "C" fn(arg1: *const GENERAL_NAME) -> *mut GENERAL_NAME>; |
| 19169 |
pub type sk_GENERAL_NAME_cmp_func = ::std::option::Option< |
| 19170 |
unsafe extern "C" fn( |
| 19171 |
arg1: *const *const GENERAL_NAME, |
| 19172 |
arg2: *const *const GENERAL_NAME, |
| 19173 |
) -> ::std::os::raw::c_int, |
| 19174 |
>; |
| 19175 |
pub type sk_GENERAL_NAME_delete_if_func = ::std::option::Option< |
| 19176 |
unsafe extern "C" fn( |
| 19177 |
arg1: *mut GENERAL_NAME, |
| 19178 |
arg2: *mut ::std::os::raw::c_void, |
| 19179 |
) -> ::std::os::raw::c_int, |
| 19180 |
>; |
| 19181 |
pub type GENERAL_NAMES = stack_st_GENERAL_NAME; |
| 19182 |
extern "C" { |
| 19183 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_authority_issuer"] |
| 19184 |
pub fn X509_get0_authority_issuer(x509: *mut X509) -> *const GENERAL_NAMES; |
| 19185 |
} |
| 19186 |
extern "C" { |
| 19187 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_authority_serial"] |
| 19188 |
pub fn X509_get0_authority_serial(x509: *mut X509) -> *const ASN1_INTEGER; |
| 19189 |
} |
| 19190 |
#[repr(C)] |
| 19191 |
#[derive(Debug, Copy, Clone)] |
| 19192 |
pub struct stack_st_X509_EXTENSION { |
| 19193 |
_unused: [u8; 0], |
| 19194 |
} |
| 19195 |
extern "C" { |
| 19196 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_extensions"] |
| 19197 |
pub fn X509_get0_extensions(x509: *const X509) -> *const stack_st_X509_EXTENSION; |
| 19198 |
} |
| 19199 |
extern "C" { |
| 19200 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_ext_count"] |
| 19201 |
pub fn X509_get_ext_count(x: *const X509) -> ::std::os::raw::c_int; |
| 19202 |
} |
| 19203 |
extern "C" { |
| 19204 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_ext_by_NID"] |
| 19205 |
pub fn X509_get_ext_by_NID( |
| 19206 |
x: *const X509, |
| 19207 |
nid: ::std::os::raw::c_int, |
| 19208 |
lastpos: ::std::os::raw::c_int, |
| 19209 |
) -> ::std::os::raw::c_int; |
| 19210 |
} |
| 19211 |
extern "C" { |
| 19212 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_ext_by_OBJ"] |
| 19213 |
pub fn X509_get_ext_by_OBJ( |
| 19214 |
x: *const X509, |
| 19215 |
obj: *const ASN1_OBJECT, |
| 19216 |
lastpos: ::std::os::raw::c_int, |
| 19217 |
) -> ::std::os::raw::c_int; |
| 19218 |
} |
| 19219 |
extern "C" { |
| 19220 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_ext_by_critical"] |
| 19221 |
pub fn X509_get_ext_by_critical( |
| 19222 |
x: *const X509, |
| 19223 |
crit: ::std::os::raw::c_int, |
| 19224 |
lastpos: ::std::os::raw::c_int, |
| 19225 |
) -> ::std::os::raw::c_int; |
| 19226 |
} |
| 19227 |
extern "C" { |
| 19228 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_ext"] |
| 19229 |
pub fn X509_get_ext(x: *const X509, loc: ::std::os::raw::c_int) -> *mut X509_EXTENSION; |
| 19230 |
} |
| 19231 |
extern "C" { |
| 19232 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_ext_d2i"] |
| 19233 |
pub fn X509_get_ext_d2i( |
| 19234 |
x509: *const X509, |
| 19235 |
nid: ::std::os::raw::c_int, |
| 19236 |
out_critical: *mut ::std::os::raw::c_int, |
| 19237 |
out_idx: *mut ::std::os::raw::c_int, |
| 19238 |
) -> *mut ::std::os::raw::c_void; |
| 19239 |
} |
| 19240 |
extern "C" { |
| 19241 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_tbs_sigalg"] |
| 19242 |
pub fn X509_get0_tbs_sigalg(x509: *const X509) -> *const X509_ALGOR; |
| 19243 |
} |
| 19244 |
extern "C" { |
| 19245 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_signature_info"] |
| 19246 |
pub fn X509_get_signature_info( |
| 19247 |
x509: *mut X509, |
| 19248 |
digest_nid: *mut ::std::os::raw::c_int, |
| 19249 |
pubkey_nid: *mut ::std::os::raw::c_int, |
| 19250 |
sec_bits: *mut ::std::os::raw::c_int, |
| 19251 |
flags: *mut u32, |
| 19252 |
) -> ::std::os::raw::c_int; |
| 19253 |
} |
| 19254 |
extern "C" { |
| 19255 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get0_signature"] |
| 19256 |
pub fn X509_get0_signature( |
| 19257 |
out_sig: *mut *const ASN1_BIT_STRING, |
| 19258 |
out_alg: *mut *const X509_ALGOR, |
| 19259 |
x509: *const X509, |
| 19260 |
); |
| 19261 |
} |
| 19262 |
extern "C" { |
| 19263 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_signature_nid"] |
| 19264 |
pub fn X509_get_signature_nid(x509: *const X509) -> ::std::os::raw::c_int; |
| 19265 |
} |
| 19266 |
extern "C" { |
| 19267 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_tbs"] |
| 19268 |
pub fn i2d_X509_tbs( |
| 19269 |
x509: *mut X509, |
| 19270 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 19271 |
) -> ::std::os::raw::c_int; |
| 19272 |
} |
| 19273 |
extern "C" { |
| 19274 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_verify"] |
| 19275 |
pub fn X509_verify(x509: *mut X509, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 19276 |
} |
| 19277 |
extern "C" { |
| 19278 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get1_email"] |
| 19279 |
pub fn X509_get1_email(x509: *const X509) -> *mut stack_st_OPENSSL_STRING; |
| 19280 |
} |
| 19281 |
extern "C" { |
| 19282 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get1_ocsp"] |
| 19283 |
pub fn X509_get1_ocsp(x509: *const X509) -> *mut stack_st_OPENSSL_STRING; |
| 19284 |
} |
| 19285 |
extern "C" { |
| 19286 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_email_free"] |
| 19287 |
pub fn X509_email_free(sk: *mut stack_st_OPENSSL_STRING); |
| 19288 |
} |
| 19289 |
extern "C" { |
| 19290 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_cmp"] |
| 19291 |
pub fn X509_cmp(a: *const X509, b: *const X509) -> ::std::os::raw::c_int; |
| 19292 |
} |
| 19293 |
extern "C" { |
| 19294 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_new"] |
| 19295 |
pub fn X509_new() -> *mut X509; |
| 19296 |
} |
| 19297 |
extern "C" { |
| 19298 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set_version"] |
| 19299 |
pub fn X509_set_version( |
| 19300 |
x509: *mut X509, |
| 19301 |
version: ::std::os::raw::c_long, |
| 19302 |
) -> ::std::os::raw::c_int; |
| 19303 |
} |
| 19304 |
extern "C" { |
| 19305 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set_serialNumber"] |
| 19306 |
pub fn X509_set_serialNumber( |
| 19307 |
x509: *mut X509, |
| 19308 |
serial: *const ASN1_INTEGER, |
| 19309 |
) -> ::std::os::raw::c_int; |
| 19310 |
} |
| 19311 |
extern "C" { |
| 19312 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set1_notBefore"] |
| 19313 |
pub fn X509_set1_notBefore(x509: *mut X509, tm: *const ASN1_TIME) -> ::std::os::raw::c_int; |
| 19314 |
} |
| 19315 |
extern "C" { |
| 19316 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set1_notAfter"] |
| 19317 |
pub fn X509_set1_notAfter(x509: *mut X509, tm: *const ASN1_TIME) -> ::std::os::raw::c_int; |
| 19318 |
} |
| 19319 |
extern "C" { |
| 19320 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_getm_notBefore"] |
| 19321 |
pub fn X509_getm_notBefore(x509: *mut X509) -> *mut ASN1_TIME; |
| 19322 |
} |
| 19323 |
extern "C" { |
| 19324 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_getm_notAfter"] |
| 19325 |
pub fn X509_getm_notAfter(x: *mut X509) -> *mut ASN1_TIME; |
| 19326 |
} |
| 19327 |
extern "C" { |
| 19328 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set_issuer_name"] |
| 19329 |
pub fn X509_set_issuer_name(x509: *mut X509, name: *mut X509_NAME) -> ::std::os::raw::c_int; |
| 19330 |
} |
| 19331 |
extern "C" { |
| 19332 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set_subject_name"] |
| 19333 |
pub fn X509_set_subject_name(x509: *mut X509, name: *mut X509_NAME) -> ::std::os::raw::c_int; |
| 19334 |
} |
| 19335 |
extern "C" { |
| 19336 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set_pubkey"] |
| 19337 |
pub fn X509_set_pubkey(x509: *mut X509, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 19338 |
} |
| 19339 |
extern "C" { |
| 19340 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_delete_ext"] |
| 19341 |
pub fn X509_delete_ext(x: *mut X509, loc: ::std::os::raw::c_int) -> *mut X509_EXTENSION; |
| 19342 |
} |
| 19343 |
extern "C" { |
| 19344 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_add_ext"] |
| 19345 |
pub fn X509_add_ext( |
| 19346 |
x: *mut X509, |
| 19347 |
ex: *const X509_EXTENSION, |
| 19348 |
loc: ::std::os::raw::c_int, |
| 19349 |
) -> ::std::os::raw::c_int; |
| 19350 |
} |
| 19351 |
extern "C" { |
| 19352 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_add1_ext_i2d"] |
| 19353 |
pub fn X509_add1_ext_i2d( |
| 19354 |
x: *mut X509, |
| 19355 |
nid: ::std::os::raw::c_int, |
| 19356 |
value: *mut ::std::os::raw::c_void, |
| 19357 |
crit: ::std::os::raw::c_int, |
| 19358 |
flags: ::std::os::raw::c_ulong, |
| 19359 |
) -> ::std::os::raw::c_int; |
| 19360 |
} |
| 19361 |
extern "C" { |
| 19362 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_sign"] |
| 19363 |
pub fn X509_sign( |
| 19364 |
x509: *mut X509, |
| 19365 |
pkey: *mut EVP_PKEY, |
| 19366 |
md: *const EVP_MD, |
| 19367 |
) -> ::std::os::raw::c_int; |
| 19368 |
} |
| 19369 |
extern "C" { |
| 19370 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_sign_ctx"] |
| 19371 |
pub fn X509_sign_ctx(x509: *mut X509, ctx: *mut EVP_MD_CTX) -> ::std::os::raw::c_int; |
| 19372 |
} |
| 19373 |
extern "C" { |
| 19374 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_re_X509_tbs"] |
| 19375 |
pub fn i2d_re_X509_tbs( |
| 19376 |
x509: *mut X509, |
| 19377 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 19378 |
) -> ::std::os::raw::c_int; |
| 19379 |
} |
| 19380 |
extern "C" { |
| 19381 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set1_signature_algo"] |
| 19382 |
pub fn X509_set1_signature_algo( |
| 19383 |
x509: *mut X509, |
| 19384 |
algo: *const X509_ALGOR, |
| 19385 |
) -> ::std::os::raw::c_int; |
| 19386 |
} |
| 19387 |
extern "C" { |
| 19388 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set1_signature_value"] |
| 19389 |
pub fn X509_set1_signature_value( |
| 19390 |
x509: *mut X509, |
| 19391 |
sig: *const u8, |
| 19392 |
sig_len: usize, |
| 19393 |
) -> ::std::os::raw::c_int; |
| 19394 |
} |
| 19395 |
extern "C" { |
| 19396 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_AUX"] |
| 19397 |
pub fn i2d_X509_AUX(x509: *mut X509, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 19398 |
} |
| 19399 |
extern "C" { |
| 19400 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_AUX"] |
| 19401 |
pub fn d2i_X509_AUX( |
| 19402 |
x509: *mut *mut X509, |
| 19403 |
inp: *mut *const u8, |
| 19404 |
length: ::std::os::raw::c_long, |
| 19405 |
) -> *mut X509; |
| 19406 |
} |
| 19407 |
extern "C" { |
| 19408 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_alias_set1"] |
| 19409 |
pub fn X509_alias_set1( |
| 19410 |
x509: *mut X509, |
| 19411 |
name: *const u8, |
| 19412 |
len: ossl_ssize_t, |
| 19413 |
) -> ::std::os::raw::c_int; |
| 19414 |
} |
| 19415 |
extern "C" { |
| 19416 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_keyid_set1"] |
| 19417 |
pub fn X509_keyid_set1( |
| 19418 |
x509: *mut X509, |
| 19419 |
id: *const u8, |
| 19420 |
len: ossl_ssize_t, |
| 19421 |
) -> ::std::os::raw::c_int; |
| 19422 |
} |
| 19423 |
extern "C" { |
| 19424 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_alias_get0"] |
| 19425 |
pub fn X509_alias_get0(x509: *const X509, out_len: *mut ::std::os::raw::c_int) -> *const u8; |
| 19426 |
} |
| 19427 |
extern "C" { |
| 19428 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_keyid_get0"] |
| 19429 |
pub fn X509_keyid_get0(x509: *const X509, out_len: *mut ::std::os::raw::c_int) -> *const u8; |
| 19430 |
} |
| 19431 |
extern "C" { |
| 19432 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_add1_trust_object"] |
| 19433 |
pub fn X509_add1_trust_object( |
| 19434 |
x509: *mut X509, |
| 19435 |
obj: *const ASN1_OBJECT, |
| 19436 |
) -> ::std::os::raw::c_int; |
| 19437 |
} |
| 19438 |
extern "C" { |
| 19439 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_add1_reject_object"] |
| 19440 |
pub fn X509_add1_reject_object( |
| 19441 |
x509: *mut X509, |
| 19442 |
obj: *const ASN1_OBJECT, |
| 19443 |
) -> ::std::os::raw::c_int; |
| 19444 |
} |
| 19445 |
extern "C" { |
| 19446 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_trust_clear"] |
| 19447 |
pub fn X509_trust_clear(x509: *mut X509); |
| 19448 |
} |
| 19449 |
extern "C" { |
| 19450 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_reject_clear"] |
| 19451 |
pub fn X509_reject_clear(x509: *mut X509); |
| 19452 |
} |
| 19453 |
pub type sk_X509_CRL_free_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_CRL)>; |
| 19454 |
pub type sk_X509_CRL_copy_func = |
| 19455 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_CRL) -> *mut X509_CRL>; |
| 19456 |
pub type sk_X509_CRL_cmp_func = ::std::option::Option< |
| 19457 |
unsafe extern "C" fn( |
| 19458 |
arg1: *const *const X509_CRL, |
| 19459 |
arg2: *const *const X509_CRL, |
| 19460 |
) -> ::std::os::raw::c_int, |
| 19461 |
>; |
| 19462 |
pub type sk_X509_CRL_delete_if_func = ::std::option::Option< |
| 19463 |
unsafe extern "C" fn( |
| 19464 |
arg1: *mut X509_CRL, |
| 19465 |
arg2: *mut ::std::os::raw::c_void, |
| 19466 |
) -> ::std::os::raw::c_int, |
| 19467 |
>; |
| 19468 |
#[repr(C)] |
| 19469 |
#[derive(Debug, Copy, Clone)] |
| 19470 |
pub struct stack_st_X509_REVOKED { |
| 19471 |
_unused: [u8; 0], |
| 19472 |
} |
| 19473 |
pub type sk_X509_REVOKED_free_func = |
| 19474 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_REVOKED)>; |
| 19475 |
pub type sk_X509_REVOKED_copy_func = |
| 19476 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_REVOKED) -> *mut X509_REVOKED>; |
| 19477 |
pub type sk_X509_REVOKED_cmp_func = ::std::option::Option< |
| 19478 |
unsafe extern "C" fn( |
| 19479 |
arg1: *const *const X509_REVOKED, |
| 19480 |
arg2: *const *const X509_REVOKED, |
| 19481 |
) -> ::std::os::raw::c_int, |
| 19482 |
>; |
| 19483 |
pub type sk_X509_REVOKED_delete_if_func = ::std::option::Option< |
| 19484 |
unsafe extern "C" fn( |
| 19485 |
arg1: *mut X509_REVOKED, |
| 19486 |
arg2: *mut ::std::os::raw::c_void, |
| 19487 |
) -> ::std::os::raw::c_int, |
| 19488 |
>; |
| 19489 |
extern "C" { |
| 19490 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_it"] |
| 19491 |
pub static X509_CRL_it: ASN1_ITEM; |
| 19492 |
} |
| 19493 |
extern "C" { |
| 19494 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_up_ref"] |
| 19495 |
pub fn X509_CRL_up_ref(crl: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 19496 |
} |
| 19497 |
extern "C" { |
| 19498 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_dup"] |
| 19499 |
pub fn X509_CRL_dup(crl: *mut X509_CRL) -> *mut X509_CRL; |
| 19500 |
} |
| 19501 |
extern "C" { |
| 19502 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_free"] |
| 19503 |
pub fn X509_CRL_free(crl: *mut X509_CRL); |
| 19504 |
} |
| 19505 |
extern "C" { |
| 19506 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_CRL"] |
| 19507 |
pub fn d2i_X509_CRL( |
| 19508 |
out: *mut *mut X509_CRL, |
| 19509 |
inp: *mut *const u8, |
| 19510 |
len: ::std::os::raw::c_long, |
| 19511 |
) -> *mut X509_CRL; |
| 19512 |
} |
| 19513 |
extern "C" { |
| 19514 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_CRL"] |
| 19515 |
pub fn i2d_X509_CRL(crl: *mut X509_CRL, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 19516 |
} |
| 19517 |
extern "C" { |
| 19518 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_match"] |
| 19519 |
pub fn X509_CRL_match(a: *const X509_CRL, b: *const X509_CRL) -> ::std::os::raw::c_int; |
| 19520 |
} |
| 19521 |
extern "C" { |
| 19522 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_version"] |
| 19523 |
pub fn X509_CRL_get_version(crl: *const X509_CRL) -> ::std::os::raw::c_long; |
| 19524 |
} |
| 19525 |
extern "C" { |
| 19526 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get0_lastUpdate"] |
| 19527 |
pub fn X509_CRL_get0_lastUpdate(crl: *const X509_CRL) -> *const ASN1_TIME; |
| 19528 |
} |
| 19529 |
extern "C" { |
| 19530 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get0_nextUpdate"] |
| 19531 |
pub fn X509_CRL_get0_nextUpdate(crl: *const X509_CRL) -> *const ASN1_TIME; |
| 19532 |
} |
| 19533 |
extern "C" { |
| 19534 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_issuer"] |
| 19535 |
pub fn X509_CRL_get_issuer(crl: *const X509_CRL) -> *mut X509_NAME; |
| 19536 |
} |
| 19537 |
extern "C" { |
| 19538 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get0_by_serial"] |
| 19539 |
pub fn X509_CRL_get0_by_serial( |
| 19540 |
crl: *mut X509_CRL, |
| 19541 |
out: *mut *mut X509_REVOKED, |
| 19542 |
serial: *const ASN1_INTEGER, |
| 19543 |
) -> ::std::os::raw::c_int; |
| 19544 |
} |
| 19545 |
extern "C" { |
| 19546 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get0_by_cert"] |
| 19547 |
pub fn X509_CRL_get0_by_cert( |
| 19548 |
crl: *mut X509_CRL, |
| 19549 |
out: *mut *mut X509_REVOKED, |
| 19550 |
x509: *mut X509, |
| 19551 |
) -> ::std::os::raw::c_int; |
| 19552 |
} |
| 19553 |
extern "C" { |
| 19554 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_REVOKED"] |
| 19555 |
pub fn X509_CRL_get_REVOKED(crl: *mut X509_CRL) -> *mut stack_st_X509_REVOKED; |
| 19556 |
} |
| 19557 |
extern "C" { |
| 19558 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get0_extensions"] |
| 19559 |
pub fn X509_CRL_get0_extensions(crl: *const X509_CRL) -> *const stack_st_X509_EXTENSION; |
| 19560 |
} |
| 19561 |
extern "C" { |
| 19562 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_ext_count"] |
| 19563 |
pub fn X509_CRL_get_ext_count(x: *const X509_CRL) -> ::std::os::raw::c_int; |
| 19564 |
} |
| 19565 |
extern "C" { |
| 19566 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_ext_by_NID"] |
| 19567 |
pub fn X509_CRL_get_ext_by_NID( |
| 19568 |
x: *const X509_CRL, |
| 19569 |
nid: ::std::os::raw::c_int, |
| 19570 |
lastpos: ::std::os::raw::c_int, |
| 19571 |
) -> ::std::os::raw::c_int; |
| 19572 |
} |
| 19573 |
extern "C" { |
| 19574 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_ext_by_OBJ"] |
| 19575 |
pub fn X509_CRL_get_ext_by_OBJ( |
| 19576 |
x: *const X509_CRL, |
| 19577 |
obj: *const ASN1_OBJECT, |
| 19578 |
lastpos: ::std::os::raw::c_int, |
| 19579 |
) -> ::std::os::raw::c_int; |
| 19580 |
} |
| 19581 |
extern "C" { |
| 19582 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_ext_by_critical"] |
| 19583 |
pub fn X509_CRL_get_ext_by_critical( |
| 19584 |
x: *const X509_CRL, |
| 19585 |
crit: ::std::os::raw::c_int, |
| 19586 |
lastpos: ::std::os::raw::c_int, |
| 19587 |
) -> ::std::os::raw::c_int; |
| 19588 |
} |
| 19589 |
extern "C" { |
| 19590 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_ext"] |
| 19591 |
pub fn X509_CRL_get_ext(x: *const X509_CRL, loc: ::std::os::raw::c_int) -> *mut X509_EXTENSION; |
| 19592 |
} |
| 19593 |
extern "C" { |
| 19594 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_ext_d2i"] |
| 19595 |
pub fn X509_CRL_get_ext_d2i( |
| 19596 |
crl: *const X509_CRL, |
| 19597 |
nid: ::std::os::raw::c_int, |
| 19598 |
out_critical: *mut ::std::os::raw::c_int, |
| 19599 |
out_idx: *mut ::std::os::raw::c_int, |
| 19600 |
) -> *mut ::std::os::raw::c_void; |
| 19601 |
} |
| 19602 |
extern "C" { |
| 19603 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get0_signature"] |
| 19604 |
pub fn X509_CRL_get0_signature( |
| 19605 |
crl: *const X509_CRL, |
| 19606 |
out_sig: *mut *const ASN1_BIT_STRING, |
| 19607 |
out_alg: *mut *const X509_ALGOR, |
| 19608 |
); |
| 19609 |
} |
| 19610 |
extern "C" { |
| 19611 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_signature_nid"] |
| 19612 |
pub fn X509_CRL_get_signature_nid(crl: *const X509_CRL) -> ::std::os::raw::c_int; |
| 19613 |
} |
| 19614 |
extern "C" { |
| 19615 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_CRL_tbs"] |
| 19616 |
pub fn i2d_X509_CRL_tbs( |
| 19617 |
crl: *mut X509_CRL, |
| 19618 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 19619 |
) -> ::std::os::raw::c_int; |
| 19620 |
} |
| 19621 |
extern "C" { |
| 19622 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_verify"] |
| 19623 |
pub fn X509_CRL_verify(crl: *mut X509_CRL, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 19624 |
} |
| 19625 |
extern "C" { |
| 19626 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_new"] |
| 19627 |
pub fn X509_CRL_new() -> *mut X509_CRL; |
| 19628 |
} |
| 19629 |
extern "C" { |
| 19630 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_set_version"] |
| 19631 |
pub fn X509_CRL_set_version( |
| 19632 |
crl: *mut X509_CRL, |
| 19633 |
version: ::std::os::raw::c_long, |
| 19634 |
) -> ::std::os::raw::c_int; |
| 19635 |
} |
| 19636 |
extern "C" { |
| 19637 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_set_issuer_name"] |
| 19638 |
pub fn X509_CRL_set_issuer_name( |
| 19639 |
crl: *mut X509_CRL, |
| 19640 |
name: *mut X509_NAME, |
| 19641 |
) -> ::std::os::raw::c_int; |
| 19642 |
} |
| 19643 |
extern "C" { |
| 19644 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_set1_lastUpdate"] |
| 19645 |
pub fn X509_CRL_set1_lastUpdate( |
| 19646 |
crl: *mut X509_CRL, |
| 19647 |
tm: *const ASN1_TIME, |
| 19648 |
) -> ::std::os::raw::c_int; |
| 19649 |
} |
| 19650 |
extern "C" { |
| 19651 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_set1_nextUpdate"] |
| 19652 |
pub fn X509_CRL_set1_nextUpdate( |
| 19653 |
crl: *mut X509_CRL, |
| 19654 |
tm: *const ASN1_TIME, |
| 19655 |
) -> ::std::os::raw::c_int; |
| 19656 |
} |
| 19657 |
extern "C" { |
| 19658 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_add0_revoked"] |
| 19659 |
pub fn X509_CRL_add0_revoked( |
| 19660 |
crl: *mut X509_CRL, |
| 19661 |
rev: *mut X509_REVOKED, |
| 19662 |
) -> ::std::os::raw::c_int; |
| 19663 |
} |
| 19664 |
extern "C" { |
| 19665 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_sort"] |
| 19666 |
pub fn X509_CRL_sort(crl: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 19667 |
} |
| 19668 |
extern "C" { |
| 19669 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_delete_ext"] |
| 19670 |
pub fn X509_CRL_delete_ext(x: *mut X509_CRL, loc: ::std::os::raw::c_int) |
| 19671 |
-> *mut X509_EXTENSION; |
| 19672 |
} |
| 19673 |
extern "C" { |
| 19674 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_add_ext"] |
| 19675 |
pub fn X509_CRL_add_ext( |
| 19676 |
x: *mut X509_CRL, |
| 19677 |
ex: *const X509_EXTENSION, |
| 19678 |
loc: ::std::os::raw::c_int, |
| 19679 |
) -> ::std::os::raw::c_int; |
| 19680 |
} |
| 19681 |
extern "C" { |
| 19682 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_add1_ext_i2d"] |
| 19683 |
pub fn X509_CRL_add1_ext_i2d( |
| 19684 |
x: *mut X509_CRL, |
| 19685 |
nid: ::std::os::raw::c_int, |
| 19686 |
value: *mut ::std::os::raw::c_void, |
| 19687 |
crit: ::std::os::raw::c_int, |
| 19688 |
flags: ::std::os::raw::c_ulong, |
| 19689 |
) -> ::std::os::raw::c_int; |
| 19690 |
} |
| 19691 |
extern "C" { |
| 19692 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_sign"] |
| 19693 |
pub fn X509_CRL_sign( |
| 19694 |
crl: *mut X509_CRL, |
| 19695 |
pkey: *mut EVP_PKEY, |
| 19696 |
md: *const EVP_MD, |
| 19697 |
) -> ::std::os::raw::c_int; |
| 19698 |
} |
| 19699 |
extern "C" { |
| 19700 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_sign_ctx"] |
| 19701 |
pub fn X509_CRL_sign_ctx(crl: *mut X509_CRL, ctx: *mut EVP_MD_CTX) -> ::std::os::raw::c_int; |
| 19702 |
} |
| 19703 |
extern "C" { |
| 19704 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_re_X509_CRL_tbs"] |
| 19705 |
pub fn i2d_re_X509_CRL_tbs( |
| 19706 |
crl: *mut X509_CRL, |
| 19707 |
outp: *mut *mut ::std::os::raw::c_uchar, |
| 19708 |
) -> ::std::os::raw::c_int; |
| 19709 |
} |
| 19710 |
extern "C" { |
| 19711 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_set1_signature_algo"] |
| 19712 |
pub fn X509_CRL_set1_signature_algo( |
| 19713 |
crl: *mut X509_CRL, |
| 19714 |
algo: *const X509_ALGOR, |
| 19715 |
) -> ::std::os::raw::c_int; |
| 19716 |
} |
| 19717 |
extern "C" { |
| 19718 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_set1_signature_value"] |
| 19719 |
pub fn X509_CRL_set1_signature_value( |
| 19720 |
crl: *mut X509_CRL, |
| 19721 |
sig: *const u8, |
| 19722 |
sig_len: usize, |
| 19723 |
) -> ::std::os::raw::c_int; |
| 19724 |
} |
| 19725 |
extern "C" { |
| 19726 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_http_nbio"] |
| 19727 |
pub fn X509_CRL_http_nbio( |
| 19728 |
rctx: *mut OCSP_REQ_CTX, |
| 19729 |
pcrl: *mut *mut X509_CRL, |
| 19730 |
) -> ::std::os::raw::c_int; |
| 19731 |
} |
| 19732 |
extern "C" { |
| 19733 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_it"] |
| 19734 |
pub static X509_REVOKED_it: ASN1_ITEM; |
| 19735 |
} |
| 19736 |
extern "C" { |
| 19737 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_new"] |
| 19738 |
pub fn X509_REVOKED_new() -> *mut X509_REVOKED; |
| 19739 |
} |
| 19740 |
extern "C" { |
| 19741 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_free"] |
| 19742 |
pub fn X509_REVOKED_free(rev: *mut X509_REVOKED); |
| 19743 |
} |
| 19744 |
extern "C" { |
| 19745 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_REVOKED"] |
| 19746 |
pub fn d2i_X509_REVOKED( |
| 19747 |
out: *mut *mut X509_REVOKED, |
| 19748 |
inp: *mut *const u8, |
| 19749 |
len: ::std::os::raw::c_long, |
| 19750 |
) -> *mut X509_REVOKED; |
| 19751 |
} |
| 19752 |
extern "C" { |
| 19753 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_REVOKED"] |
| 19754 |
pub fn i2d_X509_REVOKED(alg: *const X509_REVOKED, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 19755 |
} |
| 19756 |
extern "C" { |
| 19757 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_dup"] |
| 19758 |
pub fn X509_REVOKED_dup(rev: *const X509_REVOKED) -> *mut X509_REVOKED; |
| 19759 |
} |
| 19760 |
extern "C" { |
| 19761 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get0_serialNumber"] |
| 19762 |
pub fn X509_REVOKED_get0_serialNumber(revoked: *const X509_REVOKED) -> *const ASN1_INTEGER; |
| 19763 |
} |
| 19764 |
extern "C" { |
| 19765 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_set_serialNumber"] |
| 19766 |
pub fn X509_REVOKED_set_serialNumber( |
| 19767 |
revoked: *mut X509_REVOKED, |
| 19768 |
serial: *const ASN1_INTEGER, |
| 19769 |
) -> ::std::os::raw::c_int; |
| 19770 |
} |
| 19771 |
extern "C" { |
| 19772 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get0_revocationDate"] |
| 19773 |
pub fn X509_REVOKED_get0_revocationDate(revoked: *const X509_REVOKED) -> *const ASN1_TIME; |
| 19774 |
} |
| 19775 |
extern "C" { |
| 19776 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_set_revocationDate"] |
| 19777 |
pub fn X509_REVOKED_set_revocationDate( |
| 19778 |
revoked: *mut X509_REVOKED, |
| 19779 |
tm: *const ASN1_TIME, |
| 19780 |
) -> ::std::os::raw::c_int; |
| 19781 |
} |
| 19782 |
extern "C" { |
| 19783 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get0_extensions"] |
| 19784 |
pub fn X509_REVOKED_get0_extensions(r: *const X509_REVOKED) -> *const stack_st_X509_EXTENSION; |
| 19785 |
} |
| 19786 |
extern "C" { |
| 19787 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get_ext_count"] |
| 19788 |
pub fn X509_REVOKED_get_ext_count(x: *const X509_REVOKED) -> ::std::os::raw::c_int; |
| 19789 |
} |
| 19790 |
extern "C" { |
| 19791 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get_ext_by_NID"] |
| 19792 |
pub fn X509_REVOKED_get_ext_by_NID( |
| 19793 |
x: *const X509_REVOKED, |
| 19794 |
nid: ::std::os::raw::c_int, |
| 19795 |
lastpos: ::std::os::raw::c_int, |
| 19796 |
) -> ::std::os::raw::c_int; |
| 19797 |
} |
| 19798 |
extern "C" { |
| 19799 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get_ext_by_OBJ"] |
| 19800 |
pub fn X509_REVOKED_get_ext_by_OBJ( |
| 19801 |
x: *const X509_REVOKED, |
| 19802 |
obj: *const ASN1_OBJECT, |
| 19803 |
lastpos: ::std::os::raw::c_int, |
| 19804 |
) -> ::std::os::raw::c_int; |
| 19805 |
} |
| 19806 |
extern "C" { |
| 19807 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get_ext_by_critical"] |
| 19808 |
pub fn X509_REVOKED_get_ext_by_critical( |
| 19809 |
x: *const X509_REVOKED, |
| 19810 |
crit: ::std::os::raw::c_int, |
| 19811 |
lastpos: ::std::os::raw::c_int, |
| 19812 |
) -> ::std::os::raw::c_int; |
| 19813 |
} |
| 19814 |
extern "C" { |
| 19815 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get_ext"] |
| 19816 |
pub fn X509_REVOKED_get_ext( |
| 19817 |
x: *const X509_REVOKED, |
| 19818 |
loc: ::std::os::raw::c_int, |
| 19819 |
) -> *mut X509_EXTENSION; |
| 19820 |
} |
| 19821 |
extern "C" { |
| 19822 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_delete_ext"] |
| 19823 |
pub fn X509_REVOKED_delete_ext( |
| 19824 |
x: *mut X509_REVOKED, |
| 19825 |
loc: ::std::os::raw::c_int, |
| 19826 |
) -> *mut X509_EXTENSION; |
| 19827 |
} |
| 19828 |
extern "C" { |
| 19829 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_add_ext"] |
| 19830 |
pub fn X509_REVOKED_add_ext( |
| 19831 |
x: *mut X509_REVOKED, |
| 19832 |
ex: *const X509_EXTENSION, |
| 19833 |
loc: ::std::os::raw::c_int, |
| 19834 |
) -> ::std::os::raw::c_int; |
| 19835 |
} |
| 19836 |
extern "C" { |
| 19837 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_get_ext_d2i"] |
| 19838 |
pub fn X509_REVOKED_get_ext_d2i( |
| 19839 |
revoked: *const X509_REVOKED, |
| 19840 |
nid: ::std::os::raw::c_int, |
| 19841 |
out_critical: *mut ::std::os::raw::c_int, |
| 19842 |
out_idx: *mut ::std::os::raw::c_int, |
| 19843 |
) -> *mut ::std::os::raw::c_void; |
| 19844 |
} |
| 19845 |
extern "C" { |
| 19846 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REVOKED_add1_ext_i2d"] |
| 19847 |
pub fn X509_REVOKED_add1_ext_i2d( |
| 19848 |
x: *mut X509_REVOKED, |
| 19849 |
nid: ::std::os::raw::c_int, |
| 19850 |
value: *mut ::std::os::raw::c_void, |
| 19851 |
crit: ::std::os::raw::c_int, |
| 19852 |
flags: ::std::os::raw::c_ulong, |
| 19853 |
) -> ::std::os::raw::c_int; |
| 19854 |
} |
| 19855 |
extern "C" { |
| 19856 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_it"] |
| 19857 |
pub static X509_REQ_it: ASN1_ITEM; |
| 19858 |
} |
| 19859 |
extern "C" { |
| 19860 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_dup"] |
| 19861 |
pub fn X509_REQ_dup(req: *mut X509_REQ) -> *mut X509_REQ; |
| 19862 |
} |
| 19863 |
extern "C" { |
| 19864 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_free"] |
| 19865 |
pub fn X509_REQ_free(req: *mut X509_REQ); |
| 19866 |
} |
| 19867 |
extern "C" { |
| 19868 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_REQ"] |
| 19869 |
pub fn d2i_X509_REQ( |
| 19870 |
out: *mut *mut X509_REQ, |
| 19871 |
inp: *mut *const u8, |
| 19872 |
len: ::std::os::raw::c_long, |
| 19873 |
) -> *mut X509_REQ; |
| 19874 |
} |
| 19875 |
extern "C" { |
| 19876 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_REQ"] |
| 19877 |
pub fn i2d_X509_REQ(req: *mut X509_REQ, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 19878 |
} |
| 19879 |
extern "C" { |
| 19880 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_version"] |
| 19881 |
pub fn X509_REQ_get_version(req: *const X509_REQ) -> ::std::os::raw::c_long; |
| 19882 |
} |
| 19883 |
extern "C" { |
| 19884 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_subject_name"] |
| 19885 |
pub fn X509_REQ_get_subject_name(req: *const X509_REQ) -> *mut X509_NAME; |
| 19886 |
} |
| 19887 |
extern "C" { |
| 19888 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get0_pubkey"] |
| 19889 |
pub fn X509_REQ_get0_pubkey(req: *const X509_REQ) -> *mut EVP_PKEY; |
| 19890 |
} |
| 19891 |
extern "C" { |
| 19892 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_pubkey"] |
| 19893 |
pub fn X509_REQ_get_pubkey(req: *const X509_REQ) -> *mut EVP_PKEY; |
| 19894 |
} |
| 19895 |
extern "C" { |
| 19896 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_check_private_key"] |
| 19897 |
pub fn X509_REQ_check_private_key( |
| 19898 |
req: *const X509_REQ, |
| 19899 |
pkey: *const EVP_PKEY, |
| 19900 |
) -> ::std::os::raw::c_int; |
| 19901 |
} |
| 19902 |
extern "C" { |
| 19903 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_attr_count"] |
| 19904 |
pub fn X509_REQ_get_attr_count(req: *const X509_REQ) -> ::std::os::raw::c_int; |
| 19905 |
} |
| 19906 |
extern "C" { |
| 19907 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_attr"] |
| 19908 |
pub fn X509_REQ_get_attr( |
| 19909 |
req: *const X509_REQ, |
| 19910 |
loc: ::std::os::raw::c_int, |
| 19911 |
) -> *mut X509_ATTRIBUTE; |
| 19912 |
} |
| 19913 |
extern "C" { |
| 19914 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_attr_by_NID"] |
| 19915 |
pub fn X509_REQ_get_attr_by_NID( |
| 19916 |
req: *const X509_REQ, |
| 19917 |
nid: ::std::os::raw::c_int, |
| 19918 |
lastpos: ::std::os::raw::c_int, |
| 19919 |
) -> ::std::os::raw::c_int; |
| 19920 |
} |
| 19921 |
extern "C" { |
| 19922 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_attr_by_OBJ"] |
| 19923 |
pub fn X509_REQ_get_attr_by_OBJ( |
| 19924 |
req: *const X509_REQ, |
| 19925 |
obj: *const ASN1_OBJECT, |
| 19926 |
lastpos: ::std::os::raw::c_int, |
| 19927 |
) -> ::std::os::raw::c_int; |
| 19928 |
} |
| 19929 |
extern "C" { |
| 19930 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_extension_nid"] |
| 19931 |
pub fn X509_REQ_extension_nid(nid: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 19932 |
} |
| 19933 |
extern "C" { |
| 19934 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_extensions"] |
| 19935 |
pub fn X509_REQ_get_extensions(req: *const X509_REQ) -> *mut stack_st_X509_EXTENSION; |
| 19936 |
} |
| 19937 |
extern "C" { |
| 19938 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get0_signature"] |
| 19939 |
pub fn X509_REQ_get0_signature( |
| 19940 |
req: *const X509_REQ, |
| 19941 |
out_sig: *mut *const ASN1_BIT_STRING, |
| 19942 |
out_alg: *mut *const X509_ALGOR, |
| 19943 |
); |
| 19944 |
} |
| 19945 |
extern "C" { |
| 19946 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get_signature_nid"] |
| 19947 |
pub fn X509_REQ_get_signature_nid(req: *const X509_REQ) -> ::std::os::raw::c_int; |
| 19948 |
} |
| 19949 |
extern "C" { |
| 19950 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_verify"] |
| 19951 |
pub fn X509_REQ_verify(req: *mut X509_REQ, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 19952 |
} |
| 19953 |
extern "C" { |
| 19954 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_get1_email"] |
| 19955 |
pub fn X509_REQ_get1_email(req: *const X509_REQ) -> *mut stack_st_OPENSSL_STRING; |
| 19956 |
} |
| 19957 |
extern "C" { |
| 19958 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_new"] |
| 19959 |
pub fn X509_REQ_new() -> *mut X509_REQ; |
| 19960 |
} |
| 19961 |
extern "C" { |
| 19962 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_set_version"] |
| 19963 |
pub fn X509_REQ_set_version( |
| 19964 |
req: *mut X509_REQ, |
| 19965 |
version: ::std::os::raw::c_long, |
| 19966 |
) -> ::std::os::raw::c_int; |
| 19967 |
} |
| 19968 |
extern "C" { |
| 19969 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_set_subject_name"] |
| 19970 |
pub fn X509_REQ_set_subject_name( |
| 19971 |
req: *mut X509_REQ, |
| 19972 |
name: *mut X509_NAME, |
| 19973 |
) -> ::std::os::raw::c_int; |
| 19974 |
} |
| 19975 |
extern "C" { |
| 19976 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_set_pubkey"] |
| 19977 |
pub fn X509_REQ_set_pubkey(req: *mut X509_REQ, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 19978 |
} |
| 19979 |
extern "C" { |
| 19980 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_delete_attr"] |
| 19981 |
pub fn X509_REQ_delete_attr( |
| 19982 |
req: *mut X509_REQ, |
| 19983 |
loc: ::std::os::raw::c_int, |
| 19984 |
) -> *mut X509_ATTRIBUTE; |
| 19985 |
} |
| 19986 |
extern "C" { |
| 19987 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_add1_attr"] |
| 19988 |
pub fn X509_REQ_add1_attr( |
| 19989 |
req: *mut X509_REQ, |
| 19990 |
attr: *const X509_ATTRIBUTE, |
| 19991 |
) -> ::std::os::raw::c_int; |
| 19992 |
} |
| 19993 |
extern "C" { |
| 19994 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_add1_attr_by_OBJ"] |
| 19995 |
pub fn X509_REQ_add1_attr_by_OBJ( |
| 19996 |
req: *mut X509_REQ, |
| 19997 |
obj: *const ASN1_OBJECT, |
| 19998 |
attrtype: ::std::os::raw::c_int, |
| 19999 |
data: *const ::std::os::raw::c_uchar, |
| 20000 |
len: ::std::os::raw::c_int, |
| 20001 |
) -> ::std::os::raw::c_int; |
| 20002 |
} |
| 20003 |
extern "C" { |
| 20004 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_add1_attr_by_NID"] |
| 20005 |
pub fn X509_REQ_add1_attr_by_NID( |
| 20006 |
req: *mut X509_REQ, |
| 20007 |
nid: ::std::os::raw::c_int, |
| 20008 |
attrtype: ::std::os::raw::c_int, |
| 20009 |
data: *const ::std::os::raw::c_uchar, |
| 20010 |
len: ::std::os::raw::c_int, |
| 20011 |
) -> ::std::os::raw::c_int; |
| 20012 |
} |
| 20013 |
extern "C" { |
| 20014 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_add1_attr_by_txt"] |
| 20015 |
pub fn X509_REQ_add1_attr_by_txt( |
| 20016 |
req: *mut X509_REQ, |
| 20017 |
attrname: *const ::std::os::raw::c_char, |
| 20018 |
attrtype: ::std::os::raw::c_int, |
| 20019 |
data: *const ::std::os::raw::c_uchar, |
| 20020 |
len: ::std::os::raw::c_int, |
| 20021 |
) -> ::std::os::raw::c_int; |
| 20022 |
} |
| 20023 |
extern "C" { |
| 20024 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_add_extensions_nid"] |
| 20025 |
pub fn X509_REQ_add_extensions_nid( |
| 20026 |
req: *mut X509_REQ, |
| 20027 |
exts: *const stack_st_X509_EXTENSION, |
| 20028 |
nid: ::std::os::raw::c_int, |
| 20029 |
) -> ::std::os::raw::c_int; |
| 20030 |
} |
| 20031 |
extern "C" { |
| 20032 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_add_extensions"] |
| 20033 |
pub fn X509_REQ_add_extensions( |
| 20034 |
req: *mut X509_REQ, |
| 20035 |
exts: *const stack_st_X509_EXTENSION, |
| 20036 |
) -> ::std::os::raw::c_int; |
| 20037 |
} |
| 20038 |
extern "C" { |
| 20039 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_sign"] |
| 20040 |
pub fn X509_REQ_sign( |
| 20041 |
req: *mut X509_REQ, |
| 20042 |
pkey: *mut EVP_PKEY, |
| 20043 |
md: *const EVP_MD, |
| 20044 |
) -> ::std::os::raw::c_int; |
| 20045 |
} |
| 20046 |
extern "C" { |
| 20047 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_sign_ctx"] |
| 20048 |
pub fn X509_REQ_sign_ctx(req: *mut X509_REQ, ctx: *mut EVP_MD_CTX) -> ::std::os::raw::c_int; |
| 20049 |
} |
| 20050 |
extern "C" { |
| 20051 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_re_X509_REQ_tbs"] |
| 20052 |
pub fn i2d_re_X509_REQ_tbs(req: *mut X509_REQ, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 20053 |
} |
| 20054 |
extern "C" { |
| 20055 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_set1_signature_algo"] |
| 20056 |
pub fn X509_REQ_set1_signature_algo( |
| 20057 |
req: *mut X509_REQ, |
| 20058 |
algo: *const X509_ALGOR, |
| 20059 |
) -> ::std::os::raw::c_int; |
| 20060 |
} |
| 20061 |
extern "C" { |
| 20062 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_set1_signature_value"] |
| 20063 |
pub fn X509_REQ_set1_signature_value( |
| 20064 |
req: *mut X509_REQ, |
| 20065 |
sig: *const u8, |
| 20066 |
sig_len: usize, |
| 20067 |
) -> ::std::os::raw::c_int; |
| 20068 |
} |
| 20069 |
#[repr(C)] |
| 20070 |
#[derive(Debug, Copy, Clone)] |
| 20071 |
pub struct stack_st_X509_NAME_ENTRY { |
| 20072 |
_unused: [u8; 0], |
| 20073 |
} |
| 20074 |
pub type sk_X509_NAME_ENTRY_free_func = |
| 20075 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_NAME_ENTRY)>; |
| 20076 |
pub type sk_X509_NAME_ENTRY_copy_func = ::std::option::Option< |
| 20077 |
unsafe extern "C" fn(arg1: *const X509_NAME_ENTRY) -> *mut X509_NAME_ENTRY, |
| 20078 |
>; |
| 20079 |
pub type sk_X509_NAME_ENTRY_cmp_func = ::std::option::Option< |
| 20080 |
unsafe extern "C" fn( |
| 20081 |
arg1: *const *const X509_NAME_ENTRY, |
| 20082 |
arg2: *const *const X509_NAME_ENTRY, |
| 20083 |
) -> ::std::os::raw::c_int, |
| 20084 |
>; |
| 20085 |
pub type sk_X509_NAME_ENTRY_delete_if_func = ::std::option::Option< |
| 20086 |
unsafe extern "C" fn( |
| 20087 |
arg1: *mut X509_NAME_ENTRY, |
| 20088 |
arg2: *mut ::std::os::raw::c_void, |
| 20089 |
) -> ::std::os::raw::c_int, |
| 20090 |
>; |
| 20091 |
#[repr(C)] |
| 20092 |
#[derive(Debug, Copy, Clone)] |
| 20093 |
pub struct stack_st_X509_NAME { |
| 20094 |
_unused: [u8; 0], |
| 20095 |
} |
| 20096 |
pub type sk_X509_NAME_free_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_NAME)>; |
| 20097 |
pub type sk_X509_NAME_copy_func = |
| 20098 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_NAME) -> *mut X509_NAME>; |
| 20099 |
pub type sk_X509_NAME_cmp_func = ::std::option::Option< |
| 20100 |
unsafe extern "C" fn( |
| 20101 |
arg1: *const *const X509_NAME, |
| 20102 |
arg2: *const *const X509_NAME, |
| 20103 |
) -> ::std::os::raw::c_int, |
| 20104 |
>; |
| 20105 |
pub type sk_X509_NAME_delete_if_func = ::std::option::Option< |
| 20106 |
unsafe extern "C" fn( |
| 20107 |
arg1: *mut X509_NAME, |
| 20108 |
arg2: *mut ::std::os::raw::c_void, |
| 20109 |
) -> ::std::os::raw::c_int, |
| 20110 |
>; |
| 20111 |
extern "C" { |
| 20112 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_it"] |
| 20113 |
pub static X509_NAME_it: ASN1_ITEM; |
| 20114 |
} |
| 20115 |
extern "C" { |
| 20116 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_new"] |
| 20117 |
pub fn X509_NAME_new() -> *mut X509_NAME; |
| 20118 |
} |
| 20119 |
extern "C" { |
| 20120 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_free"] |
| 20121 |
pub fn X509_NAME_free(name: *mut X509_NAME); |
| 20122 |
} |
| 20123 |
extern "C" { |
| 20124 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_NAME"] |
| 20125 |
pub fn d2i_X509_NAME( |
| 20126 |
out: *mut *mut X509_NAME, |
| 20127 |
inp: *mut *const u8, |
| 20128 |
len: ::std::os::raw::c_long, |
| 20129 |
) -> *mut X509_NAME; |
| 20130 |
} |
| 20131 |
extern "C" { |
| 20132 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_NAME"] |
| 20133 |
pub fn i2d_X509_NAME(in_: *mut X509_NAME, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 20134 |
} |
| 20135 |
extern "C" { |
| 20136 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_dup"] |
| 20137 |
pub fn X509_NAME_dup(name: *mut X509_NAME) -> *mut X509_NAME; |
| 20138 |
} |
| 20139 |
extern "C" { |
| 20140 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_cmp"] |
| 20141 |
pub fn X509_NAME_cmp(a: *const X509_NAME, b: *const X509_NAME) -> ::std::os::raw::c_int; |
| 20142 |
} |
| 20143 |
extern "C" { |
| 20144 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_get0_der"] |
| 20145 |
pub fn X509_NAME_get0_der( |
| 20146 |
name: *mut X509_NAME, |
| 20147 |
out_der: *mut *const u8, |
| 20148 |
out_der_len: *mut usize, |
| 20149 |
) -> ::std::os::raw::c_int; |
| 20150 |
} |
| 20151 |
extern "C" { |
| 20152 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_set"] |
| 20153 |
pub fn X509_NAME_set(xn: *mut *mut X509_NAME, name: *mut X509_NAME) -> ::std::os::raw::c_int; |
| 20154 |
} |
| 20155 |
extern "C" { |
| 20156 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_entry_count"] |
| 20157 |
pub fn X509_NAME_entry_count(name: *const X509_NAME) -> ::std::os::raw::c_int; |
| 20158 |
} |
| 20159 |
extern "C" { |
| 20160 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_get_index_by_NID"] |
| 20161 |
pub fn X509_NAME_get_index_by_NID( |
| 20162 |
name: *const X509_NAME, |
| 20163 |
nid: ::std::os::raw::c_int, |
| 20164 |
lastpos: ::std::os::raw::c_int, |
| 20165 |
) -> ::std::os::raw::c_int; |
| 20166 |
} |
| 20167 |
extern "C" { |
| 20168 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_get_index_by_OBJ"] |
| 20169 |
pub fn X509_NAME_get_index_by_OBJ( |
| 20170 |
name: *const X509_NAME, |
| 20171 |
obj: *const ASN1_OBJECT, |
| 20172 |
lastpos: ::std::os::raw::c_int, |
| 20173 |
) -> ::std::os::raw::c_int; |
| 20174 |
} |
| 20175 |
extern "C" { |
| 20176 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_get_entry"] |
| 20177 |
pub fn X509_NAME_get_entry( |
| 20178 |
name: *const X509_NAME, |
| 20179 |
loc: ::std::os::raw::c_int, |
| 20180 |
) -> *mut X509_NAME_ENTRY; |
| 20181 |
} |
| 20182 |
extern "C" { |
| 20183 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_delete_entry"] |
| 20184 |
pub fn X509_NAME_delete_entry( |
| 20185 |
name: *mut X509_NAME, |
| 20186 |
loc: ::std::os::raw::c_int, |
| 20187 |
) -> *mut X509_NAME_ENTRY; |
| 20188 |
} |
| 20189 |
extern "C" { |
| 20190 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_add_entry"] |
| 20191 |
pub fn X509_NAME_add_entry( |
| 20192 |
name: *mut X509_NAME, |
| 20193 |
entry: *const X509_NAME_ENTRY, |
| 20194 |
loc: ::std::os::raw::c_int, |
| 20195 |
set: ::std::os::raw::c_int, |
| 20196 |
) -> ::std::os::raw::c_int; |
| 20197 |
} |
| 20198 |
extern "C" { |
| 20199 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_add_entry_by_OBJ"] |
| 20200 |
pub fn X509_NAME_add_entry_by_OBJ( |
| 20201 |
name: *mut X509_NAME, |
| 20202 |
obj: *const ASN1_OBJECT, |
| 20203 |
type_: ::std::os::raw::c_int, |
| 20204 |
bytes: *const u8, |
| 20205 |
len: ossl_ssize_t, |
| 20206 |
loc: ::std::os::raw::c_int, |
| 20207 |
set: ::std::os::raw::c_int, |
| 20208 |
) -> ::std::os::raw::c_int; |
| 20209 |
} |
| 20210 |
extern "C" { |
| 20211 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_add_entry_by_NID"] |
| 20212 |
pub fn X509_NAME_add_entry_by_NID( |
| 20213 |
name: *mut X509_NAME, |
| 20214 |
nid: ::std::os::raw::c_int, |
| 20215 |
type_: ::std::os::raw::c_int, |
| 20216 |
bytes: *const u8, |
| 20217 |
len: ossl_ssize_t, |
| 20218 |
loc: ::std::os::raw::c_int, |
| 20219 |
set: ::std::os::raw::c_int, |
| 20220 |
) -> ::std::os::raw::c_int; |
| 20221 |
} |
| 20222 |
extern "C" { |
| 20223 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_add_entry_by_txt"] |
| 20224 |
pub fn X509_NAME_add_entry_by_txt( |
| 20225 |
name: *mut X509_NAME, |
| 20226 |
field: *const ::std::os::raw::c_char, |
| 20227 |
type_: ::std::os::raw::c_int, |
| 20228 |
bytes: *const u8, |
| 20229 |
len: ossl_ssize_t, |
| 20230 |
loc: ::std::os::raw::c_int, |
| 20231 |
set: ::std::os::raw::c_int, |
| 20232 |
) -> ::std::os::raw::c_int; |
| 20233 |
} |
| 20234 |
extern "C" { |
| 20235 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_it"] |
| 20236 |
pub static X509_NAME_ENTRY_it: ASN1_ITEM; |
| 20237 |
} |
| 20238 |
extern "C" { |
| 20239 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_new"] |
| 20240 |
pub fn X509_NAME_ENTRY_new() -> *mut X509_NAME_ENTRY; |
| 20241 |
} |
| 20242 |
extern "C" { |
| 20243 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_free"] |
| 20244 |
pub fn X509_NAME_ENTRY_free(entry: *mut X509_NAME_ENTRY); |
| 20245 |
} |
| 20246 |
extern "C" { |
| 20247 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_NAME_ENTRY"] |
| 20248 |
pub fn d2i_X509_NAME_ENTRY( |
| 20249 |
out: *mut *mut X509_NAME_ENTRY, |
| 20250 |
inp: *mut *const u8, |
| 20251 |
len: ::std::os::raw::c_long, |
| 20252 |
) -> *mut X509_NAME_ENTRY; |
| 20253 |
} |
| 20254 |
extern "C" { |
| 20255 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_NAME_ENTRY"] |
| 20256 |
pub fn i2d_X509_NAME_ENTRY( |
| 20257 |
in_: *const X509_NAME_ENTRY, |
| 20258 |
outp: *mut *mut u8, |
| 20259 |
) -> ::std::os::raw::c_int; |
| 20260 |
} |
| 20261 |
extern "C" { |
| 20262 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_dup"] |
| 20263 |
pub fn X509_NAME_ENTRY_dup(entry: *const X509_NAME_ENTRY) -> *mut X509_NAME_ENTRY; |
| 20264 |
} |
| 20265 |
extern "C" { |
| 20266 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_get_object"] |
| 20267 |
pub fn X509_NAME_ENTRY_get_object(entry: *const X509_NAME_ENTRY) -> *mut ASN1_OBJECT; |
| 20268 |
} |
| 20269 |
extern "C" { |
| 20270 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_set_object"] |
| 20271 |
pub fn X509_NAME_ENTRY_set_object( |
| 20272 |
entry: *mut X509_NAME_ENTRY, |
| 20273 |
obj: *const ASN1_OBJECT, |
| 20274 |
) -> ::std::os::raw::c_int; |
| 20275 |
} |
| 20276 |
extern "C" { |
| 20277 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_get_data"] |
| 20278 |
pub fn X509_NAME_ENTRY_get_data(entry: *const X509_NAME_ENTRY) -> *mut ASN1_STRING; |
| 20279 |
} |
| 20280 |
extern "C" { |
| 20281 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_set_data"] |
| 20282 |
pub fn X509_NAME_ENTRY_set_data( |
| 20283 |
entry: *mut X509_NAME_ENTRY, |
| 20284 |
type_: ::std::os::raw::c_int, |
| 20285 |
bytes: *const u8, |
| 20286 |
len: ossl_ssize_t, |
| 20287 |
) -> ::std::os::raw::c_int; |
| 20288 |
} |
| 20289 |
extern "C" { |
| 20290 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_set"] |
| 20291 |
pub fn X509_NAME_ENTRY_set(entry: *const X509_NAME_ENTRY) -> ::std::os::raw::c_int; |
| 20292 |
} |
| 20293 |
extern "C" { |
| 20294 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_create_by_OBJ"] |
| 20295 |
pub fn X509_NAME_ENTRY_create_by_OBJ( |
| 20296 |
out: *mut *mut X509_NAME_ENTRY, |
| 20297 |
obj: *const ASN1_OBJECT, |
| 20298 |
type_: ::std::os::raw::c_int, |
| 20299 |
bytes: *const u8, |
| 20300 |
len: ossl_ssize_t, |
| 20301 |
) -> *mut X509_NAME_ENTRY; |
| 20302 |
} |
| 20303 |
extern "C" { |
| 20304 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_create_by_NID"] |
| 20305 |
pub fn X509_NAME_ENTRY_create_by_NID( |
| 20306 |
out: *mut *mut X509_NAME_ENTRY, |
| 20307 |
nid: ::std::os::raw::c_int, |
| 20308 |
type_: ::std::os::raw::c_int, |
| 20309 |
bytes: *const u8, |
| 20310 |
len: ossl_ssize_t, |
| 20311 |
) -> *mut X509_NAME_ENTRY; |
| 20312 |
} |
| 20313 |
extern "C" { |
| 20314 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_ENTRY_create_by_txt"] |
| 20315 |
pub fn X509_NAME_ENTRY_create_by_txt( |
| 20316 |
out: *mut *mut X509_NAME_ENTRY, |
| 20317 |
field: *const ::std::os::raw::c_char, |
| 20318 |
type_: ::std::os::raw::c_int, |
| 20319 |
bytes: *const u8, |
| 20320 |
len: ossl_ssize_t, |
| 20321 |
) -> *mut X509_NAME_ENTRY; |
| 20322 |
} |
| 20323 |
extern "C" { |
| 20324 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_it"] |
| 20325 |
pub static X509_PUBKEY_it: ASN1_ITEM; |
| 20326 |
} |
| 20327 |
extern "C" { |
| 20328 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_new"] |
| 20329 |
pub fn X509_PUBKEY_new() -> *mut X509_PUBKEY; |
| 20330 |
} |
| 20331 |
extern "C" { |
| 20332 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_free"] |
| 20333 |
pub fn X509_PUBKEY_free(key: *mut X509_PUBKEY); |
| 20334 |
} |
| 20335 |
extern "C" { |
| 20336 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_PUBKEY"] |
| 20337 |
pub fn d2i_X509_PUBKEY( |
| 20338 |
out: *mut *mut X509_PUBKEY, |
| 20339 |
inp: *mut *const u8, |
| 20340 |
len: ::std::os::raw::c_long, |
| 20341 |
) -> *mut X509_PUBKEY; |
| 20342 |
} |
| 20343 |
extern "C" { |
| 20344 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_PUBKEY"] |
| 20345 |
pub fn i2d_X509_PUBKEY(key: *const X509_PUBKEY, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 20346 |
} |
| 20347 |
extern "C" { |
| 20348 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_set"] |
| 20349 |
pub fn X509_PUBKEY_set(x: *mut *mut X509_PUBKEY, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 20350 |
} |
| 20351 |
extern "C" { |
| 20352 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_get0"] |
| 20353 |
pub fn X509_PUBKEY_get0(key: *const X509_PUBKEY) -> *mut EVP_PKEY; |
| 20354 |
} |
| 20355 |
extern "C" { |
| 20356 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_get"] |
| 20357 |
pub fn X509_PUBKEY_get(key: *const X509_PUBKEY) -> *mut EVP_PKEY; |
| 20358 |
} |
| 20359 |
extern "C" { |
| 20360 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_set0_param"] |
| 20361 |
pub fn X509_PUBKEY_set0_param( |
| 20362 |
pub_: *mut X509_PUBKEY, |
| 20363 |
obj: *mut ASN1_OBJECT, |
| 20364 |
param_type: ::std::os::raw::c_int, |
| 20365 |
param_value: *mut ::std::os::raw::c_void, |
| 20366 |
key: *mut u8, |
| 20367 |
key_len: ::std::os::raw::c_int, |
| 20368 |
) -> ::std::os::raw::c_int; |
| 20369 |
} |
| 20370 |
extern "C" { |
| 20371 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_get0_param"] |
| 20372 |
pub fn X509_PUBKEY_get0_param( |
| 20373 |
out_obj: *mut *mut ASN1_OBJECT, |
| 20374 |
out_key: *mut *const u8, |
| 20375 |
out_key_len: *mut ::std::os::raw::c_int, |
| 20376 |
out_alg: *mut *mut X509_ALGOR, |
| 20377 |
pub_: *mut X509_PUBKEY, |
| 20378 |
) -> ::std::os::raw::c_int; |
| 20379 |
} |
| 20380 |
extern "C" { |
| 20381 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PUBKEY_get0_public_key"] |
| 20382 |
pub fn X509_PUBKEY_get0_public_key(pub_: *const X509_PUBKEY) -> *const ASN1_BIT_STRING; |
| 20383 |
} |
| 20384 |
extern "C" { |
| 20385 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_it"] |
| 20386 |
pub static X509_EXTENSION_it: ASN1_ITEM; |
| 20387 |
} |
| 20388 |
extern "C" { |
| 20389 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_new"] |
| 20390 |
pub fn X509_EXTENSION_new() -> *mut X509_EXTENSION; |
| 20391 |
} |
| 20392 |
extern "C" { |
| 20393 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_free"] |
| 20394 |
pub fn X509_EXTENSION_free(ex: *mut X509_EXTENSION); |
| 20395 |
} |
| 20396 |
extern "C" { |
| 20397 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_EXTENSION"] |
| 20398 |
pub fn d2i_X509_EXTENSION( |
| 20399 |
out: *mut *mut X509_EXTENSION, |
| 20400 |
inp: *mut *const u8, |
| 20401 |
len: ::std::os::raw::c_long, |
| 20402 |
) -> *mut X509_EXTENSION; |
| 20403 |
} |
| 20404 |
extern "C" { |
| 20405 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_EXTENSION"] |
| 20406 |
pub fn i2d_X509_EXTENSION( |
| 20407 |
ex: *const X509_EXTENSION, |
| 20408 |
outp: *mut *mut u8, |
| 20409 |
) -> ::std::os::raw::c_int; |
| 20410 |
} |
| 20411 |
extern "C" { |
| 20412 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_dup"] |
| 20413 |
pub fn X509_EXTENSION_dup(ex: *const X509_EXTENSION) -> *mut X509_EXTENSION; |
| 20414 |
} |
| 20415 |
extern "C" { |
| 20416 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_create_by_NID"] |
| 20417 |
pub fn X509_EXTENSION_create_by_NID( |
| 20418 |
ex: *mut *mut X509_EXTENSION, |
| 20419 |
nid: ::std::os::raw::c_int, |
| 20420 |
crit: ::std::os::raw::c_int, |
| 20421 |
data: *const ASN1_OCTET_STRING, |
| 20422 |
) -> *mut X509_EXTENSION; |
| 20423 |
} |
| 20424 |
extern "C" { |
| 20425 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_create_by_OBJ"] |
| 20426 |
pub fn X509_EXTENSION_create_by_OBJ( |
| 20427 |
ex: *mut *mut X509_EXTENSION, |
| 20428 |
obj: *const ASN1_OBJECT, |
| 20429 |
crit: ::std::os::raw::c_int, |
| 20430 |
data: *const ASN1_OCTET_STRING, |
| 20431 |
) -> *mut X509_EXTENSION; |
| 20432 |
} |
| 20433 |
extern "C" { |
| 20434 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_get_object"] |
| 20435 |
pub fn X509_EXTENSION_get_object(ex: *const X509_EXTENSION) -> *mut ASN1_OBJECT; |
| 20436 |
} |
| 20437 |
extern "C" { |
| 20438 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_get_data"] |
| 20439 |
pub fn X509_EXTENSION_get_data(ne: *const X509_EXTENSION) -> *mut ASN1_OCTET_STRING; |
| 20440 |
} |
| 20441 |
extern "C" { |
| 20442 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_get_critical"] |
| 20443 |
pub fn X509_EXTENSION_get_critical(ex: *const X509_EXTENSION) -> ::std::os::raw::c_int; |
| 20444 |
} |
| 20445 |
extern "C" { |
| 20446 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_set_object"] |
| 20447 |
pub fn X509_EXTENSION_set_object( |
| 20448 |
ex: *mut X509_EXTENSION, |
| 20449 |
obj: *const ASN1_OBJECT, |
| 20450 |
) -> ::std::os::raw::c_int; |
| 20451 |
} |
| 20452 |
extern "C" { |
| 20453 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_set_critical"] |
| 20454 |
pub fn X509_EXTENSION_set_critical( |
| 20455 |
ex: *mut X509_EXTENSION, |
| 20456 |
crit: ::std::os::raw::c_int, |
| 20457 |
) -> ::std::os::raw::c_int; |
| 20458 |
} |
| 20459 |
extern "C" { |
| 20460 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSION_set_data"] |
| 20461 |
pub fn X509_EXTENSION_set_data( |
| 20462 |
ex: *mut X509_EXTENSION, |
| 20463 |
data: *const ASN1_OCTET_STRING, |
| 20464 |
) -> ::std::os::raw::c_int; |
| 20465 |
} |
| 20466 |
pub type sk_X509_EXTENSION_free_func = |
| 20467 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_EXTENSION)>; |
| 20468 |
pub type sk_X509_EXTENSION_copy_func = |
| 20469 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_EXTENSION) -> *mut X509_EXTENSION>; |
| 20470 |
pub type sk_X509_EXTENSION_cmp_func = ::std::option::Option< |
| 20471 |
unsafe extern "C" fn( |
| 20472 |
arg1: *const *const X509_EXTENSION, |
| 20473 |
arg2: *const *const X509_EXTENSION, |
| 20474 |
) -> ::std::os::raw::c_int, |
| 20475 |
>; |
| 20476 |
pub type sk_X509_EXTENSION_delete_if_func = ::std::option::Option< |
| 20477 |
unsafe extern "C" fn( |
| 20478 |
arg1: *mut X509_EXTENSION, |
| 20479 |
arg2: *mut ::std::os::raw::c_void, |
| 20480 |
) -> ::std::os::raw::c_int, |
| 20481 |
>; |
| 20482 |
pub type X509_EXTENSIONS = stack_st_X509_EXTENSION; |
| 20483 |
extern "C" { |
| 20484 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_EXTENSIONS_it"] |
| 20485 |
pub static X509_EXTENSIONS_it: ASN1_ITEM; |
| 20486 |
} |
| 20487 |
extern "C" { |
| 20488 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_EXTENSIONS"] |
| 20489 |
pub fn d2i_X509_EXTENSIONS( |
| 20490 |
out: *mut *mut X509_EXTENSIONS, |
| 20491 |
inp: *mut *const u8, |
| 20492 |
len: ::std::os::raw::c_long, |
| 20493 |
) -> *mut X509_EXTENSIONS; |
| 20494 |
} |
| 20495 |
extern "C" { |
| 20496 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_EXTENSIONS"] |
| 20497 |
pub fn i2d_X509_EXTENSIONS( |
| 20498 |
alg: *const X509_EXTENSIONS, |
| 20499 |
outp: *mut *mut u8, |
| 20500 |
) -> ::std::os::raw::c_int; |
| 20501 |
} |
| 20502 |
extern "C" { |
| 20503 |
#[link_name = "\u{1}aws_lc_0_41_0_X509v3_get_ext_count"] |
| 20504 |
pub fn X509v3_get_ext_count(x: *const stack_st_X509_EXTENSION) -> ::std::os::raw::c_int; |
| 20505 |
} |
| 20506 |
extern "C" { |
| 20507 |
#[link_name = "\u{1}aws_lc_0_41_0_X509v3_get_ext_by_NID"] |
| 20508 |
pub fn X509v3_get_ext_by_NID( |
| 20509 |
x: *const stack_st_X509_EXTENSION, |
| 20510 |
nid: ::std::os::raw::c_int, |
| 20511 |
lastpos: ::std::os::raw::c_int, |
| 20512 |
) -> ::std::os::raw::c_int; |
| 20513 |
} |
| 20514 |
extern "C" { |
| 20515 |
#[link_name = "\u{1}aws_lc_0_41_0_X509v3_get_ext_by_OBJ"] |
| 20516 |
pub fn X509v3_get_ext_by_OBJ( |
| 20517 |
x: *const stack_st_X509_EXTENSION, |
| 20518 |
obj: *const ASN1_OBJECT, |
| 20519 |
lastpos: ::std::os::raw::c_int, |
| 20520 |
) -> ::std::os::raw::c_int; |
| 20521 |
} |
| 20522 |
extern "C" { |
| 20523 |
#[link_name = "\u{1}aws_lc_0_41_0_X509v3_get_ext_by_critical"] |
| 20524 |
pub fn X509v3_get_ext_by_critical( |
| 20525 |
x: *const stack_st_X509_EXTENSION, |
| 20526 |
crit: ::std::os::raw::c_int, |
| 20527 |
lastpos: ::std::os::raw::c_int, |
| 20528 |
) -> ::std::os::raw::c_int; |
| 20529 |
} |
| 20530 |
extern "C" { |
| 20531 |
#[link_name = "\u{1}aws_lc_0_41_0_X509v3_get_ext"] |
| 20532 |
pub fn X509v3_get_ext( |
| 20533 |
x: *const stack_st_X509_EXTENSION, |
| 20534 |
loc: ::std::os::raw::c_int, |
| 20535 |
) -> *mut X509_EXTENSION; |
| 20536 |
} |
| 20537 |
extern "C" { |
| 20538 |
#[link_name = "\u{1}aws_lc_0_41_0_X509v3_delete_ext"] |
| 20539 |
pub fn X509v3_delete_ext( |
| 20540 |
x: *mut stack_st_X509_EXTENSION, |
| 20541 |
loc: ::std::os::raw::c_int, |
| 20542 |
) -> *mut X509_EXTENSION; |
| 20543 |
} |
| 20544 |
extern "C" { |
| 20545 |
#[link_name = "\u{1}aws_lc_0_41_0_X509v3_add_ext"] |
| 20546 |
pub fn X509v3_add_ext( |
| 20547 |
x: *mut *mut stack_st_X509_EXTENSION, |
| 20548 |
ex: *const X509_EXTENSION, |
| 20549 |
loc: ::std::os::raw::c_int, |
| 20550 |
) -> *mut stack_st_X509_EXTENSION; |
| 20551 |
} |
| 20552 |
extern "C" { |
| 20553 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_d2i"] |
| 20554 |
pub fn X509V3_EXT_d2i(ext: *const X509_EXTENSION) -> *mut ::std::os::raw::c_void; |
| 20555 |
} |
| 20556 |
extern "C" { |
| 20557 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_get_d2i"] |
| 20558 |
pub fn X509V3_get_d2i( |
| 20559 |
extensions: *const stack_st_X509_EXTENSION, |
| 20560 |
nid: ::std::os::raw::c_int, |
| 20561 |
out_critical: *mut ::std::os::raw::c_int, |
| 20562 |
out_idx: *mut ::std::os::raw::c_int, |
| 20563 |
) -> *mut ::std::os::raw::c_void; |
| 20564 |
} |
| 20565 |
extern "C" { |
| 20566 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_free"] |
| 20567 |
pub fn X509V3_EXT_free( |
| 20568 |
nid: ::std::os::raw::c_int, |
| 20569 |
ext_data: *mut ::std::os::raw::c_void, |
| 20570 |
) -> ::std::os::raw::c_int; |
| 20571 |
} |
| 20572 |
extern "C" { |
| 20573 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_i2d"] |
| 20574 |
pub fn X509V3_EXT_i2d( |
| 20575 |
ext_nid: ::std::os::raw::c_int, |
| 20576 |
crit: ::std::os::raw::c_int, |
| 20577 |
ext_struc: *mut ::std::os::raw::c_void, |
| 20578 |
) -> *mut X509_EXTENSION; |
| 20579 |
} |
| 20580 |
extern "C" { |
| 20581 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_add1_i2d"] |
| 20582 |
pub fn X509V3_add1_i2d( |
| 20583 |
x: *mut *mut stack_st_X509_EXTENSION, |
| 20584 |
nid: ::std::os::raw::c_int, |
| 20585 |
value: *mut ::std::os::raw::c_void, |
| 20586 |
crit: ::std::os::raw::c_int, |
| 20587 |
flags: ::std::os::raw::c_ulong, |
| 20588 |
) -> ::std::os::raw::c_int; |
| 20589 |
} |
| 20590 |
#[repr(C)] |
| 20591 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 20592 |
pub struct otherName_st { |
| 20593 |
pub type_id: *mut ASN1_OBJECT, |
| 20594 |
pub value: *mut ASN1_TYPE, |
| 20595 |
} |
| 20596 |
#[test] |
| 20597 |
fn bindgen_test_layout_otherName_st() { |
| 20598 |
const UNINIT: ::std::mem::MaybeUninit<otherName_st> = ::std::mem::MaybeUninit::uninit(); |
| 20599 |
let ptr = UNINIT.as_ptr(); |
| 20600 |
assert_eq!( |
| 20601 |
::std::mem::size_of::<otherName_st>(), |
| 20602 |
16usize, |
| 20603 |
"Size of otherName_st" |
| 20604 |
); |
| 20605 |
assert_eq!( |
| 20606 |
::std::mem::align_of::<otherName_st>(), |
| 20607 |
8usize, |
| 20608 |
"Alignment of otherName_st" |
| 20609 |
); |
| 20610 |
assert_eq!( |
| 20611 |
unsafe { ::std::ptr::addr_of!((*ptr).type_id) as usize - ptr as usize }, |
| 20612 |
0usize, |
| 20613 |
"Offset of field: otherName_st::type_id" |
| 20614 |
); |
| 20615 |
assert_eq!( |
| 20616 |
unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize }, |
| 20617 |
8usize, |
| 20618 |
"Offset of field: otherName_st::value" |
| 20619 |
); |
| 20620 |
} |
| 20621 |
impl Default for otherName_st { |
| 20622 |
fn default() -> Self { |
| 20623 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 20624 |
unsafe { |
| 20625 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 20626 |
s.assume_init() |
| 20627 |
} |
| 20628 |
} |
| 20629 |
} |
| 20630 |
pub type OTHERNAME = otherName_st; |
| 20631 |
#[repr(C)] |
| 20632 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 20633 |
pub struct EDIPartyName_st { |
| 20634 |
pub nameAssigner: *mut ASN1_STRING, |
| 20635 |
pub partyName: *mut ASN1_STRING, |
| 20636 |
} |
| 20637 |
#[test] |
| 20638 |
fn bindgen_test_layout_EDIPartyName_st() { |
| 20639 |
const UNINIT: ::std::mem::MaybeUninit<EDIPartyName_st> = ::std::mem::MaybeUninit::uninit(); |
| 20640 |
let ptr = UNINIT.as_ptr(); |
| 20641 |
assert_eq!( |
| 20642 |
::std::mem::size_of::<EDIPartyName_st>(), |
| 20643 |
16usize, |
| 20644 |
"Size of EDIPartyName_st" |
| 20645 |
); |
| 20646 |
assert_eq!( |
| 20647 |
::std::mem::align_of::<EDIPartyName_st>(), |
| 20648 |
8usize, |
| 20649 |
"Alignment of EDIPartyName_st" |
| 20650 |
); |
| 20651 |
assert_eq!( |
| 20652 |
unsafe { ::std::ptr::addr_of!((*ptr).nameAssigner) as usize - ptr as usize }, |
| 20653 |
0usize, |
| 20654 |
"Offset of field: EDIPartyName_st::nameAssigner" |
| 20655 |
); |
| 20656 |
assert_eq!( |
| 20657 |
unsafe { ::std::ptr::addr_of!((*ptr).partyName) as usize - ptr as usize }, |
| 20658 |
8usize, |
| 20659 |
"Offset of field: EDIPartyName_st::partyName" |
| 20660 |
); |
| 20661 |
} |
| 20662 |
impl Default for EDIPartyName_st { |
| 20663 |
fn default() -> Self { |
| 20664 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 20665 |
unsafe { |
| 20666 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 20667 |
s.assume_init() |
| 20668 |
} |
| 20669 |
} |
| 20670 |
} |
| 20671 |
pub type EDIPARTYNAME = EDIPartyName_st; |
| 20672 |
#[repr(C)] |
| 20673 |
#[derive(Copy, Clone)] |
| 20674 |
pub struct GENERAL_NAME_st { |
| 20675 |
pub type_: ::std::os::raw::c_int, |
| 20676 |
pub d: GENERAL_NAME_st__bindgen_ty_1, |
| 20677 |
} |
| 20678 |
#[repr(C)] |
| 20679 |
#[derive(Copy, Clone)] |
| 20680 |
pub union GENERAL_NAME_st__bindgen_ty_1 { |
| 20681 |
pub ptr: *mut ::std::os::raw::c_char, |
| 20682 |
pub otherName: *mut OTHERNAME, |
| 20683 |
pub rfc822Name: *mut ASN1_IA5STRING, |
| 20684 |
pub dNSName: *mut ASN1_IA5STRING, |
| 20685 |
pub x400Address: *mut ASN1_STRING, |
| 20686 |
pub directoryName: *mut X509_NAME, |
| 20687 |
pub ediPartyName: *mut EDIPARTYNAME, |
| 20688 |
pub uniformResourceIdentifier: *mut ASN1_IA5STRING, |
| 20689 |
pub iPAddress: *mut ASN1_OCTET_STRING, |
| 20690 |
pub registeredID: *mut ASN1_OBJECT, |
| 20691 |
pub ip: *mut ASN1_OCTET_STRING, |
| 20692 |
pub dirn: *mut X509_NAME, |
| 20693 |
pub ia5: *mut ASN1_IA5STRING, |
| 20694 |
pub rid: *mut ASN1_OBJECT, |
| 20695 |
} |
| 20696 |
#[test] |
| 20697 |
fn bindgen_test_layout_GENERAL_NAME_st__bindgen_ty_1() { |
| 20698 |
const UNINIT: ::std::mem::MaybeUninit<GENERAL_NAME_st__bindgen_ty_1> = |
| 20699 |
::std::mem::MaybeUninit::uninit(); |
| 20700 |
let ptr = UNINIT.as_ptr(); |
| 20701 |
assert_eq!( |
| 20702 |
::std::mem::size_of::<GENERAL_NAME_st__bindgen_ty_1>(), |
| 20703 |
8usize, |
| 20704 |
"Size of GENERAL_NAME_st__bindgen_ty_1" |
| 20705 |
); |
| 20706 |
assert_eq!( |
| 20707 |
::std::mem::align_of::<GENERAL_NAME_st__bindgen_ty_1>(), |
| 20708 |
8usize, |
| 20709 |
"Alignment of GENERAL_NAME_st__bindgen_ty_1" |
| 20710 |
); |
| 20711 |
assert_eq!( |
| 20712 |
unsafe { ::std::ptr::addr_of!((*ptr).ptr) as usize - ptr as usize }, |
| 20713 |
0usize, |
| 20714 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::ptr" |
| 20715 |
); |
| 20716 |
assert_eq!( |
| 20717 |
unsafe { ::std::ptr::addr_of!((*ptr).otherName) as usize - ptr as usize }, |
| 20718 |
0usize, |
| 20719 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::otherName" |
| 20720 |
); |
| 20721 |
assert_eq!( |
| 20722 |
unsafe { ::std::ptr::addr_of!((*ptr).rfc822Name) as usize - ptr as usize }, |
| 20723 |
0usize, |
| 20724 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::rfc822Name" |
| 20725 |
); |
| 20726 |
assert_eq!( |
| 20727 |
unsafe { ::std::ptr::addr_of!((*ptr).dNSName) as usize - ptr as usize }, |
| 20728 |
0usize, |
| 20729 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::dNSName" |
| 20730 |
); |
| 20731 |
assert_eq!( |
| 20732 |
unsafe { ::std::ptr::addr_of!((*ptr).x400Address) as usize - ptr as usize }, |
| 20733 |
0usize, |
| 20734 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::x400Address" |
| 20735 |
); |
| 20736 |
assert_eq!( |
| 20737 |
unsafe { ::std::ptr::addr_of!((*ptr).directoryName) as usize - ptr as usize }, |
| 20738 |
0usize, |
| 20739 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::directoryName" |
| 20740 |
); |
| 20741 |
assert_eq!( |
| 20742 |
unsafe { ::std::ptr::addr_of!((*ptr).ediPartyName) as usize - ptr as usize }, |
| 20743 |
0usize, |
| 20744 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::ediPartyName" |
| 20745 |
); |
| 20746 |
assert_eq!( |
| 20747 |
unsafe { ::std::ptr::addr_of!((*ptr).uniformResourceIdentifier) as usize - ptr as usize }, |
| 20748 |
0usize, |
| 20749 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::uniformResourceIdentifier" |
| 20750 |
); |
| 20751 |
assert_eq!( |
| 20752 |
unsafe { ::std::ptr::addr_of!((*ptr).iPAddress) as usize - ptr as usize }, |
| 20753 |
0usize, |
| 20754 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::iPAddress" |
| 20755 |
); |
| 20756 |
assert_eq!( |
| 20757 |
unsafe { ::std::ptr::addr_of!((*ptr).registeredID) as usize - ptr as usize }, |
| 20758 |
0usize, |
| 20759 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::registeredID" |
| 20760 |
); |
| 20761 |
assert_eq!( |
| 20762 |
unsafe { ::std::ptr::addr_of!((*ptr).ip) as usize - ptr as usize }, |
| 20763 |
0usize, |
| 20764 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::ip" |
| 20765 |
); |
| 20766 |
assert_eq!( |
| 20767 |
unsafe { ::std::ptr::addr_of!((*ptr).dirn) as usize - ptr as usize }, |
| 20768 |
0usize, |
| 20769 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::dirn" |
| 20770 |
); |
| 20771 |
assert_eq!( |
| 20772 |
unsafe { ::std::ptr::addr_of!((*ptr).ia5) as usize - ptr as usize }, |
| 20773 |
0usize, |
| 20774 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::ia5" |
| 20775 |
); |
| 20776 |
assert_eq!( |
| 20777 |
unsafe { ::std::ptr::addr_of!((*ptr).rid) as usize - ptr as usize }, |
| 20778 |
0usize, |
| 20779 |
"Offset of field: GENERAL_NAME_st__bindgen_ty_1::rid" |
| 20780 |
); |
| 20781 |
} |
| 20782 |
impl Default for GENERAL_NAME_st__bindgen_ty_1 { |
| 20783 |
fn default() -> Self { |
| 20784 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 20785 |
unsafe { |
| 20786 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 20787 |
s.assume_init() |
| 20788 |
} |
| 20789 |
} |
| 20790 |
} |
| 20791 |
#[test] |
| 20792 |
fn bindgen_test_layout_GENERAL_NAME_st() { |
| 20793 |
const UNINIT: ::std::mem::MaybeUninit<GENERAL_NAME_st> = ::std::mem::MaybeUninit::uninit(); |
| 20794 |
let ptr = UNINIT.as_ptr(); |
| 20795 |
assert_eq!( |
| 20796 |
::std::mem::size_of::<GENERAL_NAME_st>(), |
| 20797 |
16usize, |
| 20798 |
"Size of GENERAL_NAME_st" |
| 20799 |
); |
| 20800 |
assert_eq!( |
| 20801 |
::std::mem::align_of::<GENERAL_NAME_st>(), |
| 20802 |
8usize, |
| 20803 |
"Alignment of GENERAL_NAME_st" |
| 20804 |
); |
| 20805 |
assert_eq!( |
| 20806 |
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, |
| 20807 |
0usize, |
| 20808 |
"Offset of field: GENERAL_NAME_st::type_" |
| 20809 |
); |
| 20810 |
assert_eq!( |
| 20811 |
unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize }, |
| 20812 |
8usize, |
| 20813 |
"Offset of field: GENERAL_NAME_st::d" |
| 20814 |
); |
| 20815 |
} |
| 20816 |
impl Default for GENERAL_NAME_st { |
| 20817 |
fn default() -> Self { |
| 20818 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 20819 |
unsafe { |
| 20820 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 20821 |
s.assume_init() |
| 20822 |
} |
| 20823 |
} |
| 20824 |
} |
| 20825 |
extern "C" { |
| 20826 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAME_new"] |
| 20827 |
pub fn GENERAL_NAME_new() -> *mut GENERAL_NAME; |
| 20828 |
} |
| 20829 |
extern "C" { |
| 20830 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAME_free"] |
| 20831 |
pub fn GENERAL_NAME_free(gen_: *mut GENERAL_NAME); |
| 20832 |
} |
| 20833 |
extern "C" { |
| 20834 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_GENERAL_NAME"] |
| 20835 |
pub fn d2i_GENERAL_NAME( |
| 20836 |
out: *mut *mut GENERAL_NAME, |
| 20837 |
inp: *mut *const u8, |
| 20838 |
len: ::std::os::raw::c_long, |
| 20839 |
) -> *mut GENERAL_NAME; |
| 20840 |
} |
| 20841 |
extern "C" { |
| 20842 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_GENERAL_NAME"] |
| 20843 |
pub fn i2d_GENERAL_NAME(in_: *mut GENERAL_NAME, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 20844 |
} |
| 20845 |
extern "C" { |
| 20846 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAME_dup"] |
| 20847 |
pub fn GENERAL_NAME_dup(gen_: *mut GENERAL_NAME) -> *mut GENERAL_NAME; |
| 20848 |
} |
| 20849 |
extern "C" { |
| 20850 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAMES_new"] |
| 20851 |
pub fn GENERAL_NAMES_new() -> *mut GENERAL_NAMES; |
| 20852 |
} |
| 20853 |
extern "C" { |
| 20854 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAMES_free"] |
| 20855 |
pub fn GENERAL_NAMES_free(gens: *mut GENERAL_NAMES); |
| 20856 |
} |
| 20857 |
extern "C" { |
| 20858 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_GENERAL_NAMES"] |
| 20859 |
pub fn d2i_GENERAL_NAMES( |
| 20860 |
out: *mut *mut GENERAL_NAMES, |
| 20861 |
inp: *mut *const u8, |
| 20862 |
len: ::std::os::raw::c_long, |
| 20863 |
) -> *mut GENERAL_NAMES; |
| 20864 |
} |
| 20865 |
extern "C" { |
| 20866 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_GENERAL_NAMES"] |
| 20867 |
pub fn i2d_GENERAL_NAMES(in_: *mut GENERAL_NAMES, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 20868 |
} |
| 20869 |
extern "C" { |
| 20870 |
#[link_name = "\u{1}aws_lc_0_41_0_OTHERNAME_new"] |
| 20871 |
pub fn OTHERNAME_new() -> *mut OTHERNAME; |
| 20872 |
} |
| 20873 |
extern "C" { |
| 20874 |
#[link_name = "\u{1}aws_lc_0_41_0_OTHERNAME_free"] |
| 20875 |
pub fn OTHERNAME_free(name: *mut OTHERNAME); |
| 20876 |
} |
| 20877 |
extern "C" { |
| 20878 |
#[link_name = "\u{1}aws_lc_0_41_0_EDIPARTYNAME_new"] |
| 20879 |
pub fn EDIPARTYNAME_new() -> *mut EDIPARTYNAME; |
| 20880 |
} |
| 20881 |
extern "C" { |
| 20882 |
#[link_name = "\u{1}aws_lc_0_41_0_EDIPARTYNAME_free"] |
| 20883 |
pub fn EDIPARTYNAME_free(name: *mut EDIPARTYNAME); |
| 20884 |
} |
| 20885 |
extern "C" { |
| 20886 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAME_set0_value"] |
| 20887 |
pub fn GENERAL_NAME_set0_value( |
| 20888 |
gen_: *mut GENERAL_NAME, |
| 20889 |
type_: ::std::os::raw::c_int, |
| 20890 |
value: *mut ::std::os::raw::c_void, |
| 20891 |
); |
| 20892 |
} |
| 20893 |
extern "C" { |
| 20894 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAME_get0_value"] |
| 20895 |
pub fn GENERAL_NAME_get0_value( |
| 20896 |
gen_: *const GENERAL_NAME, |
| 20897 |
out_type: *mut ::std::os::raw::c_int, |
| 20898 |
) -> *mut ::std::os::raw::c_void; |
| 20899 |
} |
| 20900 |
extern "C" { |
| 20901 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAME_set0_othername"] |
| 20902 |
pub fn GENERAL_NAME_set0_othername( |
| 20903 |
gen_: *mut GENERAL_NAME, |
| 20904 |
oid: *mut ASN1_OBJECT, |
| 20905 |
value: *mut ASN1_TYPE, |
| 20906 |
) -> ::std::os::raw::c_int; |
| 20907 |
} |
| 20908 |
extern "C" { |
| 20909 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAME_get0_otherName"] |
| 20910 |
pub fn GENERAL_NAME_get0_otherName( |
| 20911 |
gen_: *const GENERAL_NAME, |
| 20912 |
out_oid: *mut *mut ASN1_OBJECT, |
| 20913 |
out_value: *mut *mut ASN1_TYPE, |
| 20914 |
) -> ::std::os::raw::c_int; |
| 20915 |
} |
| 20916 |
#[repr(C)] |
| 20917 |
#[derive(Debug, Copy, Clone)] |
| 20918 |
pub struct stack_st_X509_ALGOR { |
| 20919 |
_unused: [u8; 0], |
| 20920 |
} |
| 20921 |
pub type sk_X509_ALGOR_free_func = |
| 20922 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_ALGOR)>; |
| 20923 |
pub type sk_X509_ALGOR_copy_func = |
| 20924 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_ALGOR) -> *mut X509_ALGOR>; |
| 20925 |
pub type sk_X509_ALGOR_cmp_func = ::std::option::Option< |
| 20926 |
unsafe extern "C" fn( |
| 20927 |
arg1: *const *const X509_ALGOR, |
| 20928 |
arg2: *const *const X509_ALGOR, |
| 20929 |
) -> ::std::os::raw::c_int, |
| 20930 |
>; |
| 20931 |
pub type sk_X509_ALGOR_delete_if_func = ::std::option::Option< |
| 20932 |
unsafe extern "C" fn( |
| 20933 |
arg1: *mut X509_ALGOR, |
| 20934 |
arg2: *mut ::std::os::raw::c_void, |
| 20935 |
) -> ::std::os::raw::c_int, |
| 20936 |
>; |
| 20937 |
extern "C" { |
| 20938 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ALGOR_it"] |
| 20939 |
pub static X509_ALGOR_it: ASN1_ITEM; |
| 20940 |
} |
| 20941 |
extern "C" { |
| 20942 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ALGOR_new"] |
| 20943 |
pub fn X509_ALGOR_new() -> *mut X509_ALGOR; |
| 20944 |
} |
| 20945 |
extern "C" { |
| 20946 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ALGOR_dup"] |
| 20947 |
pub fn X509_ALGOR_dup(alg: *const X509_ALGOR) -> *mut X509_ALGOR; |
| 20948 |
} |
| 20949 |
extern "C" { |
| 20950 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ALGOR_free"] |
| 20951 |
pub fn X509_ALGOR_free(alg: *mut X509_ALGOR); |
| 20952 |
} |
| 20953 |
extern "C" { |
| 20954 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_ALGOR"] |
| 20955 |
pub fn d2i_X509_ALGOR( |
| 20956 |
out: *mut *mut X509_ALGOR, |
| 20957 |
inp: *mut *const u8, |
| 20958 |
len: ::std::os::raw::c_long, |
| 20959 |
) -> *mut X509_ALGOR; |
| 20960 |
} |
| 20961 |
extern "C" { |
| 20962 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_ALGOR"] |
| 20963 |
pub fn i2d_X509_ALGOR(alg: *const X509_ALGOR, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 20964 |
} |
| 20965 |
extern "C" { |
| 20966 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ALGOR_set0"] |
| 20967 |
pub fn X509_ALGOR_set0( |
| 20968 |
alg: *mut X509_ALGOR, |
| 20969 |
obj: *mut ASN1_OBJECT, |
| 20970 |
param_type: ::std::os::raw::c_int, |
| 20971 |
param_value: *mut ::std::os::raw::c_void, |
| 20972 |
) -> ::std::os::raw::c_int; |
| 20973 |
} |
| 20974 |
extern "C" { |
| 20975 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ALGOR_get0"] |
| 20976 |
pub fn X509_ALGOR_get0( |
| 20977 |
out_obj: *mut *const ASN1_OBJECT, |
| 20978 |
out_param_type: *mut ::std::os::raw::c_int, |
| 20979 |
out_param_value: *mut *const ::std::os::raw::c_void, |
| 20980 |
alg: *const X509_ALGOR, |
| 20981 |
); |
| 20982 |
} |
| 20983 |
extern "C" { |
| 20984 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ALGOR_set_md"] |
| 20985 |
pub fn X509_ALGOR_set_md(alg: *mut X509_ALGOR, md: *const EVP_MD) -> ::std::os::raw::c_int; |
| 20986 |
} |
| 20987 |
extern "C" { |
| 20988 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ALGOR_cmp"] |
| 20989 |
pub fn X509_ALGOR_cmp(a: *const X509_ALGOR, b: *const X509_ALGOR) -> ::std::os::raw::c_int; |
| 20990 |
} |
| 20991 |
#[repr(C)] |
| 20992 |
#[derive(Debug, Copy, Clone)] |
| 20993 |
pub struct stack_st_X509_ATTRIBUTE { |
| 20994 |
_unused: [u8; 0], |
| 20995 |
} |
| 20996 |
pub type sk_X509_ATTRIBUTE_free_func = |
| 20997 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_ATTRIBUTE)>; |
| 20998 |
pub type sk_X509_ATTRIBUTE_copy_func = |
| 20999 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_ATTRIBUTE) -> *mut X509_ATTRIBUTE>; |
| 21000 |
pub type sk_X509_ATTRIBUTE_cmp_func = ::std::option::Option< |
| 21001 |
unsafe extern "C" fn( |
| 21002 |
arg1: *const *const X509_ATTRIBUTE, |
| 21003 |
arg2: *const *const X509_ATTRIBUTE, |
| 21004 |
) -> ::std::os::raw::c_int, |
| 21005 |
>; |
| 21006 |
pub type sk_X509_ATTRIBUTE_delete_if_func = ::std::option::Option< |
| 21007 |
unsafe extern "C" fn( |
| 21008 |
arg1: *mut X509_ATTRIBUTE, |
| 21009 |
arg2: *mut ::std::os::raw::c_void, |
| 21010 |
) -> ::std::os::raw::c_int, |
| 21011 |
>; |
| 21012 |
extern "C" { |
| 21013 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_it"] |
| 21014 |
pub static X509_ATTRIBUTE_it: ASN1_ITEM; |
| 21015 |
} |
| 21016 |
extern "C" { |
| 21017 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_new"] |
| 21018 |
pub fn X509_ATTRIBUTE_new() -> *mut X509_ATTRIBUTE; |
| 21019 |
} |
| 21020 |
extern "C" { |
| 21021 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_dup"] |
| 21022 |
pub fn X509_ATTRIBUTE_dup(attr: *const X509_ATTRIBUTE) -> *mut X509_ATTRIBUTE; |
| 21023 |
} |
| 21024 |
extern "C" { |
| 21025 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_free"] |
| 21026 |
pub fn X509_ATTRIBUTE_free(attr: *mut X509_ATTRIBUTE); |
| 21027 |
} |
| 21028 |
extern "C" { |
| 21029 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_ATTRIBUTE"] |
| 21030 |
pub fn d2i_X509_ATTRIBUTE( |
| 21031 |
out: *mut *mut X509_ATTRIBUTE, |
| 21032 |
inp: *mut *const u8, |
| 21033 |
len: ::std::os::raw::c_long, |
| 21034 |
) -> *mut X509_ATTRIBUTE; |
| 21035 |
} |
| 21036 |
extern "C" { |
| 21037 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_ATTRIBUTE"] |
| 21038 |
pub fn i2d_X509_ATTRIBUTE( |
| 21039 |
alg: *const X509_ATTRIBUTE, |
| 21040 |
outp: *mut *mut u8, |
| 21041 |
) -> ::std::os::raw::c_int; |
| 21042 |
} |
| 21043 |
extern "C" { |
| 21044 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_create"] |
| 21045 |
pub fn X509_ATTRIBUTE_create( |
| 21046 |
nid: ::std::os::raw::c_int, |
| 21047 |
attrtype: ::std::os::raw::c_int, |
| 21048 |
value: *mut ::std::os::raw::c_void, |
| 21049 |
) -> *mut X509_ATTRIBUTE; |
| 21050 |
} |
| 21051 |
extern "C" { |
| 21052 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_create_by_NID"] |
| 21053 |
pub fn X509_ATTRIBUTE_create_by_NID( |
| 21054 |
attr: *mut *mut X509_ATTRIBUTE, |
| 21055 |
nid: ::std::os::raw::c_int, |
| 21056 |
attrtype: ::std::os::raw::c_int, |
| 21057 |
data: *const ::std::os::raw::c_void, |
| 21058 |
len: ::std::os::raw::c_int, |
| 21059 |
) -> *mut X509_ATTRIBUTE; |
| 21060 |
} |
| 21061 |
extern "C" { |
| 21062 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_create_by_OBJ"] |
| 21063 |
pub fn X509_ATTRIBUTE_create_by_OBJ( |
| 21064 |
attr: *mut *mut X509_ATTRIBUTE, |
| 21065 |
obj: *const ASN1_OBJECT, |
| 21066 |
attrtype: ::std::os::raw::c_int, |
| 21067 |
data: *const ::std::os::raw::c_void, |
| 21068 |
len: ::std::os::raw::c_int, |
| 21069 |
) -> *mut X509_ATTRIBUTE; |
| 21070 |
} |
| 21071 |
extern "C" { |
| 21072 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_create_by_txt"] |
| 21073 |
pub fn X509_ATTRIBUTE_create_by_txt( |
| 21074 |
attr: *mut *mut X509_ATTRIBUTE, |
| 21075 |
attrname: *const ::std::os::raw::c_char, |
| 21076 |
type_: ::std::os::raw::c_int, |
| 21077 |
bytes: *const ::std::os::raw::c_uchar, |
| 21078 |
len: ::std::os::raw::c_int, |
| 21079 |
) -> *mut X509_ATTRIBUTE; |
| 21080 |
} |
| 21081 |
extern "C" { |
| 21082 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_set1_object"] |
| 21083 |
pub fn X509_ATTRIBUTE_set1_object( |
| 21084 |
attr: *mut X509_ATTRIBUTE, |
| 21085 |
obj: *const ASN1_OBJECT, |
| 21086 |
) -> ::std::os::raw::c_int; |
| 21087 |
} |
| 21088 |
extern "C" { |
| 21089 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_set1_data"] |
| 21090 |
pub fn X509_ATTRIBUTE_set1_data( |
| 21091 |
attr: *mut X509_ATTRIBUTE, |
| 21092 |
attrtype: ::std::os::raw::c_int, |
| 21093 |
data: *const ::std::os::raw::c_void, |
| 21094 |
len: ::std::os::raw::c_int, |
| 21095 |
) -> ::std::os::raw::c_int; |
| 21096 |
} |
| 21097 |
extern "C" { |
| 21098 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_get0_data"] |
| 21099 |
pub fn X509_ATTRIBUTE_get0_data( |
| 21100 |
attr: *mut X509_ATTRIBUTE, |
| 21101 |
idx: ::std::os::raw::c_int, |
| 21102 |
attrtype: ::std::os::raw::c_int, |
| 21103 |
unused: *mut ::std::os::raw::c_void, |
| 21104 |
) -> *mut ::std::os::raw::c_void; |
| 21105 |
} |
| 21106 |
extern "C" { |
| 21107 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_count"] |
| 21108 |
pub fn X509_ATTRIBUTE_count(attr: *const X509_ATTRIBUTE) -> ::std::os::raw::c_int; |
| 21109 |
} |
| 21110 |
extern "C" { |
| 21111 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_get0_object"] |
| 21112 |
pub fn X509_ATTRIBUTE_get0_object(attr: *mut X509_ATTRIBUTE) -> *mut ASN1_OBJECT; |
| 21113 |
} |
| 21114 |
extern "C" { |
| 21115 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_ATTRIBUTE_get0_type"] |
| 21116 |
pub fn X509_ATTRIBUTE_get0_type( |
| 21117 |
attr: *mut X509_ATTRIBUTE, |
| 21118 |
idx: ::std::os::raw::c_int, |
| 21119 |
) -> *mut ASN1_TYPE; |
| 21120 |
} |
| 21121 |
extern "C" { |
| 21122 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_new"] |
| 21123 |
pub fn X509_STORE_new() -> *mut X509_STORE; |
| 21124 |
} |
| 21125 |
extern "C" { |
| 21126 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_up_ref"] |
| 21127 |
pub fn X509_STORE_up_ref(store: *mut X509_STORE) -> ::std::os::raw::c_int; |
| 21128 |
} |
| 21129 |
extern "C" { |
| 21130 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_free"] |
| 21131 |
pub fn X509_STORE_free(store: *mut X509_STORE); |
| 21132 |
} |
| 21133 |
extern "C" { |
| 21134 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_add_cert"] |
| 21135 |
pub fn X509_STORE_add_cert(store: *mut X509_STORE, x509: *mut X509) -> ::std::os::raw::c_int; |
| 21136 |
} |
| 21137 |
extern "C" { |
| 21138 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_add_crl"] |
| 21139 |
pub fn X509_STORE_add_crl(store: *mut X509_STORE, crl: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 21140 |
} |
| 21141 |
extern "C" { |
| 21142 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_get0_param"] |
| 21143 |
pub fn X509_STORE_get0_param(store: *mut X509_STORE) -> *mut X509_VERIFY_PARAM; |
| 21144 |
} |
| 21145 |
extern "C" { |
| 21146 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set1_param"] |
| 21147 |
pub fn X509_STORE_set1_param( |
| 21148 |
store: *mut X509_STORE, |
| 21149 |
param: *const X509_VERIFY_PARAM, |
| 21150 |
) -> ::std::os::raw::c_int; |
| 21151 |
} |
| 21152 |
extern "C" { |
| 21153 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_flags"] |
| 21154 |
pub fn X509_STORE_set_flags( |
| 21155 |
store: *mut X509_STORE, |
| 21156 |
flags: ::std::os::raw::c_ulong, |
| 21157 |
) -> ::std::os::raw::c_int; |
| 21158 |
} |
| 21159 |
extern "C" { |
| 21160 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_depth"] |
| 21161 |
pub fn X509_STORE_set_depth( |
| 21162 |
store: *mut X509_STORE, |
| 21163 |
depth: ::std::os::raw::c_int, |
| 21164 |
) -> ::std::os::raw::c_int; |
| 21165 |
} |
| 21166 |
extern "C" { |
| 21167 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_purpose"] |
| 21168 |
pub fn X509_STORE_set_purpose( |
| 21169 |
store: *mut X509_STORE, |
| 21170 |
purpose: ::std::os::raw::c_int, |
| 21171 |
) -> ::std::os::raw::c_int; |
| 21172 |
} |
| 21173 |
extern "C" { |
| 21174 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_trust"] |
| 21175 |
pub fn X509_STORE_set_trust( |
| 21176 |
store: *mut X509_STORE, |
| 21177 |
trust: ::std::os::raw::c_int, |
| 21178 |
) -> ::std::os::raw::c_int; |
| 21179 |
} |
| 21180 |
#[repr(C)] |
| 21181 |
#[derive(Debug, Copy, Clone)] |
| 21182 |
pub struct stack_st_X509_OBJECT { |
| 21183 |
_unused: [u8; 0], |
| 21184 |
} |
| 21185 |
pub type sk_X509_OBJECT_free_func = |
| 21186 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_OBJECT)>; |
| 21187 |
pub type sk_X509_OBJECT_copy_func = |
| 21188 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_OBJECT) -> *mut X509_OBJECT>; |
| 21189 |
pub type sk_X509_OBJECT_cmp_func = ::std::option::Option< |
| 21190 |
unsafe extern "C" fn( |
| 21191 |
arg1: *const *const X509_OBJECT, |
| 21192 |
arg2: *const *const X509_OBJECT, |
| 21193 |
) -> ::std::os::raw::c_int, |
| 21194 |
>; |
| 21195 |
pub type sk_X509_OBJECT_delete_if_func = ::std::option::Option< |
| 21196 |
unsafe extern "C" fn( |
| 21197 |
arg1: *mut X509_OBJECT, |
| 21198 |
arg2: *mut ::std::os::raw::c_void, |
| 21199 |
) -> ::std::os::raw::c_int, |
| 21200 |
>; |
| 21201 |
extern "C" { |
| 21202 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_OBJECT_new"] |
| 21203 |
pub fn X509_OBJECT_new() -> *mut X509_OBJECT; |
| 21204 |
} |
| 21205 |
extern "C" { |
| 21206 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_OBJECT_free"] |
| 21207 |
pub fn X509_OBJECT_free(obj: *mut X509_OBJECT); |
| 21208 |
} |
| 21209 |
extern "C" { |
| 21210 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_OBJECT_get_type"] |
| 21211 |
pub fn X509_OBJECT_get_type(obj: *const X509_OBJECT) -> ::std::os::raw::c_int; |
| 21212 |
} |
| 21213 |
extern "C" { |
| 21214 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_OBJECT_get0_X509"] |
| 21215 |
pub fn X509_OBJECT_get0_X509(obj: *const X509_OBJECT) -> *mut X509; |
| 21216 |
} |
| 21217 |
pub type X509_STORE_CTX_lookup_crls_fn = ::std::option::Option< |
| 21218 |
unsafe extern "C" fn(ctx: *mut X509_STORE_CTX, nm: *mut X509_NAME) -> *mut stack_st_X509_CRL, |
| 21219 |
>; |
| 21220 |
extern "C" { |
| 21221 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_get_lookup_crls"] |
| 21222 |
pub fn X509_STORE_get_lookup_crls(ctx: *mut X509_STORE) -> X509_STORE_CTX_lookup_crls_fn; |
| 21223 |
} |
| 21224 |
extern "C" { |
| 21225 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_lookup_crls"] |
| 21226 |
pub fn X509_STORE_set_lookup_crls( |
| 21227 |
ctx: *mut X509_STORE, |
| 21228 |
lookup_crls: X509_STORE_CTX_lookup_crls_fn, |
| 21229 |
); |
| 21230 |
} |
| 21231 |
extern "C" { |
| 21232 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_new"] |
| 21233 |
pub fn X509_STORE_CTX_new() -> *mut X509_STORE_CTX; |
| 21234 |
} |
| 21235 |
extern "C" { |
| 21236 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_free"] |
| 21237 |
pub fn X509_STORE_CTX_free(ctx: *mut X509_STORE_CTX); |
| 21238 |
} |
| 21239 |
extern "C" { |
| 21240 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_init"] |
| 21241 |
pub fn X509_STORE_CTX_init( |
| 21242 |
ctx: *mut X509_STORE_CTX, |
| 21243 |
store: *mut X509_STORE, |
| 21244 |
x509: *mut X509, |
| 21245 |
chain: *mut stack_st_X509, |
| 21246 |
) -> ::std::os::raw::c_int; |
| 21247 |
} |
| 21248 |
extern "C" { |
| 21249 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_verify_cert"] |
| 21250 |
pub fn X509_verify_cert(ctx: *mut X509_STORE_CTX) -> ::std::os::raw::c_int; |
| 21251 |
} |
| 21252 |
extern "C" { |
| 21253 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get0_chain"] |
| 21254 |
pub fn X509_STORE_CTX_get0_chain(ctx: *mut X509_STORE_CTX) -> *mut stack_st_X509; |
| 21255 |
} |
| 21256 |
extern "C" { |
| 21257 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get1_chain"] |
| 21258 |
pub fn X509_STORE_CTX_get1_chain(ctx: *mut X509_STORE_CTX) -> *mut stack_st_X509; |
| 21259 |
} |
| 21260 |
extern "C" { |
| 21261 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_cert"] |
| 21262 |
pub fn X509_STORE_CTX_set_cert(c: *mut X509_STORE_CTX, x: *mut X509); |
| 21263 |
} |
| 21264 |
extern "C" { |
| 21265 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get_error"] |
| 21266 |
pub fn X509_STORE_CTX_get_error(ctx: *mut X509_STORE_CTX) -> ::std::os::raw::c_int; |
| 21267 |
} |
| 21268 |
extern "C" { |
| 21269 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_error"] |
| 21270 |
pub fn X509_STORE_CTX_set_error(ctx: *mut X509_STORE_CTX, err: ::std::os::raw::c_int); |
| 21271 |
} |
| 21272 |
extern "C" { |
| 21273 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_verify_cert_error_string"] |
| 21274 |
pub fn X509_verify_cert_error_string( |
| 21275 |
err: ::std::os::raw::c_long, |
| 21276 |
) -> *const ::std::os::raw::c_char; |
| 21277 |
} |
| 21278 |
extern "C" { |
| 21279 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get_error_depth"] |
| 21280 |
pub fn X509_STORE_CTX_get_error_depth(ctx: *mut X509_STORE_CTX) -> ::std::os::raw::c_int; |
| 21281 |
} |
| 21282 |
extern "C" { |
| 21283 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get_current_cert"] |
| 21284 |
pub fn X509_STORE_CTX_get_current_cert(ctx: *mut X509_STORE_CTX) -> *mut X509; |
| 21285 |
} |
| 21286 |
extern "C" { |
| 21287 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get0_current_issuer"] |
| 21288 |
pub fn X509_STORE_CTX_get0_current_issuer(ctx: *mut X509_STORE_CTX) -> *mut X509; |
| 21289 |
} |
| 21290 |
extern "C" { |
| 21291 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get0_current_crl"] |
| 21292 |
pub fn X509_STORE_CTX_get0_current_crl(ctx: *mut X509_STORE_CTX) -> *mut X509_CRL; |
| 21293 |
} |
| 21294 |
extern "C" { |
| 21295 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get0_store"] |
| 21296 |
pub fn X509_STORE_CTX_get0_store(ctx: *mut X509_STORE_CTX) -> *mut X509_STORE; |
| 21297 |
} |
| 21298 |
extern "C" { |
| 21299 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get0_cert"] |
| 21300 |
pub fn X509_STORE_CTX_get0_cert(ctx: *mut X509_STORE_CTX) -> *mut X509; |
| 21301 |
} |
| 21302 |
extern "C" { |
| 21303 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get0_untrusted"] |
| 21304 |
pub fn X509_STORE_CTX_get0_untrusted(ctx: *mut X509_STORE_CTX) -> *mut stack_st_X509; |
| 21305 |
} |
| 21306 |
extern "C" { |
| 21307 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set0_trusted_stack"] |
| 21308 |
pub fn X509_STORE_CTX_set0_trusted_stack(ctx: *mut X509_STORE_CTX, sk: *mut stack_st_X509); |
| 21309 |
} |
| 21310 |
extern "C" { |
| 21311 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set0_crls"] |
| 21312 |
pub fn X509_STORE_CTX_set0_crls(ctx: *mut X509_STORE_CTX, sk: *mut stack_st_X509_CRL); |
| 21313 |
} |
| 21314 |
extern "C" { |
| 21315 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_default"] |
| 21316 |
pub fn X509_STORE_CTX_set_default( |
| 21317 |
ctx: *mut X509_STORE_CTX, |
| 21318 |
name: *const ::std::os::raw::c_char, |
| 21319 |
) -> ::std::os::raw::c_int; |
| 21320 |
} |
| 21321 |
extern "C" { |
| 21322 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get0_param"] |
| 21323 |
pub fn X509_STORE_CTX_get0_param(ctx: *mut X509_STORE_CTX) -> *mut X509_VERIFY_PARAM; |
| 21324 |
} |
| 21325 |
extern "C" { |
| 21326 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set0_param"] |
| 21327 |
pub fn X509_STORE_CTX_set0_param(ctx: *mut X509_STORE_CTX, param: *mut X509_VERIFY_PARAM); |
| 21328 |
} |
| 21329 |
extern "C" { |
| 21330 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_flags"] |
| 21331 |
pub fn X509_STORE_CTX_set_flags(ctx: *mut X509_STORE_CTX, flags: ::std::os::raw::c_ulong); |
| 21332 |
} |
| 21333 |
extern "C" { |
| 21334 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_time"] |
| 21335 |
pub fn X509_STORE_CTX_set_time( |
| 21336 |
ctx: *mut X509_STORE_CTX, |
| 21337 |
flags: ::std::os::raw::c_ulong, |
| 21338 |
t: time_t, |
| 21339 |
); |
| 21340 |
} |
| 21341 |
extern "C" { |
| 21342 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_time_posix"] |
| 21343 |
pub fn X509_STORE_CTX_set_time_posix( |
| 21344 |
ctx: *mut X509_STORE_CTX, |
| 21345 |
flags: ::std::os::raw::c_ulong, |
| 21346 |
t: i64, |
| 21347 |
); |
| 21348 |
} |
| 21349 |
extern "C" { |
| 21350 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_depth"] |
| 21351 |
pub fn X509_STORE_CTX_set_depth(ctx: *mut X509_STORE_CTX, depth: ::std::os::raw::c_int); |
| 21352 |
} |
| 21353 |
extern "C" { |
| 21354 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_purpose"] |
| 21355 |
pub fn X509_STORE_CTX_set_purpose( |
| 21356 |
ctx: *mut X509_STORE_CTX, |
| 21357 |
purpose: ::std::os::raw::c_int, |
| 21358 |
) -> ::std::os::raw::c_int; |
| 21359 |
} |
| 21360 |
extern "C" { |
| 21361 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_trust"] |
| 21362 |
pub fn X509_STORE_CTX_set_trust( |
| 21363 |
ctx: *mut X509_STORE_CTX, |
| 21364 |
trust: ::std::os::raw::c_int, |
| 21365 |
) -> ::std::os::raw::c_int; |
| 21366 |
} |
| 21367 |
extern "C" { |
| 21368 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_add_custom_crit_oid"] |
| 21369 |
pub fn X509_STORE_CTX_add_custom_crit_oid( |
| 21370 |
ctx: *mut X509_STORE_CTX, |
| 21371 |
oid: *mut ASN1_OBJECT, |
| 21372 |
) -> ::std::os::raw::c_int; |
| 21373 |
} |
| 21374 |
pub type X509_STORE_CTX_verify_crit_oids_cb = ::std::option::Option< |
| 21375 |
unsafe extern "C" fn( |
| 21376 |
ctx: *mut X509_STORE_CTX, |
| 21377 |
x509: *mut X509, |
| 21378 |
oids: *mut stack_st_ASN1_OBJECT, |
| 21379 |
) -> ::std::os::raw::c_int, |
| 21380 |
>; |
| 21381 |
extern "C" { |
| 21382 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_verify_crit_oids"] |
| 21383 |
pub fn X509_STORE_CTX_set_verify_crit_oids( |
| 21384 |
ctx: *mut X509_STORE_CTX, |
| 21385 |
verify_custom_crit_oids: X509_STORE_CTX_verify_crit_oids_cb, |
| 21386 |
); |
| 21387 |
} |
| 21388 |
extern "C" { |
| 21389 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_new"] |
| 21390 |
pub fn X509_VERIFY_PARAM_new() -> *mut X509_VERIFY_PARAM; |
| 21391 |
} |
| 21392 |
extern "C" { |
| 21393 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_free"] |
| 21394 |
pub fn X509_VERIFY_PARAM_free(param: *mut X509_VERIFY_PARAM); |
| 21395 |
} |
| 21396 |
extern "C" { |
| 21397 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_inherit"] |
| 21398 |
pub fn X509_VERIFY_PARAM_inherit( |
| 21399 |
to: *mut X509_VERIFY_PARAM, |
| 21400 |
from: *const X509_VERIFY_PARAM, |
| 21401 |
) -> ::std::os::raw::c_int; |
| 21402 |
} |
| 21403 |
extern "C" { |
| 21404 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set1"] |
| 21405 |
pub fn X509_VERIFY_PARAM_set1( |
| 21406 |
to: *mut X509_VERIFY_PARAM, |
| 21407 |
from: *const X509_VERIFY_PARAM, |
| 21408 |
) -> ::std::os::raw::c_int; |
| 21409 |
} |
| 21410 |
extern "C" { |
| 21411 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set_flags"] |
| 21412 |
pub fn X509_VERIFY_PARAM_set_flags( |
| 21413 |
param: *mut X509_VERIFY_PARAM, |
| 21414 |
flags: ::std::os::raw::c_ulong, |
| 21415 |
) -> ::std::os::raw::c_int; |
| 21416 |
} |
| 21417 |
extern "C" { |
| 21418 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_clear_flags"] |
| 21419 |
pub fn X509_VERIFY_PARAM_clear_flags( |
| 21420 |
param: *mut X509_VERIFY_PARAM, |
| 21421 |
flags: ::std::os::raw::c_ulong, |
| 21422 |
) -> ::std::os::raw::c_int; |
| 21423 |
} |
| 21424 |
extern "C" { |
| 21425 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_get_flags"] |
| 21426 |
pub fn X509_VERIFY_PARAM_get_flags(param: *const X509_VERIFY_PARAM) -> ::std::os::raw::c_ulong; |
| 21427 |
} |
| 21428 |
extern "C" { |
| 21429 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set_depth"] |
| 21430 |
pub fn X509_VERIFY_PARAM_set_depth(param: *mut X509_VERIFY_PARAM, depth: ::std::os::raw::c_int); |
| 21431 |
} |
| 21432 |
extern "C" { |
| 21433 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_get_depth"] |
| 21434 |
pub fn X509_VERIFY_PARAM_get_depth(param: *const X509_VERIFY_PARAM) -> ::std::os::raw::c_int; |
| 21435 |
} |
| 21436 |
extern "C" { |
| 21437 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set_time"] |
| 21438 |
pub fn X509_VERIFY_PARAM_set_time(param: *mut X509_VERIFY_PARAM, t: time_t); |
| 21439 |
} |
| 21440 |
extern "C" { |
| 21441 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set_time_posix"] |
| 21442 |
pub fn X509_VERIFY_PARAM_set_time_posix(param: *mut X509_VERIFY_PARAM, t: i64); |
| 21443 |
} |
| 21444 |
extern "C" { |
| 21445 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_add0_policy"] |
| 21446 |
pub fn X509_VERIFY_PARAM_add0_policy( |
| 21447 |
param: *mut X509_VERIFY_PARAM, |
| 21448 |
policy: *mut ASN1_OBJECT, |
| 21449 |
) -> ::std::os::raw::c_int; |
| 21450 |
} |
| 21451 |
extern "C" { |
| 21452 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set1_policies"] |
| 21453 |
pub fn X509_VERIFY_PARAM_set1_policies( |
| 21454 |
param: *mut X509_VERIFY_PARAM, |
| 21455 |
policies: *const stack_st_ASN1_OBJECT, |
| 21456 |
) -> ::std::os::raw::c_int; |
| 21457 |
} |
| 21458 |
extern "C" { |
| 21459 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set1_host"] |
| 21460 |
pub fn X509_VERIFY_PARAM_set1_host( |
| 21461 |
param: *mut X509_VERIFY_PARAM, |
| 21462 |
name: *const ::std::os::raw::c_char, |
| 21463 |
name_len: usize, |
| 21464 |
) -> ::std::os::raw::c_int; |
| 21465 |
} |
| 21466 |
extern "C" { |
| 21467 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_add1_host"] |
| 21468 |
pub fn X509_VERIFY_PARAM_add1_host( |
| 21469 |
param: *mut X509_VERIFY_PARAM, |
| 21470 |
name: *const ::std::os::raw::c_char, |
| 21471 |
name_len: usize, |
| 21472 |
) -> ::std::os::raw::c_int; |
| 21473 |
} |
| 21474 |
extern "C" { |
| 21475 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set_hostflags"] |
| 21476 |
pub fn X509_VERIFY_PARAM_set_hostflags( |
| 21477 |
param: *mut X509_VERIFY_PARAM, |
| 21478 |
flags: ::std::os::raw::c_uint, |
| 21479 |
); |
| 21480 |
} |
| 21481 |
extern "C" { |
| 21482 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_get_hostflags"] |
| 21483 |
pub fn X509_VERIFY_PARAM_get_hostflags( |
| 21484 |
param: *const X509_VERIFY_PARAM, |
| 21485 |
) -> ::std::os::raw::c_uint; |
| 21486 |
} |
| 21487 |
extern "C" { |
| 21488 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set1_email"] |
| 21489 |
pub fn X509_VERIFY_PARAM_set1_email( |
| 21490 |
param: *mut X509_VERIFY_PARAM, |
| 21491 |
email: *const ::std::os::raw::c_char, |
| 21492 |
email_len: usize, |
| 21493 |
) -> ::std::os::raw::c_int; |
| 21494 |
} |
| 21495 |
extern "C" { |
| 21496 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set1_ip"] |
| 21497 |
pub fn X509_VERIFY_PARAM_set1_ip( |
| 21498 |
param: *mut X509_VERIFY_PARAM, |
| 21499 |
ip: *const u8, |
| 21500 |
ip_len: usize, |
| 21501 |
) -> ::std::os::raw::c_int; |
| 21502 |
} |
| 21503 |
extern "C" { |
| 21504 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set1_ip_asc"] |
| 21505 |
pub fn X509_VERIFY_PARAM_set1_ip_asc( |
| 21506 |
param: *mut X509_VERIFY_PARAM, |
| 21507 |
ipasc: *const ::std::os::raw::c_char, |
| 21508 |
) -> ::std::os::raw::c_int; |
| 21509 |
} |
| 21510 |
extern "C" { |
| 21511 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set_purpose"] |
| 21512 |
pub fn X509_VERIFY_PARAM_set_purpose( |
| 21513 |
param: *mut X509_VERIFY_PARAM, |
| 21514 |
purpose: ::std::os::raw::c_int, |
| 21515 |
) -> ::std::os::raw::c_int; |
| 21516 |
} |
| 21517 |
extern "C" { |
| 21518 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_set_trust"] |
| 21519 |
pub fn X509_VERIFY_PARAM_set_trust( |
| 21520 |
param: *mut X509_VERIFY_PARAM, |
| 21521 |
trust: ::std::os::raw::c_int, |
| 21522 |
) -> ::std::os::raw::c_int; |
| 21523 |
} |
| 21524 |
extern "C" { |
| 21525 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_enable_ec_key_explicit_params"] |
| 21526 |
pub fn X509_VERIFY_PARAM_enable_ec_key_explicit_params( |
| 21527 |
param: *mut X509_VERIFY_PARAM, |
| 21528 |
) -> ::std::os::raw::c_int; |
| 21529 |
} |
| 21530 |
extern "C" { |
| 21531 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_VERIFY_PARAM_disable_ec_key_explicit_params"] |
| 21532 |
pub fn X509_VERIFY_PARAM_disable_ec_key_explicit_params( |
| 21533 |
param: *mut X509_VERIFY_PARAM, |
| 21534 |
) -> ::std::os::raw::c_int; |
| 21535 |
} |
| 21536 |
extern "C" { |
| 21537 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_load_locations"] |
| 21538 |
pub fn X509_STORE_load_locations( |
| 21539 |
store: *mut X509_STORE, |
| 21540 |
file: *const ::std::os::raw::c_char, |
| 21541 |
dir: *const ::std::os::raw::c_char, |
| 21542 |
) -> ::std::os::raw::c_int; |
| 21543 |
} |
| 21544 |
extern "C" { |
| 21545 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_add_lookup"] |
| 21546 |
pub fn X509_STORE_add_lookup( |
| 21547 |
store: *mut X509_STORE, |
| 21548 |
method: *const X509_LOOKUP_METHOD, |
| 21549 |
) -> *mut X509_LOOKUP; |
| 21550 |
} |
| 21551 |
extern "C" { |
| 21552 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_LOOKUP_hash_dir"] |
| 21553 |
pub fn X509_LOOKUP_hash_dir() -> *const X509_LOOKUP_METHOD; |
| 21554 |
} |
| 21555 |
extern "C" { |
| 21556 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_LOOKUP_file"] |
| 21557 |
pub fn X509_LOOKUP_file() -> *const X509_LOOKUP_METHOD; |
| 21558 |
} |
| 21559 |
extern "C" { |
| 21560 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_LOOKUP_load_file"] |
| 21561 |
pub fn X509_LOOKUP_load_file( |
| 21562 |
lookup: *mut X509_LOOKUP, |
| 21563 |
file: *const ::std::os::raw::c_char, |
| 21564 |
type_: ::std::os::raw::c_int, |
| 21565 |
) -> ::std::os::raw::c_int; |
| 21566 |
} |
| 21567 |
extern "C" { |
| 21568 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_LOOKUP_add_dir"] |
| 21569 |
pub fn X509_LOOKUP_add_dir( |
| 21570 |
lookup: *mut X509_LOOKUP, |
| 21571 |
path: *const ::std::os::raw::c_char, |
| 21572 |
type_: ::std::os::raw::c_int, |
| 21573 |
) -> ::std::os::raw::c_int; |
| 21574 |
} |
| 21575 |
extern "C" { |
| 21576 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_LOOKUP_ctrl"] |
| 21577 |
pub fn X509_LOOKUP_ctrl( |
| 21578 |
lookup: *mut X509_LOOKUP, |
| 21579 |
cmd: ::std::os::raw::c_int, |
| 21580 |
argc: *const ::std::os::raw::c_char, |
| 21581 |
argl: ::std::os::raw::c_long, |
| 21582 |
ret: *mut *mut ::std::os::raw::c_char, |
| 21583 |
) -> ::std::os::raw::c_int; |
| 21584 |
} |
| 21585 |
extern "C" { |
| 21586 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_load_cert_file"] |
| 21587 |
pub fn X509_load_cert_file( |
| 21588 |
lookup: *mut X509_LOOKUP, |
| 21589 |
file: *const ::std::os::raw::c_char, |
| 21590 |
type_: ::std::os::raw::c_int, |
| 21591 |
) -> ::std::os::raw::c_int; |
| 21592 |
} |
| 21593 |
extern "C" { |
| 21594 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_load_crl_file"] |
| 21595 |
pub fn X509_load_crl_file( |
| 21596 |
lookup: *mut X509_LOOKUP, |
| 21597 |
file: *const ::std::os::raw::c_char, |
| 21598 |
type_: ::std::os::raw::c_int, |
| 21599 |
) -> ::std::os::raw::c_int; |
| 21600 |
} |
| 21601 |
extern "C" { |
| 21602 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_load_cert_crl_file"] |
| 21603 |
pub fn X509_load_cert_crl_file( |
| 21604 |
lookup: *mut X509_LOOKUP, |
| 21605 |
file: *const ::std::os::raw::c_char, |
| 21606 |
type_: ::std::os::raw::c_int, |
| 21607 |
) -> ::std::os::raw::c_int; |
| 21608 |
} |
| 21609 |
extern "C" { |
| 21610 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_hash"] |
| 21611 |
pub fn X509_NAME_hash(name: *mut X509_NAME) -> u32; |
| 21612 |
} |
| 21613 |
extern "C" { |
| 21614 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_hash_old"] |
| 21615 |
pub fn X509_NAME_hash_old(name: *mut X509_NAME) -> u32; |
| 21616 |
} |
| 21617 |
extern "C" { |
| 21618 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_default_paths"] |
| 21619 |
pub fn X509_STORE_set_default_paths(store: *mut X509_STORE) -> ::std::os::raw::c_int; |
| 21620 |
} |
| 21621 |
extern "C" { |
| 21622 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_default_cert_area"] |
| 21623 |
pub fn X509_get_default_cert_area() -> *const ::std::os::raw::c_char; |
| 21624 |
} |
| 21625 |
extern "C" { |
| 21626 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_default_cert_dir"] |
| 21627 |
pub fn X509_get_default_cert_dir() -> *const ::std::os::raw::c_char; |
| 21628 |
} |
| 21629 |
extern "C" { |
| 21630 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_default_cert_file"] |
| 21631 |
pub fn X509_get_default_cert_file() -> *const ::std::os::raw::c_char; |
| 21632 |
} |
| 21633 |
extern "C" { |
| 21634 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_default_private_dir"] |
| 21635 |
pub fn X509_get_default_private_dir() -> *const ::std::os::raw::c_char; |
| 21636 |
} |
| 21637 |
extern "C" { |
| 21638 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_default_cert_dir_env"] |
| 21639 |
pub fn X509_get_default_cert_dir_env() -> *const ::std::os::raw::c_char; |
| 21640 |
} |
| 21641 |
extern "C" { |
| 21642 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_default_cert_file_env"] |
| 21643 |
pub fn X509_get_default_cert_file_env() -> *const ::std::os::raw::c_char; |
| 21644 |
} |
| 21645 |
#[repr(C)] |
| 21646 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 21647 |
pub struct Netscape_spki_st { |
| 21648 |
pub spkac: *mut NETSCAPE_SPKAC, |
| 21649 |
pub sig_algor: *mut X509_ALGOR, |
| 21650 |
pub signature: *mut ASN1_BIT_STRING, |
| 21651 |
} |
| 21652 |
#[test] |
| 21653 |
fn bindgen_test_layout_Netscape_spki_st() { |
| 21654 |
const UNINIT: ::std::mem::MaybeUninit<Netscape_spki_st> = ::std::mem::MaybeUninit::uninit(); |
| 21655 |
let ptr = UNINIT.as_ptr(); |
| 21656 |
assert_eq!( |
| 21657 |
::std::mem::size_of::<Netscape_spki_st>(), |
| 21658 |
24usize, |
| 21659 |
"Size of Netscape_spki_st" |
| 21660 |
); |
| 21661 |
assert_eq!( |
| 21662 |
::std::mem::align_of::<Netscape_spki_st>(), |
| 21663 |
8usize, |
| 21664 |
"Alignment of Netscape_spki_st" |
| 21665 |
); |
| 21666 |
assert_eq!( |
| 21667 |
unsafe { ::std::ptr::addr_of!((*ptr).spkac) as usize - ptr as usize }, |
| 21668 |
0usize, |
| 21669 |
"Offset of field: Netscape_spki_st::spkac" |
| 21670 |
); |
| 21671 |
assert_eq!( |
| 21672 |
unsafe { ::std::ptr::addr_of!((*ptr).sig_algor) as usize - ptr as usize }, |
| 21673 |
8usize, |
| 21674 |
"Offset of field: Netscape_spki_st::sig_algor" |
| 21675 |
); |
| 21676 |
assert_eq!( |
| 21677 |
unsafe { ::std::ptr::addr_of!((*ptr).signature) as usize - ptr as usize }, |
| 21678 |
16usize, |
| 21679 |
"Offset of field: Netscape_spki_st::signature" |
| 21680 |
); |
| 21681 |
} |
| 21682 |
impl Default for Netscape_spki_st { |
| 21683 |
fn default() -> Self { |
| 21684 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 21685 |
unsafe { |
| 21686 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 21687 |
s.assume_init() |
| 21688 |
} |
| 21689 |
} |
| 21690 |
} |
| 21691 |
extern "C" { |
| 21692 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_it"] |
| 21693 |
pub static NETSCAPE_SPKI_it: ASN1_ITEM; |
| 21694 |
} |
| 21695 |
extern "C" { |
| 21696 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_new"] |
| 21697 |
pub fn NETSCAPE_SPKI_new() -> *mut NETSCAPE_SPKI; |
| 21698 |
} |
| 21699 |
extern "C" { |
| 21700 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_free"] |
| 21701 |
pub fn NETSCAPE_SPKI_free(spki: *mut NETSCAPE_SPKI); |
| 21702 |
} |
| 21703 |
extern "C" { |
| 21704 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_NETSCAPE_SPKI"] |
| 21705 |
pub fn d2i_NETSCAPE_SPKI( |
| 21706 |
out: *mut *mut NETSCAPE_SPKI, |
| 21707 |
inp: *mut *const u8, |
| 21708 |
len: ::std::os::raw::c_long, |
| 21709 |
) -> *mut NETSCAPE_SPKI; |
| 21710 |
} |
| 21711 |
extern "C" { |
| 21712 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_NETSCAPE_SPKI"] |
| 21713 |
pub fn i2d_NETSCAPE_SPKI( |
| 21714 |
spki: *const NETSCAPE_SPKI, |
| 21715 |
outp: *mut *mut u8, |
| 21716 |
) -> ::std::os::raw::c_int; |
| 21717 |
} |
| 21718 |
extern "C" { |
| 21719 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_verify"] |
| 21720 |
pub fn NETSCAPE_SPKI_verify( |
| 21721 |
spki: *mut NETSCAPE_SPKI, |
| 21722 |
pkey: *mut EVP_PKEY, |
| 21723 |
) -> ::std::os::raw::c_int; |
| 21724 |
} |
| 21725 |
extern "C" { |
| 21726 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_b64_decode"] |
| 21727 |
pub fn NETSCAPE_SPKI_b64_decode( |
| 21728 |
str_: *const ::std::os::raw::c_char, |
| 21729 |
len: ossl_ssize_t, |
| 21730 |
) -> *mut NETSCAPE_SPKI; |
| 21731 |
} |
| 21732 |
extern "C" { |
| 21733 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_b64_encode"] |
| 21734 |
pub fn NETSCAPE_SPKI_b64_encode(spki: *mut NETSCAPE_SPKI) -> *mut ::std::os::raw::c_char; |
| 21735 |
} |
| 21736 |
extern "C" { |
| 21737 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_get_pubkey"] |
| 21738 |
pub fn NETSCAPE_SPKI_get_pubkey(spki: *const NETSCAPE_SPKI) -> *mut EVP_PKEY; |
| 21739 |
} |
| 21740 |
extern "C" { |
| 21741 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_set_pubkey"] |
| 21742 |
pub fn NETSCAPE_SPKI_set_pubkey( |
| 21743 |
spki: *mut NETSCAPE_SPKI, |
| 21744 |
pkey: *mut EVP_PKEY, |
| 21745 |
) -> ::std::os::raw::c_int; |
| 21746 |
} |
| 21747 |
extern "C" { |
| 21748 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_sign"] |
| 21749 |
pub fn NETSCAPE_SPKI_sign( |
| 21750 |
spki: *mut NETSCAPE_SPKI, |
| 21751 |
pkey: *mut EVP_PKEY, |
| 21752 |
md: *const EVP_MD, |
| 21753 |
) -> ::std::os::raw::c_int; |
| 21754 |
} |
| 21755 |
#[repr(C)] |
| 21756 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 21757 |
pub struct Netscape_spkac_st { |
| 21758 |
pub pubkey: *mut X509_PUBKEY, |
| 21759 |
pub challenge: *mut ASN1_IA5STRING, |
| 21760 |
} |
| 21761 |
#[test] |
| 21762 |
fn bindgen_test_layout_Netscape_spkac_st() { |
| 21763 |
const UNINIT: ::std::mem::MaybeUninit<Netscape_spkac_st> = ::std::mem::MaybeUninit::uninit(); |
| 21764 |
let ptr = UNINIT.as_ptr(); |
| 21765 |
assert_eq!( |
| 21766 |
::std::mem::size_of::<Netscape_spkac_st>(), |
| 21767 |
16usize, |
| 21768 |
"Size of Netscape_spkac_st" |
| 21769 |
); |
| 21770 |
assert_eq!( |
| 21771 |
::std::mem::align_of::<Netscape_spkac_st>(), |
| 21772 |
8usize, |
| 21773 |
"Alignment of Netscape_spkac_st" |
| 21774 |
); |
| 21775 |
assert_eq!( |
| 21776 |
unsafe { ::std::ptr::addr_of!((*ptr).pubkey) as usize - ptr as usize }, |
| 21777 |
0usize, |
| 21778 |
"Offset of field: Netscape_spkac_st::pubkey" |
| 21779 |
); |
| 21780 |
assert_eq!( |
| 21781 |
unsafe { ::std::ptr::addr_of!((*ptr).challenge) as usize - ptr as usize }, |
| 21782 |
8usize, |
| 21783 |
"Offset of field: Netscape_spkac_st::challenge" |
| 21784 |
); |
| 21785 |
} |
| 21786 |
impl Default for Netscape_spkac_st { |
| 21787 |
fn default() -> Self { |
| 21788 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 21789 |
unsafe { |
| 21790 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 21791 |
s.assume_init() |
| 21792 |
} |
| 21793 |
} |
| 21794 |
} |
| 21795 |
extern "C" { |
| 21796 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKAC_it"] |
| 21797 |
pub static NETSCAPE_SPKAC_it: ASN1_ITEM; |
| 21798 |
} |
| 21799 |
extern "C" { |
| 21800 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKAC_new"] |
| 21801 |
pub fn NETSCAPE_SPKAC_new() -> *mut NETSCAPE_SPKAC; |
| 21802 |
} |
| 21803 |
extern "C" { |
| 21804 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKAC_free"] |
| 21805 |
pub fn NETSCAPE_SPKAC_free(spkac: *mut NETSCAPE_SPKAC); |
| 21806 |
} |
| 21807 |
extern "C" { |
| 21808 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_NETSCAPE_SPKAC"] |
| 21809 |
pub fn d2i_NETSCAPE_SPKAC( |
| 21810 |
out: *mut *mut NETSCAPE_SPKAC, |
| 21811 |
inp: *mut *const u8, |
| 21812 |
len: ::std::os::raw::c_long, |
| 21813 |
) -> *mut NETSCAPE_SPKAC; |
| 21814 |
} |
| 21815 |
extern "C" { |
| 21816 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_NETSCAPE_SPKAC"] |
| 21817 |
pub fn i2d_NETSCAPE_SPKAC( |
| 21818 |
spkac: *const NETSCAPE_SPKAC, |
| 21819 |
outp: *mut *mut u8, |
| 21820 |
) -> ::std::os::raw::c_int; |
| 21821 |
} |
| 21822 |
extern "C" { |
| 21823 |
#[link_name = "\u{1}aws_lc_0_41_0_NETSCAPE_SPKI_print"] |
| 21824 |
pub fn NETSCAPE_SPKI_print(out: *mut BIO, spki: *mut NETSCAPE_SPKI) -> ::std::os::raw::c_int; |
| 21825 |
} |
| 21826 |
#[repr(C)] |
| 21827 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 21828 |
pub struct rsa_pss_params_st { |
| 21829 |
pub hashAlgorithm: *mut X509_ALGOR, |
| 21830 |
pub maskGenAlgorithm: *mut X509_ALGOR, |
| 21831 |
pub saltLength: *mut ASN1_INTEGER, |
| 21832 |
pub trailerField: *mut ASN1_INTEGER, |
| 21833 |
pub maskHash: *mut X509_ALGOR, |
| 21834 |
} |
| 21835 |
#[test] |
| 21836 |
fn bindgen_test_layout_rsa_pss_params_st() { |
| 21837 |
const UNINIT: ::std::mem::MaybeUninit<rsa_pss_params_st> = ::std::mem::MaybeUninit::uninit(); |
| 21838 |
let ptr = UNINIT.as_ptr(); |
| 21839 |
assert_eq!( |
| 21840 |
::std::mem::size_of::<rsa_pss_params_st>(), |
| 21841 |
40usize, |
| 21842 |
"Size of rsa_pss_params_st" |
| 21843 |
); |
| 21844 |
assert_eq!( |
| 21845 |
::std::mem::align_of::<rsa_pss_params_st>(), |
| 21846 |
8usize, |
| 21847 |
"Alignment of rsa_pss_params_st" |
| 21848 |
); |
| 21849 |
assert_eq!( |
| 21850 |
unsafe { ::std::ptr::addr_of!((*ptr).hashAlgorithm) as usize - ptr as usize }, |
| 21851 |
0usize, |
| 21852 |
"Offset of field: rsa_pss_params_st::hashAlgorithm" |
| 21853 |
); |
| 21854 |
assert_eq!( |
| 21855 |
unsafe { ::std::ptr::addr_of!((*ptr).maskGenAlgorithm) as usize - ptr as usize }, |
| 21856 |
8usize, |
| 21857 |
"Offset of field: rsa_pss_params_st::maskGenAlgorithm" |
| 21858 |
); |
| 21859 |
assert_eq!( |
| 21860 |
unsafe { ::std::ptr::addr_of!((*ptr).saltLength) as usize - ptr as usize }, |
| 21861 |
16usize, |
| 21862 |
"Offset of field: rsa_pss_params_st::saltLength" |
| 21863 |
); |
| 21864 |
assert_eq!( |
| 21865 |
unsafe { ::std::ptr::addr_of!((*ptr).trailerField) as usize - ptr as usize }, |
| 21866 |
24usize, |
| 21867 |
"Offset of field: rsa_pss_params_st::trailerField" |
| 21868 |
); |
| 21869 |
assert_eq!( |
| 21870 |
unsafe { ::std::ptr::addr_of!((*ptr).maskHash) as usize - ptr as usize }, |
| 21871 |
32usize, |
| 21872 |
"Offset of field: rsa_pss_params_st::maskHash" |
| 21873 |
); |
| 21874 |
} |
| 21875 |
impl Default for rsa_pss_params_st { |
| 21876 |
fn default() -> Self { |
| 21877 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 21878 |
unsafe { |
| 21879 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 21880 |
s.assume_init() |
| 21881 |
} |
| 21882 |
} |
| 21883 |
} |
| 21884 |
extern "C" { |
| 21885 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_PSS_PARAMS_it"] |
| 21886 |
pub static RSA_PSS_PARAMS_it: ASN1_ITEM; |
| 21887 |
} |
| 21888 |
extern "C" { |
| 21889 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_PSS_PARAMS_new"] |
| 21890 |
pub fn RSA_PSS_PARAMS_new() -> *mut RSA_PSS_PARAMS; |
| 21891 |
} |
| 21892 |
extern "C" { |
| 21893 |
#[link_name = "\u{1}aws_lc_0_41_0_RSA_PSS_PARAMS_free"] |
| 21894 |
pub fn RSA_PSS_PARAMS_free(params: *mut RSA_PSS_PARAMS); |
| 21895 |
} |
| 21896 |
extern "C" { |
| 21897 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSA_PSS_PARAMS"] |
| 21898 |
pub fn d2i_RSA_PSS_PARAMS( |
| 21899 |
out: *mut *mut RSA_PSS_PARAMS, |
| 21900 |
inp: *mut *const u8, |
| 21901 |
len: ::std::os::raw::c_long, |
| 21902 |
) -> *mut RSA_PSS_PARAMS; |
| 21903 |
} |
| 21904 |
extern "C" { |
| 21905 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSA_PSS_PARAMS"] |
| 21906 |
pub fn i2d_RSA_PSS_PARAMS( |
| 21907 |
in_: *const RSA_PSS_PARAMS, |
| 21908 |
outp: *mut *mut u8, |
| 21909 |
) -> ::std::os::raw::c_int; |
| 21910 |
} |
| 21911 |
extern "C" { |
| 21912 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS8_PRIV_KEY_INFO_it"] |
| 21913 |
pub static PKCS8_PRIV_KEY_INFO_it: ASN1_ITEM; |
| 21914 |
} |
| 21915 |
extern "C" { |
| 21916 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS8_PRIV_KEY_INFO_new"] |
| 21917 |
pub fn PKCS8_PRIV_KEY_INFO_new() -> *mut PKCS8_PRIV_KEY_INFO; |
| 21918 |
} |
| 21919 |
extern "C" { |
| 21920 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS8_PRIV_KEY_INFO_free"] |
| 21921 |
pub fn PKCS8_PRIV_KEY_INFO_free(key: *mut PKCS8_PRIV_KEY_INFO); |
| 21922 |
} |
| 21923 |
extern "C" { |
| 21924 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS8_PRIV_KEY_INFO"] |
| 21925 |
pub fn d2i_PKCS8_PRIV_KEY_INFO( |
| 21926 |
out: *mut *mut PKCS8_PRIV_KEY_INFO, |
| 21927 |
inp: *mut *const u8, |
| 21928 |
len: ::std::os::raw::c_long, |
| 21929 |
) -> *mut PKCS8_PRIV_KEY_INFO; |
| 21930 |
} |
| 21931 |
extern "C" { |
| 21932 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8_PRIV_KEY_INFO"] |
| 21933 |
pub fn i2d_PKCS8_PRIV_KEY_INFO( |
| 21934 |
key: *const PKCS8_PRIV_KEY_INFO, |
| 21935 |
outp: *mut *mut u8, |
| 21936 |
) -> ::std::os::raw::c_int; |
| 21937 |
} |
| 21938 |
extern "C" { |
| 21939 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKCS82PKEY"] |
| 21940 |
pub fn EVP_PKCS82PKEY(p8: *const PKCS8_PRIV_KEY_INFO) -> *mut EVP_PKEY; |
| 21941 |
} |
| 21942 |
extern "C" { |
| 21943 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY2PKCS8"] |
| 21944 |
pub fn EVP_PKEY2PKCS8(pkey: *const EVP_PKEY) -> *mut PKCS8_PRIV_KEY_INFO; |
| 21945 |
} |
| 21946 |
extern "C" { |
| 21947 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_SIG_it"] |
| 21948 |
pub static X509_SIG_it: ASN1_ITEM; |
| 21949 |
} |
| 21950 |
extern "C" { |
| 21951 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_SIG_new"] |
| 21952 |
pub fn X509_SIG_new() -> *mut X509_SIG; |
| 21953 |
} |
| 21954 |
extern "C" { |
| 21955 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_SIG_free"] |
| 21956 |
pub fn X509_SIG_free(key: *mut X509_SIG); |
| 21957 |
} |
| 21958 |
extern "C" { |
| 21959 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_SIG"] |
| 21960 |
pub fn d2i_X509_SIG( |
| 21961 |
out: *mut *mut X509_SIG, |
| 21962 |
inp: *mut *const u8, |
| 21963 |
len: ::std::os::raw::c_long, |
| 21964 |
) -> *mut X509_SIG; |
| 21965 |
} |
| 21966 |
extern "C" { |
| 21967 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_SIG"] |
| 21968 |
pub fn i2d_X509_SIG(sig: *const X509_SIG, outp: *mut *mut u8) -> ::std::os::raw::c_int; |
| 21969 |
} |
| 21970 |
extern "C" { |
| 21971 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_SIG_get0"] |
| 21972 |
pub fn X509_SIG_get0( |
| 21973 |
sig: *const X509_SIG, |
| 21974 |
out_alg: *mut *const X509_ALGOR, |
| 21975 |
out_digest: *mut *const ASN1_OCTET_STRING, |
| 21976 |
); |
| 21977 |
} |
| 21978 |
extern "C" { |
| 21979 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_SIG_getm"] |
| 21980 |
pub fn X509_SIG_getm( |
| 21981 |
sig: *mut X509_SIG, |
| 21982 |
out_alg: *mut *mut X509_ALGOR, |
| 21983 |
out_digest: *mut *mut ASN1_OCTET_STRING, |
| 21984 |
); |
| 21985 |
} |
| 21986 |
extern "C" { |
| 21987 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_print_ex"] |
| 21988 |
pub fn X509_print_ex( |
| 21989 |
bp: *mut BIO, |
| 21990 |
x: *mut X509, |
| 21991 |
nmflag: ::std::os::raw::c_ulong, |
| 21992 |
cflag: ::std::os::raw::c_ulong, |
| 21993 |
) -> ::std::os::raw::c_int; |
| 21994 |
} |
| 21995 |
extern "C" { |
| 21996 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_print_ex_fp"] |
| 21997 |
pub fn X509_print_ex_fp( |
| 21998 |
fp: *mut FILE, |
| 21999 |
x: *mut X509, |
| 22000 |
nmflag: ::std::os::raw::c_ulong, |
| 22001 |
cflag: ::std::os::raw::c_ulong, |
| 22002 |
) -> ::std::os::raw::c_int; |
| 22003 |
} |
| 22004 |
extern "C" { |
| 22005 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_print"] |
| 22006 |
pub fn X509_print(bp: *mut BIO, x: *mut X509) -> ::std::os::raw::c_int; |
| 22007 |
} |
| 22008 |
extern "C" { |
| 22009 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_print_fp"] |
| 22010 |
pub fn X509_print_fp(fp: *mut FILE, x: *mut X509) -> ::std::os::raw::c_int; |
| 22011 |
} |
| 22012 |
extern "C" { |
| 22013 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_print"] |
| 22014 |
pub fn X509_CRL_print(bp: *mut BIO, x: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 22015 |
} |
| 22016 |
extern "C" { |
| 22017 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_print_fp"] |
| 22018 |
pub fn X509_CRL_print_fp(fp: *mut FILE, x: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 22019 |
} |
| 22020 |
extern "C" { |
| 22021 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_print_ex"] |
| 22022 |
pub fn X509_REQ_print_ex( |
| 22023 |
bp: *mut BIO, |
| 22024 |
x: *mut X509_REQ, |
| 22025 |
nmflag: ::std::os::raw::c_ulong, |
| 22026 |
cflag: ::std::os::raw::c_ulong, |
| 22027 |
) -> ::std::os::raw::c_int; |
| 22028 |
} |
| 22029 |
extern "C" { |
| 22030 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_print"] |
| 22031 |
pub fn X509_REQ_print(bp: *mut BIO, req: *mut X509_REQ) -> ::std::os::raw::c_int; |
| 22032 |
} |
| 22033 |
extern "C" { |
| 22034 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_print_fp"] |
| 22035 |
pub fn X509_REQ_print_fp(fp: *mut FILE, req: *mut X509_REQ) -> ::std::os::raw::c_int; |
| 22036 |
} |
| 22037 |
extern "C" { |
| 22038 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_print_ex"] |
| 22039 |
pub fn X509_NAME_print_ex( |
| 22040 |
out: *mut BIO, |
| 22041 |
nm: *const X509_NAME, |
| 22042 |
indent: ::std::os::raw::c_int, |
| 22043 |
flags: ::std::os::raw::c_ulong, |
| 22044 |
) -> ::std::os::raw::c_int; |
| 22045 |
} |
| 22046 |
extern "C" { |
| 22047 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_print"] |
| 22048 |
pub fn X509_NAME_print( |
| 22049 |
bp: *mut BIO, |
| 22050 |
name: *const X509_NAME, |
| 22051 |
obase: ::std::os::raw::c_int, |
| 22052 |
) -> ::std::os::raw::c_int; |
| 22053 |
} |
| 22054 |
extern "C" { |
| 22055 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_oneline"] |
| 22056 |
pub fn X509_NAME_oneline( |
| 22057 |
name: *const X509_NAME, |
| 22058 |
buf: *mut ::std::os::raw::c_char, |
| 22059 |
size: ::std::os::raw::c_int, |
| 22060 |
) -> *mut ::std::os::raw::c_char; |
| 22061 |
} |
| 22062 |
extern "C" { |
| 22063 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_print_ex_fp"] |
| 22064 |
pub fn X509_NAME_print_ex_fp( |
| 22065 |
fp: *mut FILE, |
| 22066 |
nm: *const X509_NAME, |
| 22067 |
indent: ::std::os::raw::c_int, |
| 22068 |
flags: ::std::os::raw::c_ulong, |
| 22069 |
) -> ::std::os::raw::c_int; |
| 22070 |
} |
| 22071 |
extern "C" { |
| 22072 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_signature_dump"] |
| 22073 |
pub fn X509_signature_dump( |
| 22074 |
bio: *mut BIO, |
| 22075 |
sig: *const ASN1_STRING, |
| 22076 |
indent: ::std::os::raw::c_int, |
| 22077 |
) -> ::std::os::raw::c_int; |
| 22078 |
} |
| 22079 |
extern "C" { |
| 22080 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_signature_print"] |
| 22081 |
pub fn X509_signature_print( |
| 22082 |
bio: *mut BIO, |
| 22083 |
alg: *const X509_ALGOR, |
| 22084 |
sig: *const ASN1_STRING, |
| 22085 |
) -> ::std::os::raw::c_int; |
| 22086 |
} |
| 22087 |
extern "C" { |
| 22088 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_print"] |
| 22089 |
pub fn X509V3_EXT_print( |
| 22090 |
out: *mut BIO, |
| 22091 |
ext: *const X509_EXTENSION, |
| 22092 |
flag: ::std::os::raw::c_ulong, |
| 22093 |
indent: ::std::os::raw::c_int, |
| 22094 |
) -> ::std::os::raw::c_int; |
| 22095 |
} |
| 22096 |
extern "C" { |
| 22097 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_print_fp"] |
| 22098 |
pub fn X509V3_EXT_print_fp( |
| 22099 |
out: *mut FILE, |
| 22100 |
ext: *const X509_EXTENSION, |
| 22101 |
flag: ::std::os::raw::c_int, |
| 22102 |
indent: ::std::os::raw::c_int, |
| 22103 |
) -> ::std::os::raw::c_int; |
| 22104 |
} |
| 22105 |
extern "C" { |
| 22106 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_extensions_print"] |
| 22107 |
pub fn X509V3_extensions_print( |
| 22108 |
out: *mut BIO, |
| 22109 |
title: *const ::std::os::raw::c_char, |
| 22110 |
exts: *const stack_st_X509_EXTENSION, |
| 22111 |
flag: ::std::os::raw::c_ulong, |
| 22112 |
indent: ::std::os::raw::c_int, |
| 22113 |
) -> ::std::os::raw::c_int; |
| 22114 |
} |
| 22115 |
extern "C" { |
| 22116 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_NAME_print"] |
| 22117 |
pub fn GENERAL_NAME_print(out: *mut BIO, gen_: *const GENERAL_NAME) -> ::std::os::raw::c_int; |
| 22118 |
} |
| 22119 |
extern "C" { |
| 22120 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_pubkey_digest"] |
| 22121 |
pub fn X509_pubkey_digest( |
| 22122 |
x509: *const X509, |
| 22123 |
md: *const EVP_MD, |
| 22124 |
out: *mut u8, |
| 22125 |
out_len: *mut ::std::os::raw::c_uint, |
| 22126 |
) -> ::std::os::raw::c_int; |
| 22127 |
} |
| 22128 |
extern "C" { |
| 22129 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_digest"] |
| 22130 |
pub fn X509_digest( |
| 22131 |
x509: *const X509, |
| 22132 |
md: *const EVP_MD, |
| 22133 |
out: *mut u8, |
| 22134 |
out_len: *mut ::std::os::raw::c_uint, |
| 22135 |
) -> ::std::os::raw::c_int; |
| 22136 |
} |
| 22137 |
extern "C" { |
| 22138 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_digest"] |
| 22139 |
pub fn X509_CRL_digest( |
| 22140 |
crl: *const X509_CRL, |
| 22141 |
md: *const EVP_MD, |
| 22142 |
out: *mut u8, |
| 22143 |
out_len: *mut ::std::os::raw::c_uint, |
| 22144 |
) -> ::std::os::raw::c_int; |
| 22145 |
} |
| 22146 |
extern "C" { |
| 22147 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_REQ_digest"] |
| 22148 |
pub fn X509_REQ_digest( |
| 22149 |
req: *const X509_REQ, |
| 22150 |
md: *const EVP_MD, |
| 22151 |
out: *mut u8, |
| 22152 |
out_len: *mut ::std::os::raw::c_uint, |
| 22153 |
) -> ::std::os::raw::c_int; |
| 22154 |
} |
| 22155 |
extern "C" { |
| 22156 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_digest"] |
| 22157 |
pub fn X509_NAME_digest( |
| 22158 |
name: *const X509_NAME, |
| 22159 |
md: *const EVP_MD, |
| 22160 |
out: *mut u8, |
| 22161 |
out_len: *mut ::std::os::raw::c_uint, |
| 22162 |
) -> ::std::os::raw::c_int; |
| 22163 |
} |
| 22164 |
extern "C" { |
| 22165 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_bio"] |
| 22166 |
pub fn d2i_X509_bio(bp: *mut BIO, x509: *mut *mut X509) -> *mut X509; |
| 22167 |
} |
| 22168 |
extern "C" { |
| 22169 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_CRL_bio"] |
| 22170 |
pub fn d2i_X509_CRL_bio(bp: *mut BIO, crl: *mut *mut X509_CRL) -> *mut X509_CRL; |
| 22171 |
} |
| 22172 |
extern "C" { |
| 22173 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_REQ_bio"] |
| 22174 |
pub fn d2i_X509_REQ_bio(bp: *mut BIO, req: *mut *mut X509_REQ) -> *mut X509_REQ; |
| 22175 |
} |
| 22176 |
extern "C" { |
| 22177 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSAPrivateKey_bio"] |
| 22178 |
pub fn d2i_RSAPrivateKey_bio(bp: *mut BIO, rsa: *mut *mut RSA) -> *mut RSA; |
| 22179 |
} |
| 22180 |
extern "C" { |
| 22181 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSAPublicKey_bio"] |
| 22182 |
pub fn d2i_RSAPublicKey_bio(bp: *mut BIO, rsa: *mut *mut RSA) -> *mut RSA; |
| 22183 |
} |
| 22184 |
extern "C" { |
| 22185 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSA_PUBKEY_bio"] |
| 22186 |
pub fn d2i_RSA_PUBKEY_bio(bp: *mut BIO, rsa: *mut *mut RSA) -> *mut RSA; |
| 22187 |
} |
| 22188 |
extern "C" { |
| 22189 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSA_PUBKEY_bio"] |
| 22190 |
pub fn d2i_DSA_PUBKEY_bio(bp: *mut BIO, dsa: *mut *mut DSA) -> *mut DSA; |
| 22191 |
} |
| 22192 |
extern "C" { |
| 22193 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSAPrivateKey_bio"] |
| 22194 |
pub fn d2i_DSAPrivateKey_bio(bp: *mut BIO, dsa: *mut *mut DSA) -> *mut DSA; |
| 22195 |
} |
| 22196 |
extern "C" { |
| 22197 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_EC_PUBKEY_bio"] |
| 22198 |
pub fn d2i_EC_PUBKEY_bio(bp: *mut BIO, eckey: *mut *mut EC_KEY) -> *mut EC_KEY; |
| 22199 |
} |
| 22200 |
extern "C" { |
| 22201 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ECPrivateKey_bio"] |
| 22202 |
pub fn d2i_ECPrivateKey_bio(bp: *mut BIO, eckey: *mut *mut EC_KEY) -> *mut EC_KEY; |
| 22203 |
} |
| 22204 |
extern "C" { |
| 22205 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS8_bio"] |
| 22206 |
pub fn d2i_PKCS8_bio(bp: *mut BIO, p8: *mut *mut X509_SIG) -> *mut X509_SIG; |
| 22207 |
} |
| 22208 |
extern "C" { |
| 22209 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS8_PRIV_KEY_INFO_bio"] |
| 22210 |
pub fn d2i_PKCS8_PRIV_KEY_INFO_bio( |
| 22211 |
bp: *mut BIO, |
| 22212 |
p8inf: *mut *mut PKCS8_PRIV_KEY_INFO, |
| 22213 |
) -> *mut PKCS8_PRIV_KEY_INFO; |
| 22214 |
} |
| 22215 |
extern "C" { |
| 22216 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PUBKEY_bio"] |
| 22217 |
pub fn d2i_PUBKEY_bio(bp: *mut BIO, a: *mut *mut EVP_PKEY) -> *mut EVP_PKEY; |
| 22218 |
} |
| 22219 |
extern "C" { |
| 22220 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DHparams_bio"] |
| 22221 |
pub fn d2i_DHparams_bio(bp: *mut BIO, dh: *mut *mut DH) -> *mut DH; |
| 22222 |
} |
| 22223 |
extern "C" { |
| 22224 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PrivateKey_bio"] |
| 22225 |
pub fn d2i_PrivateKey_bio(bp: *mut BIO, a: *mut *mut EVP_PKEY) -> *mut EVP_PKEY; |
| 22226 |
} |
| 22227 |
extern "C" { |
| 22228 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_bio"] |
| 22229 |
pub fn i2d_X509_bio(bp: *mut BIO, x509: *mut X509) -> ::std::os::raw::c_int; |
| 22230 |
} |
| 22231 |
extern "C" { |
| 22232 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_CRL_bio"] |
| 22233 |
pub fn i2d_X509_CRL_bio(bp: *mut BIO, crl: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 22234 |
} |
| 22235 |
extern "C" { |
| 22236 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_REQ_bio"] |
| 22237 |
pub fn i2d_X509_REQ_bio(bp: *mut BIO, req: *mut X509_REQ) -> ::std::os::raw::c_int; |
| 22238 |
} |
| 22239 |
extern "C" { |
| 22240 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSAPrivateKey_bio"] |
| 22241 |
pub fn i2d_RSAPrivateKey_bio(bp: *mut BIO, rsa: *mut RSA) -> ::std::os::raw::c_int; |
| 22242 |
} |
| 22243 |
extern "C" { |
| 22244 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSAPublicKey_bio"] |
| 22245 |
pub fn i2d_RSAPublicKey_bio(bp: *mut BIO, rsa: *mut RSA) -> ::std::os::raw::c_int; |
| 22246 |
} |
| 22247 |
extern "C" { |
| 22248 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSA_PUBKEY_bio"] |
| 22249 |
pub fn i2d_RSA_PUBKEY_bio(bp: *mut BIO, rsa: *mut RSA) -> ::std::os::raw::c_int; |
| 22250 |
} |
| 22251 |
extern "C" { |
| 22252 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSA_PUBKEY_bio"] |
| 22253 |
pub fn i2d_DSA_PUBKEY_bio(bp: *mut BIO, dsa: *mut DSA) -> ::std::os::raw::c_int; |
| 22254 |
} |
| 22255 |
extern "C" { |
| 22256 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSAPrivateKey_bio"] |
| 22257 |
pub fn i2d_DSAPrivateKey_bio(bp: *mut BIO, dsa: *mut DSA) -> ::std::os::raw::c_int; |
| 22258 |
} |
| 22259 |
extern "C" { |
| 22260 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_EC_PUBKEY_bio"] |
| 22261 |
pub fn i2d_EC_PUBKEY_bio(bp: *mut BIO, eckey: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 22262 |
} |
| 22263 |
extern "C" { |
| 22264 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ECPrivateKey_bio"] |
| 22265 |
pub fn i2d_ECPrivateKey_bio(bp: *mut BIO, eckey: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 22266 |
} |
| 22267 |
extern "C" { |
| 22268 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8_bio"] |
| 22269 |
pub fn i2d_PKCS8_bio(bp: *mut BIO, p8: *mut X509_SIG) -> ::std::os::raw::c_int; |
| 22270 |
} |
| 22271 |
extern "C" { |
| 22272 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8_PRIV_KEY_INFO_bio"] |
| 22273 |
pub fn i2d_PKCS8_PRIV_KEY_INFO_bio( |
| 22274 |
bp: *mut BIO, |
| 22275 |
p8inf: *mut PKCS8_PRIV_KEY_INFO, |
| 22276 |
) -> ::std::os::raw::c_int; |
| 22277 |
} |
| 22278 |
extern "C" { |
| 22279 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PrivateKey_bio"] |
| 22280 |
pub fn i2d_PrivateKey_bio(bp: *mut BIO, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 22281 |
} |
| 22282 |
extern "C" { |
| 22283 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PUBKEY_bio"] |
| 22284 |
pub fn i2d_PUBKEY_bio(bp: *mut BIO, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 22285 |
} |
| 22286 |
extern "C" { |
| 22287 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DHparams_bio"] |
| 22288 |
pub fn i2d_DHparams_bio(bp: *mut BIO, dh: *const DH) -> ::std::os::raw::c_int; |
| 22289 |
} |
| 22290 |
extern "C" { |
| 22291 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8PrivateKeyInfo_bio"] |
| 22292 |
pub fn i2d_PKCS8PrivateKeyInfo_bio(bp: *mut BIO, key: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 22293 |
} |
| 22294 |
extern "C" { |
| 22295 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_fp"] |
| 22296 |
pub fn d2i_X509_fp(fp: *mut FILE, x509: *mut *mut X509) -> *mut X509; |
| 22297 |
} |
| 22298 |
extern "C" { |
| 22299 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_CRL_fp"] |
| 22300 |
pub fn d2i_X509_CRL_fp(fp: *mut FILE, crl: *mut *mut X509_CRL) -> *mut X509_CRL; |
| 22301 |
} |
| 22302 |
extern "C" { |
| 22303 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_X509_REQ_fp"] |
| 22304 |
pub fn d2i_X509_REQ_fp(fp: *mut FILE, req: *mut *mut X509_REQ) -> *mut X509_REQ; |
| 22305 |
} |
| 22306 |
extern "C" { |
| 22307 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSAPrivateKey_fp"] |
| 22308 |
pub fn d2i_RSAPrivateKey_fp(fp: *mut FILE, rsa: *mut *mut RSA) -> *mut RSA; |
| 22309 |
} |
| 22310 |
extern "C" { |
| 22311 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSAPublicKey_fp"] |
| 22312 |
pub fn d2i_RSAPublicKey_fp(fp: *mut FILE, rsa: *mut *mut RSA) -> *mut RSA; |
| 22313 |
} |
| 22314 |
extern "C" { |
| 22315 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_RSA_PUBKEY_fp"] |
| 22316 |
pub fn d2i_RSA_PUBKEY_fp(fp: *mut FILE, rsa: *mut *mut RSA) -> *mut RSA; |
| 22317 |
} |
| 22318 |
extern "C" { |
| 22319 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSA_PUBKEY_fp"] |
| 22320 |
pub fn d2i_DSA_PUBKEY_fp(fp: *mut FILE, dsa: *mut *mut DSA) -> *mut DSA; |
| 22321 |
} |
| 22322 |
extern "C" { |
| 22323 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_DSAPrivateKey_fp"] |
| 22324 |
pub fn d2i_DSAPrivateKey_fp(fp: *mut FILE, dsa: *mut *mut DSA) -> *mut DSA; |
| 22325 |
} |
| 22326 |
extern "C" { |
| 22327 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_EC_PUBKEY_fp"] |
| 22328 |
pub fn d2i_EC_PUBKEY_fp(fp: *mut FILE, eckey: *mut *mut EC_KEY) -> *mut EC_KEY; |
| 22329 |
} |
| 22330 |
extern "C" { |
| 22331 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ECPrivateKey_fp"] |
| 22332 |
pub fn d2i_ECPrivateKey_fp(fp: *mut FILE, eckey: *mut *mut EC_KEY) -> *mut EC_KEY; |
| 22333 |
} |
| 22334 |
extern "C" { |
| 22335 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS8_fp"] |
| 22336 |
pub fn d2i_PKCS8_fp(fp: *mut FILE, p8: *mut *mut X509_SIG) -> *mut X509_SIG; |
| 22337 |
} |
| 22338 |
extern "C" { |
| 22339 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS8_PRIV_KEY_INFO_fp"] |
| 22340 |
pub fn d2i_PKCS8_PRIV_KEY_INFO_fp( |
| 22341 |
fp: *mut FILE, |
| 22342 |
p8inf: *mut *mut PKCS8_PRIV_KEY_INFO, |
| 22343 |
) -> *mut PKCS8_PRIV_KEY_INFO; |
| 22344 |
} |
| 22345 |
extern "C" { |
| 22346 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PrivateKey_fp"] |
| 22347 |
pub fn d2i_PrivateKey_fp(fp: *mut FILE, a: *mut *mut EVP_PKEY) -> *mut EVP_PKEY; |
| 22348 |
} |
| 22349 |
extern "C" { |
| 22350 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PUBKEY_fp"] |
| 22351 |
pub fn d2i_PUBKEY_fp(fp: *mut FILE, a: *mut *mut EVP_PKEY) -> *mut EVP_PKEY; |
| 22352 |
} |
| 22353 |
extern "C" { |
| 22354 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_fp"] |
| 22355 |
pub fn i2d_X509_fp(fp: *mut FILE, x509: *mut X509) -> ::std::os::raw::c_int; |
| 22356 |
} |
| 22357 |
extern "C" { |
| 22358 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_CRL_fp"] |
| 22359 |
pub fn i2d_X509_CRL_fp(fp: *mut FILE, crl: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 22360 |
} |
| 22361 |
extern "C" { |
| 22362 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_X509_REQ_fp"] |
| 22363 |
pub fn i2d_X509_REQ_fp(fp: *mut FILE, req: *mut X509_REQ) -> ::std::os::raw::c_int; |
| 22364 |
} |
| 22365 |
extern "C" { |
| 22366 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSAPrivateKey_fp"] |
| 22367 |
pub fn i2d_RSAPrivateKey_fp(fp: *mut FILE, rsa: *mut RSA) -> ::std::os::raw::c_int; |
| 22368 |
} |
| 22369 |
extern "C" { |
| 22370 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSAPublicKey_fp"] |
| 22371 |
pub fn i2d_RSAPublicKey_fp(fp: *mut FILE, rsa: *mut RSA) -> ::std::os::raw::c_int; |
| 22372 |
} |
| 22373 |
extern "C" { |
| 22374 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_RSA_PUBKEY_fp"] |
| 22375 |
pub fn i2d_RSA_PUBKEY_fp(fp: *mut FILE, rsa: *mut RSA) -> ::std::os::raw::c_int; |
| 22376 |
} |
| 22377 |
extern "C" { |
| 22378 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSA_PUBKEY_fp"] |
| 22379 |
pub fn i2d_DSA_PUBKEY_fp(fp: *mut FILE, dsa: *mut DSA) -> ::std::os::raw::c_int; |
| 22380 |
} |
| 22381 |
extern "C" { |
| 22382 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_DSAPrivateKey_fp"] |
| 22383 |
pub fn i2d_DSAPrivateKey_fp(fp: *mut FILE, dsa: *mut DSA) -> ::std::os::raw::c_int; |
| 22384 |
} |
| 22385 |
extern "C" { |
| 22386 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_EC_PUBKEY_fp"] |
| 22387 |
pub fn i2d_EC_PUBKEY_fp(fp: *mut FILE, eckey: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 22388 |
} |
| 22389 |
extern "C" { |
| 22390 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ECPrivateKey_fp"] |
| 22391 |
pub fn i2d_ECPrivateKey_fp(fp: *mut FILE, eckey: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 22392 |
} |
| 22393 |
extern "C" { |
| 22394 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8_fp"] |
| 22395 |
pub fn i2d_PKCS8_fp(fp: *mut FILE, p8: *mut X509_SIG) -> ::std::os::raw::c_int; |
| 22396 |
} |
| 22397 |
extern "C" { |
| 22398 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8_PRIV_KEY_INFO_fp"] |
| 22399 |
pub fn i2d_PKCS8_PRIV_KEY_INFO_fp( |
| 22400 |
fp: *mut FILE, |
| 22401 |
p8inf: *mut PKCS8_PRIV_KEY_INFO, |
| 22402 |
) -> ::std::os::raw::c_int; |
| 22403 |
} |
| 22404 |
extern "C" { |
| 22405 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8PrivateKeyInfo_fp"] |
| 22406 |
pub fn i2d_PKCS8PrivateKeyInfo_fp(fp: *mut FILE, key: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 22407 |
} |
| 22408 |
extern "C" { |
| 22409 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PrivateKey_fp"] |
| 22410 |
pub fn i2d_PrivateKey_fp(fp: *mut FILE, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 22411 |
} |
| 22412 |
extern "C" { |
| 22413 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PUBKEY_fp"] |
| 22414 |
pub fn i2d_PUBKEY_fp(fp: *mut FILE, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 22415 |
} |
| 22416 |
extern "C" { |
| 22417 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_find_by_issuer_and_serial"] |
| 22418 |
pub fn X509_find_by_issuer_and_serial( |
| 22419 |
sk: *const stack_st_X509, |
| 22420 |
name: *mut X509_NAME, |
| 22421 |
serial: *const ASN1_INTEGER, |
| 22422 |
) -> *mut X509; |
| 22423 |
} |
| 22424 |
extern "C" { |
| 22425 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_find_by_subject"] |
| 22426 |
pub fn X509_find_by_subject(sk: *const stack_st_X509, name: *mut X509_NAME) -> *mut X509; |
| 22427 |
} |
| 22428 |
extern "C" { |
| 22429 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_cmp_time"] |
| 22430 |
pub fn X509_cmp_time(s: *const ASN1_TIME, t: *const time_t) -> ::std::os::raw::c_int; |
| 22431 |
} |
| 22432 |
extern "C" { |
| 22433 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_cmp_time_posix"] |
| 22434 |
pub fn X509_cmp_time_posix(s: *const ASN1_TIME, t: i64) -> ::std::os::raw::c_int; |
| 22435 |
} |
| 22436 |
extern "C" { |
| 22437 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_cmp_current_time"] |
| 22438 |
pub fn X509_cmp_current_time(s: *const ASN1_TIME) -> ::std::os::raw::c_int; |
| 22439 |
} |
| 22440 |
extern "C" { |
| 22441 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_time_adj"] |
| 22442 |
pub fn X509_time_adj( |
| 22443 |
s: *mut ASN1_TIME, |
| 22444 |
offset_sec: ::std::os::raw::c_long, |
| 22445 |
t: *const time_t, |
| 22446 |
) -> *mut ASN1_TIME; |
| 22447 |
} |
| 22448 |
extern "C" { |
| 22449 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_time_adj_ex"] |
| 22450 |
pub fn X509_time_adj_ex( |
| 22451 |
s: *mut ASN1_TIME, |
| 22452 |
offset_day: ::std::os::raw::c_int, |
| 22453 |
offset_sec: ::std::os::raw::c_long, |
| 22454 |
t: *const time_t, |
| 22455 |
) -> *mut ASN1_TIME; |
| 22456 |
} |
| 22457 |
extern "C" { |
| 22458 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_gmtime_adj"] |
| 22459 |
pub fn X509_gmtime_adj(s: *mut ASN1_TIME, offset_sec: ::std::os::raw::c_long) |
| 22460 |
-> *mut ASN1_TIME; |
| 22461 |
} |
| 22462 |
extern "C" { |
| 22463 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_issuer_name_cmp"] |
| 22464 |
pub fn X509_issuer_name_cmp(a: *const X509, b: *const X509) -> ::std::os::raw::c_int; |
| 22465 |
} |
| 22466 |
extern "C" { |
| 22467 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_subject_name_cmp"] |
| 22468 |
pub fn X509_subject_name_cmp(a: *const X509, b: *const X509) -> ::std::os::raw::c_int; |
| 22469 |
} |
| 22470 |
extern "C" { |
| 22471 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_cmp"] |
| 22472 |
pub fn X509_CRL_cmp(a: *const X509_CRL, b: *const X509_CRL) -> ::std::os::raw::c_int; |
| 22473 |
} |
| 22474 |
extern "C" { |
| 22475 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_issuer_name_hash"] |
| 22476 |
pub fn X509_issuer_name_hash(x509: *mut X509) -> u32; |
| 22477 |
} |
| 22478 |
extern "C" { |
| 22479 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_subject_name_hash"] |
| 22480 |
pub fn X509_subject_name_hash(x509: *mut X509) -> u32; |
| 22481 |
} |
| 22482 |
extern "C" { |
| 22483 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_issuer_name_hash_old"] |
| 22484 |
pub fn X509_issuer_name_hash_old(x509: *mut X509) -> u32; |
| 22485 |
} |
| 22486 |
extern "C" { |
| 22487 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_subject_name_hash_old"] |
| 22488 |
pub fn X509_subject_name_hash_old(x509: *mut X509) -> u32; |
| 22489 |
} |
| 22490 |
extern "C" { |
| 22491 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_ex_new_index"] |
| 22492 |
pub fn X509_get_ex_new_index( |
| 22493 |
argl: ::std::os::raw::c_long, |
| 22494 |
argp: *mut ::std::os::raw::c_void, |
| 22495 |
unused: *mut CRYPTO_EX_unused, |
| 22496 |
dup_unused: CRYPTO_EX_dup, |
| 22497 |
free_func: CRYPTO_EX_free, |
| 22498 |
) -> ::std::os::raw::c_int; |
| 22499 |
} |
| 22500 |
extern "C" { |
| 22501 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set_ex_data"] |
| 22502 |
pub fn X509_set_ex_data( |
| 22503 |
r: *mut X509, |
| 22504 |
idx: ::std::os::raw::c_int, |
| 22505 |
arg: *mut ::std::os::raw::c_void, |
| 22506 |
) -> ::std::os::raw::c_int; |
| 22507 |
} |
| 22508 |
extern "C" { |
| 22509 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_ex_data"] |
| 22510 |
pub fn X509_get_ex_data( |
| 22511 |
r: *mut X509, |
| 22512 |
idx: ::std::os::raw::c_int, |
| 22513 |
) -> *mut ::std::os::raw::c_void; |
| 22514 |
} |
| 22515 |
extern "C" { |
| 22516 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get_ex_new_index"] |
| 22517 |
pub fn X509_STORE_CTX_get_ex_new_index( |
| 22518 |
argl: ::std::os::raw::c_long, |
| 22519 |
argp: *mut ::std::os::raw::c_void, |
| 22520 |
unused: *mut CRYPTO_EX_unused, |
| 22521 |
dup_unused: CRYPTO_EX_dup, |
| 22522 |
free_func: CRYPTO_EX_free, |
| 22523 |
) -> ::std::os::raw::c_int; |
| 22524 |
} |
| 22525 |
extern "C" { |
| 22526 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_ex_data"] |
| 22527 |
pub fn X509_STORE_CTX_set_ex_data( |
| 22528 |
ctx: *mut X509_STORE_CTX, |
| 22529 |
idx: ::std::os::raw::c_int, |
| 22530 |
data: *mut ::std::os::raw::c_void, |
| 22531 |
) -> ::std::os::raw::c_int; |
| 22532 |
} |
| 22533 |
extern "C" { |
| 22534 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get_ex_data"] |
| 22535 |
pub fn X509_STORE_CTX_get_ex_data( |
| 22536 |
ctx: *mut X509_STORE_CTX, |
| 22537 |
idx: ::std::os::raw::c_int, |
| 22538 |
) -> *mut ::std::os::raw::c_void; |
| 22539 |
} |
| 22540 |
extern "C" { |
| 22541 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_get_ex_new_index"] |
| 22542 |
pub fn X509_STORE_get_ex_new_index( |
| 22543 |
argl: ::std::os::raw::c_long, |
| 22544 |
argp: *mut ::std::os::raw::c_void, |
| 22545 |
unused: *mut CRYPTO_EX_unused, |
| 22546 |
dup_unused: CRYPTO_EX_dup, |
| 22547 |
free_func: CRYPTO_EX_free, |
| 22548 |
) -> ::std::os::raw::c_int; |
| 22549 |
} |
| 22550 |
extern "C" { |
| 22551 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_ex_data"] |
| 22552 |
pub fn X509_STORE_set_ex_data( |
| 22553 |
ctx: *mut X509_STORE, |
| 22554 |
idx: ::std::os::raw::c_int, |
| 22555 |
data: *mut ::std::os::raw::c_void, |
| 22556 |
) -> ::std::os::raw::c_int; |
| 22557 |
} |
| 22558 |
extern "C" { |
| 22559 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_get_ex_data"] |
| 22560 |
pub fn X509_STORE_get_ex_data( |
| 22561 |
ctx: *mut X509_STORE, |
| 22562 |
idx: ::std::os::raw::c_int, |
| 22563 |
) -> *mut ::std::os::raw::c_void; |
| 22564 |
} |
| 22565 |
extern "C" { |
| 22566 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_digest"] |
| 22567 |
pub fn ASN1_digest( |
| 22568 |
i2d: i2d_of_void, |
| 22569 |
type_: *const EVP_MD, |
| 22570 |
data: *mut ::std::os::raw::c_char, |
| 22571 |
md: *mut ::std::os::raw::c_uchar, |
| 22572 |
len: *mut ::std::os::raw::c_uint, |
| 22573 |
) -> ::std::os::raw::c_int; |
| 22574 |
} |
| 22575 |
extern "C" { |
| 22576 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_digest"] |
| 22577 |
pub fn ASN1_item_digest( |
| 22578 |
it: *const ASN1_ITEM, |
| 22579 |
type_: *const EVP_MD, |
| 22580 |
data: *mut ::std::os::raw::c_void, |
| 22581 |
md: *mut ::std::os::raw::c_uchar, |
| 22582 |
len: *mut ::std::os::raw::c_uint, |
| 22583 |
) -> ::std::os::raw::c_int; |
| 22584 |
} |
| 22585 |
extern "C" { |
| 22586 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_verify"] |
| 22587 |
pub fn ASN1_item_verify( |
| 22588 |
it: *const ASN1_ITEM, |
| 22589 |
algor1: *const X509_ALGOR, |
| 22590 |
signature: *const ASN1_BIT_STRING, |
| 22591 |
data: *mut ::std::os::raw::c_void, |
| 22592 |
pkey: *mut EVP_PKEY, |
| 22593 |
) -> ::std::os::raw::c_int; |
| 22594 |
} |
| 22595 |
extern "C" { |
| 22596 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_sign"] |
| 22597 |
pub fn ASN1_item_sign( |
| 22598 |
it: *const ASN1_ITEM, |
| 22599 |
algor1: *mut X509_ALGOR, |
| 22600 |
algor2: *mut X509_ALGOR, |
| 22601 |
signature: *mut ASN1_BIT_STRING, |
| 22602 |
data: *mut ::std::os::raw::c_void, |
| 22603 |
pkey: *mut EVP_PKEY, |
| 22604 |
type_: *const EVP_MD, |
| 22605 |
) -> ::std::os::raw::c_int; |
| 22606 |
} |
| 22607 |
extern "C" { |
| 22608 |
#[link_name = "\u{1}aws_lc_0_41_0_ASN1_item_sign_ctx"] |
| 22609 |
pub fn ASN1_item_sign_ctx( |
| 22610 |
it: *const ASN1_ITEM, |
| 22611 |
algor1: *mut X509_ALGOR, |
| 22612 |
algor2: *mut X509_ALGOR, |
| 22613 |
signature: *mut ASN1_BIT_STRING, |
| 22614 |
asn: *mut ::std::os::raw::c_void, |
| 22615 |
ctx: *mut EVP_MD_CTX, |
| 22616 |
) -> ::std::os::raw::c_int; |
| 22617 |
} |
| 22618 |
extern "C" { |
| 22619 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_supported_extension"] |
| 22620 |
pub fn X509_supported_extension(ex: *const X509_EXTENSION) -> ::std::os::raw::c_int; |
| 22621 |
} |
| 22622 |
extern "C" { |
| 22623 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_ca"] |
| 22624 |
pub fn X509_check_ca(x509: *mut X509) -> ::std::os::raw::c_int; |
| 22625 |
} |
| 22626 |
extern "C" { |
| 22627 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_issued"] |
| 22628 |
pub fn X509_check_issued(issuer: *mut X509, subject: *mut X509) -> ::std::os::raw::c_int; |
| 22629 |
} |
| 22630 |
extern "C" { |
| 22631 |
#[link_name = "\u{1}aws_lc_0_41_0_NAME_CONSTRAINTS_check"] |
| 22632 |
pub fn NAME_CONSTRAINTS_check( |
| 22633 |
x509: *mut X509, |
| 22634 |
nc: *mut NAME_CONSTRAINTS, |
| 22635 |
) -> ::std::os::raw::c_int; |
| 22636 |
} |
| 22637 |
extern "C" { |
| 22638 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_host"] |
| 22639 |
pub fn X509_check_host( |
| 22640 |
x509: *const X509, |
| 22641 |
chk: *const ::std::os::raw::c_char, |
| 22642 |
chklen: usize, |
| 22643 |
flags: ::std::os::raw::c_uint, |
| 22644 |
out_peername: *mut *mut ::std::os::raw::c_char, |
| 22645 |
) -> ::std::os::raw::c_int; |
| 22646 |
} |
| 22647 |
extern "C" { |
| 22648 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_email"] |
| 22649 |
pub fn X509_check_email( |
| 22650 |
x509: *const X509, |
| 22651 |
chk: *const ::std::os::raw::c_char, |
| 22652 |
chklen: usize, |
| 22653 |
flags: ::std::os::raw::c_uint, |
| 22654 |
) -> ::std::os::raw::c_int; |
| 22655 |
} |
| 22656 |
extern "C" { |
| 22657 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_ip"] |
| 22658 |
pub fn X509_check_ip( |
| 22659 |
x509: *const X509, |
| 22660 |
chk: *const u8, |
| 22661 |
chklen: usize, |
| 22662 |
flags: ::std::os::raw::c_uint, |
| 22663 |
) -> ::std::os::raw::c_int; |
| 22664 |
} |
| 22665 |
extern "C" { |
| 22666 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_ip_asc"] |
| 22667 |
pub fn X509_check_ip_asc( |
| 22668 |
x509: *const X509, |
| 22669 |
ipasc: *const ::std::os::raw::c_char, |
| 22670 |
flags: ::std::os::raw::c_uint, |
| 22671 |
) -> ::std::os::raw::c_int; |
| 22672 |
} |
| 22673 |
extern "C" { |
| 22674 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get1_issuer"] |
| 22675 |
pub fn X509_STORE_CTX_get1_issuer( |
| 22676 |
out_issuer: *mut *mut X509, |
| 22677 |
ctx: *mut X509_STORE_CTX, |
| 22678 |
x509: *mut X509, |
| 22679 |
) -> ::std::os::raw::c_int; |
| 22680 |
} |
| 22681 |
extern "C" { |
| 22682 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_purpose"] |
| 22683 |
pub fn X509_check_purpose( |
| 22684 |
x509: *mut X509, |
| 22685 |
purpose: ::std::os::raw::c_int, |
| 22686 |
ca: ::std::os::raw::c_int, |
| 22687 |
) -> ::std::os::raw::c_int; |
| 22688 |
} |
| 22689 |
extern "C" { |
| 22690 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_check_trust"] |
| 22691 |
pub fn X509_check_trust( |
| 22692 |
x509: *mut X509, |
| 22693 |
id: ::std::os::raw::c_int, |
| 22694 |
flags: ::std::os::raw::c_int, |
| 22695 |
) -> ::std::os::raw::c_int; |
| 22696 |
} |
| 22697 |
#[repr(C)] |
| 22698 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 22699 |
pub struct private_key_st { |
| 22700 |
pub dec_pkey: *mut EVP_PKEY, |
| 22701 |
} |
| 22702 |
#[test] |
| 22703 |
fn bindgen_test_layout_private_key_st() { |
| 22704 |
const UNINIT: ::std::mem::MaybeUninit<private_key_st> = ::std::mem::MaybeUninit::uninit(); |
| 22705 |
let ptr = UNINIT.as_ptr(); |
| 22706 |
assert_eq!( |
| 22707 |
::std::mem::size_of::<private_key_st>(), |
| 22708 |
8usize, |
| 22709 |
"Size of private_key_st" |
| 22710 |
); |
| 22711 |
assert_eq!( |
| 22712 |
::std::mem::align_of::<private_key_st>(), |
| 22713 |
8usize, |
| 22714 |
"Alignment of private_key_st" |
| 22715 |
); |
| 22716 |
assert_eq!( |
| 22717 |
unsafe { ::std::ptr::addr_of!((*ptr).dec_pkey) as usize - ptr as usize }, |
| 22718 |
0usize, |
| 22719 |
"Offset of field: private_key_st::dec_pkey" |
| 22720 |
); |
| 22721 |
} |
| 22722 |
impl Default for private_key_st { |
| 22723 |
fn default() -> Self { |
| 22724 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 22725 |
unsafe { |
| 22726 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 22727 |
s.assume_init() |
| 22728 |
} |
| 22729 |
} |
| 22730 |
} |
| 22731 |
#[repr(C)] |
| 22732 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 22733 |
pub struct X509_info_st { |
| 22734 |
pub x509: *mut X509, |
| 22735 |
pub crl: *mut X509_CRL, |
| 22736 |
pub x_pkey: *mut X509_PKEY, |
| 22737 |
pub enc_cipher: EVP_CIPHER_INFO, |
| 22738 |
pub enc_len: ::std::os::raw::c_int, |
| 22739 |
pub enc_data: *mut ::std::os::raw::c_char, |
| 22740 |
} |
| 22741 |
#[test] |
| 22742 |
fn bindgen_test_layout_X509_info_st() { |
| 22743 |
const UNINIT: ::std::mem::MaybeUninit<X509_info_st> = ::std::mem::MaybeUninit::uninit(); |
| 22744 |
let ptr = UNINIT.as_ptr(); |
| 22745 |
assert_eq!( |
| 22746 |
::std::mem::size_of::<X509_info_st>(), |
| 22747 |
64usize, |
| 22748 |
"Size of X509_info_st" |
| 22749 |
); |
| 22750 |
assert_eq!( |
| 22751 |
::std::mem::align_of::<X509_info_st>(), |
| 22752 |
8usize, |
| 22753 |
"Alignment of X509_info_st" |
| 22754 |
); |
| 22755 |
assert_eq!( |
| 22756 |
unsafe { ::std::ptr::addr_of!((*ptr).x509) as usize - ptr as usize }, |
| 22757 |
0usize, |
| 22758 |
"Offset of field: X509_info_st::x509" |
| 22759 |
); |
| 22760 |
assert_eq!( |
| 22761 |
unsafe { ::std::ptr::addr_of!((*ptr).crl) as usize - ptr as usize }, |
| 22762 |
8usize, |
| 22763 |
"Offset of field: X509_info_st::crl" |
| 22764 |
); |
| 22765 |
assert_eq!( |
| 22766 |
unsafe { ::std::ptr::addr_of!((*ptr).x_pkey) as usize - ptr as usize }, |
| 22767 |
16usize, |
| 22768 |
"Offset of field: X509_info_st::x_pkey" |
| 22769 |
); |
| 22770 |
assert_eq!( |
| 22771 |
unsafe { ::std::ptr::addr_of!((*ptr).enc_cipher) as usize - ptr as usize }, |
| 22772 |
24usize, |
| 22773 |
"Offset of field: X509_info_st::enc_cipher" |
| 22774 |
); |
| 22775 |
assert_eq!( |
| 22776 |
unsafe { ::std::ptr::addr_of!((*ptr).enc_len) as usize - ptr as usize }, |
| 22777 |
48usize, |
| 22778 |
"Offset of field: X509_info_st::enc_len" |
| 22779 |
); |
| 22780 |
assert_eq!( |
| 22781 |
unsafe { ::std::ptr::addr_of!((*ptr).enc_data) as usize - ptr as usize }, |
| 22782 |
56usize, |
| 22783 |
"Offset of field: X509_info_st::enc_data" |
| 22784 |
); |
| 22785 |
} |
| 22786 |
impl Default for X509_info_st { |
| 22787 |
fn default() -> Self { |
| 22788 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 22789 |
unsafe { |
| 22790 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 22791 |
s.assume_init() |
| 22792 |
} |
| 22793 |
} |
| 22794 |
} |
| 22795 |
#[repr(C)] |
| 22796 |
#[derive(Debug, Copy, Clone)] |
| 22797 |
pub struct stack_st_X509_INFO { |
| 22798 |
_unused: [u8; 0], |
| 22799 |
} |
| 22800 |
pub type sk_X509_INFO_free_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_INFO)>; |
| 22801 |
pub type sk_X509_INFO_copy_func = |
| 22802 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_INFO) -> *mut X509_INFO>; |
| 22803 |
pub type sk_X509_INFO_cmp_func = ::std::option::Option< |
| 22804 |
unsafe extern "C" fn( |
| 22805 |
arg1: *const *const X509_INFO, |
| 22806 |
arg2: *const *const X509_INFO, |
| 22807 |
) -> ::std::os::raw::c_int, |
| 22808 |
>; |
| 22809 |
pub type sk_X509_INFO_delete_if_func = ::std::option::Option< |
| 22810 |
unsafe extern "C" fn( |
| 22811 |
arg1: *mut X509_INFO, |
| 22812 |
arg2: *mut ::std::os::raw::c_void, |
| 22813 |
) -> ::std::os::raw::c_int, |
| 22814 |
>; |
| 22815 |
extern "C" { |
| 22816 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_INFO_free"] |
| 22817 |
pub fn X509_INFO_free(info: *mut X509_INFO); |
| 22818 |
} |
| 22819 |
pub type X509V3_EXT_NEW = |
| 22820 |
::std::option::Option<unsafe extern "C" fn() -> *mut ::std::os::raw::c_void>; |
| 22821 |
pub type X509V3_EXT_FREE = |
| 22822 |
::std::option::Option<unsafe extern "C" fn(ext: *mut ::std::os::raw::c_void)>; |
| 22823 |
pub type X509V3_EXT_D2I = ::std::option::Option< |
| 22824 |
unsafe extern "C" fn( |
| 22825 |
ext: *mut ::std::os::raw::c_void, |
| 22826 |
inp: *mut *const u8, |
| 22827 |
len: ::std::os::raw::c_long, |
| 22828 |
) -> *mut ::std::os::raw::c_void, |
| 22829 |
>; |
| 22830 |
pub type X509V3_EXT_I2D = ::std::option::Option< |
| 22831 |
unsafe extern "C" fn( |
| 22832 |
ext: *mut ::std::os::raw::c_void, |
| 22833 |
outp: *mut *mut u8, |
| 22834 |
) -> ::std::os::raw::c_int, |
| 22835 |
>; |
| 22836 |
pub type X509V3_EXT_I2V = ::std::option::Option< |
| 22837 |
unsafe extern "C" fn( |
| 22838 |
method: *const X509V3_EXT_METHOD, |
| 22839 |
ext: *mut ::std::os::raw::c_void, |
| 22840 |
extlist: *mut stack_st_CONF_VALUE, |
| 22841 |
) -> *mut stack_st_CONF_VALUE, |
| 22842 |
>; |
| 22843 |
pub type X509V3_EXT_V2I = ::std::option::Option< |
| 22844 |
unsafe extern "C" fn( |
| 22845 |
method: *const X509V3_EXT_METHOD, |
| 22846 |
ctx: *const X509V3_CTX, |
| 22847 |
values: *const stack_st_CONF_VALUE, |
| 22848 |
) -> *mut ::std::os::raw::c_void, |
| 22849 |
>; |
| 22850 |
pub type X509V3_EXT_I2S = ::std::option::Option< |
| 22851 |
unsafe extern "C" fn( |
| 22852 |
method: *const X509V3_EXT_METHOD, |
| 22853 |
ext: *mut ::std::os::raw::c_void, |
| 22854 |
) -> *mut ::std::os::raw::c_char, |
| 22855 |
>; |
| 22856 |
pub type X509V3_EXT_S2I = ::std::option::Option< |
| 22857 |
unsafe extern "C" fn( |
| 22858 |
method: *const X509V3_EXT_METHOD, |
| 22859 |
ctx: *const X509V3_CTX, |
| 22860 |
str_: *const ::std::os::raw::c_char, |
| 22861 |
) -> *mut ::std::os::raw::c_void, |
| 22862 |
>; |
| 22863 |
pub type X509V3_EXT_I2R = ::std::option::Option< |
| 22864 |
unsafe extern "C" fn( |
| 22865 |
method: *const X509V3_EXT_METHOD, |
| 22866 |
ext: *mut ::std::os::raw::c_void, |
| 22867 |
out: *mut BIO, |
| 22868 |
indent: ::std::os::raw::c_int, |
| 22869 |
) -> ::std::os::raw::c_int, |
| 22870 |
>; |
| 22871 |
pub type X509V3_EXT_R2I = ::std::option::Option< |
| 22872 |
unsafe extern "C" fn( |
| 22873 |
method: *const X509V3_EXT_METHOD, |
| 22874 |
ctx: *const X509V3_CTX, |
| 22875 |
str_: *const ::std::os::raw::c_char, |
| 22876 |
) -> *mut ::std::os::raw::c_void, |
| 22877 |
>; |
| 22878 |
#[repr(C)] |
| 22879 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 22880 |
pub struct v3_ext_method { |
| 22881 |
pub ext_nid: ::std::os::raw::c_int, |
| 22882 |
pub ext_flags: ::std::os::raw::c_int, |
| 22883 |
pub it: *const ASN1_ITEM_st, |
| 22884 |
pub ext_new: X509V3_EXT_NEW, |
| 22885 |
pub ext_free: X509V3_EXT_FREE, |
| 22886 |
pub d2i: X509V3_EXT_D2I, |
| 22887 |
pub i2d: X509V3_EXT_I2D, |
| 22888 |
pub i2s: X509V3_EXT_I2S, |
| 22889 |
pub s2i: X509V3_EXT_S2I, |
| 22890 |
pub i2v: X509V3_EXT_I2V, |
| 22891 |
pub v2i: X509V3_EXT_V2I, |
| 22892 |
pub i2r: X509V3_EXT_I2R, |
| 22893 |
pub r2i: X509V3_EXT_R2I, |
| 22894 |
pub usr_data: *mut ::std::os::raw::c_void, |
| 22895 |
} |
| 22896 |
#[test] |
| 22897 |
fn bindgen_test_layout_v3_ext_method() { |
| 22898 |
const UNINIT: ::std::mem::MaybeUninit<v3_ext_method> = ::std::mem::MaybeUninit::uninit(); |
| 22899 |
let ptr = UNINIT.as_ptr(); |
| 22900 |
assert_eq!( |
| 22901 |
::std::mem::size_of::<v3_ext_method>(), |
| 22902 |
104usize, |
| 22903 |
"Size of v3_ext_method" |
| 22904 |
); |
| 22905 |
assert_eq!( |
| 22906 |
::std::mem::align_of::<v3_ext_method>(), |
| 22907 |
8usize, |
| 22908 |
"Alignment of v3_ext_method" |
| 22909 |
); |
| 22910 |
assert_eq!( |
| 22911 |
unsafe { ::std::ptr::addr_of!((*ptr).ext_nid) as usize - ptr as usize }, |
| 22912 |
0usize, |
| 22913 |
"Offset of field: v3_ext_method::ext_nid" |
| 22914 |
); |
| 22915 |
assert_eq!( |
| 22916 |
unsafe { ::std::ptr::addr_of!((*ptr).ext_flags) as usize - ptr as usize }, |
| 22917 |
4usize, |
| 22918 |
"Offset of field: v3_ext_method::ext_flags" |
| 22919 |
); |
| 22920 |
assert_eq!( |
| 22921 |
unsafe { ::std::ptr::addr_of!((*ptr).it) as usize - ptr as usize }, |
| 22922 |
8usize, |
| 22923 |
"Offset of field: v3_ext_method::it" |
| 22924 |
); |
| 22925 |
assert_eq!( |
| 22926 |
unsafe { ::std::ptr::addr_of!((*ptr).ext_new) as usize - ptr as usize }, |
| 22927 |
16usize, |
| 22928 |
"Offset of field: v3_ext_method::ext_new" |
| 22929 |
); |
| 22930 |
assert_eq!( |
| 22931 |
unsafe { ::std::ptr::addr_of!((*ptr).ext_free) as usize - ptr as usize }, |
| 22932 |
24usize, |
| 22933 |
"Offset of field: v3_ext_method::ext_free" |
| 22934 |
); |
| 22935 |
assert_eq!( |
| 22936 |
unsafe { ::std::ptr::addr_of!((*ptr).d2i) as usize - ptr as usize }, |
| 22937 |
32usize, |
| 22938 |
"Offset of field: v3_ext_method::d2i" |
| 22939 |
); |
| 22940 |
assert_eq!( |
| 22941 |
unsafe { ::std::ptr::addr_of!((*ptr).i2d) as usize - ptr as usize }, |
| 22942 |
40usize, |
| 22943 |
"Offset of field: v3_ext_method::i2d" |
| 22944 |
); |
| 22945 |
assert_eq!( |
| 22946 |
unsafe { ::std::ptr::addr_of!((*ptr).i2s) as usize - ptr as usize }, |
| 22947 |
48usize, |
| 22948 |
"Offset of field: v3_ext_method::i2s" |
| 22949 |
); |
| 22950 |
assert_eq!( |
| 22951 |
unsafe { ::std::ptr::addr_of!((*ptr).s2i) as usize - ptr as usize }, |
| 22952 |
56usize, |
| 22953 |
"Offset of field: v3_ext_method::s2i" |
| 22954 |
); |
| 22955 |
assert_eq!( |
| 22956 |
unsafe { ::std::ptr::addr_of!((*ptr).i2v) as usize - ptr as usize }, |
| 22957 |
64usize, |
| 22958 |
"Offset of field: v3_ext_method::i2v" |
| 22959 |
); |
| 22960 |
assert_eq!( |
| 22961 |
unsafe { ::std::ptr::addr_of!((*ptr).v2i) as usize - ptr as usize }, |
| 22962 |
72usize, |
| 22963 |
"Offset of field: v3_ext_method::v2i" |
| 22964 |
); |
| 22965 |
assert_eq!( |
| 22966 |
unsafe { ::std::ptr::addr_of!((*ptr).i2r) as usize - ptr as usize }, |
| 22967 |
80usize, |
| 22968 |
"Offset of field: v3_ext_method::i2r" |
| 22969 |
); |
| 22970 |
assert_eq!( |
| 22971 |
unsafe { ::std::ptr::addr_of!((*ptr).r2i) as usize - ptr as usize }, |
| 22972 |
88usize, |
| 22973 |
"Offset of field: v3_ext_method::r2i" |
| 22974 |
); |
| 22975 |
assert_eq!( |
| 22976 |
unsafe { ::std::ptr::addr_of!((*ptr).usr_data) as usize - ptr as usize }, |
| 22977 |
96usize, |
| 22978 |
"Offset of field: v3_ext_method::usr_data" |
| 22979 |
); |
| 22980 |
} |
| 22981 |
impl Default for v3_ext_method { |
| 22982 |
fn default() -> Self { |
| 22983 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 22984 |
unsafe { |
| 22985 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 22986 |
s.assume_init() |
| 22987 |
} |
| 22988 |
} |
| 22989 |
} |
| 22990 |
extern "C" { |
| 22991 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_get"] |
| 22992 |
pub fn X509V3_EXT_get(ext: *const X509_EXTENSION) -> *const X509V3_EXT_METHOD; |
| 22993 |
} |
| 22994 |
extern "C" { |
| 22995 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_get_nid"] |
| 22996 |
pub fn X509V3_EXT_get_nid(nid: ::std::os::raw::c_int) -> *const X509V3_EXT_METHOD; |
| 22997 |
} |
| 22998 |
extern "C" { |
| 22999 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_add"] |
| 23000 |
pub fn X509V3_EXT_add(ext: *mut X509V3_EXT_METHOD) -> ::std::os::raw::c_int; |
| 23001 |
} |
| 23002 |
extern "C" { |
| 23003 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_add_alias"] |
| 23004 |
pub fn X509V3_EXT_add_alias( |
| 23005 |
nid_to: ::std::os::raw::c_int, |
| 23006 |
nid_from: ::std::os::raw::c_int, |
| 23007 |
) -> ::std::os::raw::c_int; |
| 23008 |
} |
| 23009 |
#[repr(C)] |
| 23010 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23011 |
pub struct v3_ext_ctx { |
| 23012 |
pub flags: ::std::os::raw::c_int, |
| 23013 |
pub issuer_cert: *const X509, |
| 23014 |
pub subject_cert: *const X509, |
| 23015 |
pub subject_req: *const X509_REQ, |
| 23016 |
pub crl: *const X509_CRL, |
| 23017 |
pub db: *const CONF, |
| 23018 |
} |
| 23019 |
#[test] |
| 23020 |
fn bindgen_test_layout_v3_ext_ctx() { |
| 23021 |
const UNINIT: ::std::mem::MaybeUninit<v3_ext_ctx> = ::std::mem::MaybeUninit::uninit(); |
| 23022 |
let ptr = UNINIT.as_ptr(); |
| 23023 |
assert_eq!( |
| 23024 |
::std::mem::size_of::<v3_ext_ctx>(), |
| 23025 |
48usize, |
| 23026 |
"Size of v3_ext_ctx" |
| 23027 |
); |
| 23028 |
assert_eq!( |
| 23029 |
::std::mem::align_of::<v3_ext_ctx>(), |
| 23030 |
8usize, |
| 23031 |
"Alignment of v3_ext_ctx" |
| 23032 |
); |
| 23033 |
assert_eq!( |
| 23034 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 23035 |
0usize, |
| 23036 |
"Offset of field: v3_ext_ctx::flags" |
| 23037 |
); |
| 23038 |
assert_eq!( |
| 23039 |
unsafe { ::std::ptr::addr_of!((*ptr).issuer_cert) as usize - ptr as usize }, |
| 23040 |
8usize, |
| 23041 |
"Offset of field: v3_ext_ctx::issuer_cert" |
| 23042 |
); |
| 23043 |
assert_eq!( |
| 23044 |
unsafe { ::std::ptr::addr_of!((*ptr).subject_cert) as usize - ptr as usize }, |
| 23045 |
16usize, |
| 23046 |
"Offset of field: v3_ext_ctx::subject_cert" |
| 23047 |
); |
| 23048 |
assert_eq!( |
| 23049 |
unsafe { ::std::ptr::addr_of!((*ptr).subject_req) as usize - ptr as usize }, |
| 23050 |
24usize, |
| 23051 |
"Offset of field: v3_ext_ctx::subject_req" |
| 23052 |
); |
| 23053 |
assert_eq!( |
| 23054 |
unsafe { ::std::ptr::addr_of!((*ptr).crl) as usize - ptr as usize }, |
| 23055 |
32usize, |
| 23056 |
"Offset of field: v3_ext_ctx::crl" |
| 23057 |
); |
| 23058 |
assert_eq!( |
| 23059 |
unsafe { ::std::ptr::addr_of!((*ptr).db) as usize - ptr as usize }, |
| 23060 |
40usize, |
| 23061 |
"Offset of field: v3_ext_ctx::db" |
| 23062 |
); |
| 23063 |
} |
| 23064 |
impl Default for v3_ext_ctx { |
| 23065 |
fn default() -> Self { |
| 23066 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23067 |
unsafe { |
| 23068 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23069 |
s.assume_init() |
| 23070 |
} |
| 23071 |
} |
| 23072 |
} |
| 23073 |
extern "C" { |
| 23074 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_set_ctx"] |
| 23075 |
pub fn X509V3_set_ctx( |
| 23076 |
ctx: *mut X509V3_CTX, |
| 23077 |
issuer: *const X509, |
| 23078 |
subject: *const X509, |
| 23079 |
req: *const X509_REQ, |
| 23080 |
crl: *const X509_CRL, |
| 23081 |
flags: ::std::os::raw::c_int, |
| 23082 |
); |
| 23083 |
} |
| 23084 |
extern "C" { |
| 23085 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_set_nconf"] |
| 23086 |
pub fn X509V3_set_nconf(ctx: *mut X509V3_CTX, conf: *const CONF); |
| 23087 |
} |
| 23088 |
extern "C" { |
| 23089 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_nconf"] |
| 23090 |
pub fn X509V3_EXT_nconf( |
| 23091 |
conf: *const CONF, |
| 23092 |
ctx: *const X509V3_CTX, |
| 23093 |
name: *const ::std::os::raw::c_char, |
| 23094 |
value: *const ::std::os::raw::c_char, |
| 23095 |
) -> *mut X509_EXTENSION; |
| 23096 |
} |
| 23097 |
extern "C" { |
| 23098 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_nconf_nid"] |
| 23099 |
pub fn X509V3_EXT_nconf_nid( |
| 23100 |
conf: *const CONF, |
| 23101 |
ctx: *const X509V3_CTX, |
| 23102 |
ext_nid: ::std::os::raw::c_int, |
| 23103 |
value: *const ::std::os::raw::c_char, |
| 23104 |
) -> *mut X509_EXTENSION; |
| 23105 |
} |
| 23106 |
extern "C" { |
| 23107 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_conf_nid"] |
| 23108 |
pub fn X509V3_EXT_conf_nid( |
| 23109 |
conf: *mut lhash_st_CONF_VALUE, |
| 23110 |
ctx: *const X509V3_CTX, |
| 23111 |
ext_nid: ::std::os::raw::c_int, |
| 23112 |
value: *const ::std::os::raw::c_char, |
| 23113 |
) -> *mut X509_EXTENSION; |
| 23114 |
} |
| 23115 |
extern "C" { |
| 23116 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_add_nconf_sk"] |
| 23117 |
pub fn X509V3_EXT_add_nconf_sk( |
| 23118 |
conf: *const CONF, |
| 23119 |
ctx: *const X509V3_CTX, |
| 23120 |
section: *const ::std::os::raw::c_char, |
| 23121 |
sk: *mut *mut stack_st_X509_EXTENSION, |
| 23122 |
) -> ::std::os::raw::c_int; |
| 23123 |
} |
| 23124 |
extern "C" { |
| 23125 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_add_nconf"] |
| 23126 |
pub fn X509V3_EXT_add_nconf( |
| 23127 |
conf: *const CONF, |
| 23128 |
ctx: *const X509V3_CTX, |
| 23129 |
section: *const ::std::os::raw::c_char, |
| 23130 |
cert: *mut X509, |
| 23131 |
) -> ::std::os::raw::c_int; |
| 23132 |
} |
| 23133 |
extern "C" { |
| 23134 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_REQ_add_nconf"] |
| 23135 |
pub fn X509V3_EXT_REQ_add_nconf( |
| 23136 |
conf: *const CONF, |
| 23137 |
ctx: *const X509V3_CTX, |
| 23138 |
section: *const ::std::os::raw::c_char, |
| 23139 |
req: *mut X509_REQ, |
| 23140 |
) -> ::std::os::raw::c_int; |
| 23141 |
} |
| 23142 |
extern "C" { |
| 23143 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_CRL_add_nconf"] |
| 23144 |
pub fn X509V3_EXT_CRL_add_nconf( |
| 23145 |
conf: *const CONF, |
| 23146 |
ctx: *const X509V3_CTX, |
| 23147 |
section: *const ::std::os::raw::c_char, |
| 23148 |
crl: *mut X509_CRL, |
| 23149 |
) -> ::std::os::raw::c_int; |
| 23150 |
} |
| 23151 |
extern "C" { |
| 23152 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_EXT_conf"] |
| 23153 |
pub fn X509V3_EXT_conf( |
| 23154 |
conf: *mut lhash_st_CONF_VALUE, |
| 23155 |
ctx: *mut X509V3_CTX, |
| 23156 |
name: *const ::std::os::raw::c_char, |
| 23157 |
value: *const ::std::os::raw::c_char, |
| 23158 |
) -> *mut X509_EXTENSION; |
| 23159 |
} |
| 23160 |
extern "C" { |
| 23161 |
#[link_name = "\u{1}aws_lc_0_41_0_i2s_ASN1_OCTET_STRING"] |
| 23162 |
pub fn i2s_ASN1_OCTET_STRING( |
| 23163 |
method: *const X509V3_EXT_METHOD, |
| 23164 |
oct: *const ASN1_OCTET_STRING, |
| 23165 |
) -> *mut ::std::os::raw::c_char; |
| 23166 |
} |
| 23167 |
extern "C" { |
| 23168 |
#[link_name = "\u{1}aws_lc_0_41_0_s2i_ASN1_OCTET_STRING"] |
| 23169 |
pub fn s2i_ASN1_OCTET_STRING( |
| 23170 |
method: *const X509V3_EXT_METHOD, |
| 23171 |
ctx: *const X509V3_CTX, |
| 23172 |
str_: *const ::std::os::raw::c_char, |
| 23173 |
) -> *mut ASN1_OCTET_STRING; |
| 23174 |
} |
| 23175 |
extern "C" { |
| 23176 |
#[link_name = "\u{1}aws_lc_0_41_0_i2s_ASN1_INTEGER"] |
| 23177 |
pub fn i2s_ASN1_INTEGER( |
| 23178 |
method: *const X509V3_EXT_METHOD, |
| 23179 |
aint: *const ASN1_INTEGER, |
| 23180 |
) -> *mut ::std::os::raw::c_char; |
| 23181 |
} |
| 23182 |
extern "C" { |
| 23183 |
#[link_name = "\u{1}aws_lc_0_41_0_s2i_ASN1_INTEGER"] |
| 23184 |
pub fn s2i_ASN1_INTEGER( |
| 23185 |
method: *const X509V3_EXT_METHOD, |
| 23186 |
value: *const ::std::os::raw::c_char, |
| 23187 |
) -> *mut ASN1_INTEGER; |
| 23188 |
} |
| 23189 |
extern "C" { |
| 23190 |
#[link_name = "\u{1}aws_lc_0_41_0_i2s_ASN1_ENUMERATED"] |
| 23191 |
pub fn i2s_ASN1_ENUMERATED( |
| 23192 |
method: *const X509V3_EXT_METHOD, |
| 23193 |
aint: *const ASN1_ENUMERATED, |
| 23194 |
) -> *mut ::std::os::raw::c_char; |
| 23195 |
} |
| 23196 |
extern "C" { |
| 23197 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_conf_free"] |
| 23198 |
pub fn X509V3_conf_free(val: *mut CONF_VALUE); |
| 23199 |
} |
| 23200 |
extern "C" { |
| 23201 |
#[link_name = "\u{1}aws_lc_0_41_0_i2v_GENERAL_NAME"] |
| 23202 |
pub fn i2v_GENERAL_NAME( |
| 23203 |
method: *const X509V3_EXT_METHOD, |
| 23204 |
gen_: *const GENERAL_NAME, |
| 23205 |
ret: *mut stack_st_CONF_VALUE, |
| 23206 |
) -> *mut stack_st_CONF_VALUE; |
| 23207 |
} |
| 23208 |
extern "C" { |
| 23209 |
#[link_name = "\u{1}aws_lc_0_41_0_i2v_GENERAL_NAMES"] |
| 23210 |
pub fn i2v_GENERAL_NAMES( |
| 23211 |
method: *const X509V3_EXT_METHOD, |
| 23212 |
gen_: *const GENERAL_NAMES, |
| 23213 |
extlist: *mut stack_st_CONF_VALUE, |
| 23214 |
) -> *mut stack_st_CONF_VALUE; |
| 23215 |
} |
| 23216 |
extern "C" { |
| 23217 |
#[link_name = "\u{1}aws_lc_0_41_0_a2i_IPADDRESS"] |
| 23218 |
pub fn a2i_IPADDRESS(ipasc: *const ::std::os::raw::c_char) -> *mut ASN1_OCTET_STRING; |
| 23219 |
} |
| 23220 |
extern "C" { |
| 23221 |
#[link_name = "\u{1}aws_lc_0_41_0_a2i_IPADDRESS_NC"] |
| 23222 |
pub fn a2i_IPADDRESS_NC(ipasc: *const ::std::os::raw::c_char) -> *mut ASN1_OCTET_STRING; |
| 23223 |
} |
| 23224 |
extern "C" { |
| 23225 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_notBefore"] |
| 23226 |
pub fn X509_get_notBefore(x509: *const X509) -> *mut ASN1_TIME; |
| 23227 |
} |
| 23228 |
extern "C" { |
| 23229 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_notAfter"] |
| 23230 |
pub fn X509_get_notAfter(x509: *const X509) -> *mut ASN1_TIME; |
| 23231 |
} |
| 23232 |
extern "C" { |
| 23233 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set_notBefore"] |
| 23234 |
pub fn X509_set_notBefore(x509: *mut X509, tm: *const ASN1_TIME) -> ::std::os::raw::c_int; |
| 23235 |
} |
| 23236 |
extern "C" { |
| 23237 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_set_notAfter"] |
| 23238 |
pub fn X509_set_notAfter(x509: *mut X509, tm: *const ASN1_TIME) -> ::std::os::raw::c_int; |
| 23239 |
} |
| 23240 |
extern "C" { |
| 23241 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_lastUpdate"] |
| 23242 |
pub fn X509_CRL_get_lastUpdate(crl: *mut X509_CRL) -> *mut ASN1_TIME; |
| 23243 |
} |
| 23244 |
extern "C" { |
| 23245 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_CRL_get_nextUpdate"] |
| 23246 |
pub fn X509_CRL_get_nextUpdate(crl: *mut X509_CRL) -> *mut ASN1_TIME; |
| 23247 |
} |
| 23248 |
extern "C" { |
| 23249 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_get_serialNumber"] |
| 23250 |
pub fn X509_get_serialNumber(x509: *mut X509) -> *mut ASN1_INTEGER; |
| 23251 |
} |
| 23252 |
extern "C" { |
| 23253 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_get_text_by_OBJ"] |
| 23254 |
pub fn X509_NAME_get_text_by_OBJ( |
| 23255 |
name: *const X509_NAME, |
| 23256 |
obj: *const ASN1_OBJECT, |
| 23257 |
buf: *mut ::std::os::raw::c_char, |
| 23258 |
len: ::std::os::raw::c_int, |
| 23259 |
) -> ::std::os::raw::c_int; |
| 23260 |
} |
| 23261 |
extern "C" { |
| 23262 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_NAME_get_text_by_NID"] |
| 23263 |
pub fn X509_NAME_get_text_by_NID( |
| 23264 |
name: *const X509_NAME, |
| 23265 |
nid: ::std::os::raw::c_int, |
| 23266 |
buf: *mut ::std::os::raw::c_char, |
| 23267 |
len: ::std::os::raw::c_int, |
| 23268 |
) -> ::std::os::raw::c_int; |
| 23269 |
} |
| 23270 |
extern "C" { |
| 23271 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get0_parent_ctx"] |
| 23272 |
pub fn X509_STORE_CTX_get0_parent_ctx(ctx: *mut X509_STORE_CTX) -> *mut X509_STORE_CTX; |
| 23273 |
} |
| 23274 |
extern "C" { |
| 23275 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_LOOKUP_free"] |
| 23276 |
pub fn X509_LOOKUP_free(ctx: *mut X509_LOOKUP); |
| 23277 |
} |
| 23278 |
extern "C" { |
| 23279 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_cleanup"] |
| 23280 |
pub fn X509_STORE_CTX_cleanup(ctx: *mut X509_STORE_CTX); |
| 23281 |
} |
| 23282 |
extern "C" { |
| 23283 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_add_standard_extensions"] |
| 23284 |
pub fn X509V3_add_standard_extensions() -> ::std::os::raw::c_int; |
| 23285 |
} |
| 23286 |
extern "C" { |
| 23287 |
#[link_name = "\u{1}aws_lc_0_41_0_X509V3_parse_list"] |
| 23288 |
pub fn X509V3_parse_list(line: *const ::std::os::raw::c_char) -> *mut stack_st_CONF_VALUE; |
| 23289 |
} |
| 23290 |
extern "C" { |
| 23291 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get_chain"] |
| 23292 |
pub fn X509_STORE_CTX_get_chain(ctx: *mut X509_STORE_CTX) -> *mut stack_st_X509; |
| 23293 |
} |
| 23294 |
extern "C" { |
| 23295 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_trusted_stack"] |
| 23296 |
pub fn X509_STORE_CTX_trusted_stack(ctx: *mut X509_STORE_CTX, sk: *mut stack_st_X509); |
| 23297 |
} |
| 23298 |
pub type X509_STORE_CTX_verify_cb = ::std::option::Option< |
| 23299 |
unsafe extern "C" fn( |
| 23300 |
arg1: ::std::os::raw::c_int, |
| 23301 |
arg2: *mut X509_STORE_CTX, |
| 23302 |
) -> ::std::os::raw::c_int, |
| 23303 |
>; |
| 23304 |
extern "C" { |
| 23305 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_verify_cb"] |
| 23306 |
pub fn X509_STORE_CTX_set_verify_cb( |
| 23307 |
ctx: *mut X509_STORE_CTX, |
| 23308 |
verify_cb: ::std::option::Option< |
| 23309 |
unsafe extern "C" fn( |
| 23310 |
ok: ::std::os::raw::c_int, |
| 23311 |
ctx: *mut X509_STORE_CTX, |
| 23312 |
) -> ::std::os::raw::c_int, |
| 23313 |
>, |
| 23314 |
); |
| 23315 |
} |
| 23316 |
extern "C" { |
| 23317 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_get_verify_cb"] |
| 23318 |
pub fn X509_STORE_get_verify_cb(ctx: *mut X509_STORE) -> X509_STORE_CTX_verify_cb; |
| 23319 |
} |
| 23320 |
extern "C" { |
| 23321 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_verify_cb"] |
| 23322 |
pub fn X509_STORE_set_verify_cb(store: *mut X509_STORE, verify_cb: X509_STORE_CTX_verify_cb); |
| 23323 |
} |
| 23324 |
pub type X509_STORE_CTX_get_crl_fn = ::std::option::Option< |
| 23325 |
unsafe extern "C" fn( |
| 23326 |
ctx: *mut X509_STORE_CTX, |
| 23327 |
crl: *mut *mut X509_CRL, |
| 23328 |
x: *mut X509, |
| 23329 |
) -> ::std::os::raw::c_int, |
| 23330 |
>; |
| 23331 |
pub type X509_STORE_CTX_check_crl_fn = ::std::option::Option< |
| 23332 |
unsafe extern "C" fn(ctx: *mut X509_STORE_CTX, crl: *mut X509_CRL) -> ::std::os::raw::c_int, |
| 23333 |
>; |
| 23334 |
extern "C" { |
| 23335 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_get_crl"] |
| 23336 |
pub fn X509_STORE_set_get_crl(store: *mut X509_STORE, get_crl: X509_STORE_CTX_get_crl_fn); |
| 23337 |
} |
| 23338 |
extern "C" { |
| 23339 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_set_check_crl"] |
| 23340 |
pub fn X509_STORE_set_check_crl(store: *mut X509_STORE, check_crl: X509_STORE_CTX_check_crl_fn); |
| 23341 |
} |
| 23342 |
extern "C" { |
| 23343 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set_chain"] |
| 23344 |
pub fn X509_STORE_CTX_set_chain(ctx: *mut X509_STORE_CTX, sk: *mut stack_st_X509); |
| 23345 |
} |
| 23346 |
extern "C" { |
| 23347 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_set0_untrusted"] |
| 23348 |
pub fn X509_STORE_CTX_set0_untrusted(ctx: *mut X509_STORE_CTX, sk: *mut stack_st_X509); |
| 23349 |
} |
| 23350 |
#[repr(C)] |
| 23351 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23352 |
pub struct x509_purpose_st { |
| 23353 |
pub purpose: ::std::os::raw::c_int, |
| 23354 |
pub trust: ::std::os::raw::c_int, |
| 23355 |
pub flags: ::std::os::raw::c_int, |
| 23356 |
pub check_purpose: ::std::option::Option< |
| 23357 |
unsafe extern "C" fn( |
| 23358 |
arg1: *const x509_purpose_st, |
| 23359 |
arg2: *const X509, |
| 23360 |
arg3: ::std::os::raw::c_int, |
| 23361 |
) -> ::std::os::raw::c_int, |
| 23362 |
>, |
| 23363 |
pub name: *mut ::std::os::raw::c_char, |
| 23364 |
pub sname: *mut ::std::os::raw::c_char, |
| 23365 |
pub usr_data: *mut ::std::os::raw::c_void, |
| 23366 |
} |
| 23367 |
#[test] |
| 23368 |
fn bindgen_test_layout_x509_purpose_st() { |
| 23369 |
const UNINIT: ::std::mem::MaybeUninit<x509_purpose_st> = ::std::mem::MaybeUninit::uninit(); |
| 23370 |
let ptr = UNINIT.as_ptr(); |
| 23371 |
assert_eq!( |
| 23372 |
::std::mem::size_of::<x509_purpose_st>(), |
| 23373 |
48usize, |
| 23374 |
"Size of x509_purpose_st" |
| 23375 |
); |
| 23376 |
assert_eq!( |
| 23377 |
::std::mem::align_of::<x509_purpose_st>(), |
| 23378 |
8usize, |
| 23379 |
"Alignment of x509_purpose_st" |
| 23380 |
); |
| 23381 |
assert_eq!( |
| 23382 |
unsafe { ::std::ptr::addr_of!((*ptr).purpose) as usize - ptr as usize }, |
| 23383 |
0usize, |
| 23384 |
"Offset of field: x509_purpose_st::purpose" |
| 23385 |
); |
| 23386 |
assert_eq!( |
| 23387 |
unsafe { ::std::ptr::addr_of!((*ptr).trust) as usize - ptr as usize }, |
| 23388 |
4usize, |
| 23389 |
"Offset of field: x509_purpose_st::trust" |
| 23390 |
); |
| 23391 |
assert_eq!( |
| 23392 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 23393 |
8usize, |
| 23394 |
"Offset of field: x509_purpose_st::flags" |
| 23395 |
); |
| 23396 |
assert_eq!( |
| 23397 |
unsafe { ::std::ptr::addr_of!((*ptr).check_purpose) as usize - ptr as usize }, |
| 23398 |
16usize, |
| 23399 |
"Offset of field: x509_purpose_st::check_purpose" |
| 23400 |
); |
| 23401 |
assert_eq!( |
| 23402 |
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, |
| 23403 |
24usize, |
| 23404 |
"Offset of field: x509_purpose_st::name" |
| 23405 |
); |
| 23406 |
assert_eq!( |
| 23407 |
unsafe { ::std::ptr::addr_of!((*ptr).sname) as usize - ptr as usize }, |
| 23408 |
32usize, |
| 23409 |
"Offset of field: x509_purpose_st::sname" |
| 23410 |
); |
| 23411 |
assert_eq!( |
| 23412 |
unsafe { ::std::ptr::addr_of!((*ptr).usr_data) as usize - ptr as usize }, |
| 23413 |
40usize, |
| 23414 |
"Offset of field: x509_purpose_st::usr_data" |
| 23415 |
); |
| 23416 |
} |
| 23417 |
impl Default for x509_purpose_st { |
| 23418 |
fn default() -> Self { |
| 23419 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23420 |
unsafe { |
| 23421 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23422 |
s.assume_init() |
| 23423 |
} |
| 23424 |
} |
| 23425 |
} |
| 23426 |
pub type X509_PURPOSE = x509_purpose_st; |
| 23427 |
#[repr(C)] |
| 23428 |
#[derive(Debug, Copy, Clone)] |
| 23429 |
pub struct stack_st_X509_PURPOSE { |
| 23430 |
_unused: [u8; 0], |
| 23431 |
} |
| 23432 |
pub type sk_X509_PURPOSE_free_func = |
| 23433 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_PURPOSE)>; |
| 23434 |
pub type sk_X509_PURPOSE_copy_func = |
| 23435 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_PURPOSE) -> *mut X509_PURPOSE>; |
| 23436 |
pub type sk_X509_PURPOSE_cmp_func = ::std::option::Option< |
| 23437 |
unsafe extern "C" fn( |
| 23438 |
arg1: *const *const X509_PURPOSE, |
| 23439 |
arg2: *const *const X509_PURPOSE, |
| 23440 |
) -> ::std::os::raw::c_int, |
| 23441 |
>; |
| 23442 |
pub type sk_X509_PURPOSE_delete_if_func = ::std::option::Option< |
| 23443 |
unsafe extern "C" fn( |
| 23444 |
arg1: *mut X509_PURPOSE, |
| 23445 |
arg2: *mut ::std::os::raw::c_void, |
| 23446 |
) -> ::std::os::raw::c_int, |
| 23447 |
>; |
| 23448 |
extern "C" { |
| 23449 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_get0_objects"] |
| 23450 |
pub fn X509_STORE_get0_objects(store: *mut X509_STORE) -> *mut stack_st_X509_OBJECT; |
| 23451 |
} |
| 23452 |
extern "C" { |
| 23453 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_get_by_sname"] |
| 23454 |
pub fn X509_PURPOSE_get_by_sname(sname: *const ::std::os::raw::c_char) |
| 23455 |
-> ::std::os::raw::c_int; |
| 23456 |
} |
| 23457 |
extern "C" { |
| 23458 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_get0"] |
| 23459 |
pub fn X509_PURPOSE_get0(id: ::std::os::raw::c_int) -> *const X509_PURPOSE; |
| 23460 |
} |
| 23461 |
extern "C" { |
| 23462 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_get_id"] |
| 23463 |
pub fn X509_PURPOSE_get_id(purpose: *const X509_PURPOSE) -> ::std::os::raw::c_int; |
| 23464 |
} |
| 23465 |
#[repr(C)] |
| 23466 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23467 |
pub struct X509_algor_st { |
| 23468 |
pub algorithm: *mut ASN1_OBJECT, |
| 23469 |
pub parameter: *mut ASN1_TYPE, |
| 23470 |
} |
| 23471 |
#[test] |
| 23472 |
fn bindgen_test_layout_X509_algor_st() { |
| 23473 |
const UNINIT: ::std::mem::MaybeUninit<X509_algor_st> = ::std::mem::MaybeUninit::uninit(); |
| 23474 |
let ptr = UNINIT.as_ptr(); |
| 23475 |
assert_eq!( |
| 23476 |
::std::mem::size_of::<X509_algor_st>(), |
| 23477 |
16usize, |
| 23478 |
"Size of X509_algor_st" |
| 23479 |
); |
| 23480 |
assert_eq!( |
| 23481 |
::std::mem::align_of::<X509_algor_st>(), |
| 23482 |
8usize, |
| 23483 |
"Alignment of X509_algor_st" |
| 23484 |
); |
| 23485 |
assert_eq!( |
| 23486 |
unsafe { ::std::ptr::addr_of!((*ptr).algorithm) as usize - ptr as usize }, |
| 23487 |
0usize, |
| 23488 |
"Offset of field: X509_algor_st::algorithm" |
| 23489 |
); |
| 23490 |
assert_eq!( |
| 23491 |
unsafe { ::std::ptr::addr_of!((*ptr).parameter) as usize - ptr as usize }, |
| 23492 |
8usize, |
| 23493 |
"Offset of field: X509_algor_st::parameter" |
| 23494 |
); |
| 23495 |
} |
| 23496 |
impl Default for X509_algor_st { |
| 23497 |
fn default() -> Self { |
| 23498 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23499 |
unsafe { |
| 23500 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23501 |
s.assume_init() |
| 23502 |
} |
| 23503 |
} |
| 23504 |
} |
| 23505 |
#[repr(C)] |
| 23506 |
#[derive(Debug, Copy, Clone)] |
| 23507 |
pub struct stack_st_DIST_POINT { |
| 23508 |
_unused: [u8; 0], |
| 23509 |
} |
| 23510 |
#[repr(C)] |
| 23511 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23512 |
pub struct x509_trust_st { |
| 23513 |
pub trust: ::std::os::raw::c_int, |
| 23514 |
pub flags: ::std::os::raw::c_int, |
| 23515 |
pub check_trust: ::std::option::Option< |
| 23516 |
unsafe extern "C" fn(arg1: *const X509_TRUST, arg2: *mut X509) -> ::std::os::raw::c_int, |
| 23517 |
>, |
| 23518 |
pub name: *mut ::std::os::raw::c_char, |
| 23519 |
pub arg1: ::std::os::raw::c_int, |
| 23520 |
pub arg2: *mut ::std::os::raw::c_void, |
| 23521 |
} |
| 23522 |
#[test] |
| 23523 |
fn bindgen_test_layout_x509_trust_st() { |
| 23524 |
const UNINIT: ::std::mem::MaybeUninit<x509_trust_st> = ::std::mem::MaybeUninit::uninit(); |
| 23525 |
let ptr = UNINIT.as_ptr(); |
| 23526 |
assert_eq!( |
| 23527 |
::std::mem::size_of::<x509_trust_st>(), |
| 23528 |
40usize, |
| 23529 |
"Size of x509_trust_st" |
| 23530 |
); |
| 23531 |
assert_eq!( |
| 23532 |
::std::mem::align_of::<x509_trust_st>(), |
| 23533 |
8usize, |
| 23534 |
"Alignment of x509_trust_st" |
| 23535 |
); |
| 23536 |
assert_eq!( |
| 23537 |
unsafe { ::std::ptr::addr_of!((*ptr).trust) as usize - ptr as usize }, |
| 23538 |
0usize, |
| 23539 |
"Offset of field: x509_trust_st::trust" |
| 23540 |
); |
| 23541 |
assert_eq!( |
| 23542 |
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 23543 |
4usize, |
| 23544 |
"Offset of field: x509_trust_st::flags" |
| 23545 |
); |
| 23546 |
assert_eq!( |
| 23547 |
unsafe { ::std::ptr::addr_of!((*ptr).check_trust) as usize - ptr as usize }, |
| 23548 |
8usize, |
| 23549 |
"Offset of field: x509_trust_st::check_trust" |
| 23550 |
); |
| 23551 |
assert_eq!( |
| 23552 |
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, |
| 23553 |
16usize, |
| 23554 |
"Offset of field: x509_trust_st::name" |
| 23555 |
); |
| 23556 |
assert_eq!( |
| 23557 |
unsafe { ::std::ptr::addr_of!((*ptr).arg1) as usize - ptr as usize }, |
| 23558 |
24usize, |
| 23559 |
"Offset of field: x509_trust_st::arg1" |
| 23560 |
); |
| 23561 |
assert_eq!( |
| 23562 |
unsafe { ::std::ptr::addr_of!((*ptr).arg2) as usize - ptr as usize }, |
| 23563 |
32usize, |
| 23564 |
"Offset of field: x509_trust_st::arg2" |
| 23565 |
); |
| 23566 |
} |
| 23567 |
impl Default for x509_trust_st { |
| 23568 |
fn default() -> Self { |
| 23569 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23570 |
unsafe { |
| 23571 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23572 |
s.assume_init() |
| 23573 |
} |
| 23574 |
} |
| 23575 |
} |
| 23576 |
#[repr(C)] |
| 23577 |
#[derive(Debug, Copy, Clone)] |
| 23578 |
pub struct stack_st_X509_TRUST { |
| 23579 |
_unused: [u8; 0], |
| 23580 |
} |
| 23581 |
pub type sk_X509_TRUST_free_func = |
| 23582 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut X509_TRUST)>; |
| 23583 |
pub type sk_X509_TRUST_copy_func = |
| 23584 |
::std::option::Option<unsafe extern "C" fn(arg1: *const X509_TRUST) -> *mut X509_TRUST>; |
| 23585 |
pub type sk_X509_TRUST_cmp_func = ::std::option::Option< |
| 23586 |
unsafe extern "C" fn( |
| 23587 |
arg1: *const *const X509_TRUST, |
| 23588 |
arg2: *const *const X509_TRUST, |
| 23589 |
) -> ::std::os::raw::c_int, |
| 23590 |
>; |
| 23591 |
pub type sk_X509_TRUST_delete_if_func = ::std::option::Option< |
| 23592 |
unsafe extern "C" fn( |
| 23593 |
arg1: *mut X509_TRUST, |
| 23594 |
arg2: *mut ::std::os::raw::c_void, |
| 23595 |
) -> ::std::os::raw::c_int, |
| 23596 |
>; |
| 23597 |
extern "C" { |
| 23598 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_TRUST_set"] |
| 23599 |
pub fn X509_TRUST_set( |
| 23600 |
t: *mut ::std::os::raw::c_int, |
| 23601 |
trust: ::std::os::raw::c_int, |
| 23602 |
) -> ::std::os::raw::c_int; |
| 23603 |
} |
| 23604 |
extern "C" { |
| 23605 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_TRUST_get_count"] |
| 23606 |
pub fn X509_TRUST_get_count() -> ::std::os::raw::c_int; |
| 23607 |
} |
| 23608 |
extern "C" { |
| 23609 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_TRUST_get0"] |
| 23610 |
pub fn X509_TRUST_get0(idx: ::std::os::raw::c_int) -> *const X509_TRUST; |
| 23611 |
} |
| 23612 |
extern "C" { |
| 23613 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_TRUST_get_by_id"] |
| 23614 |
pub fn X509_TRUST_get_by_id(id: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 23615 |
} |
| 23616 |
extern "C" { |
| 23617 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_TRUST_get_flags"] |
| 23618 |
pub fn X509_TRUST_get_flags(xp: *const X509_TRUST) -> ::std::os::raw::c_int; |
| 23619 |
} |
| 23620 |
extern "C" { |
| 23621 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_TRUST_get0_name"] |
| 23622 |
pub fn X509_TRUST_get0_name(xp: *const X509_TRUST) -> *mut ::std::os::raw::c_char; |
| 23623 |
} |
| 23624 |
extern "C" { |
| 23625 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_TRUST_get_trust"] |
| 23626 |
pub fn X509_TRUST_get_trust(xp: *const X509_TRUST) -> ::std::os::raw::c_int; |
| 23627 |
} |
| 23628 |
extern "C" { |
| 23629 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_TRUST_cleanup"] |
| 23630 |
pub fn X509_TRUST_cleanup(); |
| 23631 |
} |
| 23632 |
extern "C" { |
| 23633 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_OBJECT_get0_X509_CRL"] |
| 23634 |
pub fn X509_OBJECT_get0_X509_CRL(a: *const X509_OBJECT) -> *mut X509_CRL; |
| 23635 |
} |
| 23636 |
extern "C" { |
| 23637 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_OBJECT_set1_X509"] |
| 23638 |
pub fn X509_OBJECT_set1_X509(a: *mut X509_OBJECT, obj: *mut X509) -> ::std::os::raw::c_int; |
| 23639 |
} |
| 23640 |
extern "C" { |
| 23641 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_OBJECT_set1_X509_CRL"] |
| 23642 |
pub fn X509_OBJECT_set1_X509_CRL( |
| 23643 |
a: *mut X509_OBJECT, |
| 23644 |
obj: *mut X509_CRL, |
| 23645 |
) -> ::std::os::raw::c_int; |
| 23646 |
} |
| 23647 |
extern "C" { |
| 23648 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_lock"] |
| 23649 |
pub fn X509_STORE_lock(v: *mut X509_STORE) -> ::std::os::raw::c_int; |
| 23650 |
} |
| 23651 |
extern "C" { |
| 23652 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_unlock"] |
| 23653 |
pub fn X509_STORE_unlock(v: *mut X509_STORE) -> ::std::os::raw::c_int; |
| 23654 |
} |
| 23655 |
extern "C" { |
| 23656 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get1_certs"] |
| 23657 |
pub fn X509_STORE_CTX_get1_certs( |
| 23658 |
st: *mut X509_STORE_CTX, |
| 23659 |
nm: *mut X509_NAME, |
| 23660 |
) -> *mut stack_st_X509; |
| 23661 |
} |
| 23662 |
extern "C" { |
| 23663 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get1_crls"] |
| 23664 |
pub fn X509_STORE_CTX_get1_crls( |
| 23665 |
st: *mut X509_STORE_CTX, |
| 23666 |
nm: *mut X509_NAME, |
| 23667 |
) -> *mut stack_st_X509_CRL; |
| 23668 |
} |
| 23669 |
extern "C" { |
| 23670 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_STORE_CTX_get_by_subject"] |
| 23671 |
pub fn X509_STORE_CTX_get_by_subject( |
| 23672 |
vs: *mut X509_STORE_CTX, |
| 23673 |
type_: ::std::os::raw::c_int, |
| 23674 |
name: *mut X509_NAME, |
| 23675 |
ret: *mut X509_OBJECT, |
| 23676 |
) -> ::std::os::raw::c_int; |
| 23677 |
} |
| 23678 |
#[repr(C)] |
| 23679 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23680 |
pub struct BASIC_CONSTRAINTS_st { |
| 23681 |
pub ca: ASN1_BOOLEAN, |
| 23682 |
pub pathlen: *mut ASN1_INTEGER, |
| 23683 |
} |
| 23684 |
#[test] |
| 23685 |
fn bindgen_test_layout_BASIC_CONSTRAINTS_st() { |
| 23686 |
const UNINIT: ::std::mem::MaybeUninit<BASIC_CONSTRAINTS_st> = ::std::mem::MaybeUninit::uninit(); |
| 23687 |
let ptr = UNINIT.as_ptr(); |
| 23688 |
assert_eq!( |
| 23689 |
::std::mem::size_of::<BASIC_CONSTRAINTS_st>(), |
| 23690 |
16usize, |
| 23691 |
"Size of BASIC_CONSTRAINTS_st" |
| 23692 |
); |
| 23693 |
assert_eq!( |
| 23694 |
::std::mem::align_of::<BASIC_CONSTRAINTS_st>(), |
| 23695 |
8usize, |
| 23696 |
"Alignment of BASIC_CONSTRAINTS_st" |
| 23697 |
); |
| 23698 |
assert_eq!( |
| 23699 |
unsafe { ::std::ptr::addr_of!((*ptr).ca) as usize - ptr as usize }, |
| 23700 |
0usize, |
| 23701 |
"Offset of field: BASIC_CONSTRAINTS_st::ca" |
| 23702 |
); |
| 23703 |
assert_eq!( |
| 23704 |
unsafe { ::std::ptr::addr_of!((*ptr).pathlen) as usize - ptr as usize }, |
| 23705 |
8usize, |
| 23706 |
"Offset of field: BASIC_CONSTRAINTS_st::pathlen" |
| 23707 |
); |
| 23708 |
} |
| 23709 |
impl Default for BASIC_CONSTRAINTS_st { |
| 23710 |
fn default() -> Self { |
| 23711 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23712 |
unsafe { |
| 23713 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23714 |
s.assume_init() |
| 23715 |
} |
| 23716 |
} |
| 23717 |
} |
| 23718 |
#[repr(C)] |
| 23719 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23720 |
pub struct ACCESS_DESCRIPTION_st { |
| 23721 |
pub method: *mut ASN1_OBJECT, |
| 23722 |
pub location: *mut GENERAL_NAME, |
| 23723 |
} |
| 23724 |
#[test] |
| 23725 |
fn bindgen_test_layout_ACCESS_DESCRIPTION_st() { |
| 23726 |
const UNINIT: ::std::mem::MaybeUninit<ACCESS_DESCRIPTION_st> = |
| 23727 |
::std::mem::MaybeUninit::uninit(); |
| 23728 |
let ptr = UNINIT.as_ptr(); |
| 23729 |
assert_eq!( |
| 23730 |
::std::mem::size_of::<ACCESS_DESCRIPTION_st>(), |
| 23731 |
16usize, |
| 23732 |
"Size of ACCESS_DESCRIPTION_st" |
| 23733 |
); |
| 23734 |
assert_eq!( |
| 23735 |
::std::mem::align_of::<ACCESS_DESCRIPTION_st>(), |
| 23736 |
8usize, |
| 23737 |
"Alignment of ACCESS_DESCRIPTION_st" |
| 23738 |
); |
| 23739 |
assert_eq!( |
| 23740 |
unsafe { ::std::ptr::addr_of!((*ptr).method) as usize - ptr as usize }, |
| 23741 |
0usize, |
| 23742 |
"Offset of field: ACCESS_DESCRIPTION_st::method" |
| 23743 |
); |
| 23744 |
assert_eq!( |
| 23745 |
unsafe { ::std::ptr::addr_of!((*ptr).location) as usize - ptr as usize }, |
| 23746 |
8usize, |
| 23747 |
"Offset of field: ACCESS_DESCRIPTION_st::location" |
| 23748 |
); |
| 23749 |
} |
| 23750 |
impl Default for ACCESS_DESCRIPTION_st { |
| 23751 |
fn default() -> Self { |
| 23752 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23753 |
unsafe { |
| 23754 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23755 |
s.assume_init() |
| 23756 |
} |
| 23757 |
} |
| 23758 |
} |
| 23759 |
pub type ACCESS_DESCRIPTION = ACCESS_DESCRIPTION_st; |
| 23760 |
#[repr(C)] |
| 23761 |
#[derive(Debug, Copy, Clone)] |
| 23762 |
pub struct stack_st_ACCESS_DESCRIPTION { |
| 23763 |
_unused: [u8; 0], |
| 23764 |
} |
| 23765 |
pub type sk_ACCESS_DESCRIPTION_free_func = |
| 23766 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut ACCESS_DESCRIPTION)>; |
| 23767 |
pub type sk_ACCESS_DESCRIPTION_copy_func = ::std::option::Option< |
| 23768 |
unsafe extern "C" fn(arg1: *const ACCESS_DESCRIPTION) -> *mut ACCESS_DESCRIPTION, |
| 23769 |
>; |
| 23770 |
pub type sk_ACCESS_DESCRIPTION_cmp_func = ::std::option::Option< |
| 23771 |
unsafe extern "C" fn( |
| 23772 |
arg1: *const *const ACCESS_DESCRIPTION, |
| 23773 |
arg2: *const *const ACCESS_DESCRIPTION, |
| 23774 |
) -> ::std::os::raw::c_int, |
| 23775 |
>; |
| 23776 |
pub type sk_ACCESS_DESCRIPTION_delete_if_func = ::std::option::Option< |
| 23777 |
unsafe extern "C" fn( |
| 23778 |
arg1: *mut ACCESS_DESCRIPTION, |
| 23779 |
arg2: *mut ::std::os::raw::c_void, |
| 23780 |
) -> ::std::os::raw::c_int, |
| 23781 |
>; |
| 23782 |
pub type AUTHORITY_INFO_ACCESS = stack_st_ACCESS_DESCRIPTION; |
| 23783 |
pub type EXTENDED_KEY_USAGE = stack_st_ASN1_OBJECT; |
| 23784 |
#[repr(C)] |
| 23785 |
#[derive(Copy, Clone)] |
| 23786 |
pub struct DIST_POINT_NAME_st { |
| 23787 |
pub type_: ::std::os::raw::c_int, |
| 23788 |
pub name: DIST_POINT_NAME_st__bindgen_ty_1, |
| 23789 |
pub dpname: *mut X509_NAME, |
| 23790 |
} |
| 23791 |
#[repr(C)] |
| 23792 |
#[derive(Copy, Clone)] |
| 23793 |
pub union DIST_POINT_NAME_st__bindgen_ty_1 { |
| 23794 |
pub fullname: *mut GENERAL_NAMES, |
| 23795 |
pub relativename: *mut stack_st_X509_NAME_ENTRY, |
| 23796 |
} |
| 23797 |
#[test] |
| 23798 |
fn bindgen_test_layout_DIST_POINT_NAME_st__bindgen_ty_1() { |
| 23799 |
const UNINIT: ::std::mem::MaybeUninit<DIST_POINT_NAME_st__bindgen_ty_1> = |
| 23800 |
::std::mem::MaybeUninit::uninit(); |
| 23801 |
let ptr = UNINIT.as_ptr(); |
| 23802 |
assert_eq!( |
| 23803 |
::std::mem::size_of::<DIST_POINT_NAME_st__bindgen_ty_1>(), |
| 23804 |
8usize, |
| 23805 |
"Size of DIST_POINT_NAME_st__bindgen_ty_1" |
| 23806 |
); |
| 23807 |
assert_eq!( |
| 23808 |
::std::mem::align_of::<DIST_POINT_NAME_st__bindgen_ty_1>(), |
| 23809 |
8usize, |
| 23810 |
"Alignment of DIST_POINT_NAME_st__bindgen_ty_1" |
| 23811 |
); |
| 23812 |
assert_eq!( |
| 23813 |
unsafe { ::std::ptr::addr_of!((*ptr).fullname) as usize - ptr as usize }, |
| 23814 |
0usize, |
| 23815 |
"Offset of field: DIST_POINT_NAME_st__bindgen_ty_1::fullname" |
| 23816 |
); |
| 23817 |
assert_eq!( |
| 23818 |
unsafe { ::std::ptr::addr_of!((*ptr).relativename) as usize - ptr as usize }, |
| 23819 |
0usize, |
| 23820 |
"Offset of field: DIST_POINT_NAME_st__bindgen_ty_1::relativename" |
| 23821 |
); |
| 23822 |
} |
| 23823 |
impl Default for DIST_POINT_NAME_st__bindgen_ty_1 { |
| 23824 |
fn default() -> Self { |
| 23825 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23826 |
unsafe { |
| 23827 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23828 |
s.assume_init() |
| 23829 |
} |
| 23830 |
} |
| 23831 |
} |
| 23832 |
#[test] |
| 23833 |
fn bindgen_test_layout_DIST_POINT_NAME_st() { |
| 23834 |
const UNINIT: ::std::mem::MaybeUninit<DIST_POINT_NAME_st> = ::std::mem::MaybeUninit::uninit(); |
| 23835 |
let ptr = UNINIT.as_ptr(); |
| 23836 |
assert_eq!( |
| 23837 |
::std::mem::size_of::<DIST_POINT_NAME_st>(), |
| 23838 |
24usize, |
| 23839 |
"Size of DIST_POINT_NAME_st" |
| 23840 |
); |
| 23841 |
assert_eq!( |
| 23842 |
::std::mem::align_of::<DIST_POINT_NAME_st>(), |
| 23843 |
8usize, |
| 23844 |
"Alignment of DIST_POINT_NAME_st" |
| 23845 |
); |
| 23846 |
assert_eq!( |
| 23847 |
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, |
| 23848 |
0usize, |
| 23849 |
"Offset of field: DIST_POINT_NAME_st::type_" |
| 23850 |
); |
| 23851 |
assert_eq!( |
| 23852 |
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, |
| 23853 |
8usize, |
| 23854 |
"Offset of field: DIST_POINT_NAME_st::name" |
| 23855 |
); |
| 23856 |
assert_eq!( |
| 23857 |
unsafe { ::std::ptr::addr_of!((*ptr).dpname) as usize - ptr as usize }, |
| 23858 |
16usize, |
| 23859 |
"Offset of field: DIST_POINT_NAME_st::dpname" |
| 23860 |
); |
| 23861 |
} |
| 23862 |
impl Default for DIST_POINT_NAME_st { |
| 23863 |
fn default() -> Self { |
| 23864 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23865 |
unsafe { |
| 23866 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23867 |
s.assume_init() |
| 23868 |
} |
| 23869 |
} |
| 23870 |
} |
| 23871 |
pub type DIST_POINT_NAME = DIST_POINT_NAME_st; |
| 23872 |
#[repr(C)] |
| 23873 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23874 |
pub struct DIST_POINT_st { |
| 23875 |
pub distpoint: *mut DIST_POINT_NAME, |
| 23876 |
pub reasons: *mut ASN1_BIT_STRING, |
| 23877 |
pub CRLissuer: *mut GENERAL_NAMES, |
| 23878 |
} |
| 23879 |
#[test] |
| 23880 |
fn bindgen_test_layout_DIST_POINT_st() { |
| 23881 |
const UNINIT: ::std::mem::MaybeUninit<DIST_POINT_st> = ::std::mem::MaybeUninit::uninit(); |
| 23882 |
let ptr = UNINIT.as_ptr(); |
| 23883 |
assert_eq!( |
| 23884 |
::std::mem::size_of::<DIST_POINT_st>(), |
| 23885 |
24usize, |
| 23886 |
"Size of DIST_POINT_st" |
| 23887 |
); |
| 23888 |
assert_eq!( |
| 23889 |
::std::mem::align_of::<DIST_POINT_st>(), |
| 23890 |
8usize, |
| 23891 |
"Alignment of DIST_POINT_st" |
| 23892 |
); |
| 23893 |
assert_eq!( |
| 23894 |
unsafe { ::std::ptr::addr_of!((*ptr).distpoint) as usize - ptr as usize }, |
| 23895 |
0usize, |
| 23896 |
"Offset of field: DIST_POINT_st::distpoint" |
| 23897 |
); |
| 23898 |
assert_eq!( |
| 23899 |
unsafe { ::std::ptr::addr_of!((*ptr).reasons) as usize - ptr as usize }, |
| 23900 |
8usize, |
| 23901 |
"Offset of field: DIST_POINT_st::reasons" |
| 23902 |
); |
| 23903 |
assert_eq!( |
| 23904 |
unsafe { ::std::ptr::addr_of!((*ptr).CRLissuer) as usize - ptr as usize }, |
| 23905 |
16usize, |
| 23906 |
"Offset of field: DIST_POINT_st::CRLissuer" |
| 23907 |
); |
| 23908 |
} |
| 23909 |
impl Default for DIST_POINT_st { |
| 23910 |
fn default() -> Self { |
| 23911 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23912 |
unsafe { |
| 23913 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23914 |
s.assume_init() |
| 23915 |
} |
| 23916 |
} |
| 23917 |
} |
| 23918 |
pub type CRL_DIST_POINTS = stack_st_DIST_POINT; |
| 23919 |
pub type sk_DIST_POINT_free_func = |
| 23920 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut DIST_POINT)>; |
| 23921 |
pub type sk_DIST_POINT_copy_func = |
| 23922 |
::std::option::Option<unsafe extern "C" fn(arg1: *const DIST_POINT) -> *mut DIST_POINT>; |
| 23923 |
pub type sk_DIST_POINT_cmp_func = ::std::option::Option< |
| 23924 |
unsafe extern "C" fn( |
| 23925 |
arg1: *const *const DIST_POINT, |
| 23926 |
arg2: *const *const DIST_POINT, |
| 23927 |
) -> ::std::os::raw::c_int, |
| 23928 |
>; |
| 23929 |
pub type sk_DIST_POINT_delete_if_func = ::std::option::Option< |
| 23930 |
unsafe extern "C" fn( |
| 23931 |
arg1: *mut DIST_POINT, |
| 23932 |
arg2: *mut ::std::os::raw::c_void, |
| 23933 |
) -> ::std::os::raw::c_int, |
| 23934 |
>; |
| 23935 |
#[repr(C)] |
| 23936 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23937 |
pub struct AUTHORITY_KEYID_st { |
| 23938 |
pub keyid: *mut ASN1_OCTET_STRING, |
| 23939 |
pub issuer: *mut GENERAL_NAMES, |
| 23940 |
pub serial: *mut ASN1_INTEGER, |
| 23941 |
} |
| 23942 |
#[test] |
| 23943 |
fn bindgen_test_layout_AUTHORITY_KEYID_st() { |
| 23944 |
const UNINIT: ::std::mem::MaybeUninit<AUTHORITY_KEYID_st> = ::std::mem::MaybeUninit::uninit(); |
| 23945 |
let ptr = UNINIT.as_ptr(); |
| 23946 |
assert_eq!( |
| 23947 |
::std::mem::size_of::<AUTHORITY_KEYID_st>(), |
| 23948 |
24usize, |
| 23949 |
"Size of AUTHORITY_KEYID_st" |
| 23950 |
); |
| 23951 |
assert_eq!( |
| 23952 |
::std::mem::align_of::<AUTHORITY_KEYID_st>(), |
| 23953 |
8usize, |
| 23954 |
"Alignment of AUTHORITY_KEYID_st" |
| 23955 |
); |
| 23956 |
assert_eq!( |
| 23957 |
unsafe { ::std::ptr::addr_of!((*ptr).keyid) as usize - ptr as usize }, |
| 23958 |
0usize, |
| 23959 |
"Offset of field: AUTHORITY_KEYID_st::keyid" |
| 23960 |
); |
| 23961 |
assert_eq!( |
| 23962 |
unsafe { ::std::ptr::addr_of!((*ptr).issuer) as usize - ptr as usize }, |
| 23963 |
8usize, |
| 23964 |
"Offset of field: AUTHORITY_KEYID_st::issuer" |
| 23965 |
); |
| 23966 |
assert_eq!( |
| 23967 |
unsafe { ::std::ptr::addr_of!((*ptr).serial) as usize - ptr as usize }, |
| 23968 |
16usize, |
| 23969 |
"Offset of field: AUTHORITY_KEYID_st::serial" |
| 23970 |
); |
| 23971 |
} |
| 23972 |
impl Default for AUTHORITY_KEYID_st { |
| 23973 |
fn default() -> Self { |
| 23974 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 23975 |
unsafe { |
| 23976 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 23977 |
s.assume_init() |
| 23978 |
} |
| 23979 |
} |
| 23980 |
} |
| 23981 |
#[repr(C)] |
| 23982 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 23983 |
pub struct NOTICEREF_st { |
| 23984 |
pub organization: *mut ASN1_STRING, |
| 23985 |
pub noticenos: *mut stack_st_ASN1_INTEGER, |
| 23986 |
} |
| 23987 |
#[test] |
| 23988 |
fn bindgen_test_layout_NOTICEREF_st() { |
| 23989 |
const UNINIT: ::std::mem::MaybeUninit<NOTICEREF_st> = ::std::mem::MaybeUninit::uninit(); |
| 23990 |
let ptr = UNINIT.as_ptr(); |
| 23991 |
assert_eq!( |
| 23992 |
::std::mem::size_of::<NOTICEREF_st>(), |
| 23993 |
16usize, |
| 23994 |
"Size of NOTICEREF_st" |
| 23995 |
); |
| 23996 |
assert_eq!( |
| 23997 |
::std::mem::align_of::<NOTICEREF_st>(), |
| 23998 |
8usize, |
| 23999 |
"Alignment of NOTICEREF_st" |
| 24000 |
); |
| 24001 |
assert_eq!( |
| 24002 |
unsafe { ::std::ptr::addr_of!((*ptr).organization) as usize - ptr as usize }, |
| 24003 |
0usize, |
| 24004 |
"Offset of field: NOTICEREF_st::organization" |
| 24005 |
); |
| 24006 |
assert_eq!( |
| 24007 |
unsafe { ::std::ptr::addr_of!((*ptr).noticenos) as usize - ptr as usize }, |
| 24008 |
8usize, |
| 24009 |
"Offset of field: NOTICEREF_st::noticenos" |
| 24010 |
); |
| 24011 |
} |
| 24012 |
impl Default for NOTICEREF_st { |
| 24013 |
fn default() -> Self { |
| 24014 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24015 |
unsafe { |
| 24016 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24017 |
s.assume_init() |
| 24018 |
} |
| 24019 |
} |
| 24020 |
} |
| 24021 |
pub type NOTICEREF = NOTICEREF_st; |
| 24022 |
#[repr(C)] |
| 24023 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 24024 |
pub struct USERNOTICE_st { |
| 24025 |
pub noticeref: *mut NOTICEREF, |
| 24026 |
pub exptext: *mut ASN1_STRING, |
| 24027 |
} |
| 24028 |
#[test] |
| 24029 |
fn bindgen_test_layout_USERNOTICE_st() { |
| 24030 |
const UNINIT: ::std::mem::MaybeUninit<USERNOTICE_st> = ::std::mem::MaybeUninit::uninit(); |
| 24031 |
let ptr = UNINIT.as_ptr(); |
| 24032 |
assert_eq!( |
| 24033 |
::std::mem::size_of::<USERNOTICE_st>(), |
| 24034 |
16usize, |
| 24035 |
"Size of USERNOTICE_st" |
| 24036 |
); |
| 24037 |
assert_eq!( |
| 24038 |
::std::mem::align_of::<USERNOTICE_st>(), |
| 24039 |
8usize, |
| 24040 |
"Alignment of USERNOTICE_st" |
| 24041 |
); |
| 24042 |
assert_eq!( |
| 24043 |
unsafe { ::std::ptr::addr_of!((*ptr).noticeref) as usize - ptr as usize }, |
| 24044 |
0usize, |
| 24045 |
"Offset of field: USERNOTICE_st::noticeref" |
| 24046 |
); |
| 24047 |
assert_eq!( |
| 24048 |
unsafe { ::std::ptr::addr_of!((*ptr).exptext) as usize - ptr as usize }, |
| 24049 |
8usize, |
| 24050 |
"Offset of field: USERNOTICE_st::exptext" |
| 24051 |
); |
| 24052 |
} |
| 24053 |
impl Default for USERNOTICE_st { |
| 24054 |
fn default() -> Self { |
| 24055 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24056 |
unsafe { |
| 24057 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24058 |
s.assume_init() |
| 24059 |
} |
| 24060 |
} |
| 24061 |
} |
| 24062 |
pub type USERNOTICE = USERNOTICE_st; |
| 24063 |
#[repr(C)] |
| 24064 |
#[derive(Copy, Clone)] |
| 24065 |
pub struct POLICYQUALINFO_st { |
| 24066 |
pub pqualid: *mut ASN1_OBJECT, |
| 24067 |
pub d: POLICYQUALINFO_st__bindgen_ty_1, |
| 24068 |
} |
| 24069 |
#[repr(C)] |
| 24070 |
#[derive(Copy, Clone)] |
| 24071 |
pub union POLICYQUALINFO_st__bindgen_ty_1 { |
| 24072 |
pub cpsuri: *mut ASN1_IA5STRING, |
| 24073 |
pub usernotice: *mut USERNOTICE, |
| 24074 |
pub other: *mut ASN1_TYPE, |
| 24075 |
} |
| 24076 |
#[test] |
| 24077 |
fn bindgen_test_layout_POLICYQUALINFO_st__bindgen_ty_1() { |
| 24078 |
const UNINIT: ::std::mem::MaybeUninit<POLICYQUALINFO_st__bindgen_ty_1> = |
| 24079 |
::std::mem::MaybeUninit::uninit(); |
| 24080 |
let ptr = UNINIT.as_ptr(); |
| 24081 |
assert_eq!( |
| 24082 |
::std::mem::size_of::<POLICYQUALINFO_st__bindgen_ty_1>(), |
| 24083 |
8usize, |
| 24084 |
"Size of POLICYQUALINFO_st__bindgen_ty_1" |
| 24085 |
); |
| 24086 |
assert_eq!( |
| 24087 |
::std::mem::align_of::<POLICYQUALINFO_st__bindgen_ty_1>(), |
| 24088 |
8usize, |
| 24089 |
"Alignment of POLICYQUALINFO_st__bindgen_ty_1" |
| 24090 |
); |
| 24091 |
assert_eq!( |
| 24092 |
unsafe { ::std::ptr::addr_of!((*ptr).cpsuri) as usize - ptr as usize }, |
| 24093 |
0usize, |
| 24094 |
"Offset of field: POLICYQUALINFO_st__bindgen_ty_1::cpsuri" |
| 24095 |
); |
| 24096 |
assert_eq!( |
| 24097 |
unsafe { ::std::ptr::addr_of!((*ptr).usernotice) as usize - ptr as usize }, |
| 24098 |
0usize, |
| 24099 |
"Offset of field: POLICYQUALINFO_st__bindgen_ty_1::usernotice" |
| 24100 |
); |
| 24101 |
assert_eq!( |
| 24102 |
unsafe { ::std::ptr::addr_of!((*ptr).other) as usize - ptr as usize }, |
| 24103 |
0usize, |
| 24104 |
"Offset of field: POLICYQUALINFO_st__bindgen_ty_1::other" |
| 24105 |
); |
| 24106 |
} |
| 24107 |
impl Default for POLICYQUALINFO_st__bindgen_ty_1 { |
| 24108 |
fn default() -> Self { |
| 24109 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24110 |
unsafe { |
| 24111 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24112 |
s.assume_init() |
| 24113 |
} |
| 24114 |
} |
| 24115 |
} |
| 24116 |
#[test] |
| 24117 |
fn bindgen_test_layout_POLICYQUALINFO_st() { |
| 24118 |
const UNINIT: ::std::mem::MaybeUninit<POLICYQUALINFO_st> = ::std::mem::MaybeUninit::uninit(); |
| 24119 |
let ptr = UNINIT.as_ptr(); |
| 24120 |
assert_eq!( |
| 24121 |
::std::mem::size_of::<POLICYQUALINFO_st>(), |
| 24122 |
16usize, |
| 24123 |
"Size of POLICYQUALINFO_st" |
| 24124 |
); |
| 24125 |
assert_eq!( |
| 24126 |
::std::mem::align_of::<POLICYQUALINFO_st>(), |
| 24127 |
8usize, |
| 24128 |
"Alignment of POLICYQUALINFO_st" |
| 24129 |
); |
| 24130 |
assert_eq!( |
| 24131 |
unsafe { ::std::ptr::addr_of!((*ptr).pqualid) as usize - ptr as usize }, |
| 24132 |
0usize, |
| 24133 |
"Offset of field: POLICYQUALINFO_st::pqualid" |
| 24134 |
); |
| 24135 |
assert_eq!( |
| 24136 |
unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize }, |
| 24137 |
8usize, |
| 24138 |
"Offset of field: POLICYQUALINFO_st::d" |
| 24139 |
); |
| 24140 |
} |
| 24141 |
impl Default for POLICYQUALINFO_st { |
| 24142 |
fn default() -> Self { |
| 24143 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24144 |
unsafe { |
| 24145 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24146 |
s.assume_init() |
| 24147 |
} |
| 24148 |
} |
| 24149 |
} |
| 24150 |
pub type POLICYQUALINFO = POLICYQUALINFO_st; |
| 24151 |
#[repr(C)] |
| 24152 |
#[derive(Debug, Copy, Clone)] |
| 24153 |
pub struct stack_st_POLICYQUALINFO { |
| 24154 |
_unused: [u8; 0], |
| 24155 |
} |
| 24156 |
pub type sk_POLICYQUALINFO_free_func = |
| 24157 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut POLICYQUALINFO)>; |
| 24158 |
pub type sk_POLICYQUALINFO_copy_func = |
| 24159 |
::std::option::Option<unsafe extern "C" fn(arg1: *const POLICYQUALINFO) -> *mut POLICYQUALINFO>; |
| 24160 |
pub type sk_POLICYQUALINFO_cmp_func = ::std::option::Option< |
| 24161 |
unsafe extern "C" fn( |
| 24162 |
arg1: *const *const POLICYQUALINFO, |
| 24163 |
arg2: *const *const POLICYQUALINFO, |
| 24164 |
) -> ::std::os::raw::c_int, |
| 24165 |
>; |
| 24166 |
pub type sk_POLICYQUALINFO_delete_if_func = ::std::option::Option< |
| 24167 |
unsafe extern "C" fn( |
| 24168 |
arg1: *mut POLICYQUALINFO, |
| 24169 |
arg2: *mut ::std::os::raw::c_void, |
| 24170 |
) -> ::std::os::raw::c_int, |
| 24171 |
>; |
| 24172 |
#[repr(C)] |
| 24173 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 24174 |
pub struct POLICYINFO_st { |
| 24175 |
pub policyid: *mut ASN1_OBJECT, |
| 24176 |
pub qualifiers: *mut stack_st_POLICYQUALINFO, |
| 24177 |
} |
| 24178 |
#[test] |
| 24179 |
fn bindgen_test_layout_POLICYINFO_st() { |
| 24180 |
const UNINIT: ::std::mem::MaybeUninit<POLICYINFO_st> = ::std::mem::MaybeUninit::uninit(); |
| 24181 |
let ptr = UNINIT.as_ptr(); |
| 24182 |
assert_eq!( |
| 24183 |
::std::mem::size_of::<POLICYINFO_st>(), |
| 24184 |
16usize, |
| 24185 |
"Size of POLICYINFO_st" |
| 24186 |
); |
| 24187 |
assert_eq!( |
| 24188 |
::std::mem::align_of::<POLICYINFO_st>(), |
| 24189 |
8usize, |
| 24190 |
"Alignment of POLICYINFO_st" |
| 24191 |
); |
| 24192 |
assert_eq!( |
| 24193 |
unsafe { ::std::ptr::addr_of!((*ptr).policyid) as usize - ptr as usize }, |
| 24194 |
0usize, |
| 24195 |
"Offset of field: POLICYINFO_st::policyid" |
| 24196 |
); |
| 24197 |
assert_eq!( |
| 24198 |
unsafe { ::std::ptr::addr_of!((*ptr).qualifiers) as usize - ptr as usize }, |
| 24199 |
8usize, |
| 24200 |
"Offset of field: POLICYINFO_st::qualifiers" |
| 24201 |
); |
| 24202 |
} |
| 24203 |
impl Default for POLICYINFO_st { |
| 24204 |
fn default() -> Self { |
| 24205 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24206 |
unsafe { |
| 24207 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24208 |
s.assume_init() |
| 24209 |
} |
| 24210 |
} |
| 24211 |
} |
| 24212 |
pub type POLICYINFO = POLICYINFO_st; |
| 24213 |
#[repr(C)] |
| 24214 |
#[derive(Debug, Copy, Clone)] |
| 24215 |
pub struct stack_st_POLICYINFO { |
| 24216 |
_unused: [u8; 0], |
| 24217 |
} |
| 24218 |
pub type CERTIFICATEPOLICIES = stack_st_POLICYINFO; |
| 24219 |
pub type sk_POLICYINFO_free_func = |
| 24220 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut POLICYINFO)>; |
| 24221 |
pub type sk_POLICYINFO_copy_func = |
| 24222 |
::std::option::Option<unsafe extern "C" fn(arg1: *const POLICYINFO) -> *mut POLICYINFO>; |
| 24223 |
pub type sk_POLICYINFO_cmp_func = ::std::option::Option< |
| 24224 |
unsafe extern "C" fn( |
| 24225 |
arg1: *const *const POLICYINFO, |
| 24226 |
arg2: *const *const POLICYINFO, |
| 24227 |
) -> ::std::os::raw::c_int, |
| 24228 |
>; |
| 24229 |
pub type sk_POLICYINFO_delete_if_func = ::std::option::Option< |
| 24230 |
unsafe extern "C" fn( |
| 24231 |
arg1: *mut POLICYINFO, |
| 24232 |
arg2: *mut ::std::os::raw::c_void, |
| 24233 |
) -> ::std::os::raw::c_int, |
| 24234 |
>; |
| 24235 |
#[repr(C)] |
| 24236 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 24237 |
pub struct POLICY_MAPPING_st { |
| 24238 |
pub issuerDomainPolicy: *mut ASN1_OBJECT, |
| 24239 |
pub subjectDomainPolicy: *mut ASN1_OBJECT, |
| 24240 |
} |
| 24241 |
#[test] |
| 24242 |
fn bindgen_test_layout_POLICY_MAPPING_st() { |
| 24243 |
const UNINIT: ::std::mem::MaybeUninit<POLICY_MAPPING_st> = ::std::mem::MaybeUninit::uninit(); |
| 24244 |
let ptr = UNINIT.as_ptr(); |
| 24245 |
assert_eq!( |
| 24246 |
::std::mem::size_of::<POLICY_MAPPING_st>(), |
| 24247 |
16usize, |
| 24248 |
"Size of POLICY_MAPPING_st" |
| 24249 |
); |
| 24250 |
assert_eq!( |
| 24251 |
::std::mem::align_of::<POLICY_MAPPING_st>(), |
| 24252 |
8usize, |
| 24253 |
"Alignment of POLICY_MAPPING_st" |
| 24254 |
); |
| 24255 |
assert_eq!( |
| 24256 |
unsafe { ::std::ptr::addr_of!((*ptr).issuerDomainPolicy) as usize - ptr as usize }, |
| 24257 |
0usize, |
| 24258 |
"Offset of field: POLICY_MAPPING_st::issuerDomainPolicy" |
| 24259 |
); |
| 24260 |
assert_eq!( |
| 24261 |
unsafe { ::std::ptr::addr_of!((*ptr).subjectDomainPolicy) as usize - ptr as usize }, |
| 24262 |
8usize, |
| 24263 |
"Offset of field: POLICY_MAPPING_st::subjectDomainPolicy" |
| 24264 |
); |
| 24265 |
} |
| 24266 |
impl Default for POLICY_MAPPING_st { |
| 24267 |
fn default() -> Self { |
| 24268 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24269 |
unsafe { |
| 24270 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24271 |
s.assume_init() |
| 24272 |
} |
| 24273 |
} |
| 24274 |
} |
| 24275 |
pub type POLICY_MAPPING = POLICY_MAPPING_st; |
| 24276 |
#[repr(C)] |
| 24277 |
#[derive(Debug, Copy, Clone)] |
| 24278 |
pub struct stack_st_POLICY_MAPPING { |
| 24279 |
_unused: [u8; 0], |
| 24280 |
} |
| 24281 |
pub type sk_POLICY_MAPPING_free_func = |
| 24282 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut POLICY_MAPPING)>; |
| 24283 |
pub type sk_POLICY_MAPPING_copy_func = |
| 24284 |
::std::option::Option<unsafe extern "C" fn(arg1: *const POLICY_MAPPING) -> *mut POLICY_MAPPING>; |
| 24285 |
pub type sk_POLICY_MAPPING_cmp_func = ::std::option::Option< |
| 24286 |
unsafe extern "C" fn( |
| 24287 |
arg1: *const *const POLICY_MAPPING, |
| 24288 |
arg2: *const *const POLICY_MAPPING, |
| 24289 |
) -> ::std::os::raw::c_int, |
| 24290 |
>; |
| 24291 |
pub type sk_POLICY_MAPPING_delete_if_func = ::std::option::Option< |
| 24292 |
unsafe extern "C" fn( |
| 24293 |
arg1: *mut POLICY_MAPPING, |
| 24294 |
arg2: *mut ::std::os::raw::c_void, |
| 24295 |
) -> ::std::os::raw::c_int, |
| 24296 |
>; |
| 24297 |
pub type POLICY_MAPPINGS = stack_st_POLICY_MAPPING; |
| 24298 |
#[repr(C)] |
| 24299 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 24300 |
pub struct GENERAL_SUBTREE_st { |
| 24301 |
pub base: *mut GENERAL_NAME, |
| 24302 |
pub minimum: *mut ASN1_INTEGER, |
| 24303 |
pub maximum: *mut ASN1_INTEGER, |
| 24304 |
} |
| 24305 |
#[test] |
| 24306 |
fn bindgen_test_layout_GENERAL_SUBTREE_st() { |
| 24307 |
const UNINIT: ::std::mem::MaybeUninit<GENERAL_SUBTREE_st> = ::std::mem::MaybeUninit::uninit(); |
| 24308 |
let ptr = UNINIT.as_ptr(); |
| 24309 |
assert_eq!( |
| 24310 |
::std::mem::size_of::<GENERAL_SUBTREE_st>(), |
| 24311 |
24usize, |
| 24312 |
"Size of GENERAL_SUBTREE_st" |
| 24313 |
); |
| 24314 |
assert_eq!( |
| 24315 |
::std::mem::align_of::<GENERAL_SUBTREE_st>(), |
| 24316 |
8usize, |
| 24317 |
"Alignment of GENERAL_SUBTREE_st" |
| 24318 |
); |
| 24319 |
assert_eq!( |
| 24320 |
unsafe { ::std::ptr::addr_of!((*ptr).base) as usize - ptr as usize }, |
| 24321 |
0usize, |
| 24322 |
"Offset of field: GENERAL_SUBTREE_st::base" |
| 24323 |
); |
| 24324 |
assert_eq!( |
| 24325 |
unsafe { ::std::ptr::addr_of!((*ptr).minimum) as usize - ptr as usize }, |
| 24326 |
8usize, |
| 24327 |
"Offset of field: GENERAL_SUBTREE_st::minimum" |
| 24328 |
); |
| 24329 |
assert_eq!( |
| 24330 |
unsafe { ::std::ptr::addr_of!((*ptr).maximum) as usize - ptr as usize }, |
| 24331 |
16usize, |
| 24332 |
"Offset of field: GENERAL_SUBTREE_st::maximum" |
| 24333 |
); |
| 24334 |
} |
| 24335 |
impl Default for GENERAL_SUBTREE_st { |
| 24336 |
fn default() -> Self { |
| 24337 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24338 |
unsafe { |
| 24339 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24340 |
s.assume_init() |
| 24341 |
} |
| 24342 |
} |
| 24343 |
} |
| 24344 |
pub type GENERAL_SUBTREE = GENERAL_SUBTREE_st; |
| 24345 |
#[repr(C)] |
| 24346 |
#[derive(Debug, Copy, Clone)] |
| 24347 |
pub struct stack_st_GENERAL_SUBTREE { |
| 24348 |
_unused: [u8; 0], |
| 24349 |
} |
| 24350 |
pub type sk_GENERAL_SUBTREE_free_func = |
| 24351 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut GENERAL_SUBTREE)>; |
| 24352 |
pub type sk_GENERAL_SUBTREE_copy_func = ::std::option::Option< |
| 24353 |
unsafe extern "C" fn(arg1: *const GENERAL_SUBTREE) -> *mut GENERAL_SUBTREE, |
| 24354 |
>; |
| 24355 |
pub type sk_GENERAL_SUBTREE_cmp_func = ::std::option::Option< |
| 24356 |
unsafe extern "C" fn( |
| 24357 |
arg1: *const *const GENERAL_SUBTREE, |
| 24358 |
arg2: *const *const GENERAL_SUBTREE, |
| 24359 |
) -> ::std::os::raw::c_int, |
| 24360 |
>; |
| 24361 |
pub type sk_GENERAL_SUBTREE_delete_if_func = ::std::option::Option< |
| 24362 |
unsafe extern "C" fn( |
| 24363 |
arg1: *mut GENERAL_SUBTREE, |
| 24364 |
arg2: *mut ::std::os::raw::c_void, |
| 24365 |
) -> ::std::os::raw::c_int, |
| 24366 |
>; |
| 24367 |
#[repr(C)] |
| 24368 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 24369 |
pub struct NAME_CONSTRAINTS_st { |
| 24370 |
pub permittedSubtrees: *mut stack_st_GENERAL_SUBTREE, |
| 24371 |
pub excludedSubtrees: *mut stack_st_GENERAL_SUBTREE, |
| 24372 |
} |
| 24373 |
#[test] |
| 24374 |
fn bindgen_test_layout_NAME_CONSTRAINTS_st() { |
| 24375 |
const UNINIT: ::std::mem::MaybeUninit<NAME_CONSTRAINTS_st> = ::std::mem::MaybeUninit::uninit(); |
| 24376 |
let ptr = UNINIT.as_ptr(); |
| 24377 |
assert_eq!( |
| 24378 |
::std::mem::size_of::<NAME_CONSTRAINTS_st>(), |
| 24379 |
16usize, |
| 24380 |
"Size of NAME_CONSTRAINTS_st" |
| 24381 |
); |
| 24382 |
assert_eq!( |
| 24383 |
::std::mem::align_of::<NAME_CONSTRAINTS_st>(), |
| 24384 |
8usize, |
| 24385 |
"Alignment of NAME_CONSTRAINTS_st" |
| 24386 |
); |
| 24387 |
assert_eq!( |
| 24388 |
unsafe { ::std::ptr::addr_of!((*ptr).permittedSubtrees) as usize - ptr as usize }, |
| 24389 |
0usize, |
| 24390 |
"Offset of field: NAME_CONSTRAINTS_st::permittedSubtrees" |
| 24391 |
); |
| 24392 |
assert_eq!( |
| 24393 |
unsafe { ::std::ptr::addr_of!((*ptr).excludedSubtrees) as usize - ptr as usize }, |
| 24394 |
8usize, |
| 24395 |
"Offset of field: NAME_CONSTRAINTS_st::excludedSubtrees" |
| 24396 |
); |
| 24397 |
} |
| 24398 |
impl Default for NAME_CONSTRAINTS_st { |
| 24399 |
fn default() -> Self { |
| 24400 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24401 |
unsafe { |
| 24402 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24403 |
s.assume_init() |
| 24404 |
} |
| 24405 |
} |
| 24406 |
} |
| 24407 |
#[repr(C)] |
| 24408 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 24409 |
pub struct POLICY_CONSTRAINTS_st { |
| 24410 |
pub requireExplicitPolicy: *mut ASN1_INTEGER, |
| 24411 |
pub inhibitPolicyMapping: *mut ASN1_INTEGER, |
| 24412 |
} |
| 24413 |
#[test] |
| 24414 |
fn bindgen_test_layout_POLICY_CONSTRAINTS_st() { |
| 24415 |
const UNINIT: ::std::mem::MaybeUninit<POLICY_CONSTRAINTS_st> = |
| 24416 |
::std::mem::MaybeUninit::uninit(); |
| 24417 |
let ptr = UNINIT.as_ptr(); |
| 24418 |
assert_eq!( |
| 24419 |
::std::mem::size_of::<POLICY_CONSTRAINTS_st>(), |
| 24420 |
16usize, |
| 24421 |
"Size of POLICY_CONSTRAINTS_st" |
| 24422 |
); |
| 24423 |
assert_eq!( |
| 24424 |
::std::mem::align_of::<POLICY_CONSTRAINTS_st>(), |
| 24425 |
8usize, |
| 24426 |
"Alignment of POLICY_CONSTRAINTS_st" |
| 24427 |
); |
| 24428 |
assert_eq!( |
| 24429 |
unsafe { ::std::ptr::addr_of!((*ptr).requireExplicitPolicy) as usize - ptr as usize }, |
| 24430 |
0usize, |
| 24431 |
"Offset of field: POLICY_CONSTRAINTS_st::requireExplicitPolicy" |
| 24432 |
); |
| 24433 |
assert_eq!( |
| 24434 |
unsafe { ::std::ptr::addr_of!((*ptr).inhibitPolicyMapping) as usize - ptr as usize }, |
| 24435 |
8usize, |
| 24436 |
"Offset of field: POLICY_CONSTRAINTS_st::inhibitPolicyMapping" |
| 24437 |
); |
| 24438 |
} |
| 24439 |
impl Default for POLICY_CONSTRAINTS_st { |
| 24440 |
fn default() -> Self { |
| 24441 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24442 |
unsafe { |
| 24443 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24444 |
s.assume_init() |
| 24445 |
} |
| 24446 |
} |
| 24447 |
} |
| 24448 |
pub type POLICY_CONSTRAINTS = POLICY_CONSTRAINTS_st; |
| 24449 |
#[repr(C)] |
| 24450 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 24451 |
pub struct ISSUING_DIST_POINT_st { |
| 24452 |
pub distpoint: *mut DIST_POINT_NAME, |
| 24453 |
pub onlyuser: ASN1_BOOLEAN, |
| 24454 |
pub onlyCA: ASN1_BOOLEAN, |
| 24455 |
pub onlysomereasons: *mut ASN1_BIT_STRING, |
| 24456 |
pub indirectCRL: ASN1_BOOLEAN, |
| 24457 |
pub onlyattr: ASN1_BOOLEAN, |
| 24458 |
} |
| 24459 |
#[test] |
| 24460 |
fn bindgen_test_layout_ISSUING_DIST_POINT_st() { |
| 24461 |
const UNINIT: ::std::mem::MaybeUninit<ISSUING_DIST_POINT_st> = |
| 24462 |
::std::mem::MaybeUninit::uninit(); |
| 24463 |
let ptr = UNINIT.as_ptr(); |
| 24464 |
assert_eq!( |
| 24465 |
::std::mem::size_of::<ISSUING_DIST_POINT_st>(), |
| 24466 |
32usize, |
| 24467 |
"Size of ISSUING_DIST_POINT_st" |
| 24468 |
); |
| 24469 |
assert_eq!( |
| 24470 |
::std::mem::align_of::<ISSUING_DIST_POINT_st>(), |
| 24471 |
8usize, |
| 24472 |
"Alignment of ISSUING_DIST_POINT_st" |
| 24473 |
); |
| 24474 |
assert_eq!( |
| 24475 |
unsafe { ::std::ptr::addr_of!((*ptr).distpoint) as usize - ptr as usize }, |
| 24476 |
0usize, |
| 24477 |
"Offset of field: ISSUING_DIST_POINT_st::distpoint" |
| 24478 |
); |
| 24479 |
assert_eq!( |
| 24480 |
unsafe { ::std::ptr::addr_of!((*ptr).onlyuser) as usize - ptr as usize }, |
| 24481 |
8usize, |
| 24482 |
"Offset of field: ISSUING_DIST_POINT_st::onlyuser" |
| 24483 |
); |
| 24484 |
assert_eq!( |
| 24485 |
unsafe { ::std::ptr::addr_of!((*ptr).onlyCA) as usize - ptr as usize }, |
| 24486 |
12usize, |
| 24487 |
"Offset of field: ISSUING_DIST_POINT_st::onlyCA" |
| 24488 |
); |
| 24489 |
assert_eq!( |
| 24490 |
unsafe { ::std::ptr::addr_of!((*ptr).onlysomereasons) as usize - ptr as usize }, |
| 24491 |
16usize, |
| 24492 |
"Offset of field: ISSUING_DIST_POINT_st::onlysomereasons" |
| 24493 |
); |
| 24494 |
assert_eq!( |
| 24495 |
unsafe { ::std::ptr::addr_of!((*ptr).indirectCRL) as usize - ptr as usize }, |
| 24496 |
24usize, |
| 24497 |
"Offset of field: ISSUING_DIST_POINT_st::indirectCRL" |
| 24498 |
); |
| 24499 |
assert_eq!( |
| 24500 |
unsafe { ::std::ptr::addr_of!((*ptr).onlyattr) as usize - ptr as usize }, |
| 24501 |
28usize, |
| 24502 |
"Offset of field: ISSUING_DIST_POINT_st::onlyattr" |
| 24503 |
); |
| 24504 |
} |
| 24505 |
impl Default for ISSUING_DIST_POINT_st { |
| 24506 |
fn default() -> Self { |
| 24507 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 24508 |
unsafe { |
| 24509 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 24510 |
s.assume_init() |
| 24511 |
} |
| 24512 |
} |
| 24513 |
} |
| 24514 |
extern "C" { |
| 24515 |
#[link_name = "\u{1}aws_lc_0_41_0_BASIC_CONSTRAINTS_it"] |
| 24516 |
pub static BASIC_CONSTRAINTS_it: ASN1_ITEM; |
| 24517 |
} |
| 24518 |
extern "C" { |
| 24519 |
#[link_name = "\u{1}aws_lc_0_41_0_BASIC_CONSTRAINTS_new"] |
| 24520 |
pub fn BASIC_CONSTRAINTS_new() -> *mut BASIC_CONSTRAINTS; |
| 24521 |
} |
| 24522 |
extern "C" { |
| 24523 |
#[link_name = "\u{1}aws_lc_0_41_0_BASIC_CONSTRAINTS_free"] |
| 24524 |
pub fn BASIC_CONSTRAINTS_free(bcons: *mut BASIC_CONSTRAINTS); |
| 24525 |
} |
| 24526 |
extern "C" { |
| 24527 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_BASIC_CONSTRAINTS"] |
| 24528 |
pub fn d2i_BASIC_CONSTRAINTS( |
| 24529 |
out: *mut *mut BASIC_CONSTRAINTS, |
| 24530 |
inp: *mut *const u8, |
| 24531 |
len: ::std::os::raw::c_long, |
| 24532 |
) -> *mut BASIC_CONSTRAINTS; |
| 24533 |
} |
| 24534 |
extern "C" { |
| 24535 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_BASIC_CONSTRAINTS"] |
| 24536 |
pub fn i2d_BASIC_CONSTRAINTS( |
| 24537 |
bcons: *const BASIC_CONSTRAINTS, |
| 24538 |
outp: *mut *mut u8, |
| 24539 |
) -> ::std::os::raw::c_int; |
| 24540 |
} |
| 24541 |
extern "C" { |
| 24542 |
#[link_name = "\u{1}aws_lc_0_41_0_AUTHORITY_KEYID_it"] |
| 24543 |
pub static AUTHORITY_KEYID_it: ASN1_ITEM; |
| 24544 |
} |
| 24545 |
extern "C" { |
| 24546 |
#[link_name = "\u{1}aws_lc_0_41_0_AUTHORITY_KEYID_new"] |
| 24547 |
pub fn AUTHORITY_KEYID_new() -> *mut AUTHORITY_KEYID; |
| 24548 |
} |
| 24549 |
extern "C" { |
| 24550 |
#[link_name = "\u{1}aws_lc_0_41_0_AUTHORITY_KEYID_free"] |
| 24551 |
pub fn AUTHORITY_KEYID_free(akid: *mut AUTHORITY_KEYID); |
| 24552 |
} |
| 24553 |
extern "C" { |
| 24554 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_AUTHORITY_KEYID"] |
| 24555 |
pub fn d2i_AUTHORITY_KEYID( |
| 24556 |
out: *mut *mut AUTHORITY_KEYID, |
| 24557 |
inp: *mut *const u8, |
| 24558 |
len: ::std::os::raw::c_long, |
| 24559 |
) -> *mut AUTHORITY_KEYID; |
| 24560 |
} |
| 24561 |
extern "C" { |
| 24562 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_AUTHORITY_KEYID"] |
| 24563 |
pub fn i2d_AUTHORITY_KEYID( |
| 24564 |
akid: *mut AUTHORITY_KEYID, |
| 24565 |
outp: *mut *mut u8, |
| 24566 |
) -> ::std::os::raw::c_int; |
| 24567 |
} |
| 24568 |
extern "C" { |
| 24569 |
#[link_name = "\u{1}aws_lc_0_41_0_EXTENDED_KEY_USAGE_it"] |
| 24570 |
pub static EXTENDED_KEY_USAGE_it: ASN1_ITEM; |
| 24571 |
} |
| 24572 |
extern "C" { |
| 24573 |
#[link_name = "\u{1}aws_lc_0_41_0_EXTENDED_KEY_USAGE_new"] |
| 24574 |
pub fn EXTENDED_KEY_USAGE_new() -> *mut EXTENDED_KEY_USAGE; |
| 24575 |
} |
| 24576 |
extern "C" { |
| 24577 |
#[link_name = "\u{1}aws_lc_0_41_0_EXTENDED_KEY_USAGE_free"] |
| 24578 |
pub fn EXTENDED_KEY_USAGE_free(eku: *mut EXTENDED_KEY_USAGE); |
| 24579 |
} |
| 24580 |
extern "C" { |
| 24581 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_EXTENDED_KEY_USAGE"] |
| 24582 |
pub fn d2i_EXTENDED_KEY_USAGE( |
| 24583 |
out: *mut *mut EXTENDED_KEY_USAGE, |
| 24584 |
inp: *mut *const u8, |
| 24585 |
len: ::std::os::raw::c_long, |
| 24586 |
) -> *mut EXTENDED_KEY_USAGE; |
| 24587 |
} |
| 24588 |
extern "C" { |
| 24589 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_EXTENDED_KEY_USAGE"] |
| 24590 |
pub fn i2d_EXTENDED_KEY_USAGE( |
| 24591 |
eku: *const EXTENDED_KEY_USAGE, |
| 24592 |
outp: *mut *mut u8, |
| 24593 |
) -> ::std::os::raw::c_int; |
| 24594 |
} |
| 24595 |
extern "C" { |
| 24596 |
#[link_name = "\u{1}aws_lc_0_41_0_CERTIFICATEPOLICIES_it"] |
| 24597 |
pub static CERTIFICATEPOLICIES_it: ASN1_ITEM; |
| 24598 |
} |
| 24599 |
extern "C" { |
| 24600 |
#[link_name = "\u{1}aws_lc_0_41_0_CERTIFICATEPOLICIES_new"] |
| 24601 |
pub fn CERTIFICATEPOLICIES_new() -> *mut CERTIFICATEPOLICIES; |
| 24602 |
} |
| 24603 |
extern "C" { |
| 24604 |
#[link_name = "\u{1}aws_lc_0_41_0_CERTIFICATEPOLICIES_free"] |
| 24605 |
pub fn CERTIFICATEPOLICIES_free(policies: *mut CERTIFICATEPOLICIES); |
| 24606 |
} |
| 24607 |
extern "C" { |
| 24608 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_CERTIFICATEPOLICIES"] |
| 24609 |
pub fn d2i_CERTIFICATEPOLICIES( |
| 24610 |
out: *mut *mut CERTIFICATEPOLICIES, |
| 24611 |
inp: *mut *const u8, |
| 24612 |
len: ::std::os::raw::c_long, |
| 24613 |
) -> *mut CERTIFICATEPOLICIES; |
| 24614 |
} |
| 24615 |
extern "C" { |
| 24616 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_CERTIFICATEPOLICIES"] |
| 24617 |
pub fn i2d_CERTIFICATEPOLICIES( |
| 24618 |
policies: *const CERTIFICATEPOLICIES, |
| 24619 |
outp: *mut *mut u8, |
| 24620 |
) -> ::std::os::raw::c_int; |
| 24621 |
} |
| 24622 |
extern "C" { |
| 24623 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICYINFO_new"] |
| 24624 |
pub fn POLICYINFO_new() -> *mut POLICYINFO; |
| 24625 |
} |
| 24626 |
extern "C" { |
| 24627 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICYINFO_free"] |
| 24628 |
pub fn POLICYINFO_free(info: *mut POLICYINFO); |
| 24629 |
} |
| 24630 |
extern "C" { |
| 24631 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICYQUALINFO_new"] |
| 24632 |
pub fn POLICYQUALINFO_new() -> *mut POLICYQUALINFO; |
| 24633 |
} |
| 24634 |
extern "C" { |
| 24635 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICYQUALINFO_free"] |
| 24636 |
pub fn POLICYQUALINFO_free(info: *mut POLICYQUALINFO); |
| 24637 |
} |
| 24638 |
extern "C" { |
| 24639 |
#[link_name = "\u{1}aws_lc_0_41_0_USERNOTICE_new"] |
| 24640 |
pub fn USERNOTICE_new() -> *mut USERNOTICE; |
| 24641 |
} |
| 24642 |
extern "C" { |
| 24643 |
#[link_name = "\u{1}aws_lc_0_41_0_USERNOTICE_free"] |
| 24644 |
pub fn USERNOTICE_free(notice: *mut USERNOTICE); |
| 24645 |
} |
| 24646 |
extern "C" { |
| 24647 |
#[link_name = "\u{1}aws_lc_0_41_0_NOTICEREF_new"] |
| 24648 |
pub fn NOTICEREF_new() -> *mut NOTICEREF; |
| 24649 |
} |
| 24650 |
extern "C" { |
| 24651 |
#[link_name = "\u{1}aws_lc_0_41_0_NOTICEREF_free"] |
| 24652 |
pub fn NOTICEREF_free(ref_: *mut NOTICEREF); |
| 24653 |
} |
| 24654 |
extern "C" { |
| 24655 |
#[link_name = "\u{1}aws_lc_0_41_0_CRL_DIST_POINTS_it"] |
| 24656 |
pub static CRL_DIST_POINTS_it: ASN1_ITEM; |
| 24657 |
} |
| 24658 |
extern "C" { |
| 24659 |
#[link_name = "\u{1}aws_lc_0_41_0_CRL_DIST_POINTS_new"] |
| 24660 |
pub fn CRL_DIST_POINTS_new() -> *mut CRL_DIST_POINTS; |
| 24661 |
} |
| 24662 |
extern "C" { |
| 24663 |
#[link_name = "\u{1}aws_lc_0_41_0_CRL_DIST_POINTS_free"] |
| 24664 |
pub fn CRL_DIST_POINTS_free(crldp: *mut CRL_DIST_POINTS); |
| 24665 |
} |
| 24666 |
extern "C" { |
| 24667 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_CRL_DIST_POINTS"] |
| 24668 |
pub fn d2i_CRL_DIST_POINTS( |
| 24669 |
out: *mut *mut CRL_DIST_POINTS, |
| 24670 |
inp: *mut *const u8, |
| 24671 |
len: ::std::os::raw::c_long, |
| 24672 |
) -> *mut CRL_DIST_POINTS; |
| 24673 |
} |
| 24674 |
extern "C" { |
| 24675 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_CRL_DIST_POINTS"] |
| 24676 |
pub fn i2d_CRL_DIST_POINTS( |
| 24677 |
crldp: *mut CRL_DIST_POINTS, |
| 24678 |
outp: *mut *mut u8, |
| 24679 |
) -> ::std::os::raw::c_int; |
| 24680 |
} |
| 24681 |
extern "C" { |
| 24682 |
#[link_name = "\u{1}aws_lc_0_41_0_DIST_POINT_new"] |
| 24683 |
pub fn DIST_POINT_new() -> *mut DIST_POINT; |
| 24684 |
} |
| 24685 |
extern "C" { |
| 24686 |
#[link_name = "\u{1}aws_lc_0_41_0_DIST_POINT_free"] |
| 24687 |
pub fn DIST_POINT_free(dp: *mut DIST_POINT); |
| 24688 |
} |
| 24689 |
extern "C" { |
| 24690 |
#[link_name = "\u{1}aws_lc_0_41_0_DIST_POINT_NAME_new"] |
| 24691 |
pub fn DIST_POINT_NAME_new() -> *mut DIST_POINT_NAME; |
| 24692 |
} |
| 24693 |
extern "C" { |
| 24694 |
#[link_name = "\u{1}aws_lc_0_41_0_DIST_POINT_NAME_free"] |
| 24695 |
pub fn DIST_POINT_NAME_free(name: *mut DIST_POINT_NAME); |
| 24696 |
} |
| 24697 |
extern "C" { |
| 24698 |
#[link_name = "\u{1}aws_lc_0_41_0_ISSUING_DIST_POINT_it"] |
| 24699 |
pub static ISSUING_DIST_POINT_it: ASN1_ITEM; |
| 24700 |
} |
| 24701 |
extern "C" { |
| 24702 |
#[link_name = "\u{1}aws_lc_0_41_0_ISSUING_DIST_POINT_new"] |
| 24703 |
pub fn ISSUING_DIST_POINT_new() -> *mut ISSUING_DIST_POINT; |
| 24704 |
} |
| 24705 |
extern "C" { |
| 24706 |
#[link_name = "\u{1}aws_lc_0_41_0_ISSUING_DIST_POINT_free"] |
| 24707 |
pub fn ISSUING_DIST_POINT_free(idp: *mut ISSUING_DIST_POINT); |
| 24708 |
} |
| 24709 |
extern "C" { |
| 24710 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_ISSUING_DIST_POINT"] |
| 24711 |
pub fn d2i_ISSUING_DIST_POINT( |
| 24712 |
out: *mut *mut ISSUING_DIST_POINT, |
| 24713 |
inp: *mut *const u8, |
| 24714 |
len: ::std::os::raw::c_long, |
| 24715 |
) -> *mut ISSUING_DIST_POINT; |
| 24716 |
} |
| 24717 |
extern "C" { |
| 24718 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_ISSUING_DIST_POINT"] |
| 24719 |
pub fn i2d_ISSUING_DIST_POINT( |
| 24720 |
idp: *mut ISSUING_DIST_POINT, |
| 24721 |
outp: *mut *mut u8, |
| 24722 |
) -> ::std::os::raw::c_int; |
| 24723 |
} |
| 24724 |
extern "C" { |
| 24725 |
#[link_name = "\u{1}aws_lc_0_41_0_ACCESS_DESCRIPTION_new"] |
| 24726 |
pub fn ACCESS_DESCRIPTION_new() -> *mut ACCESS_DESCRIPTION; |
| 24727 |
} |
| 24728 |
extern "C" { |
| 24729 |
#[link_name = "\u{1}aws_lc_0_41_0_ACCESS_DESCRIPTION_free"] |
| 24730 |
pub fn ACCESS_DESCRIPTION_free(desc: *mut ACCESS_DESCRIPTION); |
| 24731 |
} |
| 24732 |
extern "C" { |
| 24733 |
#[link_name = "\u{1}aws_lc_0_41_0_AUTHORITY_INFO_ACCESS_it"] |
| 24734 |
pub static AUTHORITY_INFO_ACCESS_it: ASN1_ITEM; |
| 24735 |
} |
| 24736 |
extern "C" { |
| 24737 |
#[link_name = "\u{1}aws_lc_0_41_0_AUTHORITY_INFO_ACCESS_new"] |
| 24738 |
pub fn AUTHORITY_INFO_ACCESS_new() -> *mut AUTHORITY_INFO_ACCESS; |
| 24739 |
} |
| 24740 |
extern "C" { |
| 24741 |
#[link_name = "\u{1}aws_lc_0_41_0_AUTHORITY_INFO_ACCESS_free"] |
| 24742 |
pub fn AUTHORITY_INFO_ACCESS_free(aia: *mut AUTHORITY_INFO_ACCESS); |
| 24743 |
} |
| 24744 |
extern "C" { |
| 24745 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_AUTHORITY_INFO_ACCESS"] |
| 24746 |
pub fn d2i_AUTHORITY_INFO_ACCESS( |
| 24747 |
out: *mut *mut AUTHORITY_INFO_ACCESS, |
| 24748 |
inp: *mut *const u8, |
| 24749 |
len: ::std::os::raw::c_long, |
| 24750 |
) -> *mut AUTHORITY_INFO_ACCESS; |
| 24751 |
} |
| 24752 |
extern "C" { |
| 24753 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_AUTHORITY_INFO_ACCESS"] |
| 24754 |
pub fn i2d_AUTHORITY_INFO_ACCESS( |
| 24755 |
aia: *mut AUTHORITY_INFO_ACCESS, |
| 24756 |
outp: *mut *mut u8, |
| 24757 |
) -> ::std::os::raw::c_int; |
| 24758 |
} |
| 24759 |
extern "C" { |
| 24760 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICY_MAPPING_new"] |
| 24761 |
pub fn POLICY_MAPPING_new() -> *mut POLICY_MAPPING; |
| 24762 |
} |
| 24763 |
extern "C" { |
| 24764 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICY_MAPPING_free"] |
| 24765 |
pub fn POLICY_MAPPING_free(mapping: *mut POLICY_MAPPING); |
| 24766 |
} |
| 24767 |
extern "C" { |
| 24768 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICY_MAPPINGS_it"] |
| 24769 |
pub static POLICY_MAPPINGS_it: ASN1_ITEM; |
| 24770 |
} |
| 24771 |
extern "C" { |
| 24772 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_SUBTREE_new"] |
| 24773 |
pub fn GENERAL_SUBTREE_new() -> *mut GENERAL_SUBTREE; |
| 24774 |
} |
| 24775 |
extern "C" { |
| 24776 |
#[link_name = "\u{1}aws_lc_0_41_0_GENERAL_SUBTREE_free"] |
| 24777 |
pub fn GENERAL_SUBTREE_free(subtree: *mut GENERAL_SUBTREE); |
| 24778 |
} |
| 24779 |
extern "C" { |
| 24780 |
#[link_name = "\u{1}aws_lc_0_41_0_NAME_CONSTRAINTS_it"] |
| 24781 |
pub static NAME_CONSTRAINTS_it: ASN1_ITEM; |
| 24782 |
} |
| 24783 |
extern "C" { |
| 24784 |
#[link_name = "\u{1}aws_lc_0_41_0_NAME_CONSTRAINTS_new"] |
| 24785 |
pub fn NAME_CONSTRAINTS_new() -> *mut NAME_CONSTRAINTS; |
| 24786 |
} |
| 24787 |
extern "C" { |
| 24788 |
#[link_name = "\u{1}aws_lc_0_41_0_NAME_CONSTRAINTS_free"] |
| 24789 |
pub fn NAME_CONSTRAINTS_free(ncons: *mut NAME_CONSTRAINTS); |
| 24790 |
} |
| 24791 |
extern "C" { |
| 24792 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICY_CONSTRAINTS_new"] |
| 24793 |
pub fn POLICY_CONSTRAINTS_new() -> *mut POLICY_CONSTRAINTS; |
| 24794 |
} |
| 24795 |
extern "C" { |
| 24796 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICY_CONSTRAINTS_free"] |
| 24797 |
pub fn POLICY_CONSTRAINTS_free(pcons: *mut POLICY_CONSTRAINTS); |
| 24798 |
} |
| 24799 |
extern "C" { |
| 24800 |
#[link_name = "\u{1}aws_lc_0_41_0_POLICY_CONSTRAINTS_it"] |
| 24801 |
pub static POLICY_CONSTRAINTS_it: ASN1_ITEM; |
| 24802 |
} |
| 24803 |
extern "C" { |
| 24804 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_set"] |
| 24805 |
pub fn X509_PURPOSE_set( |
| 24806 |
p: *mut ::std::os::raw::c_int, |
| 24807 |
purpose: ::std::os::raw::c_int, |
| 24808 |
) -> ::std::os::raw::c_int; |
| 24809 |
} |
| 24810 |
extern "C" { |
| 24811 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_get_count"] |
| 24812 |
pub fn X509_PURPOSE_get_count() -> ::std::os::raw::c_int; |
| 24813 |
} |
| 24814 |
extern "C" { |
| 24815 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_get_by_id"] |
| 24816 |
pub fn X509_PURPOSE_get_by_id(id: ::std::os::raw::c_int) -> ::std::os::raw::c_int; |
| 24817 |
} |
| 24818 |
extern "C" { |
| 24819 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_get0_name"] |
| 24820 |
pub fn X509_PURPOSE_get0_name(xp: *const X509_PURPOSE) -> *mut ::std::os::raw::c_char; |
| 24821 |
} |
| 24822 |
extern "C" { |
| 24823 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_get0_sname"] |
| 24824 |
pub fn X509_PURPOSE_get0_sname(xp: *const X509_PURPOSE) -> *mut ::std::os::raw::c_char; |
| 24825 |
} |
| 24826 |
extern "C" { |
| 24827 |
#[link_name = "\u{1}aws_lc_0_41_0_X509_PURPOSE_get_trust"] |
| 24828 |
pub fn X509_PURPOSE_get_trust(xp: *const X509_PURPOSE) -> ::std::os::raw::c_int; |
| 24829 |
} |
| 24830 |
#[repr(C)] |
| 24831 |
#[derive(Debug, Copy, Clone)] |
| 24832 |
pub struct ocsp_cert_id_st { |
| 24833 |
_unused: [u8; 0], |
| 24834 |
} |
| 24835 |
pub type OCSP_CERTID = ocsp_cert_id_st; |
| 24836 |
#[repr(C)] |
| 24837 |
#[derive(Debug, Copy, Clone)] |
| 24838 |
pub struct ocsp_one_request_st { |
| 24839 |
_unused: [u8; 0], |
| 24840 |
} |
| 24841 |
pub type OCSP_ONEREQ = ocsp_one_request_st; |
| 24842 |
#[repr(C)] |
| 24843 |
#[derive(Debug, Copy, Clone)] |
| 24844 |
pub struct ocsp_req_info_st { |
| 24845 |
_unused: [u8; 0], |
| 24846 |
} |
| 24847 |
pub type OCSP_REQINFO = ocsp_req_info_st; |
| 24848 |
#[repr(C)] |
| 24849 |
#[derive(Debug, Copy, Clone)] |
| 24850 |
pub struct ocsp_signature_st { |
| 24851 |
_unused: [u8; 0], |
| 24852 |
} |
| 24853 |
pub type OCSP_SIGNATURE = ocsp_signature_st; |
| 24854 |
#[repr(C)] |
| 24855 |
#[derive(Debug, Copy, Clone)] |
| 24856 |
pub struct ocsp_request_st { |
| 24857 |
_unused: [u8; 0], |
| 24858 |
} |
| 24859 |
pub type OCSP_REQUEST = ocsp_request_st; |
| 24860 |
#[repr(C)] |
| 24861 |
#[derive(Debug, Copy, Clone)] |
| 24862 |
pub struct ocsp_resp_bytes_st { |
| 24863 |
_unused: [u8; 0], |
| 24864 |
} |
| 24865 |
pub type OCSP_RESPBYTES = ocsp_resp_bytes_st; |
| 24866 |
#[repr(C)] |
| 24867 |
#[derive(Debug, Copy, Clone)] |
| 24868 |
pub struct ocsp_revoked_info_st { |
| 24869 |
_unused: [u8; 0], |
| 24870 |
} |
| 24871 |
pub type OCSP_REVOKEDINFO = ocsp_revoked_info_st; |
| 24872 |
#[repr(C)] |
| 24873 |
#[derive(Debug, Copy, Clone)] |
| 24874 |
pub struct ocsp_cert_status_st { |
| 24875 |
_unused: [u8; 0], |
| 24876 |
} |
| 24877 |
pub type OCSP_CERTSTATUS = ocsp_cert_status_st; |
| 24878 |
#[repr(C)] |
| 24879 |
#[derive(Debug, Copy, Clone)] |
| 24880 |
pub struct ocsp_single_response_st { |
| 24881 |
_unused: [u8; 0], |
| 24882 |
} |
| 24883 |
pub type OCSP_SINGLERESP = ocsp_single_response_st; |
| 24884 |
#[repr(C)] |
| 24885 |
#[derive(Debug, Copy, Clone)] |
| 24886 |
pub struct ocsp_response_data_st { |
| 24887 |
_unused: [u8; 0], |
| 24888 |
} |
| 24889 |
pub type OCSP_RESPDATA = ocsp_response_data_st; |
| 24890 |
#[repr(C)] |
| 24891 |
#[derive(Debug, Copy, Clone)] |
| 24892 |
pub struct ocsp_response_st { |
| 24893 |
_unused: [u8; 0], |
| 24894 |
} |
| 24895 |
pub type OCSP_RESPONSE = ocsp_response_st; |
| 24896 |
#[repr(C)] |
| 24897 |
#[derive(Debug, Copy, Clone)] |
| 24898 |
pub struct ocsp_responder_id_st { |
| 24899 |
_unused: [u8; 0], |
| 24900 |
} |
| 24901 |
pub type OCSP_RESPID = ocsp_responder_id_st; |
| 24902 |
#[repr(C)] |
| 24903 |
#[derive(Debug, Copy, Clone)] |
| 24904 |
pub struct ocsp_basic_response_st { |
| 24905 |
_unused: [u8; 0], |
| 24906 |
} |
| 24907 |
pub type OCSP_BASICRESP = ocsp_basic_response_st; |
| 24908 |
#[repr(C)] |
| 24909 |
#[derive(Debug, Copy, Clone)] |
| 24910 |
pub struct stack_st_OCSP_CERTID { |
| 24911 |
_unused: [u8; 0], |
| 24912 |
} |
| 24913 |
pub type sk_OCSP_CERTID_free_func = |
| 24914 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut OCSP_CERTID)>; |
| 24915 |
pub type sk_OCSP_CERTID_copy_func = |
| 24916 |
::std::option::Option<unsafe extern "C" fn(arg1: *const OCSP_CERTID) -> *mut OCSP_CERTID>; |
| 24917 |
pub type sk_OCSP_CERTID_cmp_func = ::std::option::Option< |
| 24918 |
unsafe extern "C" fn( |
| 24919 |
arg1: *const *const OCSP_CERTID, |
| 24920 |
arg2: *const *const OCSP_CERTID, |
| 24921 |
) -> ::std::os::raw::c_int, |
| 24922 |
>; |
| 24923 |
pub type sk_OCSP_CERTID_delete_if_func = ::std::option::Option< |
| 24924 |
unsafe extern "C" fn( |
| 24925 |
arg1: *mut OCSP_CERTID, |
| 24926 |
arg2: *mut ::std::os::raw::c_void, |
| 24927 |
) -> ::std::os::raw::c_int, |
| 24928 |
>; |
| 24929 |
#[repr(C)] |
| 24930 |
#[derive(Debug, Copy, Clone)] |
| 24931 |
pub struct stack_st_OCSP_ONEREQ { |
| 24932 |
_unused: [u8; 0], |
| 24933 |
} |
| 24934 |
pub type sk_OCSP_ONEREQ_free_func = |
| 24935 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut OCSP_ONEREQ)>; |
| 24936 |
pub type sk_OCSP_ONEREQ_copy_func = |
| 24937 |
::std::option::Option<unsafe extern "C" fn(arg1: *const OCSP_ONEREQ) -> *mut OCSP_ONEREQ>; |
| 24938 |
pub type sk_OCSP_ONEREQ_cmp_func = ::std::option::Option< |
| 24939 |
unsafe extern "C" fn( |
| 24940 |
arg1: *const *const OCSP_ONEREQ, |
| 24941 |
arg2: *const *const OCSP_ONEREQ, |
| 24942 |
) -> ::std::os::raw::c_int, |
| 24943 |
>; |
| 24944 |
pub type sk_OCSP_ONEREQ_delete_if_func = ::std::option::Option< |
| 24945 |
unsafe extern "C" fn( |
| 24946 |
arg1: *mut OCSP_ONEREQ, |
| 24947 |
arg2: *mut ::std::os::raw::c_void, |
| 24948 |
) -> ::std::os::raw::c_int, |
| 24949 |
>; |
| 24950 |
#[repr(C)] |
| 24951 |
#[derive(Debug, Copy, Clone)] |
| 24952 |
pub struct stack_st_OCSP_RESPID { |
| 24953 |
_unused: [u8; 0], |
| 24954 |
} |
| 24955 |
pub type sk_OCSP_RESPID_free_func = |
| 24956 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut OCSP_RESPID)>; |
| 24957 |
pub type sk_OCSP_RESPID_copy_func = |
| 24958 |
::std::option::Option<unsafe extern "C" fn(arg1: *const OCSP_RESPID) -> *mut OCSP_RESPID>; |
| 24959 |
pub type sk_OCSP_RESPID_cmp_func = ::std::option::Option< |
| 24960 |
unsafe extern "C" fn( |
| 24961 |
arg1: *const *const OCSP_RESPID, |
| 24962 |
arg2: *const *const OCSP_RESPID, |
| 24963 |
) -> ::std::os::raw::c_int, |
| 24964 |
>; |
| 24965 |
pub type sk_OCSP_RESPID_delete_if_func = ::std::option::Option< |
| 24966 |
unsafe extern "C" fn( |
| 24967 |
arg1: *mut OCSP_RESPID, |
| 24968 |
arg2: *mut ::std::os::raw::c_void, |
| 24969 |
) -> ::std::os::raw::c_int, |
| 24970 |
>; |
| 24971 |
#[repr(C)] |
| 24972 |
#[derive(Debug, Copy, Clone)] |
| 24973 |
pub struct stack_st_OCSP_SINGLERESP { |
| 24974 |
_unused: [u8; 0], |
| 24975 |
} |
| 24976 |
pub type sk_OCSP_SINGLERESP_free_func = |
| 24977 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut OCSP_SINGLERESP)>; |
| 24978 |
pub type sk_OCSP_SINGLERESP_copy_func = ::std::option::Option< |
| 24979 |
unsafe extern "C" fn(arg1: *const OCSP_SINGLERESP) -> *mut OCSP_SINGLERESP, |
| 24980 |
>; |
| 24981 |
pub type sk_OCSP_SINGLERESP_cmp_func = ::std::option::Option< |
| 24982 |
unsafe extern "C" fn( |
| 24983 |
arg1: *const *const OCSP_SINGLERESP, |
| 24984 |
arg2: *const *const OCSP_SINGLERESP, |
| 24985 |
) -> ::std::os::raw::c_int, |
| 24986 |
>; |
| 24987 |
pub type sk_OCSP_SINGLERESP_delete_if_func = ::std::option::Option< |
| 24988 |
unsafe extern "C" fn( |
| 24989 |
arg1: *mut OCSP_SINGLERESP, |
| 24990 |
arg2: *mut ::std::os::raw::c_void, |
| 24991 |
) -> ::std::os::raw::c_int, |
| 24992 |
>; |
| 24993 |
extern "C" { |
| 24994 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_BASICRESP_new"] |
| 24995 |
pub fn OCSP_BASICRESP_new() -> *mut OCSP_BASICRESP; |
| 24996 |
} |
| 24997 |
extern "C" { |
| 24998 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_BASICRESP_free"] |
| 24999 |
pub fn OCSP_BASICRESP_free(a: *mut OCSP_BASICRESP); |
| 25000 |
} |
| 25001 |
extern "C" { |
| 25002 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_OCSP_BASICRESP"] |
| 25003 |
pub fn d2i_OCSP_BASICRESP( |
| 25004 |
a: *mut *mut OCSP_BASICRESP, |
| 25005 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 25006 |
len: ::std::os::raw::c_long, |
| 25007 |
) -> *mut OCSP_BASICRESP; |
| 25008 |
} |
| 25009 |
extern "C" { |
| 25010 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_OCSP_BASICRESP"] |
| 25011 |
pub fn i2d_OCSP_BASICRESP( |
| 25012 |
a: *mut OCSP_BASICRESP, |
| 25013 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 25014 |
) -> ::std::os::raw::c_int; |
| 25015 |
} |
| 25016 |
extern "C" { |
| 25017 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_BASICRESP_it"] |
| 25018 |
pub static OCSP_BASICRESP_it: ASN1_ITEM; |
| 25019 |
} |
| 25020 |
extern "C" { |
| 25021 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_RESPONSE_new"] |
| 25022 |
pub fn OCSP_RESPONSE_new() -> *mut OCSP_RESPONSE; |
| 25023 |
} |
| 25024 |
extern "C" { |
| 25025 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_RESPONSE_free"] |
| 25026 |
pub fn OCSP_RESPONSE_free(a: *mut OCSP_RESPONSE); |
| 25027 |
} |
| 25028 |
extern "C" { |
| 25029 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_OCSP_RESPONSE"] |
| 25030 |
pub fn d2i_OCSP_RESPONSE( |
| 25031 |
a: *mut *mut OCSP_RESPONSE, |
| 25032 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 25033 |
len: ::std::os::raw::c_long, |
| 25034 |
) -> *mut OCSP_RESPONSE; |
| 25035 |
} |
| 25036 |
extern "C" { |
| 25037 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_OCSP_RESPONSE"] |
| 25038 |
pub fn i2d_OCSP_RESPONSE( |
| 25039 |
a: *mut OCSP_RESPONSE, |
| 25040 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 25041 |
) -> ::std::os::raw::c_int; |
| 25042 |
} |
| 25043 |
extern "C" { |
| 25044 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_RESPONSE_it"] |
| 25045 |
pub static OCSP_RESPONSE_it: ASN1_ITEM; |
| 25046 |
} |
| 25047 |
extern "C" { |
| 25048 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_CERTID_new"] |
| 25049 |
pub fn OCSP_CERTID_new() -> *mut OCSP_CERTID; |
| 25050 |
} |
| 25051 |
extern "C" { |
| 25052 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_CERTID_free"] |
| 25053 |
pub fn OCSP_CERTID_free(a: *mut OCSP_CERTID); |
| 25054 |
} |
| 25055 |
extern "C" { |
| 25056 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_OCSP_CERTID"] |
| 25057 |
pub fn d2i_OCSP_CERTID( |
| 25058 |
a: *mut *mut OCSP_CERTID, |
| 25059 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 25060 |
len: ::std::os::raw::c_long, |
| 25061 |
) -> *mut OCSP_CERTID; |
| 25062 |
} |
| 25063 |
extern "C" { |
| 25064 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_OCSP_CERTID"] |
| 25065 |
pub fn i2d_OCSP_CERTID( |
| 25066 |
a: *mut OCSP_CERTID, |
| 25067 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 25068 |
) -> ::std::os::raw::c_int; |
| 25069 |
} |
| 25070 |
extern "C" { |
| 25071 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_CERTID_it"] |
| 25072 |
pub static OCSP_CERTID_it: ASN1_ITEM; |
| 25073 |
} |
| 25074 |
extern "C" { |
| 25075 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQUEST_new"] |
| 25076 |
pub fn OCSP_REQUEST_new() -> *mut OCSP_REQUEST; |
| 25077 |
} |
| 25078 |
extern "C" { |
| 25079 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQUEST_free"] |
| 25080 |
pub fn OCSP_REQUEST_free(a: *mut OCSP_REQUEST); |
| 25081 |
} |
| 25082 |
extern "C" { |
| 25083 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_OCSP_REQUEST"] |
| 25084 |
pub fn d2i_OCSP_REQUEST( |
| 25085 |
a: *mut *mut OCSP_REQUEST, |
| 25086 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 25087 |
len: ::std::os::raw::c_long, |
| 25088 |
) -> *mut OCSP_REQUEST; |
| 25089 |
} |
| 25090 |
extern "C" { |
| 25091 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_OCSP_REQUEST"] |
| 25092 |
pub fn i2d_OCSP_REQUEST( |
| 25093 |
a: *mut OCSP_REQUEST, |
| 25094 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 25095 |
) -> ::std::os::raw::c_int; |
| 25096 |
} |
| 25097 |
extern "C" { |
| 25098 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQUEST_it"] |
| 25099 |
pub static OCSP_REQUEST_it: ASN1_ITEM; |
| 25100 |
} |
| 25101 |
extern "C" { |
| 25102 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_SINGLERESP_new"] |
| 25103 |
pub fn OCSP_SINGLERESP_new() -> *mut OCSP_SINGLERESP; |
| 25104 |
} |
| 25105 |
extern "C" { |
| 25106 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_SINGLERESP_free"] |
| 25107 |
pub fn OCSP_SINGLERESP_free(a: *mut OCSP_SINGLERESP); |
| 25108 |
} |
| 25109 |
extern "C" { |
| 25110 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_OCSP_SINGLERESP"] |
| 25111 |
pub fn d2i_OCSP_SINGLERESP( |
| 25112 |
a: *mut *mut OCSP_SINGLERESP, |
| 25113 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 25114 |
len: ::std::os::raw::c_long, |
| 25115 |
) -> *mut OCSP_SINGLERESP; |
| 25116 |
} |
| 25117 |
extern "C" { |
| 25118 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_OCSP_SINGLERESP"] |
| 25119 |
pub fn i2d_OCSP_SINGLERESP( |
| 25120 |
a: *mut OCSP_SINGLERESP, |
| 25121 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 25122 |
) -> ::std::os::raw::c_int; |
| 25123 |
} |
| 25124 |
extern "C" { |
| 25125 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_SINGLERESP_it"] |
| 25126 |
pub static OCSP_SINGLERESP_it: ASN1_ITEM; |
| 25127 |
} |
| 25128 |
extern "C" { |
| 25129 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_ONEREQ_new"] |
| 25130 |
pub fn OCSP_ONEREQ_new() -> *mut OCSP_ONEREQ; |
| 25131 |
} |
| 25132 |
extern "C" { |
| 25133 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_ONEREQ_free"] |
| 25134 |
pub fn OCSP_ONEREQ_free(a: *mut OCSP_ONEREQ); |
| 25135 |
} |
| 25136 |
extern "C" { |
| 25137 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_OCSP_ONEREQ"] |
| 25138 |
pub fn d2i_OCSP_ONEREQ( |
| 25139 |
a: *mut *mut OCSP_ONEREQ, |
| 25140 |
in_: *mut *const ::std::os::raw::c_uchar, |
| 25141 |
len: ::std::os::raw::c_long, |
| 25142 |
) -> *mut OCSP_ONEREQ; |
| 25143 |
} |
| 25144 |
extern "C" { |
| 25145 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_OCSP_ONEREQ"] |
| 25146 |
pub fn i2d_OCSP_ONEREQ( |
| 25147 |
a: *mut OCSP_ONEREQ, |
| 25148 |
out: *mut *mut ::std::os::raw::c_uchar, |
| 25149 |
) -> ::std::os::raw::c_int; |
| 25150 |
} |
| 25151 |
extern "C" { |
| 25152 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_ONEREQ_it"] |
| 25153 |
pub static OCSP_ONEREQ_it: ASN1_ITEM; |
| 25154 |
} |
| 25155 |
extern "C" { |
| 25156 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_OCSP_REQUEST_bio"] |
| 25157 |
pub fn d2i_OCSP_REQUEST_bio(bp: *mut BIO, preq: *mut *mut OCSP_REQUEST) -> *mut OCSP_REQUEST; |
| 25158 |
} |
| 25159 |
extern "C" { |
| 25160 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_OCSP_RESPONSE_bio"] |
| 25161 |
pub fn d2i_OCSP_RESPONSE_bio( |
| 25162 |
bp: *mut BIO, |
| 25163 |
presp: *mut *mut OCSP_RESPONSE, |
| 25164 |
) -> *mut OCSP_RESPONSE; |
| 25165 |
} |
| 25166 |
extern "C" { |
| 25167 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_OCSP_RESPONSE_bio"] |
| 25168 |
pub fn i2d_OCSP_RESPONSE_bio(bp: *mut BIO, presp: *mut OCSP_RESPONSE) -> ::std::os::raw::c_int; |
| 25169 |
} |
| 25170 |
extern "C" { |
| 25171 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_OCSP_REQUEST_bio"] |
| 25172 |
pub fn i2d_OCSP_REQUEST_bio(bp: *mut BIO, preq: *mut OCSP_REQUEST) -> ::std::os::raw::c_int; |
| 25173 |
} |
| 25174 |
extern "C" { |
| 25175 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_CERTID_dup"] |
| 25176 |
pub fn OCSP_CERTID_dup(id: *mut OCSP_CERTID) -> *mut OCSP_CERTID; |
| 25177 |
} |
| 25178 |
extern "C" { |
| 25179 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_sendreq_bio"] |
| 25180 |
pub fn OCSP_sendreq_bio( |
| 25181 |
b: *mut BIO, |
| 25182 |
path: *const ::std::os::raw::c_char, |
| 25183 |
req: *mut OCSP_REQUEST, |
| 25184 |
) -> *mut OCSP_RESPONSE; |
| 25185 |
} |
| 25186 |
extern "C" { |
| 25187 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_sendreq_new"] |
| 25188 |
pub fn OCSP_sendreq_new( |
| 25189 |
io: *mut BIO, |
| 25190 |
path: *const ::std::os::raw::c_char, |
| 25191 |
req: *mut OCSP_REQUEST, |
| 25192 |
maxline: ::std::os::raw::c_int, |
| 25193 |
) -> *mut OCSP_REQ_CTX; |
| 25194 |
} |
| 25195 |
extern "C" { |
| 25196 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_sendreq_nbio"] |
| 25197 |
pub fn OCSP_sendreq_nbio( |
| 25198 |
presp: *mut *mut OCSP_RESPONSE, |
| 25199 |
rctx: *mut OCSP_REQ_CTX, |
| 25200 |
) -> ::std::os::raw::c_int; |
| 25201 |
} |
| 25202 |
extern "C" { |
| 25203 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQ_CTX_new"] |
| 25204 |
pub fn OCSP_REQ_CTX_new(io: *mut BIO, maxline: ::std::os::raw::c_int) -> *mut OCSP_REQ_CTX; |
| 25205 |
} |
| 25206 |
extern "C" { |
| 25207 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQ_CTX_free"] |
| 25208 |
pub fn OCSP_REQ_CTX_free(rctx: *mut OCSP_REQ_CTX); |
| 25209 |
} |
| 25210 |
extern "C" { |
| 25211 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_set_max_response_length"] |
| 25212 |
pub fn OCSP_set_max_response_length(rctx: *mut OCSP_REQ_CTX, len: ::std::os::raw::c_ulong); |
| 25213 |
} |
| 25214 |
extern "C" { |
| 25215 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQ_CTX_http"] |
| 25216 |
pub fn OCSP_REQ_CTX_http( |
| 25217 |
rctx: *mut OCSP_REQ_CTX, |
| 25218 |
op: *const ::std::os::raw::c_char, |
| 25219 |
path: *const ::std::os::raw::c_char, |
| 25220 |
) -> ::std::os::raw::c_int; |
| 25221 |
} |
| 25222 |
extern "C" { |
| 25223 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQ_CTX_set1_req"] |
| 25224 |
pub fn OCSP_REQ_CTX_set1_req( |
| 25225 |
rctx: *mut OCSP_REQ_CTX, |
| 25226 |
req: *mut OCSP_REQUEST, |
| 25227 |
) -> ::std::os::raw::c_int; |
| 25228 |
} |
| 25229 |
extern "C" { |
| 25230 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQ_CTX_add1_header"] |
| 25231 |
pub fn OCSP_REQ_CTX_add1_header( |
| 25232 |
rctx: *mut OCSP_REQ_CTX, |
| 25233 |
name: *const ::std::os::raw::c_char, |
| 25234 |
value: *const ::std::os::raw::c_char, |
| 25235 |
) -> ::std::os::raw::c_int; |
| 25236 |
} |
| 25237 |
extern "C" { |
| 25238 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQ_CTX_i2d"] |
| 25239 |
pub fn OCSP_REQ_CTX_i2d( |
| 25240 |
rctx: *mut OCSP_REQ_CTX, |
| 25241 |
it: *const ASN1_ITEM, |
| 25242 |
val: *mut ASN1_VALUE, |
| 25243 |
) -> ::std::os::raw::c_int; |
| 25244 |
} |
| 25245 |
extern "C" { |
| 25246 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_add0_id"] |
| 25247 |
pub fn OCSP_request_add0_id(req: *mut OCSP_REQUEST, cid: *mut OCSP_CERTID) -> *mut OCSP_ONEREQ; |
| 25248 |
} |
| 25249 |
extern "C" { |
| 25250 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_onereq_get0_id"] |
| 25251 |
pub fn OCSP_onereq_get0_id(one: *mut OCSP_ONEREQ) -> *mut OCSP_CERTID; |
| 25252 |
} |
| 25253 |
extern "C" { |
| 25254 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_add1_nonce"] |
| 25255 |
pub fn OCSP_request_add1_nonce( |
| 25256 |
req: *mut OCSP_REQUEST, |
| 25257 |
val: *mut ::std::os::raw::c_uchar, |
| 25258 |
len: ::std::os::raw::c_int, |
| 25259 |
) -> ::std::os::raw::c_int; |
| 25260 |
} |
| 25261 |
extern "C" { |
| 25262 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_basic_add1_nonce"] |
| 25263 |
pub fn OCSP_basic_add1_nonce( |
| 25264 |
resp: *mut OCSP_BASICRESP, |
| 25265 |
val: *mut ::std::os::raw::c_uchar, |
| 25266 |
len: ::std::os::raw::c_int, |
| 25267 |
) -> ::std::os::raw::c_int; |
| 25268 |
} |
| 25269 |
extern "C" { |
| 25270 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_check_nonce"] |
| 25271 |
pub fn OCSP_check_nonce( |
| 25272 |
req: *mut OCSP_REQUEST, |
| 25273 |
bs: *mut OCSP_BASICRESP, |
| 25274 |
) -> ::std::os::raw::c_int; |
| 25275 |
} |
| 25276 |
extern "C" { |
| 25277 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_copy_nonce"] |
| 25278 |
pub fn OCSP_copy_nonce( |
| 25279 |
resp: *mut OCSP_BASICRESP, |
| 25280 |
req: *mut OCSP_REQUEST, |
| 25281 |
) -> ::std::os::raw::c_int; |
| 25282 |
} |
| 25283 |
extern "C" { |
| 25284 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_set1_name"] |
| 25285 |
pub fn OCSP_request_set1_name( |
| 25286 |
req: *mut OCSP_REQUEST, |
| 25287 |
nm: *mut X509_NAME, |
| 25288 |
) -> ::std::os::raw::c_int; |
| 25289 |
} |
| 25290 |
extern "C" { |
| 25291 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_add1_cert"] |
| 25292 |
pub fn OCSP_request_add1_cert(req: *mut OCSP_REQUEST, cert: *mut X509) |
| 25293 |
-> ::std::os::raw::c_int; |
| 25294 |
} |
| 25295 |
extern "C" { |
| 25296 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_is_signed"] |
| 25297 |
pub fn OCSP_request_is_signed(req: *mut OCSP_REQUEST) -> ::std::os::raw::c_int; |
| 25298 |
} |
| 25299 |
extern "C" { |
| 25300 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_onereq_count"] |
| 25301 |
pub fn OCSP_request_onereq_count(req: *mut OCSP_REQUEST) -> ::std::os::raw::c_int; |
| 25302 |
} |
| 25303 |
extern "C" { |
| 25304 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_onereq_get0"] |
| 25305 |
pub fn OCSP_request_onereq_get0( |
| 25306 |
req: *mut OCSP_REQUEST, |
| 25307 |
i: ::std::os::raw::c_int, |
| 25308 |
) -> *mut OCSP_ONEREQ; |
| 25309 |
} |
| 25310 |
extern "C" { |
| 25311 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_sign"] |
| 25312 |
pub fn OCSP_request_sign( |
| 25313 |
req: *mut OCSP_REQUEST, |
| 25314 |
signer: *mut X509, |
| 25315 |
key: *mut EVP_PKEY, |
| 25316 |
dgst: *const EVP_MD, |
| 25317 |
certs: *mut stack_st_X509, |
| 25318 |
flags: ::std::os::raw::c_ulong, |
| 25319 |
) -> ::std::os::raw::c_int; |
| 25320 |
} |
| 25321 |
extern "C" { |
| 25322 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_response_status"] |
| 25323 |
pub fn OCSP_response_status(resp: *mut OCSP_RESPONSE) -> ::std::os::raw::c_int; |
| 25324 |
} |
| 25325 |
extern "C" { |
| 25326 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_response_get1_basic"] |
| 25327 |
pub fn OCSP_response_get1_basic(resp: *mut OCSP_RESPONSE) -> *mut OCSP_BASICRESP; |
| 25328 |
} |
| 25329 |
extern "C" { |
| 25330 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_resp_count"] |
| 25331 |
pub fn OCSP_resp_count(bs: *mut OCSP_BASICRESP) -> ::std::os::raw::c_int; |
| 25332 |
} |
| 25333 |
extern "C" { |
| 25334 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_resp_get0"] |
| 25335 |
pub fn OCSP_resp_get0(bs: *mut OCSP_BASICRESP, idx: usize) -> *mut OCSP_SINGLERESP; |
| 25336 |
} |
| 25337 |
extern "C" { |
| 25338 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_single_get0_status"] |
| 25339 |
pub fn OCSP_single_get0_status( |
| 25340 |
single: *mut OCSP_SINGLERESP, |
| 25341 |
reason: *mut ::std::os::raw::c_int, |
| 25342 |
revtime: *mut *mut ASN1_GENERALIZEDTIME, |
| 25343 |
thisupd: *mut *mut ASN1_GENERALIZEDTIME, |
| 25344 |
nextupd: *mut *mut ASN1_GENERALIZEDTIME, |
| 25345 |
) -> ::std::os::raw::c_int; |
| 25346 |
} |
| 25347 |
extern "C" { |
| 25348 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_resp_find"] |
| 25349 |
pub fn OCSP_resp_find( |
| 25350 |
bs: *mut OCSP_BASICRESP, |
| 25351 |
id: *mut OCSP_CERTID, |
| 25352 |
last: ::std::os::raw::c_int, |
| 25353 |
) -> ::std::os::raw::c_int; |
| 25354 |
} |
| 25355 |
extern "C" { |
| 25356 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_resp_find_status"] |
| 25357 |
pub fn OCSP_resp_find_status( |
| 25358 |
bs: *mut OCSP_BASICRESP, |
| 25359 |
id: *mut OCSP_CERTID, |
| 25360 |
status: *mut ::std::os::raw::c_int, |
| 25361 |
reason: *mut ::std::os::raw::c_int, |
| 25362 |
revtime: *mut *mut ASN1_GENERALIZEDTIME, |
| 25363 |
thisupd: *mut *mut ASN1_GENERALIZEDTIME, |
| 25364 |
nextupd: *mut *mut ASN1_GENERALIZEDTIME, |
| 25365 |
) -> ::std::os::raw::c_int; |
| 25366 |
} |
| 25367 |
extern "C" { |
| 25368 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_check_validity"] |
| 25369 |
pub fn OCSP_check_validity( |
| 25370 |
thisUpdate: *mut ASN1_GENERALIZEDTIME, |
| 25371 |
nextUpdate: *mut ASN1_GENERALIZEDTIME, |
| 25372 |
drift_num_seconds: ::std::os::raw::c_long, |
| 25373 |
max_age_seconds: ::std::os::raw::c_long, |
| 25374 |
) -> ::std::os::raw::c_int; |
| 25375 |
} |
| 25376 |
extern "C" { |
| 25377 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_basic_verify"] |
| 25378 |
pub fn OCSP_basic_verify( |
| 25379 |
bs: *mut OCSP_BASICRESP, |
| 25380 |
certs: *mut stack_st_X509, |
| 25381 |
st: *mut X509_STORE, |
| 25382 |
flags: ::std::os::raw::c_ulong, |
| 25383 |
) -> ::std::os::raw::c_int; |
| 25384 |
} |
| 25385 |
extern "C" { |
| 25386 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_request_verify"] |
| 25387 |
pub fn OCSP_request_verify( |
| 25388 |
req: *mut OCSP_REQUEST, |
| 25389 |
certs: *mut stack_st_X509, |
| 25390 |
st: *mut X509_STORE, |
| 25391 |
flags: ::std::os::raw::c_ulong, |
| 25392 |
) -> ::std::os::raw::c_int; |
| 25393 |
} |
| 25394 |
extern "C" { |
| 25395 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_cert_id_new"] |
| 25396 |
pub fn OCSP_cert_id_new( |
| 25397 |
dgst: *const EVP_MD, |
| 25398 |
issuerName: *const X509_NAME, |
| 25399 |
issuerKey: *const ASN1_BIT_STRING, |
| 25400 |
serialNumber: *const ASN1_INTEGER, |
| 25401 |
) -> *mut OCSP_CERTID; |
| 25402 |
} |
| 25403 |
extern "C" { |
| 25404 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_cert_to_id"] |
| 25405 |
pub fn OCSP_cert_to_id( |
| 25406 |
dgst: *const EVP_MD, |
| 25407 |
subject: *const X509, |
| 25408 |
issuer: *const X509, |
| 25409 |
) -> *mut OCSP_CERTID; |
| 25410 |
} |
| 25411 |
extern "C" { |
| 25412 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_parse_url"] |
| 25413 |
pub fn OCSP_parse_url( |
| 25414 |
url: *const ::std::os::raw::c_char, |
| 25415 |
phost: *mut *mut ::std::os::raw::c_char, |
| 25416 |
pport: *mut *mut ::std::os::raw::c_char, |
| 25417 |
ppath: *mut *mut ::std::os::raw::c_char, |
| 25418 |
pssl: *mut ::std::os::raw::c_int, |
| 25419 |
) -> ::std::os::raw::c_int; |
| 25420 |
} |
| 25421 |
extern "C" { |
| 25422 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_id_issuer_cmp"] |
| 25423 |
pub fn OCSP_id_issuer_cmp( |
| 25424 |
a: *const OCSP_CERTID, |
| 25425 |
b: *const OCSP_CERTID, |
| 25426 |
) -> ::std::os::raw::c_int; |
| 25427 |
} |
| 25428 |
extern "C" { |
| 25429 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_id_cmp"] |
| 25430 |
pub fn OCSP_id_cmp(a: *const OCSP_CERTID, b: *const OCSP_CERTID) -> ::std::os::raw::c_int; |
| 25431 |
} |
| 25432 |
extern "C" { |
| 25433 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_id_get0_info"] |
| 25434 |
pub fn OCSP_id_get0_info( |
| 25435 |
nameHash: *mut *mut ASN1_OCTET_STRING, |
| 25436 |
algor: *mut *mut ASN1_OBJECT, |
| 25437 |
keyHash: *mut *mut ASN1_OCTET_STRING, |
| 25438 |
serial: *mut *mut ASN1_INTEGER, |
| 25439 |
cid: *mut OCSP_CERTID, |
| 25440 |
) -> ::std::os::raw::c_int; |
| 25441 |
} |
| 25442 |
extern "C" { |
| 25443 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_basic_add1_cert"] |
| 25444 |
pub fn OCSP_basic_add1_cert( |
| 25445 |
resp: *mut OCSP_BASICRESP, |
| 25446 |
cert: *mut X509, |
| 25447 |
) -> ::std::os::raw::c_int; |
| 25448 |
} |
| 25449 |
extern "C" { |
| 25450 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_basic_add1_status"] |
| 25451 |
pub fn OCSP_basic_add1_status( |
| 25452 |
resp: *mut OCSP_BASICRESP, |
| 25453 |
cid: *mut OCSP_CERTID, |
| 25454 |
status: ::std::os::raw::c_int, |
| 25455 |
revoked_reason: ::std::os::raw::c_int, |
| 25456 |
revoked_time: *mut ASN1_TIME, |
| 25457 |
this_update: *mut ASN1_TIME, |
| 25458 |
next_update: *mut ASN1_TIME, |
| 25459 |
) -> *mut OCSP_SINGLERESP; |
| 25460 |
} |
| 25461 |
extern "C" { |
| 25462 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_basic_sign"] |
| 25463 |
pub fn OCSP_basic_sign( |
| 25464 |
resp: *mut OCSP_BASICRESP, |
| 25465 |
signer: *mut X509, |
| 25466 |
key: *mut EVP_PKEY, |
| 25467 |
dgst: *const EVP_MD, |
| 25468 |
certs: *mut stack_st_X509, |
| 25469 |
flags: ::std::os::raw::c_ulong, |
| 25470 |
) -> ::std::os::raw::c_int; |
| 25471 |
} |
| 25472 |
extern "C" { |
| 25473 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_response_create"] |
| 25474 |
pub fn OCSP_response_create( |
| 25475 |
status: ::std::os::raw::c_int, |
| 25476 |
bs: *mut OCSP_BASICRESP, |
| 25477 |
) -> *mut OCSP_RESPONSE; |
| 25478 |
} |
| 25479 |
extern "C" { |
| 25480 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_SINGLERESP_get0_id"] |
| 25481 |
pub fn OCSP_SINGLERESP_get0_id(x: *const OCSP_SINGLERESP) -> *const OCSP_CERTID; |
| 25482 |
} |
| 25483 |
extern "C" { |
| 25484 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_response_status_str"] |
| 25485 |
pub fn OCSP_response_status_str( |
| 25486 |
status_code: ::std::os::raw::c_long, |
| 25487 |
) -> *const ::std::os::raw::c_char; |
| 25488 |
} |
| 25489 |
extern "C" { |
| 25490 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_cert_status_str"] |
| 25491 |
pub fn OCSP_cert_status_str( |
| 25492 |
status_code: ::std::os::raw::c_long, |
| 25493 |
) -> *const ::std::os::raw::c_char; |
| 25494 |
} |
| 25495 |
extern "C" { |
| 25496 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_crl_reason_str"] |
| 25497 |
pub fn OCSP_crl_reason_str( |
| 25498 |
status_code: ::std::os::raw::c_long, |
| 25499 |
) -> *const ::std::os::raw::c_char; |
| 25500 |
} |
| 25501 |
extern "C" { |
| 25502 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_REQUEST_print"] |
| 25503 |
pub fn OCSP_REQUEST_print( |
| 25504 |
bp: *mut BIO, |
| 25505 |
req: *mut OCSP_REQUEST, |
| 25506 |
flags: ::std::os::raw::c_ulong, |
| 25507 |
) -> ::std::os::raw::c_int; |
| 25508 |
} |
| 25509 |
extern "C" { |
| 25510 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_RESPONSE_print"] |
| 25511 |
pub fn OCSP_RESPONSE_print( |
| 25512 |
bp: *mut BIO, |
| 25513 |
resp: *mut OCSP_RESPONSE, |
| 25514 |
flags: ::std::os::raw::c_ulong, |
| 25515 |
) -> ::std::os::raw::c_int; |
| 25516 |
} |
| 25517 |
extern "C" { |
| 25518 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_BASICRESP_get_ext_by_NID"] |
| 25519 |
pub fn OCSP_BASICRESP_get_ext_by_NID( |
| 25520 |
bs: *mut OCSP_BASICRESP, |
| 25521 |
nid: ::std::os::raw::c_int, |
| 25522 |
lastpos: ::std::os::raw::c_int, |
| 25523 |
) -> ::std::os::raw::c_int; |
| 25524 |
} |
| 25525 |
extern "C" { |
| 25526 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_BASICRESP_get_ext"] |
| 25527 |
pub fn OCSP_BASICRESP_get_ext( |
| 25528 |
bs: *mut OCSP_BASICRESP, |
| 25529 |
loc: ::std::os::raw::c_int, |
| 25530 |
) -> *mut X509_EXTENSION; |
| 25531 |
} |
| 25532 |
extern "C" { |
| 25533 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_BASICRESP_delete_ext"] |
| 25534 |
pub fn OCSP_BASICRESP_delete_ext( |
| 25535 |
x: *mut OCSP_BASICRESP, |
| 25536 |
loc: ::std::os::raw::c_int, |
| 25537 |
) -> *mut X509_EXTENSION; |
| 25538 |
} |
| 25539 |
extern "C" { |
| 25540 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_SINGLERESP_add_ext"] |
| 25541 |
pub fn OCSP_SINGLERESP_add_ext( |
| 25542 |
sresp: *mut OCSP_SINGLERESP, |
| 25543 |
ex: *mut X509_EXTENSION, |
| 25544 |
loc: ::std::os::raw::c_int, |
| 25545 |
) -> ::std::os::raw::c_int; |
| 25546 |
} |
| 25547 |
extern "C" { |
| 25548 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_SINGLERESP_get_ext_count"] |
| 25549 |
pub fn OCSP_SINGLERESP_get_ext_count(sresp: *mut OCSP_SINGLERESP) -> ::std::os::raw::c_int; |
| 25550 |
} |
| 25551 |
extern "C" { |
| 25552 |
#[link_name = "\u{1}aws_lc_0_41_0_OCSP_SINGLERESP_get_ext"] |
| 25553 |
pub fn OCSP_SINGLERESP_get_ext( |
| 25554 |
sresp: *mut OCSP_SINGLERESP, |
| 25555 |
loc: ::std::os::raw::c_int, |
| 25556 |
) -> *mut X509_EXTENSION; |
| 25557 |
} |
| 25558 |
pub type pem_password_cb = ::std::option::Option< |
| 25559 |
unsafe extern "C" fn( |
| 25560 |
buf: *mut ::std::os::raw::c_char, |
| 25561 |
size: ::std::os::raw::c_int, |
| 25562 |
rwflag: ::std::os::raw::c_int, |
| 25563 |
userdata: *mut ::std::os::raw::c_void, |
| 25564 |
) -> ::std::os::raw::c_int, |
| 25565 |
>; |
| 25566 |
extern "C" { |
| 25567 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_get_EVP_CIPHER_INFO"] |
| 25568 |
pub fn PEM_get_EVP_CIPHER_INFO( |
| 25569 |
header: *mut ::std::os::raw::c_char, |
| 25570 |
cipher: *mut EVP_CIPHER_INFO, |
| 25571 |
) -> ::std::os::raw::c_int; |
| 25572 |
} |
| 25573 |
extern "C" { |
| 25574 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_do_header"] |
| 25575 |
pub fn PEM_do_header( |
| 25576 |
cipher: *mut EVP_CIPHER_INFO, |
| 25577 |
data: *mut ::std::os::raw::c_uchar, |
| 25578 |
len: *mut ::std::os::raw::c_long, |
| 25579 |
callback: pem_password_cb, |
| 25580 |
u: *mut ::std::os::raw::c_void, |
| 25581 |
) -> ::std::os::raw::c_int; |
| 25582 |
} |
| 25583 |
extern "C" { |
| 25584 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio"] |
| 25585 |
pub fn PEM_read_bio( |
| 25586 |
bp: *mut BIO, |
| 25587 |
name: *mut *mut ::std::os::raw::c_char, |
| 25588 |
header: *mut *mut ::std::os::raw::c_char, |
| 25589 |
data: *mut *mut ::std::os::raw::c_uchar, |
| 25590 |
len: *mut ::std::os::raw::c_long, |
| 25591 |
) -> ::std::os::raw::c_int; |
| 25592 |
} |
| 25593 |
extern "C" { |
| 25594 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio"] |
| 25595 |
pub fn PEM_write_bio( |
| 25596 |
bp: *mut BIO, |
| 25597 |
name: *const ::std::os::raw::c_char, |
| 25598 |
hdr: *const ::std::os::raw::c_char, |
| 25599 |
data: *const ::std::os::raw::c_uchar, |
| 25600 |
len: ::std::os::raw::c_long, |
| 25601 |
) -> ::std::os::raw::c_int; |
| 25602 |
} |
| 25603 |
extern "C" { |
| 25604 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_bytes_read_bio"] |
| 25605 |
pub fn PEM_bytes_read_bio( |
| 25606 |
pdata: *mut *mut ::std::os::raw::c_uchar, |
| 25607 |
plen: *mut ::std::os::raw::c_long, |
| 25608 |
pnm: *mut *mut ::std::os::raw::c_char, |
| 25609 |
name: *const ::std::os::raw::c_char, |
| 25610 |
bp: *mut BIO, |
| 25611 |
cb: pem_password_cb, |
| 25612 |
u: *mut ::std::os::raw::c_void, |
| 25613 |
) -> ::std::os::raw::c_int; |
| 25614 |
} |
| 25615 |
extern "C" { |
| 25616 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_ASN1_read_bio"] |
| 25617 |
pub fn PEM_ASN1_read_bio( |
| 25618 |
d2i: d2i_of_void, |
| 25619 |
name: *const ::std::os::raw::c_char, |
| 25620 |
bp: *mut BIO, |
| 25621 |
x: *mut *mut ::std::os::raw::c_void, |
| 25622 |
cb: pem_password_cb, |
| 25623 |
u: *mut ::std::os::raw::c_void, |
| 25624 |
) -> *mut ::std::os::raw::c_void; |
| 25625 |
} |
| 25626 |
extern "C" { |
| 25627 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_ASN1_write_bio"] |
| 25628 |
pub fn PEM_ASN1_write_bio( |
| 25629 |
i2d: i2d_of_void, |
| 25630 |
name: *const ::std::os::raw::c_char, |
| 25631 |
bp: *mut BIO, |
| 25632 |
x: *mut ::std::os::raw::c_void, |
| 25633 |
enc: *const EVP_CIPHER, |
| 25634 |
pass: *const ::std::os::raw::c_uchar, |
| 25635 |
pass_len: ::std::os::raw::c_int, |
| 25636 |
cb: pem_password_cb, |
| 25637 |
u: *mut ::std::os::raw::c_void, |
| 25638 |
) -> ::std::os::raw::c_int; |
| 25639 |
} |
| 25640 |
extern "C" { |
| 25641 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_X509_INFO_read_bio"] |
| 25642 |
pub fn PEM_X509_INFO_read_bio( |
| 25643 |
bp: *mut BIO, |
| 25644 |
sk: *mut stack_st_X509_INFO, |
| 25645 |
cb: pem_password_cb, |
| 25646 |
u: *mut ::std::os::raw::c_void, |
| 25647 |
) -> *mut stack_st_X509_INFO; |
| 25648 |
} |
| 25649 |
extern "C" { |
| 25650 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_X509_INFO_write_bio"] |
| 25651 |
pub fn PEM_X509_INFO_write_bio( |
| 25652 |
bp: *mut BIO, |
| 25653 |
xi: *mut X509_INFO, |
| 25654 |
enc: *mut EVP_CIPHER, |
| 25655 |
kstr: *mut ::std::os::raw::c_uchar, |
| 25656 |
klen: ::std::os::raw::c_int, |
| 25657 |
cd: pem_password_cb, |
| 25658 |
u: *mut ::std::os::raw::c_void, |
| 25659 |
) -> ::std::os::raw::c_int; |
| 25660 |
} |
| 25661 |
extern "C" { |
| 25662 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_X509_INFO_read"] |
| 25663 |
pub fn PEM_X509_INFO_read( |
| 25664 |
fp: *mut FILE, |
| 25665 |
sk: *mut stack_st_X509_INFO, |
| 25666 |
cb: pem_password_cb, |
| 25667 |
u: *mut ::std::os::raw::c_void, |
| 25668 |
) -> *mut stack_st_X509_INFO; |
| 25669 |
} |
| 25670 |
extern "C" { |
| 25671 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read"] |
| 25672 |
pub fn PEM_read( |
| 25673 |
fp: *mut FILE, |
| 25674 |
name: *mut *mut ::std::os::raw::c_char, |
| 25675 |
header: *mut *mut ::std::os::raw::c_char, |
| 25676 |
data: *mut *mut ::std::os::raw::c_uchar, |
| 25677 |
len: *mut ::std::os::raw::c_long, |
| 25678 |
) -> ::std::os::raw::c_int; |
| 25679 |
} |
| 25680 |
extern "C" { |
| 25681 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write"] |
| 25682 |
pub fn PEM_write( |
| 25683 |
fp: *mut FILE, |
| 25684 |
name: *const ::std::os::raw::c_char, |
| 25685 |
hdr: *const ::std::os::raw::c_char, |
| 25686 |
data: *const ::std::os::raw::c_uchar, |
| 25687 |
len: ::std::os::raw::c_long, |
| 25688 |
) -> ::std::os::raw::c_int; |
| 25689 |
} |
| 25690 |
extern "C" { |
| 25691 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_ASN1_read"] |
| 25692 |
pub fn PEM_ASN1_read( |
| 25693 |
d2i: d2i_of_void, |
| 25694 |
name: *const ::std::os::raw::c_char, |
| 25695 |
fp: *mut FILE, |
| 25696 |
x: *mut *mut ::std::os::raw::c_void, |
| 25697 |
cb: pem_password_cb, |
| 25698 |
u: *mut ::std::os::raw::c_void, |
| 25699 |
) -> *mut ::std::os::raw::c_void; |
| 25700 |
} |
| 25701 |
extern "C" { |
| 25702 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_ASN1_write"] |
| 25703 |
pub fn PEM_ASN1_write( |
| 25704 |
i2d: i2d_of_void, |
| 25705 |
name: *const ::std::os::raw::c_char, |
| 25706 |
fp: *mut FILE, |
| 25707 |
x: *mut ::std::os::raw::c_void, |
| 25708 |
enc: *const EVP_CIPHER, |
| 25709 |
pass: *const ::std::os::raw::c_uchar, |
| 25710 |
pass_len: ::std::os::raw::c_int, |
| 25711 |
callback: pem_password_cb, |
| 25712 |
u: *mut ::std::os::raw::c_void, |
| 25713 |
) -> ::std::os::raw::c_int; |
| 25714 |
} |
| 25715 |
extern "C" { |
| 25716 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_def_callback"] |
| 25717 |
pub fn PEM_def_callback( |
| 25718 |
buf: *mut ::std::os::raw::c_char, |
| 25719 |
size: ::std::os::raw::c_int, |
| 25720 |
rwflag: ::std::os::raw::c_int, |
| 25721 |
userdata: *mut ::std::os::raw::c_void, |
| 25722 |
) -> ::std::os::raw::c_int; |
| 25723 |
} |
| 25724 |
extern "C" { |
| 25725 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_X509"] |
| 25726 |
pub fn PEM_read_bio_X509( |
| 25727 |
bp: *mut BIO, |
| 25728 |
x: *mut *mut X509, |
| 25729 |
cb: pem_password_cb, |
| 25730 |
u: *mut ::std::os::raw::c_void, |
| 25731 |
) -> *mut X509; |
| 25732 |
} |
| 25733 |
extern "C" { |
| 25734 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_X509"] |
| 25735 |
pub fn PEM_read_X509( |
| 25736 |
fp: *mut FILE, |
| 25737 |
x: *mut *mut X509, |
| 25738 |
cb: pem_password_cb, |
| 25739 |
u: *mut ::std::os::raw::c_void, |
| 25740 |
) -> *mut X509; |
| 25741 |
} |
| 25742 |
extern "C" { |
| 25743 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_X509"] |
| 25744 |
pub fn PEM_write_bio_X509(bp: *mut BIO, x: *mut X509) -> ::std::os::raw::c_int; |
| 25745 |
} |
| 25746 |
extern "C" { |
| 25747 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_X509"] |
| 25748 |
pub fn PEM_write_X509(fp: *mut FILE, x: *mut X509) -> ::std::os::raw::c_int; |
| 25749 |
} |
| 25750 |
extern "C" { |
| 25751 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_X509_AUX"] |
| 25752 |
pub fn PEM_read_bio_X509_AUX( |
| 25753 |
bp: *mut BIO, |
| 25754 |
x: *mut *mut X509, |
| 25755 |
cb: pem_password_cb, |
| 25756 |
u: *mut ::std::os::raw::c_void, |
| 25757 |
) -> *mut X509; |
| 25758 |
} |
| 25759 |
extern "C" { |
| 25760 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_X509_AUX"] |
| 25761 |
pub fn PEM_read_X509_AUX( |
| 25762 |
fp: *mut FILE, |
| 25763 |
x: *mut *mut X509, |
| 25764 |
cb: pem_password_cb, |
| 25765 |
u: *mut ::std::os::raw::c_void, |
| 25766 |
) -> *mut X509; |
| 25767 |
} |
| 25768 |
extern "C" { |
| 25769 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_X509_AUX"] |
| 25770 |
pub fn PEM_write_bio_X509_AUX(bp: *mut BIO, x: *mut X509) -> ::std::os::raw::c_int; |
| 25771 |
} |
| 25772 |
extern "C" { |
| 25773 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_X509_AUX"] |
| 25774 |
pub fn PEM_write_X509_AUX(fp: *mut FILE, x: *mut X509) -> ::std::os::raw::c_int; |
| 25775 |
} |
| 25776 |
extern "C" { |
| 25777 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_X509_REQ"] |
| 25778 |
pub fn PEM_read_bio_X509_REQ( |
| 25779 |
bp: *mut BIO, |
| 25780 |
x: *mut *mut X509_REQ, |
| 25781 |
cb: pem_password_cb, |
| 25782 |
u: *mut ::std::os::raw::c_void, |
| 25783 |
) -> *mut X509_REQ; |
| 25784 |
} |
| 25785 |
extern "C" { |
| 25786 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_X509_REQ"] |
| 25787 |
pub fn PEM_read_X509_REQ( |
| 25788 |
fp: *mut FILE, |
| 25789 |
x: *mut *mut X509_REQ, |
| 25790 |
cb: pem_password_cb, |
| 25791 |
u: *mut ::std::os::raw::c_void, |
| 25792 |
) -> *mut X509_REQ; |
| 25793 |
} |
| 25794 |
extern "C" { |
| 25795 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_X509_REQ"] |
| 25796 |
pub fn PEM_write_bio_X509_REQ(bp: *mut BIO, x: *mut X509_REQ) -> ::std::os::raw::c_int; |
| 25797 |
} |
| 25798 |
extern "C" { |
| 25799 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_X509_REQ"] |
| 25800 |
pub fn PEM_write_X509_REQ(fp: *mut FILE, x: *mut X509_REQ) -> ::std::os::raw::c_int; |
| 25801 |
} |
| 25802 |
extern "C" { |
| 25803 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_X509_REQ_NEW"] |
| 25804 |
pub fn PEM_write_bio_X509_REQ_NEW(bp: *mut BIO, x: *mut X509_REQ) -> ::std::os::raw::c_int; |
| 25805 |
} |
| 25806 |
extern "C" { |
| 25807 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_X509_REQ_NEW"] |
| 25808 |
pub fn PEM_write_X509_REQ_NEW(fp: *mut FILE, x: *mut X509_REQ) -> ::std::os::raw::c_int; |
| 25809 |
} |
| 25810 |
extern "C" { |
| 25811 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_X509_CRL"] |
| 25812 |
pub fn PEM_read_bio_X509_CRL( |
| 25813 |
bp: *mut BIO, |
| 25814 |
x: *mut *mut X509_CRL, |
| 25815 |
cb: pem_password_cb, |
| 25816 |
u: *mut ::std::os::raw::c_void, |
| 25817 |
) -> *mut X509_CRL; |
| 25818 |
} |
| 25819 |
extern "C" { |
| 25820 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_X509_CRL"] |
| 25821 |
pub fn PEM_read_X509_CRL( |
| 25822 |
fp: *mut FILE, |
| 25823 |
x: *mut *mut X509_CRL, |
| 25824 |
cb: pem_password_cb, |
| 25825 |
u: *mut ::std::os::raw::c_void, |
| 25826 |
) -> *mut X509_CRL; |
| 25827 |
} |
| 25828 |
extern "C" { |
| 25829 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_X509_CRL"] |
| 25830 |
pub fn PEM_write_bio_X509_CRL(bp: *mut BIO, x: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 25831 |
} |
| 25832 |
extern "C" { |
| 25833 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_X509_CRL"] |
| 25834 |
pub fn PEM_write_X509_CRL(fp: *mut FILE, x: *mut X509_CRL) -> ::std::os::raw::c_int; |
| 25835 |
} |
| 25836 |
extern "C" { |
| 25837 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_PKCS7"] |
| 25838 |
pub fn PEM_read_bio_PKCS7( |
| 25839 |
bp: *mut BIO, |
| 25840 |
x: *mut *mut PKCS7, |
| 25841 |
cb: pem_password_cb, |
| 25842 |
u: *mut ::std::os::raw::c_void, |
| 25843 |
) -> *mut PKCS7; |
| 25844 |
} |
| 25845 |
extern "C" { |
| 25846 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_PKCS7"] |
| 25847 |
pub fn PEM_read_PKCS7( |
| 25848 |
fp: *mut FILE, |
| 25849 |
x: *mut *mut PKCS7, |
| 25850 |
cb: pem_password_cb, |
| 25851 |
u: *mut ::std::os::raw::c_void, |
| 25852 |
) -> *mut PKCS7; |
| 25853 |
} |
| 25854 |
extern "C" { |
| 25855 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_PKCS7"] |
| 25856 |
pub fn PEM_write_bio_PKCS7(bp: *mut BIO, x: *mut PKCS7) -> ::std::os::raw::c_int; |
| 25857 |
} |
| 25858 |
extern "C" { |
| 25859 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_PKCS7"] |
| 25860 |
pub fn PEM_write_PKCS7(fp: *mut FILE, x: *mut PKCS7) -> ::std::os::raw::c_int; |
| 25861 |
} |
| 25862 |
extern "C" { |
| 25863 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_PKCS8"] |
| 25864 |
pub fn PEM_read_bio_PKCS8( |
| 25865 |
bp: *mut BIO, |
| 25866 |
x: *mut *mut X509_SIG, |
| 25867 |
cb: pem_password_cb, |
| 25868 |
u: *mut ::std::os::raw::c_void, |
| 25869 |
) -> *mut X509_SIG; |
| 25870 |
} |
| 25871 |
extern "C" { |
| 25872 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_PKCS8"] |
| 25873 |
pub fn PEM_read_PKCS8( |
| 25874 |
fp: *mut FILE, |
| 25875 |
x: *mut *mut X509_SIG, |
| 25876 |
cb: pem_password_cb, |
| 25877 |
u: *mut ::std::os::raw::c_void, |
| 25878 |
) -> *mut X509_SIG; |
| 25879 |
} |
| 25880 |
extern "C" { |
| 25881 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_PKCS8"] |
| 25882 |
pub fn PEM_write_bio_PKCS8(bp: *mut BIO, x: *mut X509_SIG) -> ::std::os::raw::c_int; |
| 25883 |
} |
| 25884 |
extern "C" { |
| 25885 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_PKCS8"] |
| 25886 |
pub fn PEM_write_PKCS8(fp: *mut FILE, x: *mut X509_SIG) -> ::std::os::raw::c_int; |
| 25887 |
} |
| 25888 |
extern "C" { |
| 25889 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_PKCS8_PRIV_KEY_INFO"] |
| 25890 |
pub fn PEM_read_bio_PKCS8_PRIV_KEY_INFO( |
| 25891 |
bp: *mut BIO, |
| 25892 |
x: *mut *mut PKCS8_PRIV_KEY_INFO, |
| 25893 |
cb: pem_password_cb, |
| 25894 |
u: *mut ::std::os::raw::c_void, |
| 25895 |
) -> *mut PKCS8_PRIV_KEY_INFO; |
| 25896 |
} |
| 25897 |
extern "C" { |
| 25898 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_PKCS8_PRIV_KEY_INFO"] |
| 25899 |
pub fn PEM_read_PKCS8_PRIV_KEY_INFO( |
| 25900 |
fp: *mut FILE, |
| 25901 |
x: *mut *mut PKCS8_PRIV_KEY_INFO, |
| 25902 |
cb: pem_password_cb, |
| 25903 |
u: *mut ::std::os::raw::c_void, |
| 25904 |
) -> *mut PKCS8_PRIV_KEY_INFO; |
| 25905 |
} |
| 25906 |
extern "C" { |
| 25907 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_PKCS8_PRIV_KEY_INFO"] |
| 25908 |
pub fn PEM_write_bio_PKCS8_PRIV_KEY_INFO( |
| 25909 |
bp: *mut BIO, |
| 25910 |
x: *mut PKCS8_PRIV_KEY_INFO, |
| 25911 |
) -> ::std::os::raw::c_int; |
| 25912 |
} |
| 25913 |
extern "C" { |
| 25914 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_PKCS8_PRIV_KEY_INFO"] |
| 25915 |
pub fn PEM_write_PKCS8_PRIV_KEY_INFO( |
| 25916 |
fp: *mut FILE, |
| 25917 |
x: *mut PKCS8_PRIV_KEY_INFO, |
| 25918 |
) -> ::std::os::raw::c_int; |
| 25919 |
} |
| 25920 |
extern "C" { |
| 25921 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_RSAPrivateKey"] |
| 25922 |
pub fn PEM_read_bio_RSAPrivateKey( |
| 25923 |
bp: *mut BIO, |
| 25924 |
x: *mut *mut RSA, |
| 25925 |
cb: pem_password_cb, |
| 25926 |
u: *mut ::std::os::raw::c_void, |
| 25927 |
) -> *mut RSA; |
| 25928 |
} |
| 25929 |
extern "C" { |
| 25930 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_RSAPrivateKey"] |
| 25931 |
pub fn PEM_read_RSAPrivateKey( |
| 25932 |
fp: *mut FILE, |
| 25933 |
x: *mut *mut RSA, |
| 25934 |
cb: pem_password_cb, |
| 25935 |
u: *mut ::std::os::raw::c_void, |
| 25936 |
) -> *mut RSA; |
| 25937 |
} |
| 25938 |
extern "C" { |
| 25939 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_RSAPrivateKey"] |
| 25940 |
pub fn PEM_write_bio_RSAPrivateKey( |
| 25941 |
bp: *mut BIO, |
| 25942 |
x: *mut RSA, |
| 25943 |
enc: *const EVP_CIPHER, |
| 25944 |
pass: *const ::std::os::raw::c_uchar, |
| 25945 |
pass_len: ::std::os::raw::c_int, |
| 25946 |
cb: pem_password_cb, |
| 25947 |
u: *mut ::std::os::raw::c_void, |
| 25948 |
) -> ::std::os::raw::c_int; |
| 25949 |
} |
| 25950 |
extern "C" { |
| 25951 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_RSAPrivateKey"] |
| 25952 |
pub fn PEM_write_RSAPrivateKey( |
| 25953 |
fp: *mut FILE, |
| 25954 |
x: *mut RSA, |
| 25955 |
enc: *const EVP_CIPHER, |
| 25956 |
pass: *const ::std::os::raw::c_uchar, |
| 25957 |
pass_len: ::std::os::raw::c_int, |
| 25958 |
cb: pem_password_cb, |
| 25959 |
u: *mut ::std::os::raw::c_void, |
| 25960 |
) -> ::std::os::raw::c_int; |
| 25961 |
} |
| 25962 |
extern "C" { |
| 25963 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_RSAPublicKey"] |
| 25964 |
pub fn PEM_read_bio_RSAPublicKey( |
| 25965 |
bp: *mut BIO, |
| 25966 |
x: *mut *mut RSA, |
| 25967 |
cb: pem_password_cb, |
| 25968 |
u: *mut ::std::os::raw::c_void, |
| 25969 |
) -> *mut RSA; |
| 25970 |
} |
| 25971 |
extern "C" { |
| 25972 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_RSAPublicKey"] |
| 25973 |
pub fn PEM_read_RSAPublicKey( |
| 25974 |
fp: *mut FILE, |
| 25975 |
x: *mut *mut RSA, |
| 25976 |
cb: pem_password_cb, |
| 25977 |
u: *mut ::std::os::raw::c_void, |
| 25978 |
) -> *mut RSA; |
| 25979 |
} |
| 25980 |
extern "C" { |
| 25981 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_RSAPublicKey"] |
| 25982 |
pub fn PEM_write_bio_RSAPublicKey(bp: *mut BIO, x: *const RSA) -> ::std::os::raw::c_int; |
| 25983 |
} |
| 25984 |
extern "C" { |
| 25985 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_RSAPublicKey"] |
| 25986 |
pub fn PEM_write_RSAPublicKey(fp: *mut FILE, x: *const RSA) -> ::std::os::raw::c_int; |
| 25987 |
} |
| 25988 |
extern "C" { |
| 25989 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_RSA_PUBKEY"] |
| 25990 |
pub fn PEM_read_bio_RSA_PUBKEY( |
| 25991 |
bp: *mut BIO, |
| 25992 |
x: *mut *mut RSA, |
| 25993 |
cb: pem_password_cb, |
| 25994 |
u: *mut ::std::os::raw::c_void, |
| 25995 |
) -> *mut RSA; |
| 25996 |
} |
| 25997 |
extern "C" { |
| 25998 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_RSA_PUBKEY"] |
| 25999 |
pub fn PEM_read_RSA_PUBKEY( |
| 26000 |
fp: *mut FILE, |
| 26001 |
x: *mut *mut RSA, |
| 26002 |
cb: pem_password_cb, |
| 26003 |
u: *mut ::std::os::raw::c_void, |
| 26004 |
) -> *mut RSA; |
| 26005 |
} |
| 26006 |
extern "C" { |
| 26007 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_RSA_PUBKEY"] |
| 26008 |
pub fn PEM_write_bio_RSA_PUBKEY(bp: *mut BIO, x: *mut RSA) -> ::std::os::raw::c_int; |
| 26009 |
} |
| 26010 |
extern "C" { |
| 26011 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_RSA_PUBKEY"] |
| 26012 |
pub fn PEM_write_RSA_PUBKEY(fp: *mut FILE, x: *mut RSA) -> ::std::os::raw::c_int; |
| 26013 |
} |
| 26014 |
extern "C" { |
| 26015 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_DSAPrivateKey"] |
| 26016 |
pub fn PEM_read_bio_DSAPrivateKey( |
| 26017 |
bp: *mut BIO, |
| 26018 |
x: *mut *mut DSA, |
| 26019 |
cb: pem_password_cb, |
| 26020 |
u: *mut ::std::os::raw::c_void, |
| 26021 |
) -> *mut DSA; |
| 26022 |
} |
| 26023 |
extern "C" { |
| 26024 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_DSAPrivateKey"] |
| 26025 |
pub fn PEM_read_DSAPrivateKey( |
| 26026 |
fp: *mut FILE, |
| 26027 |
x: *mut *mut DSA, |
| 26028 |
cb: pem_password_cb, |
| 26029 |
u: *mut ::std::os::raw::c_void, |
| 26030 |
) -> *mut DSA; |
| 26031 |
} |
| 26032 |
extern "C" { |
| 26033 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_DSAPrivateKey"] |
| 26034 |
pub fn PEM_write_bio_DSAPrivateKey( |
| 26035 |
bp: *mut BIO, |
| 26036 |
x: *mut DSA, |
| 26037 |
enc: *const EVP_CIPHER, |
| 26038 |
pass: *const ::std::os::raw::c_uchar, |
| 26039 |
pass_len: ::std::os::raw::c_int, |
| 26040 |
cb: pem_password_cb, |
| 26041 |
u: *mut ::std::os::raw::c_void, |
| 26042 |
) -> ::std::os::raw::c_int; |
| 26043 |
} |
| 26044 |
extern "C" { |
| 26045 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_DSAPrivateKey"] |
| 26046 |
pub fn PEM_write_DSAPrivateKey( |
| 26047 |
fp: *mut FILE, |
| 26048 |
x: *mut DSA, |
| 26049 |
enc: *const EVP_CIPHER, |
| 26050 |
pass: *const ::std::os::raw::c_uchar, |
| 26051 |
pass_len: ::std::os::raw::c_int, |
| 26052 |
cb: pem_password_cb, |
| 26053 |
u: *mut ::std::os::raw::c_void, |
| 26054 |
) -> ::std::os::raw::c_int; |
| 26055 |
} |
| 26056 |
extern "C" { |
| 26057 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_DSA_PUBKEY"] |
| 26058 |
pub fn PEM_read_bio_DSA_PUBKEY( |
| 26059 |
bp: *mut BIO, |
| 26060 |
x: *mut *mut DSA, |
| 26061 |
cb: pem_password_cb, |
| 26062 |
u: *mut ::std::os::raw::c_void, |
| 26063 |
) -> *mut DSA; |
| 26064 |
} |
| 26065 |
extern "C" { |
| 26066 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_DSA_PUBKEY"] |
| 26067 |
pub fn PEM_read_DSA_PUBKEY( |
| 26068 |
fp: *mut FILE, |
| 26069 |
x: *mut *mut DSA, |
| 26070 |
cb: pem_password_cb, |
| 26071 |
u: *mut ::std::os::raw::c_void, |
| 26072 |
) -> *mut DSA; |
| 26073 |
} |
| 26074 |
extern "C" { |
| 26075 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_DSA_PUBKEY"] |
| 26076 |
pub fn PEM_write_bio_DSA_PUBKEY(bp: *mut BIO, x: *mut DSA) -> ::std::os::raw::c_int; |
| 26077 |
} |
| 26078 |
extern "C" { |
| 26079 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_DSA_PUBKEY"] |
| 26080 |
pub fn PEM_write_DSA_PUBKEY(fp: *mut FILE, x: *mut DSA) -> ::std::os::raw::c_int; |
| 26081 |
} |
| 26082 |
extern "C" { |
| 26083 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_DSAparams"] |
| 26084 |
pub fn PEM_read_bio_DSAparams( |
| 26085 |
bp: *mut BIO, |
| 26086 |
x: *mut *mut DSA, |
| 26087 |
cb: pem_password_cb, |
| 26088 |
u: *mut ::std::os::raw::c_void, |
| 26089 |
) -> *mut DSA; |
| 26090 |
} |
| 26091 |
extern "C" { |
| 26092 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_DSAparams"] |
| 26093 |
pub fn PEM_read_DSAparams( |
| 26094 |
fp: *mut FILE, |
| 26095 |
x: *mut *mut DSA, |
| 26096 |
cb: pem_password_cb, |
| 26097 |
u: *mut ::std::os::raw::c_void, |
| 26098 |
) -> *mut DSA; |
| 26099 |
} |
| 26100 |
extern "C" { |
| 26101 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_DSAparams"] |
| 26102 |
pub fn PEM_write_bio_DSAparams(bp: *mut BIO, x: *const DSA) -> ::std::os::raw::c_int; |
| 26103 |
} |
| 26104 |
extern "C" { |
| 26105 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_DSAparams"] |
| 26106 |
pub fn PEM_write_DSAparams(fp: *mut FILE, x: *const DSA) -> ::std::os::raw::c_int; |
| 26107 |
} |
| 26108 |
extern "C" { |
| 26109 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_ECPrivateKey"] |
| 26110 |
pub fn PEM_read_bio_ECPrivateKey( |
| 26111 |
bp: *mut BIO, |
| 26112 |
x: *mut *mut EC_KEY, |
| 26113 |
cb: pem_password_cb, |
| 26114 |
u: *mut ::std::os::raw::c_void, |
| 26115 |
) -> *mut EC_KEY; |
| 26116 |
} |
| 26117 |
extern "C" { |
| 26118 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_ECPrivateKey"] |
| 26119 |
pub fn PEM_read_ECPrivateKey( |
| 26120 |
fp: *mut FILE, |
| 26121 |
x: *mut *mut EC_KEY, |
| 26122 |
cb: pem_password_cb, |
| 26123 |
u: *mut ::std::os::raw::c_void, |
| 26124 |
) -> *mut EC_KEY; |
| 26125 |
} |
| 26126 |
extern "C" { |
| 26127 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_ECPrivateKey"] |
| 26128 |
pub fn PEM_write_bio_ECPrivateKey( |
| 26129 |
bp: *mut BIO, |
| 26130 |
x: *mut EC_KEY, |
| 26131 |
enc: *const EVP_CIPHER, |
| 26132 |
pass: *const ::std::os::raw::c_uchar, |
| 26133 |
pass_len: ::std::os::raw::c_int, |
| 26134 |
cb: pem_password_cb, |
| 26135 |
u: *mut ::std::os::raw::c_void, |
| 26136 |
) -> ::std::os::raw::c_int; |
| 26137 |
} |
| 26138 |
extern "C" { |
| 26139 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_ECPrivateKey"] |
| 26140 |
pub fn PEM_write_ECPrivateKey( |
| 26141 |
fp: *mut FILE, |
| 26142 |
x: *mut EC_KEY, |
| 26143 |
enc: *const EVP_CIPHER, |
| 26144 |
pass: *const ::std::os::raw::c_uchar, |
| 26145 |
pass_len: ::std::os::raw::c_int, |
| 26146 |
cb: pem_password_cb, |
| 26147 |
u: *mut ::std::os::raw::c_void, |
| 26148 |
) -> ::std::os::raw::c_int; |
| 26149 |
} |
| 26150 |
extern "C" { |
| 26151 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_EC_PUBKEY"] |
| 26152 |
pub fn PEM_read_bio_EC_PUBKEY( |
| 26153 |
bp: *mut BIO, |
| 26154 |
x: *mut *mut EC_KEY, |
| 26155 |
cb: pem_password_cb, |
| 26156 |
u: *mut ::std::os::raw::c_void, |
| 26157 |
) -> *mut EC_KEY; |
| 26158 |
} |
| 26159 |
extern "C" { |
| 26160 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_EC_PUBKEY"] |
| 26161 |
pub fn PEM_read_EC_PUBKEY( |
| 26162 |
fp: *mut FILE, |
| 26163 |
x: *mut *mut EC_KEY, |
| 26164 |
cb: pem_password_cb, |
| 26165 |
u: *mut ::std::os::raw::c_void, |
| 26166 |
) -> *mut EC_KEY; |
| 26167 |
} |
| 26168 |
extern "C" { |
| 26169 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_EC_PUBKEY"] |
| 26170 |
pub fn PEM_write_bio_EC_PUBKEY(bp: *mut BIO, x: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 26171 |
} |
| 26172 |
extern "C" { |
| 26173 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_EC_PUBKEY"] |
| 26174 |
pub fn PEM_write_EC_PUBKEY(fp: *mut FILE, x: *mut EC_KEY) -> ::std::os::raw::c_int; |
| 26175 |
} |
| 26176 |
extern "C" { |
| 26177 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_DHparams"] |
| 26178 |
pub fn PEM_read_bio_DHparams( |
| 26179 |
bp: *mut BIO, |
| 26180 |
x: *mut *mut DH, |
| 26181 |
cb: pem_password_cb, |
| 26182 |
u: *mut ::std::os::raw::c_void, |
| 26183 |
) -> *mut DH; |
| 26184 |
} |
| 26185 |
extern "C" { |
| 26186 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_DHparams"] |
| 26187 |
pub fn PEM_read_DHparams( |
| 26188 |
fp: *mut FILE, |
| 26189 |
x: *mut *mut DH, |
| 26190 |
cb: pem_password_cb, |
| 26191 |
u: *mut ::std::os::raw::c_void, |
| 26192 |
) -> *mut DH; |
| 26193 |
} |
| 26194 |
extern "C" { |
| 26195 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_DHparams"] |
| 26196 |
pub fn PEM_write_bio_DHparams(bp: *mut BIO, x: *const DH) -> ::std::os::raw::c_int; |
| 26197 |
} |
| 26198 |
extern "C" { |
| 26199 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_DHparams"] |
| 26200 |
pub fn PEM_write_DHparams(fp: *mut FILE, x: *const DH) -> ::std::os::raw::c_int; |
| 26201 |
} |
| 26202 |
extern "C" { |
| 26203 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_PrivateKey"] |
| 26204 |
pub fn PEM_read_bio_PrivateKey( |
| 26205 |
bp: *mut BIO, |
| 26206 |
x: *mut *mut EVP_PKEY, |
| 26207 |
cb: pem_password_cb, |
| 26208 |
u: *mut ::std::os::raw::c_void, |
| 26209 |
) -> *mut EVP_PKEY; |
| 26210 |
} |
| 26211 |
extern "C" { |
| 26212 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_PrivateKey"] |
| 26213 |
pub fn PEM_read_PrivateKey( |
| 26214 |
fp: *mut FILE, |
| 26215 |
x: *mut *mut EVP_PKEY, |
| 26216 |
cb: pem_password_cb, |
| 26217 |
u: *mut ::std::os::raw::c_void, |
| 26218 |
) -> *mut EVP_PKEY; |
| 26219 |
} |
| 26220 |
extern "C" { |
| 26221 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_PrivateKey"] |
| 26222 |
pub fn PEM_write_bio_PrivateKey( |
| 26223 |
bp: *mut BIO, |
| 26224 |
x: *mut EVP_PKEY, |
| 26225 |
enc: *const EVP_CIPHER, |
| 26226 |
pass: *const ::std::os::raw::c_uchar, |
| 26227 |
pass_len: ::std::os::raw::c_int, |
| 26228 |
cb: pem_password_cb, |
| 26229 |
u: *mut ::std::os::raw::c_void, |
| 26230 |
) -> ::std::os::raw::c_int; |
| 26231 |
} |
| 26232 |
extern "C" { |
| 26233 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_PrivateKey"] |
| 26234 |
pub fn PEM_write_PrivateKey( |
| 26235 |
fp: *mut FILE, |
| 26236 |
x: *mut EVP_PKEY, |
| 26237 |
enc: *const EVP_CIPHER, |
| 26238 |
pass: *const ::std::os::raw::c_uchar, |
| 26239 |
pass_len: ::std::os::raw::c_int, |
| 26240 |
cb: pem_password_cb, |
| 26241 |
u: *mut ::std::os::raw::c_void, |
| 26242 |
) -> ::std::os::raw::c_int; |
| 26243 |
} |
| 26244 |
extern "C" { |
| 26245 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_PUBKEY"] |
| 26246 |
pub fn PEM_read_bio_PUBKEY( |
| 26247 |
bp: *mut BIO, |
| 26248 |
x: *mut *mut EVP_PKEY, |
| 26249 |
cb: pem_password_cb, |
| 26250 |
u: *mut ::std::os::raw::c_void, |
| 26251 |
) -> *mut EVP_PKEY; |
| 26252 |
} |
| 26253 |
extern "C" { |
| 26254 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_PUBKEY"] |
| 26255 |
pub fn PEM_read_PUBKEY( |
| 26256 |
fp: *mut FILE, |
| 26257 |
x: *mut *mut EVP_PKEY, |
| 26258 |
cb: pem_password_cb, |
| 26259 |
u: *mut ::std::os::raw::c_void, |
| 26260 |
) -> *mut EVP_PKEY; |
| 26261 |
} |
| 26262 |
extern "C" { |
| 26263 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_PUBKEY"] |
| 26264 |
pub fn PEM_write_bio_PUBKEY(bp: *mut BIO, x: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 26265 |
} |
| 26266 |
extern "C" { |
| 26267 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_PUBKEY"] |
| 26268 |
pub fn PEM_write_PUBKEY(fp: *mut FILE, x: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 26269 |
} |
| 26270 |
extern "C" { |
| 26271 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_PKCS8PrivateKey_nid"] |
| 26272 |
pub fn PEM_write_bio_PKCS8PrivateKey_nid( |
| 26273 |
bp: *mut BIO, |
| 26274 |
x: *const EVP_PKEY, |
| 26275 |
nid: ::std::os::raw::c_int, |
| 26276 |
pass: *const ::std::os::raw::c_char, |
| 26277 |
pass_len: ::std::os::raw::c_int, |
| 26278 |
cb: pem_password_cb, |
| 26279 |
u: *mut ::std::os::raw::c_void, |
| 26280 |
) -> ::std::os::raw::c_int; |
| 26281 |
} |
| 26282 |
extern "C" { |
| 26283 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_PKCS8PrivateKey"] |
| 26284 |
pub fn PEM_write_bio_PKCS8PrivateKey( |
| 26285 |
bp: *mut BIO, |
| 26286 |
x: *const EVP_PKEY, |
| 26287 |
enc: *const EVP_CIPHER, |
| 26288 |
pass: *const ::std::os::raw::c_char, |
| 26289 |
pass_len: ::std::os::raw::c_int, |
| 26290 |
cb: pem_password_cb, |
| 26291 |
u: *mut ::std::os::raw::c_void, |
| 26292 |
) -> ::std::os::raw::c_int; |
| 26293 |
} |
| 26294 |
extern "C" { |
| 26295 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8PrivateKey_bio"] |
| 26296 |
pub fn i2d_PKCS8PrivateKey_bio( |
| 26297 |
bp: *mut BIO, |
| 26298 |
x: *const EVP_PKEY, |
| 26299 |
enc: *const EVP_CIPHER, |
| 26300 |
pass: *const ::std::os::raw::c_char, |
| 26301 |
pass_len: ::std::os::raw::c_int, |
| 26302 |
cb: pem_password_cb, |
| 26303 |
u: *mut ::std::os::raw::c_void, |
| 26304 |
) -> ::std::os::raw::c_int; |
| 26305 |
} |
| 26306 |
extern "C" { |
| 26307 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8PrivateKey_nid_bio"] |
| 26308 |
pub fn i2d_PKCS8PrivateKey_nid_bio( |
| 26309 |
bp: *mut BIO, |
| 26310 |
x: *const EVP_PKEY, |
| 26311 |
nid: ::std::os::raw::c_int, |
| 26312 |
pass: *const ::std::os::raw::c_char, |
| 26313 |
pass_len: ::std::os::raw::c_int, |
| 26314 |
cb: pem_password_cb, |
| 26315 |
u: *mut ::std::os::raw::c_void, |
| 26316 |
) -> ::std::os::raw::c_int; |
| 26317 |
} |
| 26318 |
extern "C" { |
| 26319 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS8PrivateKey_bio"] |
| 26320 |
pub fn d2i_PKCS8PrivateKey_bio( |
| 26321 |
bp: *mut BIO, |
| 26322 |
x: *mut *mut EVP_PKEY, |
| 26323 |
cb: pem_password_cb, |
| 26324 |
u: *mut ::std::os::raw::c_void, |
| 26325 |
) -> *mut EVP_PKEY; |
| 26326 |
} |
| 26327 |
extern "C" { |
| 26328 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8PrivateKey_fp"] |
| 26329 |
pub fn i2d_PKCS8PrivateKey_fp( |
| 26330 |
fp: *mut FILE, |
| 26331 |
x: *const EVP_PKEY, |
| 26332 |
enc: *const EVP_CIPHER, |
| 26333 |
pass: *const ::std::os::raw::c_char, |
| 26334 |
pass_len: ::std::os::raw::c_int, |
| 26335 |
cb: pem_password_cb, |
| 26336 |
u: *mut ::std::os::raw::c_void, |
| 26337 |
) -> ::std::os::raw::c_int; |
| 26338 |
} |
| 26339 |
extern "C" { |
| 26340 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS8PrivateKey_nid_fp"] |
| 26341 |
pub fn i2d_PKCS8PrivateKey_nid_fp( |
| 26342 |
fp: *mut FILE, |
| 26343 |
x: *const EVP_PKEY, |
| 26344 |
nid: ::std::os::raw::c_int, |
| 26345 |
pass: *const ::std::os::raw::c_char, |
| 26346 |
pass_len: ::std::os::raw::c_int, |
| 26347 |
cb: pem_password_cb, |
| 26348 |
u: *mut ::std::os::raw::c_void, |
| 26349 |
) -> ::std::os::raw::c_int; |
| 26350 |
} |
| 26351 |
extern "C" { |
| 26352 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_PKCS8PrivateKey_nid"] |
| 26353 |
pub fn PEM_write_PKCS8PrivateKey_nid( |
| 26354 |
fp: *mut FILE, |
| 26355 |
x: *const EVP_PKEY, |
| 26356 |
nid: ::std::os::raw::c_int, |
| 26357 |
pass: *const ::std::os::raw::c_char, |
| 26358 |
pass_len: ::std::os::raw::c_int, |
| 26359 |
cb: pem_password_cb, |
| 26360 |
u: *mut ::std::os::raw::c_void, |
| 26361 |
) -> ::std::os::raw::c_int; |
| 26362 |
} |
| 26363 |
extern "C" { |
| 26364 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS8PrivateKey_fp"] |
| 26365 |
pub fn d2i_PKCS8PrivateKey_fp( |
| 26366 |
fp: *mut FILE, |
| 26367 |
x: *mut *mut EVP_PKEY, |
| 26368 |
cb: pem_password_cb, |
| 26369 |
u: *mut ::std::os::raw::c_void, |
| 26370 |
) -> *mut EVP_PKEY; |
| 26371 |
} |
| 26372 |
extern "C" { |
| 26373 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_PKCS8PrivateKey"] |
| 26374 |
pub fn PEM_write_PKCS8PrivateKey( |
| 26375 |
fp: *mut FILE, |
| 26376 |
x: *const EVP_PKEY, |
| 26377 |
enc: *const EVP_CIPHER, |
| 26378 |
pass: *const ::std::os::raw::c_char, |
| 26379 |
pass_len: ::std::os::raw::c_int, |
| 26380 |
cd: pem_password_cb, |
| 26381 |
u: *mut ::std::os::raw::c_void, |
| 26382 |
) -> ::std::os::raw::c_int; |
| 26383 |
} |
| 26384 |
extern "C" { |
| 26385 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_Parameters"] |
| 26386 |
pub fn PEM_read_bio_Parameters(bio: *mut BIO, pkey: *mut *mut EVP_PKEY) -> *mut EVP_PKEY; |
| 26387 |
} |
| 26388 |
extern "C" { |
| 26389 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_Parameters"] |
| 26390 |
pub fn PEM_write_bio_Parameters(bio: *mut BIO, pkey: *mut EVP_PKEY) -> ::std::os::raw::c_int; |
| 26391 |
} |
| 26392 |
extern "C" { |
| 26393 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_read_bio_ECPKParameters"] |
| 26394 |
pub fn PEM_read_bio_ECPKParameters( |
| 26395 |
bio: *mut BIO, |
| 26396 |
out_group: *mut *mut EC_GROUP, |
| 26397 |
cb: pem_password_cb, |
| 26398 |
u: *mut ::std::os::raw::c_void, |
| 26399 |
) -> *mut EC_GROUP; |
| 26400 |
} |
| 26401 |
extern "C" { |
| 26402 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_ECPKParameters"] |
| 26403 |
pub fn PEM_write_bio_ECPKParameters( |
| 26404 |
out: *mut BIO, |
| 26405 |
group: *const EC_GROUP, |
| 26406 |
) -> ::std::os::raw::c_int; |
| 26407 |
} |
| 26408 |
extern "C" { |
| 26409 |
#[link_name = "\u{1}aws_lc_0_41_0_PEM_write_bio_PrivateKey_traditional"] |
| 26410 |
pub fn PEM_write_bio_PrivateKey_traditional( |
| 26411 |
bp: *mut BIO, |
| 26412 |
x: *mut EVP_PKEY, |
| 26413 |
enc: *const EVP_CIPHER, |
| 26414 |
kstr: *mut ::std::os::raw::c_uchar, |
| 26415 |
klen: ::std::os::raw::c_int, |
| 26416 |
cb: pem_password_cb, |
| 26417 |
u: *mut ::std::os::raw::c_void, |
| 26418 |
) -> ::std::os::raw::c_int; |
| 26419 |
} |
| 26420 |
extern "C" { |
| 26421 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS8_encrypt"] |
| 26422 |
pub fn PKCS8_encrypt( |
| 26423 |
pbe_nid: ::std::os::raw::c_int, |
| 26424 |
cipher: *const EVP_CIPHER, |
| 26425 |
pass: *const ::std::os::raw::c_char, |
| 26426 |
pass_len: ::std::os::raw::c_int, |
| 26427 |
salt: *const u8, |
| 26428 |
salt_len: usize, |
| 26429 |
iterations: ::std::os::raw::c_int, |
| 26430 |
p8inf: *mut PKCS8_PRIV_KEY_INFO, |
| 26431 |
) -> *mut X509_SIG; |
| 26432 |
} |
| 26433 |
extern "C" { |
| 26434 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS8_marshal_encrypted_private_key"] |
| 26435 |
pub fn PKCS8_marshal_encrypted_private_key( |
| 26436 |
out: *mut CBB, |
| 26437 |
pbe_nid: ::std::os::raw::c_int, |
| 26438 |
cipher: *const EVP_CIPHER, |
| 26439 |
pass: *const ::std::os::raw::c_char, |
| 26440 |
pass_len: usize, |
| 26441 |
salt: *const u8, |
| 26442 |
salt_len: usize, |
| 26443 |
iterations: ::std::os::raw::c_int, |
| 26444 |
pkey: *const EVP_PKEY, |
| 26445 |
) -> ::std::os::raw::c_int; |
| 26446 |
} |
| 26447 |
extern "C" { |
| 26448 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS8_decrypt"] |
| 26449 |
pub fn PKCS8_decrypt( |
| 26450 |
pkcs8: *mut X509_SIG, |
| 26451 |
pass: *const ::std::os::raw::c_char, |
| 26452 |
pass_len: ::std::os::raw::c_int, |
| 26453 |
) -> *mut PKCS8_PRIV_KEY_INFO; |
| 26454 |
} |
| 26455 |
extern "C" { |
| 26456 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS8_parse_encrypted_private_key"] |
| 26457 |
pub fn PKCS8_parse_encrypted_private_key( |
| 26458 |
cbs: *mut CBS, |
| 26459 |
pass: *const ::std::os::raw::c_char, |
| 26460 |
pass_len: usize, |
| 26461 |
) -> *mut EVP_PKEY; |
| 26462 |
} |
| 26463 |
extern "C" { |
| 26464 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS12_get_key_and_certs"] |
| 26465 |
pub fn PKCS12_get_key_and_certs( |
| 26466 |
out_key: *mut *mut EVP_PKEY, |
| 26467 |
out_certs: *mut stack_st_X509, |
| 26468 |
in_: *mut CBS, |
| 26469 |
password: *const ::std::os::raw::c_char, |
| 26470 |
) -> ::std::os::raw::c_int; |
| 26471 |
} |
| 26472 |
extern "C" { |
| 26473 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS12_PBE_add"] |
| 26474 |
pub fn PKCS12_PBE_add(); |
| 26475 |
} |
| 26476 |
extern "C" { |
| 26477 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS12"] |
| 26478 |
pub fn d2i_PKCS12( |
| 26479 |
out_p12: *mut *mut PKCS12, |
| 26480 |
ber_bytes: *mut *const u8, |
| 26481 |
ber_len: usize, |
| 26482 |
) -> *mut PKCS12; |
| 26483 |
} |
| 26484 |
extern "C" { |
| 26485 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS12_bio"] |
| 26486 |
pub fn d2i_PKCS12_bio(bio: *mut BIO, out_p12: *mut *mut PKCS12) -> *mut PKCS12; |
| 26487 |
} |
| 26488 |
extern "C" { |
| 26489 |
#[link_name = "\u{1}aws_lc_0_41_0_d2i_PKCS12_fp"] |
| 26490 |
pub fn d2i_PKCS12_fp(fp: *mut FILE, out_p12: *mut *mut PKCS12) -> *mut PKCS12; |
| 26491 |
} |
| 26492 |
extern "C" { |
| 26493 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS12"] |
| 26494 |
pub fn i2d_PKCS12(p12: *const PKCS12, out: *mut *mut u8) -> ::std::os::raw::c_int; |
| 26495 |
} |
| 26496 |
extern "C" { |
| 26497 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS12_bio"] |
| 26498 |
pub fn i2d_PKCS12_bio(bio: *mut BIO, p12: *const PKCS12) -> ::std::os::raw::c_int; |
| 26499 |
} |
| 26500 |
extern "C" { |
| 26501 |
#[link_name = "\u{1}aws_lc_0_41_0_i2d_PKCS12_fp"] |
| 26502 |
pub fn i2d_PKCS12_fp(fp: *mut FILE, p12: *const PKCS12) -> ::std::os::raw::c_int; |
| 26503 |
} |
| 26504 |
extern "C" { |
| 26505 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS12_parse"] |
| 26506 |
pub fn PKCS12_parse( |
| 26507 |
p12: *const PKCS12, |
| 26508 |
password: *const ::std::os::raw::c_char, |
| 26509 |
out_pkey: *mut *mut EVP_PKEY, |
| 26510 |
out_cert: *mut *mut X509, |
| 26511 |
out_ca_certs: *mut *mut stack_st_X509, |
| 26512 |
) -> ::std::os::raw::c_int; |
| 26513 |
} |
| 26514 |
extern "C" { |
| 26515 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS12_set_mac"] |
| 26516 |
pub fn PKCS12_set_mac( |
| 26517 |
p12: *mut PKCS12, |
| 26518 |
password: *const ::std::os::raw::c_char, |
| 26519 |
password_len: ::std::os::raw::c_int, |
| 26520 |
salt: *mut ::std::os::raw::c_uchar, |
| 26521 |
salt_len: ::std::os::raw::c_int, |
| 26522 |
mac_iterations: ::std::os::raw::c_int, |
| 26523 |
md: *const EVP_MD, |
| 26524 |
) -> ::std::os::raw::c_int; |
| 26525 |
} |
| 26526 |
extern "C" { |
| 26527 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS12_verify_mac"] |
| 26528 |
pub fn PKCS12_verify_mac( |
| 26529 |
p12: *const PKCS12, |
| 26530 |
password: *const ::std::os::raw::c_char, |
| 26531 |
password_len: ::std::os::raw::c_int, |
| 26532 |
) -> ::std::os::raw::c_int; |
| 26533 |
} |
| 26534 |
extern "C" { |
| 26535 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS12_create"] |
| 26536 |
pub fn PKCS12_create( |
| 26537 |
password: *const ::std::os::raw::c_char, |
| 26538 |
name: *const ::std::os::raw::c_char, |
| 26539 |
pkey: *const EVP_PKEY, |
| 26540 |
cert: *mut X509, |
| 26541 |
chain: *const stack_st_X509, |
| 26542 |
key_nid: ::std::os::raw::c_int, |
| 26543 |
cert_nid: ::std::os::raw::c_int, |
| 26544 |
iterations: ::std::os::raw::c_int, |
| 26545 |
mac_iterations: ::std::os::raw::c_int, |
| 26546 |
key_type: ::std::os::raw::c_int, |
| 26547 |
) -> *mut PKCS12; |
| 26548 |
} |
| 26549 |
extern "C" { |
| 26550 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS12_new"] |
| 26551 |
pub fn PKCS12_new() -> *mut PKCS12; |
| 26552 |
} |
| 26553 |
extern "C" { |
| 26554 |
#[link_name = "\u{1}aws_lc_0_41_0_PKCS12_free"] |
| 26555 |
pub fn PKCS12_free(p12: *mut PKCS12); |
| 26556 |
} |
| 26557 |
pub type poly1305_state = [u8; 512usize]; |
| 26558 |
extern "C" { |
| 26559 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_poly1305_init"] |
| 26560 |
pub fn CRYPTO_poly1305_init(state: *mut poly1305_state, key: *const u8); |
| 26561 |
} |
| 26562 |
extern "C" { |
| 26563 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_poly1305_update"] |
| 26564 |
pub fn CRYPTO_poly1305_update(state: *mut poly1305_state, in_: *const u8, in_len: usize); |
| 26565 |
} |
| 26566 |
extern "C" { |
| 26567 |
#[link_name = "\u{1}aws_lc_0_41_0_CRYPTO_poly1305_finish"] |
| 26568 |
pub fn CRYPTO_poly1305_finish(state: *mut poly1305_state, mac: *mut u8); |
| 26569 |
} |
| 26570 |
extern "C" { |
| 26571 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_bytes"] |
| 26572 |
pub fn RAND_bytes(buf: *mut u8, len: usize) -> ::std::os::raw::c_int; |
| 26573 |
} |
| 26574 |
extern "C" { |
| 26575 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_priv_bytes"] |
| 26576 |
pub fn RAND_priv_bytes(buf: *mut u8, len: usize) -> ::std::os::raw::c_int; |
| 26577 |
} |
| 26578 |
extern "C" { |
| 26579 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_public_bytes"] |
| 26580 |
pub fn RAND_public_bytes(out: *mut u8, out_len: usize) -> ::std::os::raw::c_int; |
| 26581 |
} |
| 26582 |
extern "C" { |
| 26583 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_bytes_with_user_prediction_resistance"] |
| 26584 |
pub fn RAND_bytes_with_user_prediction_resistance( |
| 26585 |
out: *mut u8, |
| 26586 |
out_len: usize, |
| 26587 |
user_pred_resistance: *const u8, |
| 26588 |
) -> ::std::os::raw::c_int; |
| 26589 |
} |
| 26590 |
extern "C" { |
| 26591 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_pseudo_bytes"] |
| 26592 |
pub fn RAND_pseudo_bytes(buf: *mut u8, len: usize) -> ::std::os::raw::c_int; |
| 26593 |
} |
| 26594 |
extern "C" { |
| 26595 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_seed"] |
| 26596 |
pub fn RAND_seed(buf: *const ::std::os::raw::c_void, num: ::std::os::raw::c_int); |
| 26597 |
} |
| 26598 |
extern "C" { |
| 26599 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_load_file"] |
| 26600 |
pub fn RAND_load_file( |
| 26601 |
path: *const ::std::os::raw::c_char, |
| 26602 |
num: ::std::os::raw::c_long, |
| 26603 |
) -> ::std::os::raw::c_int; |
| 26604 |
} |
| 26605 |
extern "C" { |
| 26606 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_write_file"] |
| 26607 |
pub fn RAND_write_file(file: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; |
| 26608 |
} |
| 26609 |
extern "C" { |
| 26610 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_file_name"] |
| 26611 |
pub fn RAND_file_name( |
| 26612 |
buf: *mut ::std::os::raw::c_char, |
| 26613 |
num: usize, |
| 26614 |
) -> *const ::std::os::raw::c_char; |
| 26615 |
} |
| 26616 |
extern "C" { |
| 26617 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_add"] |
| 26618 |
pub fn RAND_add(buf: *const ::std::os::raw::c_void, num: ::std::os::raw::c_int, entropy: f64); |
| 26619 |
} |
| 26620 |
extern "C" { |
| 26621 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_egd"] |
| 26622 |
pub fn RAND_egd(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; |
| 26623 |
} |
| 26624 |
extern "C" { |
| 26625 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_egd_bytes"] |
| 26626 |
pub fn RAND_egd_bytes( |
| 26627 |
arg1: *const ::std::os::raw::c_char, |
| 26628 |
bytes: ::std::os::raw::c_int, |
| 26629 |
) -> ::std::os::raw::c_int; |
| 26630 |
} |
| 26631 |
extern "C" { |
| 26632 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_poll"] |
| 26633 |
pub fn RAND_poll() -> ::std::os::raw::c_int; |
| 26634 |
} |
| 26635 |
extern "C" { |
| 26636 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_status"] |
| 26637 |
pub fn RAND_status() -> ::std::os::raw::c_int; |
| 26638 |
} |
| 26639 |
extern "C" { |
| 26640 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_cleanup"] |
| 26641 |
pub fn RAND_cleanup(); |
| 26642 |
} |
| 26643 |
#[repr(C)] |
| 26644 |
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] |
| 26645 |
pub struct rand_meth_st { |
| 26646 |
pub seed: ::std::option::Option< |
| 26647 |
unsafe extern "C" fn(buf: *const ::std::os::raw::c_void, num: ::std::os::raw::c_int), |
| 26648 |
>, |
| 26649 |
pub bytes: ::std::option::Option< |
| 26650 |
unsafe extern "C" fn(buf: *mut u8, num: usize) -> ::std::os::raw::c_int, |
| 26651 |
>, |
| 26652 |
pub cleanup: ::std::option::Option<unsafe extern "C" fn()>, |
| 26653 |
pub add: ::std::option::Option< |
| 26654 |
unsafe extern "C" fn( |
| 26655 |
buf: *const ::std::os::raw::c_void, |
| 26656 |
num: ::std::os::raw::c_int, |
| 26657 |
entropy: f64, |
| 26658 |
), |
| 26659 |
>, |
| 26660 |
pub pseudorand: ::std::option::Option< |
| 26661 |
unsafe extern "C" fn(buf: *mut u8, num: usize) -> ::std::os::raw::c_int, |
| 26662 |
>, |
| 26663 |
pub status: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>, |
| 26664 |
} |
| 26665 |
#[test] |
| 26666 |
fn bindgen_test_layout_rand_meth_st() { |
| 26667 |
const UNINIT: ::std::mem::MaybeUninit<rand_meth_st> = ::std::mem::MaybeUninit::uninit(); |
| 26668 |
let ptr = UNINIT.as_ptr(); |
| 26669 |
assert_eq!( |
| 26670 |
::std::mem::size_of::<rand_meth_st>(), |
| 26671 |
48usize, |
| 26672 |
"Size of rand_meth_st" |
| 26673 |
); |
| 26674 |
assert_eq!( |
| 26675 |
::std::mem::align_of::<rand_meth_st>(), |
| 26676 |
8usize, |
| 26677 |
"Alignment of rand_meth_st" |
| 26678 |
); |
| 26679 |
assert_eq!( |
| 26680 |
unsafe { ::std::ptr::addr_of!((*ptr).seed) as usize - ptr as usize }, |
| 26681 |
0usize, |
| 26682 |
"Offset of field: rand_meth_st::seed" |
| 26683 |
); |
| 26684 |
assert_eq!( |
| 26685 |
unsafe { ::std::ptr::addr_of!((*ptr).bytes) as usize - ptr as usize }, |
| 26686 |
8usize, |
| 26687 |
"Offset of field: rand_meth_st::bytes" |
| 26688 |
); |
| 26689 |
assert_eq!( |
| 26690 |
unsafe { ::std::ptr::addr_of!((*ptr).cleanup) as usize - ptr as usize }, |
| 26691 |
16usize, |
| 26692 |
"Offset of field: rand_meth_st::cleanup" |
| 26693 |
); |
| 26694 |
assert_eq!( |
| 26695 |
unsafe { ::std::ptr::addr_of!((*ptr).add) as usize - ptr as usize }, |
| 26696 |
24usize, |
| 26697 |
"Offset of field: rand_meth_st::add" |
| 26698 |
); |
| 26699 |
assert_eq!( |
| 26700 |
unsafe { ::std::ptr::addr_of!((*ptr).pseudorand) as usize - ptr as usize }, |
| 26701 |
32usize, |
| 26702 |
"Offset of field: rand_meth_st::pseudorand" |
| 26703 |
); |
| 26704 |
assert_eq!( |
| 26705 |
unsafe { ::std::ptr::addr_of!((*ptr).status) as usize - ptr as usize }, |
| 26706 |
40usize, |
| 26707 |
"Offset of field: rand_meth_st::status" |
| 26708 |
); |
| 26709 |
} |
| 26710 |
extern "C" { |
| 26711 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_SSLeay"] |
| 26712 |
pub fn RAND_SSLeay() -> *mut RAND_METHOD; |
| 26713 |
} |
| 26714 |
extern "C" { |
| 26715 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_OpenSSL"] |
| 26716 |
pub fn RAND_OpenSSL() -> *mut RAND_METHOD; |
| 26717 |
} |
| 26718 |
extern "C" { |
| 26719 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_get_rand_method"] |
| 26720 |
pub fn RAND_get_rand_method() -> *const RAND_METHOD; |
| 26721 |
} |
| 26722 |
extern "C" { |
| 26723 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_set_rand_method"] |
| 26724 |
pub fn RAND_set_rand_method(arg1: *const RAND_METHOD) -> ::std::os::raw::c_int; |
| 26725 |
} |
| 26726 |
extern "C" { |
| 26727 |
#[link_name = "\u{1}aws_lc_0_41_0_RAND_keep_random_devices_open"] |
| 26728 |
pub fn RAND_keep_random_devices_open(a: ::std::os::raw::c_int); |
| 26729 |
} |
| 26730 |
#[repr(C)] |
| 26731 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 26732 |
pub struct rc4_key_st { |
| 26733 |
pub x: u32, |
| 26734 |
pub y: u32, |
| 26735 |
pub data: [u32; 256usize], |
| 26736 |
} |
| 26737 |
#[test] |
| 26738 |
fn bindgen_test_layout_rc4_key_st() { |
| 26739 |
const UNINIT: ::std::mem::MaybeUninit<rc4_key_st> = ::std::mem::MaybeUninit::uninit(); |
| 26740 |
let ptr = UNINIT.as_ptr(); |
| 26741 |
assert_eq!( |
| 26742 |
::std::mem::size_of::<rc4_key_st>(), |
| 26743 |
1032usize, |
| 26744 |
"Size of rc4_key_st" |
| 26745 |
); |
| 26746 |
assert_eq!( |
| 26747 |
::std::mem::align_of::<rc4_key_st>(), |
| 26748 |
4usize, |
| 26749 |
"Alignment of rc4_key_st" |
| 26750 |
); |
| 26751 |
assert_eq!( |
| 26752 |
unsafe { ::std::ptr::addr_of!((*ptr).x) as usize - ptr as usize }, |
| 26753 |
0usize, |
| 26754 |
"Offset of field: rc4_key_st::x" |
| 26755 |
); |
| 26756 |
assert_eq!( |
| 26757 |
unsafe { ::std::ptr::addr_of!((*ptr).y) as usize - ptr as usize }, |
| 26758 |
4usize, |
| 26759 |
"Offset of field: rc4_key_st::y" |
| 26760 |
); |
| 26761 |
assert_eq!( |
| 26762 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 26763 |
8usize, |
| 26764 |
"Offset of field: rc4_key_st::data" |
| 26765 |
); |
| 26766 |
} |
| 26767 |
impl Default for rc4_key_st { |
| 26768 |
fn default() -> Self { |
| 26769 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 26770 |
unsafe { |
| 26771 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 26772 |
s.assume_init() |
| 26773 |
} |
| 26774 |
} |
| 26775 |
} |
| 26776 |
extern "C" { |
| 26777 |
#[link_name = "\u{1}aws_lc_0_41_0_RC4_set_key"] |
| 26778 |
pub fn RC4_set_key(rc4key: *mut RC4_KEY, len: ::std::os::raw::c_uint, key: *const u8); |
| 26779 |
} |
| 26780 |
extern "C" { |
| 26781 |
#[link_name = "\u{1}aws_lc_0_41_0_RC4"] |
| 26782 |
pub fn RC4(key: *mut RC4_KEY, len: usize, in_: *const u8, out: *mut u8); |
| 26783 |
} |
| 26784 |
extern "C" { |
| 26785 |
#[link_name = "\u{1}aws_lc_0_41_0_RC4_options"] |
| 26786 |
pub fn RC4_options() -> *const ::std::os::raw::c_char; |
| 26787 |
} |
| 26788 |
#[repr(C)] |
| 26789 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 26790 |
pub struct RIPEMD160state_st { |
| 26791 |
pub h: [u32; 5usize], |
| 26792 |
pub Nl: u32, |
| 26793 |
pub Nh: u32, |
| 26794 |
pub data: [u8; 64usize], |
| 26795 |
pub num: ::std::os::raw::c_uint, |
| 26796 |
} |
| 26797 |
#[test] |
| 26798 |
fn bindgen_test_layout_RIPEMD160state_st() { |
| 26799 |
const UNINIT: ::std::mem::MaybeUninit<RIPEMD160state_st> = ::std::mem::MaybeUninit::uninit(); |
| 26800 |
let ptr = UNINIT.as_ptr(); |
| 26801 |
assert_eq!( |
| 26802 |
::std::mem::size_of::<RIPEMD160state_st>(), |
| 26803 |
96usize, |
| 26804 |
"Size of RIPEMD160state_st" |
| 26805 |
); |
| 26806 |
assert_eq!( |
| 26807 |
::std::mem::align_of::<RIPEMD160state_st>(), |
| 26808 |
4usize, |
| 26809 |
"Alignment of RIPEMD160state_st" |
| 26810 |
); |
| 26811 |
assert_eq!( |
| 26812 |
unsafe { ::std::ptr::addr_of!((*ptr).h) as usize - ptr as usize }, |
| 26813 |
0usize, |
| 26814 |
"Offset of field: RIPEMD160state_st::h" |
| 26815 |
); |
| 26816 |
assert_eq!( |
| 26817 |
unsafe { ::std::ptr::addr_of!((*ptr).Nl) as usize - ptr as usize }, |
| 26818 |
20usize, |
| 26819 |
"Offset of field: RIPEMD160state_st::Nl" |
| 26820 |
); |
| 26821 |
assert_eq!( |
| 26822 |
unsafe { ::std::ptr::addr_of!((*ptr).Nh) as usize - ptr as usize }, |
| 26823 |
24usize, |
| 26824 |
"Offset of field: RIPEMD160state_st::Nh" |
| 26825 |
); |
| 26826 |
assert_eq!( |
| 26827 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 26828 |
28usize, |
| 26829 |
"Offset of field: RIPEMD160state_st::data" |
| 26830 |
); |
| 26831 |
assert_eq!( |
| 26832 |
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize }, |
| 26833 |
92usize, |
| 26834 |
"Offset of field: RIPEMD160state_st::num" |
| 26835 |
); |
| 26836 |
} |
| 26837 |
impl Default for RIPEMD160state_st { |
| 26838 |
fn default() -> Self { |
| 26839 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 26840 |
unsafe { |
| 26841 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 26842 |
s.assume_init() |
| 26843 |
} |
| 26844 |
} |
| 26845 |
} |
| 26846 |
extern "C" { |
| 26847 |
#[link_name = "\u{1}aws_lc_0_41_0_RIPEMD160_Init"] |
| 26848 |
pub fn RIPEMD160_Init(ctx: *mut RIPEMD160_CTX) -> ::std::os::raw::c_int; |
| 26849 |
} |
| 26850 |
extern "C" { |
| 26851 |
#[link_name = "\u{1}aws_lc_0_41_0_RIPEMD160_Update"] |
| 26852 |
pub fn RIPEMD160_Update( |
| 26853 |
ctx: *mut RIPEMD160_CTX, |
| 26854 |
data: *const ::std::os::raw::c_void, |
| 26855 |
len: usize, |
| 26856 |
) -> ::std::os::raw::c_int; |
| 26857 |
} |
| 26858 |
extern "C" { |
| 26859 |
#[link_name = "\u{1}aws_lc_0_41_0_RIPEMD160_Final"] |
| 26860 |
pub fn RIPEMD160_Final(out: *mut u8, ctx: *mut RIPEMD160_CTX) -> ::std::os::raw::c_int; |
| 26861 |
} |
| 26862 |
extern "C" { |
| 26863 |
#[link_name = "\u{1}aws_lc_0_41_0_RIPEMD160"] |
| 26864 |
pub fn RIPEMD160(data: *const u8, len: usize, out: *mut u8) -> *mut u8; |
| 26865 |
} |
| 26866 |
extern "C" { |
| 26867 |
#[link_name = "\u{1}aws_lc_0_41_0_SIPHASH_24"] |
| 26868 |
pub fn SIPHASH_24(key: *const u64, input: *const u8, input_len: usize) -> u64; |
| 26869 |
} |
| 26870 |
extern "C" { |
| 26871 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_experiment_v1"] |
| 26872 |
pub fn TRUST_TOKEN_experiment_v1() -> *const TRUST_TOKEN_METHOD; |
| 26873 |
} |
| 26874 |
extern "C" { |
| 26875 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_experiment_v2_voprf"] |
| 26876 |
pub fn TRUST_TOKEN_experiment_v2_voprf() -> *const TRUST_TOKEN_METHOD; |
| 26877 |
} |
| 26878 |
extern "C" { |
| 26879 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_experiment_v2_pmb"] |
| 26880 |
pub fn TRUST_TOKEN_experiment_v2_pmb() -> *const TRUST_TOKEN_METHOD; |
| 26881 |
} |
| 26882 |
extern "C" { |
| 26883 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_pst_v1_voprf"] |
| 26884 |
pub fn TRUST_TOKEN_pst_v1_voprf() -> *const TRUST_TOKEN_METHOD; |
| 26885 |
} |
| 26886 |
extern "C" { |
| 26887 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_pst_v1_pmb"] |
| 26888 |
pub fn TRUST_TOKEN_pst_v1_pmb() -> *const TRUST_TOKEN_METHOD; |
| 26889 |
} |
| 26890 |
#[repr(C)] |
| 26891 |
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
| 26892 |
pub struct trust_token_st { |
| 26893 |
pub data: *mut u8, |
| 26894 |
pub len: usize, |
| 26895 |
} |
| 26896 |
#[test] |
| 26897 |
fn bindgen_test_layout_trust_token_st() { |
| 26898 |
const UNINIT: ::std::mem::MaybeUninit<trust_token_st> = ::std::mem::MaybeUninit::uninit(); |
| 26899 |
let ptr = UNINIT.as_ptr(); |
| 26900 |
assert_eq!( |
| 26901 |
::std::mem::size_of::<trust_token_st>(), |
| 26902 |
16usize, |
| 26903 |
"Size of trust_token_st" |
| 26904 |
); |
| 26905 |
assert_eq!( |
| 26906 |
::std::mem::align_of::<trust_token_st>(), |
| 26907 |
8usize, |
| 26908 |
"Alignment of trust_token_st" |
| 26909 |
); |
| 26910 |
assert_eq!( |
| 26911 |
unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize }, |
| 26912 |
0usize, |
| 26913 |
"Offset of field: trust_token_st::data" |
| 26914 |
); |
| 26915 |
assert_eq!( |
| 26916 |
unsafe { ::std::ptr::addr_of!((*ptr).len) as usize - ptr as usize }, |
| 26917 |
8usize, |
| 26918 |
"Offset of field: trust_token_st::len" |
| 26919 |
); |
| 26920 |
} |
| 26921 |
impl Default for trust_token_st { |
| 26922 |
fn default() -> Self { |
| 26923 |
let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| 26924 |
unsafe { |
| 26925 |
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| 26926 |
s.assume_init() |
| 26927 |
} |
| 26928 |
} |
| 26929 |
} |
| 26930 |
#[repr(C)] |
| 26931 |
#[derive(Debug, Copy, Clone)] |
| 26932 |
pub struct stack_st_TRUST_TOKEN { |
| 26933 |
_unused: [u8; 0], |
| 26934 |
} |
| 26935 |
pub type sk_TRUST_TOKEN_free_func = |
| 26936 |
::std::option::Option<unsafe extern "C" fn(arg1: *mut TRUST_TOKEN)>; |
| 26937 |
pub type sk_TRUST_TOKEN_copy_func = |
| 26938 |
::std::option::Option<unsafe extern "C" fn(arg1: *const TRUST_TOKEN) -> *mut TRUST_TOKEN>; |
| 26939 |
pub type sk_TRUST_TOKEN_cmp_func = ::std::option::Option< |
| 26940 |
unsafe extern "C" fn( |
| 26941 |
arg1: *const *const TRUST_TOKEN, |
| 26942 |
arg2: *const *const TRUST_TOKEN, |
| 26943 |
) -> ::std::os::raw::c_int, |
| 26944 |
>; |
| 26945 |
pub type sk_TRUST_TOKEN_delete_if_func = ::std::option::Option< |
| 26946 |
unsafe extern "C" fn( |
| 26947 |
arg1: *mut TRUST_TOKEN, |
| 26948 |
arg2: *mut ::std::os::raw::c_void, |
| 26949 |
) -> ::std::os::raw::c_int, |
| 26950 |
>; |
| 26951 |
extern "C" { |
| 26952 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_new"] |
| 26953 |
pub fn TRUST_TOKEN_new(data: *const u8, len: usize) -> *mut TRUST_TOKEN; |
| 26954 |
} |
| 26955 |
extern "C" { |
| 26956 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_free"] |
| 26957 |
pub fn TRUST_TOKEN_free(token: *mut TRUST_TOKEN); |
| 26958 |
} |
| 26959 |
extern "C" { |
| 26960 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_generate_key"] |
| 26961 |
pub fn TRUST_TOKEN_generate_key( |
| 26962 |
method: *const TRUST_TOKEN_METHOD, |
| 26963 |
out_priv_key: *mut u8, |
| 26964 |
out_priv_key_len: *mut usize, |
| 26965 |
max_priv_key_len: usize, |
| 26966 |
out_pub_key: *mut u8, |
| 26967 |
out_pub_key_len: *mut usize, |
| 26968 |
max_pub_key_len: usize, |
| 26969 |
id: u32, |
| 26970 |
) -> ::std::os::raw::c_int; |
| 26971 |
} |
| 26972 |
extern "C" { |
| 26973 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_derive_key_from_secret"] |
| 26974 |
pub fn TRUST_TOKEN_derive_key_from_secret( |
| 26975 |
method: *const TRUST_TOKEN_METHOD, |
| 26976 |
out_priv_key: *mut u8, |
| 26977 |
out_priv_key_len: *mut usize, |
| 26978 |
max_priv_key_len: usize, |
| 26979 |
out_pub_key: *mut u8, |
| 26980 |
out_pub_key_len: *mut usize, |
| 26981 |
max_pub_key_len: usize, |
| 26982 |
id: u32, |
| 26983 |
secret: *const u8, |
| 26984 |
secret_len: usize, |
| 26985 |
) -> ::std::os::raw::c_int; |
| 26986 |
} |
| 26987 |
extern "C" { |
| 26988 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_new"] |
| 26989 |
pub fn TRUST_TOKEN_CLIENT_new( |
| 26990 |
method: *const TRUST_TOKEN_METHOD, |
| 26991 |
max_batchsize: usize, |
| 26992 |
) -> *mut TRUST_TOKEN_CLIENT; |
| 26993 |
} |
| 26994 |
extern "C" { |
| 26995 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_free"] |
| 26996 |
pub fn TRUST_TOKEN_CLIENT_free(ctx: *mut TRUST_TOKEN_CLIENT); |
| 26997 |
} |
| 26998 |
extern "C" { |
| 26999 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_add_key"] |
| 27000 |
pub fn TRUST_TOKEN_CLIENT_add_key( |
| 27001 |
ctx: *mut TRUST_TOKEN_CLIENT, |
| 27002 |
out_key_index: *mut usize, |
| 27003 |
key: *const u8, |
| 27004 |
key_len: usize, |
| 27005 |
) -> ::std::os::raw::c_int; |
| 27006 |
} |
| 27007 |
extern "C" { |
| 27008 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_set_srr_key"] |
| 27009 |
pub fn TRUST_TOKEN_CLIENT_set_srr_key( |
| 27010 |
ctx: *mut TRUST_TOKEN_CLIENT, |
| 27011 |
key: *mut EVP_PKEY, |
| 27012 |
) -> ::std::os::raw::c_int; |
| 27013 |
} |
| 27014 |
extern "C" { |
| 27015 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_begin_issuance"] |
| 27016 |
pub fn TRUST_TOKEN_CLIENT_begin_issuance( |
| 27017 |
ctx: *mut TRUST_TOKEN_CLIENT, |
| 27018 |
out: *mut *mut u8, |
| 27019 |
out_len: *mut usize, |
| 27020 |
count: usize, |
| 27021 |
) -> ::std::os::raw::c_int; |
| 27022 |
} |
| 27023 |
extern "C" { |
| 27024 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_begin_issuance_over_message"] |
| 27025 |
pub fn TRUST_TOKEN_CLIENT_begin_issuance_over_message( |
| 27026 |
ctx: *mut TRUST_TOKEN_CLIENT, |
| 27027 |
out: *mut *mut u8, |
| 27028 |
out_len: *mut usize, |
| 27029 |
count: usize, |
| 27030 |
msg: *const u8, |
| 27031 |
msg_len: usize, |
| 27032 |
) -> ::std::os::raw::c_int; |
| 27033 |
} |
| 27034 |
extern "C" { |
| 27035 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_finish_issuance"] |
| 27036 |
pub fn TRUST_TOKEN_CLIENT_finish_issuance( |
| 27037 |
ctx: *mut TRUST_TOKEN_CLIENT, |
| 27038 |
out_key_index: *mut usize, |
| 27039 |
response: *const u8, |
| 27040 |
response_len: usize, |
| 27041 |
) -> *mut stack_st_TRUST_TOKEN; |
| 27042 |
} |
| 27043 |
extern "C" { |
| 27044 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_begin_redemption"] |
| 27045 |
pub fn TRUST_TOKEN_CLIENT_begin_redemption( |
| 27046 |
ctx: *mut TRUST_TOKEN_CLIENT, |
| 27047 |
out: *mut *mut u8, |
| 27048 |
out_len: *mut usize, |
| 27049 |
token: *const TRUST_TOKEN, |
| 27050 |
data: *const u8, |
| 27051 |
data_len: usize, |
| 27052 |
time: u64, |
| 27053 |
) -> ::std::os::raw::c_int; |
| 27054 |
} |
| 27055 |
extern "C" { |
| 27056 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_CLIENT_finish_redemption"] |
| 27057 |
pub fn TRUST_TOKEN_CLIENT_finish_redemption( |
| 27058 |
ctx: *mut TRUST_TOKEN_CLIENT, |
| 27059 |
out_rr: *mut *mut u8, |
| 27060 |
out_rr_len: *mut usize, |
| 27061 |
out_sig: *mut *mut u8, |
| 27062 |
out_sig_len: *mut usize, |
| 27063 |
response: *const u8, |
| 27064 |
response_len: usize, |
| 27065 |
) -> ::std::os::raw::c_int; |
| 27066 |
} |
| 27067 |
extern "C" { |
| 27068 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_ISSUER_new"] |
| 27069 |
pub fn TRUST_TOKEN_ISSUER_new( |
| 27070 |
method: *const TRUST_TOKEN_METHOD, |
| 27071 |
max_batchsize: usize, |
| 27072 |
) -> *mut TRUST_TOKEN_ISSUER; |
| 27073 |
} |
| 27074 |
extern "C" { |
| 27075 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_ISSUER_free"] |
| 27076 |
pub fn TRUST_TOKEN_ISSUER_free(ctx: *mut TRUST_TOKEN_ISSUER); |
| 27077 |
} |
| 27078 |
extern "C" { |
| 27079 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_ISSUER_add_key"] |
| 27080 |
pub fn TRUST_TOKEN_ISSUER_add_key( |
| 27081 |
ctx: *mut TRUST_TOKEN_ISSUER, |
| 27082 |
key: *const u8, |
| 27083 |
key_len: usize, |
| 27084 |
) -> ::std::os::raw::c_int; |
| 27085 |
} |
| 27086 |
extern "C" { |
| 27087 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_ISSUER_set_srr_key"] |
| 27088 |
pub fn TRUST_TOKEN_ISSUER_set_srr_key( |
| 27089 |
ctx: *mut TRUST_TOKEN_ISSUER, |
| 27090 |
key: *mut EVP_PKEY, |
| 27091 |
) -> ::std::os::raw::c_int; |
| 27092 |
} |
| 27093 |
extern "C" { |
| 27094 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_ISSUER_set_metadata_key"] |
| 27095 |
pub fn TRUST_TOKEN_ISSUER_set_metadata_key( |
| 27096 |
ctx: *mut TRUST_TOKEN_ISSUER, |
| 27097 |
key: *const u8, |
| 27098 |
len: usize, |
| 27099 |
) -> ::std::os::raw::c_int; |
| 27100 |
} |
| 27101 |
extern "C" { |
| 27102 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_ISSUER_issue"] |
| 27103 |
pub fn TRUST_TOKEN_ISSUER_issue( |
| 27104 |
ctx: *const TRUST_TOKEN_ISSUER, |
| 27105 |
out: *mut *mut u8, |
| 27106 |
out_len: *mut usize, |
| 27107 |
out_tokens_issued: *mut usize, |
| 27108 |
request: *const u8, |
| 27109 |
request_len: usize, |
| 27110 |
public_metadata: u32, |
| 27111 |
private_metadata: u8, |
| 27112 |
max_issuance: usize, |
| 27113 |
) -> ::std::os::raw::c_int; |
| 27114 |
} |
| 27115 |
extern "C" { |
| 27116 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_ISSUER_redeem"] |
| 27117 |
pub fn TRUST_TOKEN_ISSUER_redeem( |
| 27118 |
ctx: *const TRUST_TOKEN_ISSUER, |
| 27119 |
out_public: *mut u32, |
| 27120 |
out_private: *mut u8, |
| 27121 |
out_token: *mut *mut TRUST_TOKEN, |
| 27122 |
out_client_data: *mut *mut u8, |
| 27123 |
out_client_data_len: *mut usize, |
| 27124 |
request: *const u8, |
| 27125 |
request_len: usize, |
| 27126 |
) -> ::std::os::raw::c_int; |
| 27127 |
} |
| 27128 |
extern "C" { |
| 27129 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_ISSUER_redeem_over_message"] |
| 27130 |
pub fn TRUST_TOKEN_ISSUER_redeem_over_message( |
| 27131 |
ctx: *const TRUST_TOKEN_ISSUER, |
| 27132 |
out_public: *mut u32, |
| 27133 |
out_private: *mut u8, |
| 27134 |
out_token: *mut *mut TRUST_TOKEN, |
| 27135 |
out_client_data: *mut *mut u8, |
| 27136 |
out_client_data_len: *mut usize, |
| 27137 |
request: *const u8, |
| 27138 |
request_len: usize, |
| 27139 |
msg: *const u8, |
| 27140 |
msg_len: usize, |
| 27141 |
) -> ::std::os::raw::c_int; |
| 27142 |
} |
| 27143 |
extern "C" { |
| 27144 |
#[link_name = "\u{1}aws_lc_0_41_0_TRUST_TOKEN_decode_private_metadata"] |
| 27145 |
pub fn TRUST_TOKEN_decode_private_metadata( |
| 27146 |
method: *const TRUST_TOKEN_METHOD, |
| 27147 |
out_value: *mut u8, |
| 27148 |
key: *const u8, |
| 27149 |
key_len: usize, |
| 27150 |
nonce: *const u8, |
| 27151 |
nonce_len: usize, |
| 27152 |
encrypted_bit: u8, |
| 27153 |
) -> ::std::os::raw::c_int; |
| 27154 |
} |
| 27155 |
extern "C" { |
| 27156 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_keygen_deterministic"] |
| 27157 |
pub fn EVP_PKEY_keygen_deterministic( |
| 27158 |
ctx: *mut EVP_PKEY_CTX, |
| 27159 |
out_pkey: *mut *mut EVP_PKEY, |
| 27160 |
seed: *const u8, |
| 27161 |
seed_len: *mut usize, |
| 27162 |
) -> ::std::os::raw::c_int; |
| 27163 |
} |
| 27164 |
extern "C" { |
| 27165 |
#[link_name = "\u{1}aws_lc_0_41_0_EVP_PKEY_encapsulate_deterministic"] |
| 27166 |
pub fn EVP_PKEY_encapsulate_deterministic( |
| 27167 |
ctx: *mut EVP_PKEY_CTX, |
| 27168 |
ciphertext: *mut u8, |
| 27169 |
ciphertext_len: *mut usize, |
| 27170 |
shared_secret: *mut u8, |
| 27171 |
shared_secret_len: *mut usize, |
| 27172 |
seed: *const u8, |
| 27173 |
seed_len: *mut usize, |
| 27174 |
) -> ::std::os::raw::c_int; |
| 27175 |
} |
| 27176 |
extern "C" { |
| 27177 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_GET_LIB_RUST"] |
| 27178 |
pub fn ERR_GET_LIB_RUST(packed_error: u32) -> ::std::os::raw::c_int; |
| 27179 |
} |
| 27180 |
extern "C" { |
| 27181 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_GET_REASON_RUST"] |
| 27182 |
pub fn ERR_GET_REASON_RUST(packed_error: u32) -> ::std::os::raw::c_int; |
| 27183 |
} |
| 27184 |
extern "C" { |
| 27185 |
#[link_name = "\u{1}aws_lc_0_41_0_ERR_GET_FUNC_RUST"] |
| 27186 |
pub fn ERR_GET_FUNC_RUST(packed_error: u32) -> ::std::os::raw::c_int; |
| 27187 |
} |
| 27188 |
#[repr(C)] |
| 27189 |
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] |
| 27190 |
pub struct CRYPTO_dynlock_value { |
| 27191 |
pub _address: u8, |
| 27192 |
} |