Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c196 req->assoclen - crypto_aead_ivsize(tfm), in essiv_aead_crypt()
197 crypto_aead_ivsize(tfm), 1); in essiv_aead_crypt()
200 int ivsize = crypto_aead_ivsize(tfm); in essiv_aead_crypt()
337 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.c1935 const unsigned int ivsize = crypto_aead_ivsize(tfm); in test_aead_vec_cfg()
2206 const unsigned int ivsize = crypto_aead_ivsize(tfm); in generate_aead_message()
2274 const unsigned int ivsize = crypto_aead_ivsize(tfm); in generate_random_aead_testvec()
2428 if (crypto_aead_ivsize(tfm) != crypto_aead_ivsize(generic_tfm)) { in test_aead_vs_generic_impl()
2430 driver, crypto_aead_ivsize(tfm), in test_aead_vs_generic_impl()
2431 crypto_aead_ivsize(generic_tfm)); in test_aead_vs_generic_impl()
2506 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.c541 walk->ivsize = crypto_aead_ivsize(tfm); in skcipher_walk_aead_common()
Dtcrypt.c370 iv_len = crypto_aead_ivsize(tfm); in test_mb_aead_speed()
613 iv_len = crypto_aead_ivsize(tfm); in test_aead_speed()
/kernel/linux/linux-5.10/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()
562 ivlen = crypto_aead_ivsize(aead); in esp_output_tail()
720 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer()
759 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()
891 int ivlen = crypto_aead_ivsize(aead); in esp_input()
1163 crypto_aead_ivsize(aead); in esp_init_state()
Desp4_offload.c211 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp4_gso_segment()
214 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp4_gso_segment()
237 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail()
/kernel/linux/linux-5.10/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()
596 ivlen = crypto_aead_ivsize(aead); in esp6_output_tail()
755 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer()
793 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp6_input_done2()
933 int ivlen = crypto_aead_ivsize(aead); in esp6_input()
1205 crypto_aead_ivsize(aead); in esp6_init_state()
Desp6_offload.c249 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp6_gso_segment()
252 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp6_gso_segment()
273 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp6_input_tail()
/kernel/linux/linux-5.10/Documentation/crypto/
Dapi-aead.rst14 …:functions: crypto_alloc_aead crypto_free_aead crypto_aead_ivsize crypto_aead_authsize crypto_aead…
/kernel/linux/linux-5.10/include/crypto/
Daead.h216 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() function
/kernel/linux/linux-5.10/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.c172 unsigned int ivsize = crypto_aead_ivsize(aead); in aead_set_sh_desc()
443 ivsize = crypto_aead_ivsize(aead); in aead_edesc_alloc()
588 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_set_sh_desc()
633 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_setkey()
649 unsigned int ivsize = crypto_aead_ivsize(aead); in gcm_set_sh_desc()
741 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4106_set_sh_desc()
842 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4543_set_sh_desc()
1259 int ivsize = crypto_aead_ivsize(aead); in aead_unmap()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c170 ivsize = crypto_aead_ivsize(aead); in mlx5e_ipsec_build_accel_xfrm_attrs()
/kernel/linux/linux-5.10/drivers/crypto/
Dtalitos.c992 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp_unmap()
1027 unsigned int ivsize = crypto_aead_ivsize(authenc); in ipsec_esp_encrypt_done()
1204 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp()
1422 unsigned int ivsize = crypto_aead_ivsize(authenc); in aead_edesc_alloc()
/kernel/linux/linux-5.10/arch/s390/crypto/
Daes_s390.c831 unsigned int ivsize = crypto_aead_ivsize(tfm); in gcm_aes_crypt()
/kernel/linux/linux-5.10/net/tipc/
Dcrypto.c543 crypto_aead_ivsize(tfm) != TIPC_AES_GCM_IV_SIZE)) { in tipc_aead_init()
687 iv_size = crypto_aead_ivsize(tfm); in tipc_aead_mem_alloc()
/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c1453 mem_size = mem_size + crypto_aead_ivsize(ctx->aead_recv); in decrypt_internal()
1486 crypto_aead_ivsize(ctx->aead_recv)); in decrypt_internal()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dtransport.c882 iv_len = crypto_aead_ivsize(tfm); in set_tfm()
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_aead.c1948 crypto_aead_ivsize(tfm)); in cc_proc_aead()
1952 areq_ctx->hw_iv_size = crypto_aead_ivsize(tfm); in cc_proc_aead()

12