/external/tcpdump/ |
D | print-esp.c | 114 int ivlen; member 157 buf = buf + sa->ivlen; in esp_print_decrypt_buffer_by_ikev2() 287 sa->ivlen = 0; in espprint_decode_encalgo() 293 sa->ivlen = EVP_CIPHER_iv_length(evp); in espprint_decode_encalgo() 575 int ivlen = 0; in esp_print() local 679 ivlen = sa->ivlen; in esp_print() 690 EVP_Cipher(&ctx, p + ivlen, p + ivlen, ep - (p + ivlen)); in esp_print() 692 advance = ivoff - (u_char *)esp + ivlen; in esp_print()
|
/external/openssh/ |
D | cipher.c | 297 const u_char *key, u_int keylen, const u_char *iv, u_int ivlen, in cipher_init() argument 315 (iv != NULL && ivlen < cipher_ivlen(cipher))) in cipher_init() 324 aesctr_keysetup(&cc->ac_ctx, key, 8 * keylen, 8 * ivlen); in cipher_init() 513 int ivlen = 0; in cipher_get_keyiv_len() local 516 ivlen = 24; in cipher_get_keyiv_len() 518 ivlen = 0; in cipher_get_keyiv_len() 520 ivlen = sizeof(cc->ac_ctx.ctr); in cipher_get_keyiv_len() 523 ivlen = EVP_CIPHER_CTX_iv_length(&cc->evp); in cipher_get_keyiv_len() 525 return (ivlen); in cipher_get_keyiv_len()
|
D | sshkey.c | 2997 size_t i, pubkeylen, keylen, ivlen, blocksize, authlen; in sshkey_private_to_blob2() local 3031 ivlen = cipher_ivlen(cipher); in sshkey_private_to_blob2() 3033 if ((key = calloc(1, keylen + ivlen)) == NULL) { in sshkey_private_to_blob2() 3040 salt, SALT_LEN, key, keylen + ivlen, rounds) < 0) { in sshkey_private_to_blob2() 3053 key + keylen, ivlen, 1)) != 0) in sshkey_private_to_blob2() 3128 explicit_bzero(key, keylen + ivlen); in sshkey_private_to_blob2() 3151 size_t i, keylen = 0, ivlen = 0, authlen = 0, slen = 0; in sshkey_parse_private2() local 3260 ivlen = cipher_ivlen(cipher); in sshkey_parse_private2() 3262 if ((key = calloc(1, keylen + ivlen)) == NULL) { in sshkey_parse_private2() 3271 key, keylen + ivlen, rounds) < 0) { in sshkey_parse_private2() [all …]
|
D | packet.c | 2513 size_t keylen, ivlen, maclen; in newkeys_from_blob() local 2534 (r = sshbuf_get_string(b, &enc->iv, &ivlen)) != 0) in newkeys_from_blob() 2564 enc->iv_len = ivlen; in newkeys_from_blob()
|
D | ChangeLog | 7219 dh_need needs to be set to max(seclen, blocksize, ivlen, mac_len)
|
/external/boringssl/src/crypto/cipher/ |
D | e_aes.c | 91 int ivlen; /* IV length */ member 483 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key() 490 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key() 492 memcpy(gctx->iv, iv, gctx->ivlen); in aes_gcm_init_key() 530 gctx->ivlen = c->cipher->iv_len; in aes_gcm_ctrl() 542 if (arg > EVP_MAX_IV_LENGTH && arg > gctx->ivlen) { in aes_gcm_ctrl() 551 gctx->ivlen = arg; in aes_gcm_ctrl() 572 memcpy(gctx->iv, ptr, gctx->ivlen); in aes_gcm_ctrl() 578 if (arg < 4 || (gctx->ivlen - arg) < 8) { in aes_gcm_ctrl() 584 if (c->encrypt && !RAND_bytes(gctx->iv + arg, gctx->ivlen - arg)) { in aes_gcm_ctrl() [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_gnutls.c | 202 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/ |
D | if_alg.h | 27 __u32 ivlen; member
|
/external/ipsec-tools/src/libipsec/ |
D | key_debug.c | 675 ipsec_hexdump(sav->iv, sav->ivlen ? sav->ivlen : 8);
|