/Linux-v5.4/net/ipv6/ |
D | esp6.c | 59 len += crypto_aead_ivsize(aead); in esp_alloc_tmp() 82 return crypto_aead_ivsize(aead) ? in esp_tmp_iv() 91 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req() 333 ivlen = crypto_aead_ivsize(aead); in esp6_output_tail() 485 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer() 523 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp6_input_done2() 596 int ivlen = crypto_aead_ivsize(aead); in esp6_input() 871 crypto_aead_ivsize(aead); in esp6_init_state()
|
D | esp6_offload.c | 198 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp6_gso_segment() 201 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp6_gso_segment() 220 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp6_input_tail()
|
/Linux-v5.4/crypto/ |
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()
|
D | essiv.c | 215 req->assoclen - crypto_aead_ivsize(tfm), in essiv_aead_crypt() 216 crypto_aead_ivsize(tfm), 1); in essiv_aead_crypt() 219 int ivsize = crypto_aead_ivsize(tfm); in essiv_aead_crypt() 356 crypto_aead_set_reqsize(tfm, tctx->ivoffset + crypto_aead_ivsize(aead)); in essiv_aead_init_tfm()
|
D | algif_aead.c | 69 unsigned int ivsize = crypto_aead_ivsize(tfm); in aead_sendmsg() 533 unsigned int ivlen = crypto_aead_ivsize(tfm); in aead_sock_destruct() 548 unsigned int ivlen = crypto_aead_ivsize(aead); in aead_accept_parent_nokey()
|
D | seqiv.c | 35 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2()
|
D | aead.c | 332 crypto_aead_ivsize(aead)); in aead_init_geniv()
|
D | blkcipher.c | 362 walk->ivsize = crypto_aead_ivsize(tfm); in blkcipher_aead_walk_virt_block()
|
D | chacha20poly1305.c | 372 if (crypto_aead_ivsize(tfm) == 8) { in poly_genkey()
|
D | testmgr.c | 1846 const unsigned int ivsize = crypto_aead_ivsize(tfm); in test_aead_vec_cfg() 2061 const unsigned int ivsize = crypto_aead_ivsize(tfm); in generate_random_aead_testvec() 2139 const unsigned int ivsize = crypto_aead_ivsize(tfm); in test_aead_vs_generic_impl() 2204 if (ivsize != crypto_aead_ivsize(generic_tfm)) { in test_aead_vs_generic_impl() 2206 driver, ivsize, crypto_aead_ivsize(generic_tfm)); in test_aead_vs_generic_impl()
|
D | skcipher.c | 541 walk->ivsize = crypto_aead_ivsize(tfm); in skcipher_walk_aead_common()
|
/Linux-v5.4/net/ipv4/ |
D | esp4_offload.c | 171 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp4_gso_segment() 174 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp4_gso_segment() 195 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail()
|
D | esp4.c | 50 len += crypto_aead_ivsize(aead); in esp_alloc_tmp() 73 return crypto_aead_ivsize(aead) ? in esp_tmp_iv() 82 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req() 391 ivlen = crypto_aead_ivsize(aead); in esp_output_tail() 546 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer() 585 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2() 701 int ivlen = crypto_aead_ivsize(aead); in esp_input() 973 crypto_aead_ivsize(aead); in esp_init_state()
|
/Linux-v5.4/Documentation/crypto/ |
D | api-aead.rst | 14 …:functions: crypto_alloc_aead crypto_free_aead crypto_aead_ivsize crypto_aead_authsize crypto_aead…
|
/Linux-v5.4/drivers/crypto/ccree/ |
D | cc_buffer_mgr.c | 71 skip += crypto_aead_ivsize(tfm); in cc_copy_mac() 620 unsigned int iv_size_to_authenc = crypto_aead_ivsize(tfm); in cc_aead_chain_iv() 647 size_of_assoc += crypto_aead_ivsize(tfm); in cc_aead_chain_assoc() 865 size_to_skip += crypto_aead_ivsize(tfm); in cc_aead_chain_data() 876 size_for_map += crypto_aead_ivsize(tfm); in cc_aead_chain_data() 908 size_for_map += crypto_aead_ivsize(tfm); in cc_aead_chain_data() 1124 size_to_map += crypto_aead_ivsize(tfm); in cc_map_aead_request()
|
/Linux-v5.4/include/crypto/ |
D | aead.h | 208 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() function
|
/Linux-v5.4/drivers/crypto/caam/ |
D | caamalg.c | 171 unsigned int ivsize = crypto_aead_ivsize(aead); in aead_set_sh_desc() 312 unsigned int ivsize = crypto_aead_ivsize(aead); in gcm_set_sh_desc() 377 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4106_set_sh_desc() 445 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4543_set_sh_desc() 511 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_set_sh_desc() 548 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_setkey() 1155 unsigned int ivsize = crypto_aead_ivsize(aead); in init_gcm_job() 1184 unsigned int ivsize = crypto_aead_ivsize(aead); in init_chachapoly_job() 1220 unsigned int ivsize = crypto_aead_ivsize(aead); in init_authenc_job()
|
D | caamalg_qi.c | 77 unsigned int ivsize = crypto_aead_ivsize(aead); in aead_set_sh_desc() 296 unsigned int ivsize = crypto_aead_ivsize(aead); in gcm_set_sh_desc() 401 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4106_set_sh_desc() 511 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4543_set_sh_desc() 895 int ivsize = crypto_aead_ivsize(aead); in aead_unmap() 1038 ivsize = crypto_aead_ivsize(aead); in aead_edesc_alloc()
|
D | caamalg_qi2.c | 168 unsigned int ivsize = crypto_aead_ivsize(aead); in aead_set_sh_desc() 444 ivsize = crypto_aead_ivsize(aead); in aead_edesc_alloc() 589 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_set_sh_desc() 634 unsigned int ivsize = crypto_aead_ivsize(aead); in chachapoly_setkey() 652 unsigned int ivsize = crypto_aead_ivsize(aead); in gcm_set_sh_desc() 746 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4106_set_sh_desc() 849 unsigned int ivsize = crypto_aead_ivsize(aead); in rfc4543_set_sh_desc() 1269 int ivsize = crypto_aead_ivsize(aead); in aead_unmap()
|
/Linux-v5.4/security/keys/ |
D | big_key.c | 427 if (unlikely(crypto_aead_ivsize(big_key_aead) != BIG_KEY_IV_SIZE)) { in big_key_init()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec.c | 172 ivsize = crypto_aead_ivsize(aead); in mlx5e_ipsec_build_accel_xfrm_attrs()
|
/Linux-v5.4/drivers/crypto/ |
D | talitos.c | 997 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp_unmap() 1032 unsigned int ivsize = crypto_aead_ivsize(authenc); in ipsec_esp_encrypt_done() 1207 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp() 1425 unsigned int ivsize = crypto_aead_ivsize(authenc); in aead_edesc_alloc()
|
/Linux-v5.4/net/tls/ |
D | tls_sw.c | 1389 mem_size = mem_size + crypto_aead_ivsize(ctx->aead_recv); in decrypt_internal() 1422 crypto_aead_ivsize(ctx->aead_recv)); in decrypt_internal()
|
/Linux-v5.4/arch/s390/crypto/ |
D | aes_s390.c | 992 unsigned int ivsize = crypto_aead_ivsize(tfm); in gcm_aes_crypt()
|
/Linux-v5.4/drivers/md/ |
D | dm-crypt.c | 2164 cc->iv_size = crypto_aead_ivsize(any_tfm_aead(cc)); in crypt_ctr_ivmode() 2327 cc->iv_size = crypto_aead_ivsize(any_tfm_aead(cc)); in crypt_ctr_cipher_new()
|