Home
last modified time | relevance | path

Searched refs:crypto_aead_authsize (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v5.4/net/mac80211/
Daead_api.c21 size_t mic_len = crypto_aead_authsize(tfm); in aead_encrypt()
52 size_t mic_len = crypto_aead_authsize(tfm); in aead_decrypt()
/Linux-v5.4/drivers/crypto/nx/
Dnx-aes-gcm.c295 crypto_aead_authsize(crypto_aead_reqtfm(req))); in gcm_empty()
354 nbytes -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
401 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt()
409 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt()
412 crypto_aead_authsize(crypto_aead_reqtfm(req))) ? in gcm_aes_nx_crypt()
Dnx-aes-ccm.c336 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_decrypt()
414 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_encrypt()
/Linux-v5.4/arch/arm64/crypto/
Daes-ce-ccm-glue.c97 maciv[0] |= (crypto_aead_authsize(aead) - 2) << 2; in ccm_init_mac()
280 crypto_aead_authsize(aead), 1); in ccm_encrypt()
289 unsigned int authsize = crypto_aead_authsize(aead); in ccm_decrypt()
Dghash-ce-glue.c533 crypto_aead_authsize(aead), 1); in gcm_encrypt()
542 unsigned int authsize = crypto_aead_authsize(aead); in gcm_decrypt()
/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/crypto/
Dauthenc.c136 crypto_aead_authsize(authenc), 1); in authenc_geniv_ahash_done()
168 crypto_aead_authsize(authenc), 1); in crypto_authenc_genicv()
250 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt_tail()
291 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt()
Dauthencesn.c105 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv_tail()
139 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv()
233 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt_tail()
286 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt()
Dccm.c143 m = crypto_aead_authsize(aead); in format_input()
245 crypto_aead_authsize(aead), 1); in crypto_ccm_encrypt_done()
327 crypto_aead_authsize(aead), 1); in crypto_ccm_encrypt()
337 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done()
360 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt()
Daegis128-core.c417 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt()
442 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt()
Dgcm.c426 crypto_aead_authsize(aead), 1); in gcm_enc_copy_hash()
477 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_verify()
512 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_decrypt()
994 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_crypt()
1023 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_copy_src_to_dst()
Dseqiv.c120 if (req->cryptlen < ivsize + crypto_aead_authsize(geniv)) in seqiv_aead_decrypt()
Dalgif_aead.c52 unsigned int as = crypto_aead_authsize(tfm); in aead_sufficient_data()
99 unsigned int i, as = crypto_aead_authsize(tfm); in _aead_recvmsg()
/Linux-v5.4/net/ipv6/
Desp6.c332 alen = crypto_aead_authsize(aead); in esp6_output_tail()
441 alen = crypto_aead_authsize(aead); in esp6_output()
484 alen = crypto_aead_authsize(aead); in esp_remove_trailer()
823 crypto_aead_authsize(aead)) { in esp_init_authenc()
826 crypto_aead_authsize(aead), in esp_init_authenc()
887 x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); in esp6_init_state()
Desp6_offload.c259 alen = crypto_aead_authsize(aead); in esp6_xmit()
/Linux-v5.4/arch/x86/crypto/
Daegis128-aesni-glue.c199 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_aesni_encrypt()
221 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_aesni_decrypt()
/Linux-v5.4/net/ipv4/
Desp4.c390 alen = crypto_aead_authsize(aead); in esp_output_tail()
500 alen = crypto_aead_authsize(aead); in esp_output()
545 alen = crypto_aead_authsize(aead); in esp_remove_trailer()
928 crypto_aead_authsize(aead)) { in esp_init_authenc()
931 crypto_aead_authsize(aead), in esp_init_authenc()
995 x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); in esp_init_state()
Desp4_offload.c235 alen = crypto_aead_authsize(aead); in esp_xmit()
/Linux-v5.4/include/crypto/
Daead.h225 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize() function
/Linux-v5.4/drivers/crypto/
Domap-aes-gcm.c92 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_copy_buffers()
305 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_crypt()
Dixp4xx_crypto.c346 int authsize = crypto_aead_authsize(tfm); in finish_scattered_hmac()
982 unsigned authsize = crypto_aead_authsize(tfm); in aead_perform()
1164 return aead_setup(tfm, crypto_aead_authsize(tfm)); in aead_setkey()
1196 return aead_setup(tfm, crypto_aead_authsize(tfm)); in des3_aead_setkey()
/Linux-v5.4/drivers/crypto/amcc/
Dcrypto4xx_alg.c471 len -= crypto_aead_authsize(aead); in crypto4xx_crypt_aes_ccm()
477 sa->sa_command_0.bf.digest_len = crypto_aead_authsize(aead) >> 2; in crypto4xx_crypt_aes_ccm()
617 len -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in crypto4xx_crypt_aes_gcm()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-aes-galois.c120 rctx->cmd.u.aes.authsize = crypto_aead_authsize(tfm); in ccp_aes_gcm_crypt()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c180 int authsize = crypto_aead_authsize(tfm); in chcr_verify_tag()
2267 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_common_init()
2296 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in chcr_aead_need_fallback()
2337 unsigned int authsize = crypto_aead_authsize(tfm); in create_authenc_wr()
2467 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_dma_map()
2513 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_dma_unmap()
2567 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_add_aead_dst_ent()
2752 m = crypto_aead_authsize(aead); in generate_b0()
2834 if (crypto_aead_authsize(tfm) != req->cryptlen) in fill_sec_cpl_for_aead()
2835 tag_offset = crypto_aead_authsize(tfm); in fill_sec_cpl_for_aead()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c111 unsigned int alen = crypto_aead_authsize(x->data); in mlx5e_ipsec_remove_trailer()

12