/external/srtp/crypto/include/ |
H A D | cryptoalg.h | 107 unsigned iv_len; member in struct:cryptoalg_ctx_t 116 #define cryptoalg_get_iv_len(cryptoalg) ((cryptoalg)->iv_len)
|
H A D | xfm.h | 78 unsigned iv_len; member in struct:xfm_ctx_t 86 #define xfm_get_iv_len(xfm) ((xfm)->iv_len) 118 unsigned iv_len; member in struct:cryptoalg_ctx_t 127 #define cryptoalg_get_iv_len(cryptoalg) ((cryptoalg)->iv_len)
|
/external/boringssl/src/crypto/pem/ |
H A D | pem_info.c | 321 unsigned iv_len = 0; local 325 iv_len = EVP_CIPHER_iv_length(enc); 368 assert(strlen(objstr)+23+2*iv_len+13 <= sizeof buf); 371 PEM_dek_info(buf,objstr,iv_len,(char *)iv);
|
H A D | pem_lib.c | 325 const unsigned iv_len = EVP_CIPHER_iv_length(enc); local 340 assert(iv_len <= (int)sizeof(iv)); 341 if (!RAND_bytes(iv, iv_len)) /* Generate a salt */ 350 assert(strlen(objstr)+23+2*iv_len+13 <= sizeof buf); 354 PEM_dek_info(buf,objstr,iv_len,(char *)iv);
|
/external/boringssl/src/crypto/pkcs8/ |
H A D | p5_pbev2.c | 105 unsigned iv_len; local 107 iv_len = EVP_CIPHER_CTX_iv_length(c); 108 return ASN1_TYPE_set_octetstring(type, c->oiv, iv_len); 370 const size_t iv_len = EVP_CIPHER_CTX_iv_length(ctx); local 371 if ((size_t) iv->value.octet_string->length != iv_len) {
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | aes-gcm.c | 192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) argument 196 if (iv_len == 12) { 198 os_memcpy(J0, iv, iv_len); 199 os_memset(J0 + iv_len, 0, AES_BLOCK_SIZE - iv_len); 207 ghash(H, iv, iv_len, J0); 209 WPA_PUT_BE64(len_buf + 8, iv_len * 8); 254 int aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument 267 aes_gcm_prepare_j0(iv, iv_len, H, J0); 288 int aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument 322 aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *aad, size_t aad_len, u8 *tag) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_sake_common.h | 76 size_t iv_len; member in struct:eap_sake_parse_attr
|
H A D | ikev2_common.c | 434 size_t iv_len; local 453 iv_len = encr_alg->block_size; 461 if (encrypted_len < iv_len + 1 + integ_alg->hash_len) { 468 pos = iv + iv_len; 536 size_t iv_len, pad_len; local 552 iv_len = encr_alg->block_size; 574 iv = wpabuf_put(msg, iv_len); 575 if (random_get_bytes(iv, iv_len)) { 580 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len; [all...] |
/external/wpa_supplicant_8/src/crypto/ |
H A D | aes-gcm.c | 192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) argument 196 if (iv_len == 12) { 198 os_memcpy(J0, iv, iv_len); 199 os_memset(J0 + iv_len, 0, AES_BLOCK_SIZE - iv_len); 207 ghash(H, iv, iv_len, J0); 209 WPA_PUT_BE64(len_buf + 8, iv_len * 8); 254 int aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument 267 aes_gcm_prepare_j0(iv, iv_len, H, J0); 288 int aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument 322 aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *aad, size_t aad_len, u8 *tag) argument [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_sake_common.h | 76 size_t iv_len; member in struct:eap_sake_parse_attr
|
H A D | ikev2_common.c | 434 size_t iv_len; local 453 iv_len = encr_alg->block_size; 461 if (encrypted_len < iv_len + 1 + integ_alg->hash_len) { 468 pos = iv + iv_len; 536 size_t iv_len, pad_len; local 552 iv_len = encr_alg->block_size; 574 iv = wpabuf_put(msg, iv_len); 575 if (random_get_bytes(iv, iv_len)) { 580 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | aes-gcm.c | 192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) argument 196 if (iv_len == 12) { 198 os_memcpy(J0, iv, iv_len); 199 os_memset(J0 + iv_len, 0, AES_BLOCK_SIZE - iv_len); 207 ghash(H, iv, iv_len, J0); 209 WPA_PUT_BE64(len_buf + 8, iv_len * 8); 254 int aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument 267 aes_gcm_prepare_j0(iv, iv_len, H, J0); 288 int aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument 322 aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *aad, size_t aad_len, u8 *tag) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_sake_common.h | 76 size_t iv_len; member in struct:eap_sake_parse_attr
|
H A D | ikev2_common.c | 434 size_t iv_len; local 453 iv_len = encr_alg->block_size; 461 if (encrypted_len < iv_len + 1 + integ_alg->hash_len) { 468 pos = iv + iv_len; 536 size_t iv_len, pad_len; local 552 iv_len = encr_alg->block_size; 574 iv = wpabuf_put(msg, iv_len); 575 if (random_get_bytes(iv, iv_len)) { 580 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len; [all...] |
/external/boringssl/src/crypto/cipher/ |
H A D | e_ssl3.c | 313 const size_t iv_len = EVP_CIPHER_CTX_iv_length(&ssl3_ctx->cipher_ctx); local 314 if (iv_len <= 1) { 319 *out_iv_len = iv_len;
|
H A D | e_tls.c | 448 const size_t iv_len = EVP_CIPHER_CTX_iv_length(&tls_ctx->cipher_ctx); local 449 if (iv_len <= 1) { 454 *out_iv_len = iv_len;
|
/external/boringssl/src/ssl/ |
H A D | t1_enc.c | 284 size_t key_len, iv_len, mac_secret_len; local 304 iv_len = ssl->s3->tmp.new_fixed_iv_len; 316 if (key_len < mac_secret_len + iv_len) { 320 key_len -= mac_secret_len + iv_len; 333 key_data += iv_len; 335 key_data += iv_len; 357 iv_len); 365 iv_len);
|
H A D | t1_lib.c | 2550 size_t iv_len = EVP_CIPHER_CTX_iv_length(&cipher_ctx); local 2555 if (ticket_len < SSL_TICKET_KEY_NAME_LEN + iv_len + 1 + mac_len) { 2566 const uint8_t *ciphertext = ticket + SSL_TICKET_KEY_NAME_LEN + iv_len; 2567 size_t ciphertext_len = ticket_len - SSL_TICKET_KEY_NAME_LEN - iv_len -
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | pkcs5.c | 34 size_t iv_len; member in struct:pkcs5_params 270 params->iv_len = hdr.length; 271 wpa_hexdump(MSG_DEBUG, "PKCS #5: IV", params->iv, params->iv_len); 389 params->iv_len != 8) 402 wpa_hexdump(MSG_DEBUG, "PKCS #5: DES IV", params->iv, params->iv_len);
|
/external/wpa_supplicant_8/src/tls/ |
H A D | pkcs5.c | 34 size_t iv_len; member in struct:pkcs5_params 270 params->iv_len = hdr.length; 271 wpa_hexdump(MSG_DEBUG, "PKCS #5: IV", params->iv, params->iv_len); 389 params->iv_len != 8) 402 wpa_hexdump(MSG_DEBUG, "PKCS #5: DES IV", params->iv, params->iv_len);
|
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | pkcs5.c | 34 size_t iv_len; member in struct:pkcs5_params 270 params->iv_len = hdr.length; 271 wpa_hexdump(MSG_DEBUG, "PKCS #5: IV", params->iv, params->iv_len); 389 params->iv_len != 8) 402 wpa_hexdump(MSG_DEBUG, "PKCS #5: DES IV", params->iv, params->iv_len);
|
/external/boringssl/include/openssl/ |
H A D | cipher.h | 513 /* iv_len contains the IV size, in bytes, or zero if inapplicable. */ 514 unsigned iv_len; member in struct:evp_cipher_st
|
/external/boringssl/src/include/openssl/ |
H A D | cipher.h | 513 /* iv_len contains the IV size, in bytes, or zero if inapplicable. */ 514 unsigned iv_len; member in struct:evp_cipher_st
|