/linux/crypto/ |
A D | echainiv.c | 34 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_encrypt() 92 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_decrypt()
|
A D | essiv.c | 197 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()
|
A D | algif_aead.c | 69 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()
|
A D | geniv.c | 123 crypto_aead_ivsize(aead)); in aead_init_geniv()
|
A D | seqiv.c | 33 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2()
|
A D | testmgr.c | 1928 const unsigned int ivsize = crypto_aead_ivsize(tfm); in test_aead_vec_cfg() 2198 const unsigned int ivsize = crypto_aead_ivsize(tfm); in generate_aead_message() 2266 const unsigned int ivsize = crypto_aead_ivsize(tfm); in generate_random_aead_testvec() 2420 if (crypto_aead_ivsize(tfm) != crypto_aead_ivsize(generic_tfm)) { in test_aead_vs_generic_impl() 2422 driver, crypto_aead_ivsize(tfm), in test_aead_vs_generic_impl() 2423 crypto_aead_ivsize(generic_tfm)); in test_aead_vs_generic_impl() 2496 ctx->vec.iv = kmalloc(crypto_aead_ivsize(ctx->tfm), GFP_KERNEL); in test_aead_extra()
|
A D | chacha20poly1305.c | 370 if (crypto_aead_ivsize(tfm) == 8) { in poly_genkey()
|
A D | skcipher.c | 536 walk->ivsize = crypto_aead_ivsize(tfm); in skcipher_walk_aead_common()
|
A D | tcrypt.c | 377 iv_len = crypto_aead_ivsize(tfm); in test_mb_aead_speed() 633 iv_len = crypto_aead_ivsize(tfm); in test_aead_speed()
|
/linux/net/ipv6/ |
A D | esp6.c | 69 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() 591 ivlen = crypto_aead_ivsize(aead); in esp6_output_tail() 750 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer() 788 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp6_input_done2() 928 int ivlen = crypto_aead_ivsize(aead); in esp6_input() 1200 crypto_aead_ivsize(aead); in esp6_init_state()
|
A D | esp6_offload.c | 249 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()
|
/linux/net/ipv4/ |
A D | esp4.c | 52 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() 555 ivlen = crypto_aead_ivsize(aead); in esp_output_tail() 713 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer() 752 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2() 884 int ivlen = crypto_aead_ivsize(aead); in esp_input() 1157 crypto_aead_ivsize(aead); in esp_init_state()
|
A D | esp4_offload.c | 210 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp4_gso_segment() 213 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp4_gso_segment() 236 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail()
|
/linux/Documentation/crypto/ |
A D | api-aead.rst | 14 …:functions: crypto_alloc_aead crypto_free_aead crypto_aead_ivsize crypto_aead_authsize crypto_aead…
|
/linux/include/crypto/ |
A D | aead.h | 221 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() function
|
/linux/drivers/crypto/caam/ |
A D | caamalg.c | 186 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()
|
A D | caamalg_qi.c | 85 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()
|
A D | caamalg_qi2.c | 175 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/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ipsec.c | 170 ivsize = crypto_aead_ivsize(aead); in mlx5e_ipsec_build_accel_xfrm_attrs()
|
/linux/drivers/crypto/ |
A D | talitos.c | 993 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/drivers/crypto/qce/ |
A D | aead.c | 429 rctx->ivsize = crypto_aead_ivsize(tfm); in qce_aead_async_req_handle()
|
/linux/fs/ksmbd/ |
A D | auth.c | 1122 iv_len = crypto_aead_ivsize(tfm); in ksmbd_crypt_message()
|
/linux/net/tipc/ |
A D | crypto.c | 550 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()
|
/linux/arch/s390/crypto/ |
A D | aes_s390.c | 832 unsigned int ivsize = crypto_aead_ivsize(tfm); in gcm_aes_crypt()
|
/linux/drivers/crypto/ccree/ |
A D | cc_aead.c | 1948 crypto_aead_ivsize(tfm)); in cc_proc_aead() 1952 areq_ctx->hw_iv_size = crypto_aead_ivsize(tfm); in cc_proc_aead()
|