Home
last modified time | relevance | path

Searched refs:crypto_aead_ivsize (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.1.9/crypto/
Dechainiv.c34 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_encrypt()
92 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_decrypt()
Dessiv.c197 req->assoclen - crypto_aead_ivsize(tfm), in essiv_aead_crypt()
198 crypto_aead_ivsize(tfm), 1); in essiv_aead_crypt()
201 int ivsize = crypto_aead_ivsize(tfm); in essiv_aead_crypt()
338 crypto_aead_set_reqsize(tfm, tctx->ivoffset + crypto_aead_ivsize(aead)); in essiv_aead_init_tfm()
Dalgif_aead.c69 unsigned int ivsize = crypto_aead_ivsize(tfm); in aead_sendmsg()
527 unsigned int ivlen = crypto_aead_ivsize(tfm); in aead_sock_destruct()
542 unsigned int ivlen = crypto_aead_ivsize(aead); in aead_accept_parent_nokey()
Dgeniv.c123 crypto_aead_ivsize(aead)); in aead_init_geniv()
Dseqiv.c33 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2()
Dtestmgr.c1978 const unsigned int ivsize = crypto_aead_ivsize(tfm); in test_aead_vec_cfg()
2249 const unsigned int ivsize = crypto_aead_ivsize(tfm); in generate_aead_message()
2317 const unsigned int ivsize = crypto_aead_ivsize(tfm); in generate_random_aead_testvec()
2471 if (crypto_aead_ivsize(tfm) != crypto_aead_ivsize(generic_tfm)) { in test_aead_vs_generic_impl()
2473 driver, crypto_aead_ivsize(tfm), in test_aead_vs_generic_impl()
2474 crypto_aead_ivsize(generic_tfm)); in test_aead_vs_generic_impl()
2547 ctx->vec.iv = kmalloc(crypto_aead_ivsize(ctx->tfm), GFP_KERNEL); in test_aead_extra()
Dchacha20poly1305.c370 if (crypto_aead_ivsize(tfm) == 8) { in poly_genkey()
Dskcipher.c536 walk->ivsize = crypto_aead_ivsize(tfm); in skcipher_walk_aead_common()
Dtcrypt.c366 iv_len = crypto_aead_ivsize(tfm); in test_mb_aead_speed()
622 iv_len = crypto_aead_ivsize(tfm); in test_aead_speed()
/linux-6.1.9/net/ipv4/
Desp4.c52 len += crypto_aead_ivsize(aead); in esp_alloc_tmp()
75 return crypto_aead_ivsize(aead) ? in esp_tmp_iv()
84 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
558 ivlen = crypto_aead_ivsize(aead); in esp_output_tail()
715 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer()
749 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()
881 int ivlen = crypto_aead_ivsize(aead); in esp_input()
1164 crypto_aead_ivsize(aead); in esp_init_state()
Desp4_offload.c216 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp4_gso_segment()
219 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp4_gso_segment()
242 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail()
/linux-6.1.9/net/ipv6/
Desp6.c69 len += crypto_aead_ivsize(aead); in esp_alloc_tmp()
92 return crypto_aead_ivsize(aead) ? in esp_tmp_iv()
101 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
595 ivlen = crypto_aead_ivsize(aead); in esp6_output_tail()
753 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer()
786 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp6_input_done2()
925 int ivlen = crypto_aead_ivsize(aead); in esp6_input()
1207 crypto_aead_ivsize(aead); in esp6_init_state()
Desp6_offload.c255 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp6_gso_segment()
258 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp6_gso_segment()
279 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp6_input_tail()
/linux-6.1.9/Documentation/crypto/
Dapi-aead.rst14 …:functions: crypto_alloc_aead crypto_free_aead crypto_aead_ivsize crypto_aead_authsize crypto_aead…
/linux-6.1.9/include/crypto/
Daead.h223 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() function
/linux-6.1.9/drivers/crypto/caam/
Dcaamalg.c186 unsigned int ivsize = crypto_aead_ivsize(aead); in aead_set_sh_desc()
327 unsigned int ivsize = crypto_aead_ivsize(aead); in gcm_set_sh_desc()
392 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4106_set_sh_desc()
460 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4543_set_sh_desc()
526 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_set_sh_desc()
563 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_setkey()
1122 unsigned int ivsize = crypto_aead_ivsize(aead); in init_gcm_job()
1151 unsigned int ivsize = crypto_aead_ivsize(aead); in init_chachapoly_job()
1187 unsigned int ivsize = crypto_aead_ivsize(aead); in init_authenc_job()
Dcaamalg_qi.c85 unsigned int ivsize = crypto_aead_ivsize(aead); in aead_set_sh_desc()
303 unsigned int ivsize = crypto_aead_ivsize(aead); in gcm_set_sh_desc()
406 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4106_set_sh_desc()
514 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4543_set_sh_desc()
893 int ivsize = crypto_aead_ivsize(aead); in aead_unmap()
1036 ivsize = crypto_aead_ivsize(aead); in aead_edesc_alloc()
Dcaamalg_qi2.c175 unsigned int ivsize = crypto_aead_ivsize(aead); in aead_set_sh_desc()
446 ivsize = crypto_aead_ivsize(aead); in aead_edesc_alloc()
591 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_set_sh_desc()
636 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_setkey()
652 unsigned int ivsize = crypto_aead_ivsize(aead); in gcm_set_sh_desc()
744 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4106_set_sh_desc()
845 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4543_set_sh_desc()
1262 int ivsize = crypto_aead_ivsize(aead); in aead_unmap()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c155 ivsize = crypto_aead_ivsize(aead); in mlx5e_ipsec_build_accel_xfrm_attrs()
/linux-6.1.9/drivers/virt/coco/sev-guest/
Dsev-guest.c159 crypto->iv_len = crypto_aead_ivsize(crypto->tfm); in init_crypto()
/linux-6.1.9/drivers/crypto/
Dtalitos.c993 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp_unmap()
1028 unsigned int ivsize = crypto_aead_ivsize(authenc); in ipsec_esp_encrypt_done()
1205 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp()
1423 unsigned int ivsize = crypto_aead_ivsize(authenc); in aead_edesc_alloc()
/linux-6.1.9/drivers/crypto/qce/
Daead.c429 rctx->ivsize = crypto_aead_ivsize(tfm); in qce_aead_async_req_handle()
/linux-6.1.9/arch/s390/crypto/
Daes_s390.c832 unsigned int ivsize = crypto_aead_ivsize(tfm); in gcm_aes_crypt()
/linux-6.1.9/fs/ksmbd/
Dauth.c1164 iv_len = crypto_aead_ivsize(tfm); in ksmbd_crypt_message()
/linux-6.1.9/net/tipc/
Dcrypto.c550 crypto_aead_ivsize(tfm) != TIPC_AES_GCM_IV_SIZE)) { in tipc_aead_init()
694 iv_size = crypto_aead_ivsize(tfm); in tipc_aead_mem_alloc()

12