Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-esp.c76 int ivlen; member
257 sa1.ivlen = 0; in esp_print_decode_onesecret()
263 sa1.ivlen = EVP_CIPHER_iv_length(evp); in esp_print_decode_onesecret()
357 int ivlen = 0; in esp_print() local
469 ivlen = sa->ivlen; in esp_print()
483 EVP_Cipher(&ctx, p + ivlen, p + ivlen, ep - (p + ivlen)); in esp_print()
484 advance = ivoff - (u_char *)esp + ivlen; in esp_print()
/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/openssh/
Dcipher.c207 const u_char *key, u_int keylen, const u_char *iv, u_int ivlen, in cipher_init() argument
233 if (iv != NULL && ivlen < cipher->block_size) in cipher_init()
235 ivlen, cipher->name); in cipher_init()
326 int ivlen; in cipher_get_keyiv_len() local
329 ivlen = 24; in cipher_get_keyiv_len()
331 ivlen = EVP_CIPHER_CTX_iv_length(&cc->evp); in cipher_get_keyiv_len()
332 return (ivlen); in cipher_get_keyiv_len()
Dmonitor_wrap.c609 u_int ivlen, keylen; in mm_send_keystate() local
623 ivlen = packet_get_keyiv_len(MODE_OUT); in mm_send_keystate()
624 packet_get_keyiv(MODE_OUT, iv, ivlen); in mm_send_keystate()
625 buffer_put_string(&m, iv, ivlen); in mm_send_keystate()
626 ivlen = packet_get_keyiv_len(MODE_OUT); in mm_send_keystate()
627 packet_get_keyiv(MODE_IN, iv, ivlen); in mm_send_keystate()
628 buffer_put_string(&m, iv, ivlen); in mm_send_keystate()
/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/linux/
Dif_alg.h27 __u32 ivlen; member
/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()
508 int keylen,ivlen; in PKCS7_dataDecode()
/external/dropbear/libtomcrypt/src/prngs/
Dsober128.c436 int keylen, ivlen, len; in sober128_test()
469 if ((err = sober128_add_entropy(tests[x].iv, tests[x].ivlen, &prng)) != CRYPT_OK) { in sober128_test()
/external/openssl/ssl/
Dt1_enc.c700 int ivlen; in tls1_enc() local
705 ivlen = EVP_CIPHER_iv_length(enc); in tls1_enc()
707 ivlen = 0; in tls1_enc()
708 if (ivlen > 1) in tls1_enc()
717 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/dropbear/libtomcrypt/
Dcrypt.tex1657 const unsigned char *iv, unsigned long ivlen,
1671 if ((err = gcm_add_iv(gcm, iv, ivlen)) != CRYPT_OK) {
1696 send(socket, iv, ivlen, 0);