Home
last modified time | relevance | path

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

12

/openbmc/linux/net/mac80211/
H A Daead_api.c21 size_t mic_len = crypto_aead_authsize(tfm); in aead_encrypt()
53 size_t mic_len = crypto_aead_authsize(tfm); in aead_decrypt()
/openbmc/linux/drivers/crypto/nx/
H A Dnx-aes-gcm.c293 crypto_aead_authsize(crypto_aead_reqtfm(req))); in gcm_empty()
350 nbytes -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
397 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt()
405 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt()
408 crypto_aead_authsize(crypto_aead_reqtfm(req))) ? in gcm_aes_nx_crypt()
H A Dnx-aes-ccm.c333 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_decrypt()
411 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_encrypt()
/openbmc/linux/arch/arm64/crypto/
H A Daes-ce-ccm-glue.c89 maciv[0] |= (crypto_aead_authsize(aead) - 2) << 2; in ccm_init_mac()
194 crypto_aead_authsize(aead), 1); in ccm_encrypt()
203 unsigned int authsize = crypto_aead_authsize(aead); in ccm_decrypt()
H A Dsm4-ce-ccm-glue.c71 m = crypto_aead_authsize(aead); in ccm_format_input()
235 crypto_aead_authsize(aead), 1); in ccm_encrypt()
243 unsigned int authsize = crypto_aead_authsize(aead); in ccm_decrypt()
H A Dsm4-ce-gcm-glue.c212 crypto_aead_authsize(aead), 1); in gcm_encrypt()
220 unsigned int authsize = crypto_aead_authsize(aead); in gcm_decrypt()
H A Dghash-ce-glue.c393 crypto_aead_authsize(aead), 1); in gcm_encrypt()
402 unsigned int authsize = crypto_aead_authsize(aead); in gcm_decrypt()
/openbmc/linux/Documentation/crypto/
H A Dapi-aead.rst14 …:functions: crypto_alloc_aead crypto_free_aead crypto_aead_ivsize crypto_aead_authsize crypto_aead…
/openbmc/linux/crypto/
H A Dauthencesn.c95 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv_tail()
128 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv()
221 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt_tail()
273 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt()
H A Dauthenc.c126 crypto_aead_authsize(authenc), 1); in authenc_geniv_ahash_done()
158 crypto_aead_authsize(authenc), 1); in crypto_authenc_genicv()
239 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt_tail()
279 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt()
H A Daegis128-core.c392 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt_generic()
415 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt_generic()
453 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt_simd()
478 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt_simd()
H A Dccm.c135 m = crypto_aead_authsize(aead); in format_input()
237 crypto_aead_authsize(aead), 1); in crypto_ccm_encrypt_done()
319 crypto_aead_authsize(aead), 1); in crypto_ccm_encrypt()
328 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done()
351 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt()
H A Dgcm.c418 crypto_aead_authsize(aead), 1); in gcm_enc_copy_hash()
469 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_verify()
504 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_decrypt()
932 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_crypt()
961 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_copy_src_to_dst()
H A Dseqiv.c117 if (req->cryptlen < ivsize + crypto_aead_authsize(geniv)) in seqiv_aead_decrypt()
H A 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()
/openbmc/linux/arch/x86/crypto/
H A Daegis128-aesni-glue.c197 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_aesni_encrypt()
219 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_aesni_decrypt()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c49 unsigned int alen = crypto_aead_authsize(x->data); in mlx5e_ipsec_remove_trailer()
208 alen = crypto_aead_authsize(aead); in mlx5e_ipsec_set_state()
/openbmc/linux/net/ipv6/
H A Desp6.c593 alen = crypto_aead_authsize(aead); in esp6_output_tail()
707 alen = crypto_aead_authsize(aead); in esp6_output()
751 alen = crypto_aead_authsize(aead); in esp_remove_trailer()
1160 crypto_aead_authsize(aead)) { in esp_init_authenc()
1249 x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); in esp6_init_state()
/openbmc/linux/net/ipv4/
H A Desp4.c556 alen = crypto_aead_authsize(aead); in esp_output_tail()
669 alen = crypto_aead_authsize(aead); in esp_output()
713 alen = crypto_aead_authsize(aead); in esp_remove_trailer()
1117 crypto_aead_authsize(aead)) { in esp_init_authenc()
1196 x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); in esp_init_state()
/openbmc/linux/drivers/crypto/
H A Domap-aes-gcm.c96 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_copy_buffers()
243 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_crypt()
/openbmc/linux/include/crypto/
H A Daead.h262 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize() function
/openbmc/linux/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c452 len -= crypto_aead_authsize(aead); in crypto4xx_crypt_aes_ccm()
458 sa->sa_command_0.bf.digest_len = crypto_aead_authsize(aead) >> 2; in crypto4xx_crypt_aes_ccm()
596 len -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in crypto4xx_crypt_aes_gcm()
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes-galois.c119 rctx->cmd.u.aes.authsize = crypto_aead_authsize(tfm); in ccp_aes_gcm_crypt()
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c110 crypto_aead_authsize(tfm)) != 0) in validate_hmac_cipher_null()
899 int mac_len = crypto_aead_authsize(tfm); in create_aead_ctx_hdr()
1168 crypto_aead_authsize(tfm)); in cpt_aead_enc_dec()
1175 crypto_aead_authsize(tfm)); in cpt_aead_enc_dec()
1179 crypto_aead_authsize(tfm)); in cpt_aead_enc_dec()
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c94 crypto_aead_authsize(tfm)) != 0) in validate_hmac_cipher_null()
947 int mac_len = crypto_aead_authsize(tfm); in create_aead_ctx_hdr()
1233 create_aead_output_list(req, enc, crypto_aead_authsize(tfm)); in cpt_aead_enc_dec()
1238 crypto_aead_authsize(tfm)); in cpt_aead_enc_dec()
1240 crypto_aead_authsize(tfm)); in cpt_aead_enc_dec()

12