/external/wpa_supplicant_8/src/crypto/ |
aes-gcm.c | 192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) 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, 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, [all...] |
aes_wrap.h | 53 const u8 *iv, size_t iv_len, 58 const u8 *iv, size_t iv_len, 63 const u8 *iv, size_t iv_len,
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
e_des.c | 96 out->iv_len = 8; 123 out->iv_len = 0; 164 out->iv_len = 8; 188 out->iv_len = 8; 216 out->iv_len = 0; 228 out->iv_len = 0;
|
e_aes.c | 459 gctx->ivlen = c->cipher->iv_len; 628 out->iv_len = 16; 641 out->iv_len = 16; 666 out->iv_len = 16; 679 out->iv_len = 12; 696 out->iv_len = 16; 709 out->iv_len = 16; 734 out->iv_len = 12; 751 out->iv_len = 16; 764 out->iv_len = 16 [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
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...] |
eap_sake_common.h | 76 size_t iv_len; member in struct:eap_sake_parse_attr
|
/external/boringssl/src/crypto/cipher_extra/ |
derive_key.c | 77 niv = type->iv_len;
|
e_ssl3.c | 323 const size_t iv_len = EVP_CIPHER_CTX_iv_length(&ssl3_ctx->cipher_ctx); local 324 if (iv_len <= 1) { 329 *out_iv_len = iv_len;
|
e_tls.c | 439 const size_t iv_len = EVP_CIPHER_CTX_iv_length(&tls_ctx->cipher_ctx); local 440 if (iv_len <= 1) { 445 *out_iv_len = iv_len;
|
/external/boringssl/src/crypto/pem/ |
pem_info.c | 306 unsigned iv_len = 0; local 309 iv_len = EVP_CIPHER_iv_length(enc); 346 assert(strlen(objstr) + 23 + 2 * iv_len + 13 <= sizeof buf); 349 PEM_dek_info(buf, objstr, iv_len, (char *)iv);
|
pem_lib.c | 290 const unsigned iv_len = EVP_CIPHER_iv_length(enc); local 303 assert(iv_len <= (int)sizeof(iv)); 304 if (!RAND_bytes(iv, iv_len)) /* Generate a salt */ 316 assert(strlen(objstr) + 23 + 2 * iv_len + 13 <= sizeof buf); 320 PEM_dek_info(buf, objstr, iv_len, (char *)iv);
|
/bionic/libc/kernel/uapi/linux/ |
virtio_crypto.h | 201 __le32 iv_len; member in struct:virtio_crypto_cipher_para 214 __le32 iv_len; member in struct:virtio_crypto_aead_para 232 __le32 iv_len; member in struct:virtio_crypto_alg_chain_data_para
|
/external/boringssl/src/fipstools/ |
cavp_aes_gcm_test.cc | 87 std::string key_len, iv_len, pt_len_str, aad_len_str, tag_len; local 89 !t->GetInstruction(&iv_len, "IVlen") || 108 iv.size() * 8 != strtoul(iv_len.c_str(), nullptr, 0) ||
|
/external/kernel-headers/original/uapi/linux/ |
virtio_crypto.h | 293 __le32 iv_len; member in struct:virtio_crypto_cipher_para 322 __le32 iv_len; member in struct:virtio_crypto_aead_para 350 __le32 iv_len; member in struct:virtio_crypto_alg_chain_data_para
|
/external/boringssl/src/ssl/ |
t1_enc.cc | 403 size_t iv_len = ssl->s3->tmp.new_fixed_iv_len; 404 assert((mac_secret_len + key_len + iv_len) * 2 == hs->key_block_len); 416 key_data += iv_len; 418 key_data += iv_len; 433 hs->new_cipher, key, key_len, mac_secret, mac_secret_len, iv, iv_len);
|
tls13_enc.cc | 144 size_t iv_len = EVP_AEAD_nonce_length(aead); local 147 (const uint8_t *)"iv", 2, NULL, 0, iv_len)) { 153 key, key_len, NULL, 0, iv, iv_len);
|
/external/syslinux/gpxe/src/net/ |
tls.c | 1127 size_t iv_len = blocksize; local 1137 iv_len = 0; 1140 padding_len = ( ( blocksize - 1 ) & -( iv_len + len + mac_len + 1 ) ); 1141 *plaintext_len = ( iv_len + len + mac_len + padding_len + 1 ); 1148 content = ( iv + iv_len ); 1153 memset ( iv, 0, iv_len ); 1311 size_t iv_len; local [all...] |
/external/openssh/ |
cipher-ctr.c | 134 aes_ctr.iv_len = AES_BLOCK_SIZE;
|
cipher-3des1.c | 150 ssh1_3des.iv_len = 0;
|
cipher-aes.c | 150 rijndal_cbc.iv_len = RIJNDAEL_BLOCKSIZE;
|
kex.h | 112 u_int iv_len; member in struct:sshenc
|
cipher.c | 74 u_int iv_len; /* defaults to block_size */ member in struct:sshcipher 203 * needs no IV. XXX make iv_len == -1 default? 205 return (c->iv_len != 0 || (c->flags & CFLAG_CHACHAPOLY) != 0) ? 206 c->iv_len : c->block_size;
|
/external/boringssl/src/crypto/pkcs8/ |
p5_pbev2.c | 146 size_t iv_len, int enc) { 147 if (iv_len != EVP_CIPHER_iv_length(cipher)) {
|
/external/wpa_supplicant_8/src/tls/ |
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/src/crypto/fipsmodule/modes/ |
internal.h | 221 const uint8_t *iv, size_t iv_len);
|