Home
last modified time | relevance | path

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

12

/Linux-v5.4/net/ipv6/
Desp6.c59 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()
Desp6_offload.c198 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/
Dechainiv.c34 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_encrypt()
92 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_decrypt()
Dessiv.c215 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()
Dalgif_aead.c69 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()
Dseqiv.c35 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2()
Daead.c332 crypto_aead_ivsize(aead)); in aead_init_geniv()
Dblkcipher.c362 walk->ivsize = crypto_aead_ivsize(tfm); in blkcipher_aead_walk_virt_block()
Dchacha20poly1305.c372 if (crypto_aead_ivsize(tfm) == 8) { in poly_genkey()
Dtestmgr.c1846 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()
Dskcipher.c541 walk->ivsize = crypto_aead_ivsize(tfm); in skcipher_walk_aead_common()
/Linux-v5.4/net/ipv4/
Desp4_offload.c171 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()
Desp4.c50 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/
Dapi-aead.rst14 …:functions: crypto_alloc_aead crypto_free_aead crypto_aead_ivsize crypto_aead_authsize crypto_aead…
/Linux-v5.4/drivers/crypto/ccree/
Dcc_buffer_mgr.c71 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/
Daead.h208 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() function
/Linux-v5.4/drivers/crypto/caam/
Dcaamalg.c171 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()
Dcaamalg_qi.c77 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()
Dcaamalg_qi2.c168 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/
Dbig_key.c427 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/
Dipsec.c172 ivsize = crypto_aead_ivsize(aead); in mlx5e_ipsec_build_accel_xfrm_attrs()
/Linux-v5.4/drivers/crypto/
Dtalitos.c997 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/
Dtls_sw.c1389 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/
Daes_s390.c992 unsigned int ivsize = crypto_aead_ivsize(tfm); in gcm_aes_crypt()
/Linux-v5.4/drivers/md/
Ddm-crypt.c2164 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()

12