Home
last modified time | relevance | path

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

/linux/drivers/net/ovpn/
H A Dcrypto_aead.c61 DEBUG_NET_WARN_ON_ONCE(crypto_aead_ivsize(tfm) != OVPN_NONCE_SIZE); in ovpn_aead_crypto_tmp_size()
92 return likely(crypto_aead_ivsize(aead)) ? in ovpn_aead_crypto_tmp_iv()
113 return (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in ovpn_aead_crypto_tmp_req()
364 if (crypto_aead_ivsize(aead) != OVPN_NONCE_SIZE) { in ovpn_aead_init()
371 pr_debug("*** IV size=%u\n", crypto_aead_ivsize(aead)); in ovpn_aead_init()
/linux/net/ipv6/
H A Desp6.c70 len += crypto_aead_ivsize(aead); in esp_alloc_tmp()
93 return crypto_aead_ivsize(aead) ? in esp_tmp_iv()
102 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
556 ivlen = crypto_aead_ivsize(aead); in esp6_output_tail()
716 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer()
751 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp6_input_done2()
890 int ivlen = crypto_aead_ivsize(aead); in esp6_input()
1173 crypto_aead_ivsize(aead); in esp6_init_state()
H A Desp6_offload.c270 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp6_gso_segment()
273 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp6_gso_segment()
294 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp6_input_tail()
/linux/net/ipv4/
H A Desp4.c53 len += crypto_aead_ivsize(aead); in esp_alloc_tmp()
76 return crypto_aead_ivsize(aead) ? in esp_tmp_iv()
85 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
524 ivlen = crypto_aead_ivsize(aead); in esp_output_tail()
683 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer()
719 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()
851 int ivlen = crypto_aead_ivsize(aead); in esp_input()
1135 crypto_aead_ivsize(aead); in esp_init_state()
H A Desp4_offload.c230 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp4_gso_segment()
233 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp4_gso_segment()
256 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail()
/linux/include/crypto/
H A Daead.h263 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() function
270 return crypto_aead_ivsize(&tfm->base); in crypto_sync_aead_ivsize()
/linux/crypto/
H A Dseqiv.c33 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2()
H A Dessiv.c189 int ivsize = crypto_aead_ivsize(tfm); in essiv_aead_crypt()
341 crypto_aead_set_reqsize(tfm, tctx->ivoffset + crypto_aead_ivsize(aead)); in essiv_aead_init_tfm()
/linux/fs/smb/server/
H A Dauth.c977 iv_len = crypto_aead_ivsize(tfm); in ksmbd_crypt_rdma()
1096 iv_len = crypto_aead_ivsize(tfm); in ksmbd_crypt_message()
/linux/drivers/crypto/
H A Dtalitos.c1068 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp_unmap()
1103 unsigned int ivsize = crypto_aead_ivsize(authenc); in ipsec_esp_encrypt_done()
1280 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp()
1495 unsigned int ivsize = crypto_aead_ivsize(authenc); in aead_edesc_alloc()
H A Datmel-aes.c1312 size_t ivsize = crypto_aead_ivsize(tfm); in atmel_aes_gcm_start()
/linux/net/tipc/
H A Dcrypto.c541 crypto_aead_ivsize(tfm) != TIPC_AES_GCM_IV_SIZE)) { in tipc_aead_init()
685 iv_size = crypto_aead_ivsize(tfm); in tipc_aead_mem_alloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c413 ivsize = crypto_aead_ivsize(aead); in mlx5e_ipsec_build_accel_xfrm_attrs()
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c905 memcpy(fctx->enc.encr_iv, req->iv, crypto_aead_ivsize(tfm)); in create_aead_ctx_hdr()
/linux/fs/smb/client/
H A Dsmb2ops.c4619 unsigned int iv_size = crypto_aead_ivsize(tfm); in smb2_aead_req_alloc()