Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-esp.c114 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/boringssl/src/crypto/cipher/
De_aes.c91 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/
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/ipsec-tools/src/libipsec/
Dkey_debug.c675 ipsec_hexdump(sav->iv, sav->ivlen ? sav->ivlen : 8);