Home
last modified time | relevance | path

Searched refs:ivlen (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/crypto/evp/
De_aes.c80 int ivlen; /* IV length */ member
324 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aesni_gcm_init_key()
333 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aesni_gcm_init_key()
335 memcpy(gctx->iv, iv, gctx->ivlen); in aesni_gcm_init_key()
416 #define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ argument
418 nid##_##keylen##_##nmode,blocksize,keylen/8,ivlen, \
427 keylen/8,ivlen, \
437 #define BLOCK_CIPHER_custom(nid,keylen,blocksize,ivlen,mode,MODE,flags) \ argument
440 (EVP_CIPH_##MODE##_MODE==EVP_CIPH_XTS_MODE?2:1)*keylen/8, ivlen, \
449 (EVP_CIPH_##MODE##_MODE==EVP_CIPH_XTS_MODE?2:1)*keylen/8, ivlen, \
[all …]
/external/openssl/crypto/evp/
De_aes.c80 int ivlen; /* IV length */ member
324 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aesni_gcm_init_key()
333 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aesni_gcm_init_key()
335 memcpy(gctx->iv, iv, gctx->ivlen); in aesni_gcm_init_key()
416 #define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ argument
418 nid##_##keylen##_##nmode,blocksize,keylen/8,ivlen, \
427 keylen/8,ivlen, \
437 #define BLOCK_CIPHER_custom(nid,keylen,blocksize,ivlen,mode,MODE,flags) \ argument
440 (EVP_CIPH_##MODE##_MODE==EVP_CIPH_XTS_MODE?2:1)*keylen/8, ivlen, \
449 (EVP_CIPH_##MODE##_MODE==EVP_CIPH_XTS_MODE?2:1)*keylen/8, ivlen, \
[all …]
/external/tcpdump/
Dprint-esp.c85 int ivlen; member
128 buf = buf + sa->ivlen; in esp_print_decrypt_buffer_by_ikev2()
258 sa->ivlen = 0; in espprint_decode_encalgo()
264 sa->ivlen = EVP_CIPHER_iv_length(evp); in espprint_decode_encalgo()
557 int ivlen = 0; in esp_print() local
663 ivlen = sa->ivlen; in esp_print()
674 EVP_Cipher(&ctx, p + ivlen, p + ivlen, ep - (p + ivlen)); in esp_print()
676 advance = ivoff - (u_char *)esp + ivlen; in esp_print()
/external/openssl/crypto/cms/
Dcms_enc.c125 int ivlen; in DECLARE_ASN1_ITEM() local
128 ivlen = EVP_CIPHER_CTX_iv_length(ctx); in DECLARE_ASN1_ITEM()
129 if (ivlen > 0) in DECLARE_ASN1_ITEM()
131 if (RAND_pseudo_bytes(iv, ivlen) <= 0) in DECLARE_ASN1_ITEM()
Dcms_pwri.c95 int ivlen; in CMS_add0_recipient_password() local
132 ivlen = EVP_CIPHER_CTX_iv_length(&ctx); in CMS_add0_recipient_password()
134 if (ivlen > 0) in CMS_add0_recipient_password()
136 if (RAND_pseudo_bytes(iv, ivlen) <= 0) in CMS_add0_recipient_password()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_gnutls.c202 int ivlen; in crypto_cipher_init() local
261 ivlen = gcry_cipher_get_algo_blklen(a); in crypto_cipher_init()
262 if (gcry_cipher_setiv(ctx->enc, iv, ivlen) != GPG_ERR_NO_ERROR || in crypto_cipher_init()
263 gcry_cipher_setiv(ctx->dec, iv, ivlen) != GPG_ERR_NO_ERROR) { in crypto_cipher_init()
/external/kernel-headers/original/uapi/linux/
Dif_alg.h27 __u32 ivlen; member
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/
Dpk7_doit.c329 int keylen,ivlen; in PKCS7_dataInit() local
339 ivlen=EVP_CIPHER_iv_length(evp_cipher); in PKCS7_dataInit()
341 if (ivlen > 0) in PKCS7_dataInit()
342 if (RAND_pseudo_bytes(iv,ivlen) <= 0) in PKCS7_dataInit()
351 if (ivlen > 0) { in PKCS7_dataInit()
508 int keylen,ivlen; in PKCS7_dataDecode()
/external/openssl/crypto/pkcs7/
Dpk7_doit.c329 int keylen,ivlen; in PKCS7_dataInit() local
339 ivlen=EVP_CIPHER_iv_length(evp_cipher); in PKCS7_dataInit()
341 if (ivlen > 0) in PKCS7_dataInit()
342 if (RAND_pseudo_bytes(iv,ivlen) <= 0) in PKCS7_dataInit()
351 if (ivlen > 0) { in PKCS7_dataInit()
513 int keylen,ivlen; in PKCS7_dataDecode()
/external/openssl/ssl/
Dt1_enc.c705 int ivlen; in tls1_enc() local
710 ivlen = EVP_CIPHER_iv_length(enc); in tls1_enc()
712 ivlen = 0; in tls1_enc()
713 if (ivlen > 1) in tls1_enc()
722 else if (RAND_bytes(rec->input, ivlen) <= 0) in tls1_enc()
/external/chromium_org/third_party/openssl/openssl/ssl/
Dt1_enc.c957 int ivlen; in tls1_enc() local
962 ivlen = EVP_CIPHER_iv_length(enc); in tls1_enc()
964 ivlen = 0; in tls1_enc()
965 if (ivlen > 1) in tls1_enc()
974 else if (RAND_bytes(rec->input, ivlen) <= 0) in tls1_enc()
/external/ipsec-tools/src/libipsec/
Dkey_debug.c675 ipsec_hexdump(sav->iv, sav->ivlen ? sav->ivlen : 8);
/external/chromium_org/third_party/openssl/openssl/patches/
Dtls1_change_cipher_state_rewrite.patch106 - printf("\tevp_cipher: nid, blksz= %d, %d, keylen=%d, ivlen=%d\n",
/external/chromium_org/third_party/openssl/patches.chromium/
D0007-chacha.patch8581 +- printf("\tevp_cipher: nid, blksz= %d, %d, keylen=%d, ivlen=%d\n",