Home
last modified time | relevance | path

Searched refs:crypto_aead_reqtfm (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v5.10/drivers/crypto/nx/
Dnx-aes-gcm.c173 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac()
246 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty()
293 crypto_aead_authsize(crypto_aead_reqtfm(req))); in gcm_empty()
311 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
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()
439 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_encrypt()
456 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_decrypt()
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.10/crypto/
Dchacha20poly1305.c86 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_iv()
125 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_decrypt()
171 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_tail()
201 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad()
230 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher()
260 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad()
289 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad()
313 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey()
339 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init()
362 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey()
[all …]
Dseqiv.c32 geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt_complete2()
50 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt()
111 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_decrypt()
Dauthenc.c115 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_done()
134 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_genicv()
179 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc()
194 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt()
232 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail()
280 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt()
Dauthencesn.c89 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv_tail()
122 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv()
169 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_copy()
183 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_encrypt()
222 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt_tail()
272 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt()
Dccm.c63 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_ccm_reqctx()
129 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input()
171 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth()
229 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done()
286 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt()
327 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done()
346 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt()
607 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4309_crypt()
Dechainiv.c28 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_encrypt()
87 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_decrypt()
Dgcm.c87 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_gcm_reqctx()
180 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_init_crypt()
402 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash()
414 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash()
468 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify()
503 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt()
725 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt()
930 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt()
961 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_copy_src_to_dst()
Daead.c85 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt()
102 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
Dpcrypt.c96 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_encrypt()
141 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_decrypt()
Dsimd.c312 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_encrypt()
333 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_decrypt()
Daegis128-core.c394 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt()
426 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt()
/Linux-v5.10/drivers/crypto/
Domap-aes-gcm.c92 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_copy_buffers()
176 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv()
221 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_prepare_req()
241 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_crypt()
290 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt()
302 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt()
Dpicoxcell_crypto.c313 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in spacc_aead_make_ddts()
415 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in spacc_aead_free_ddts()
510 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in spacc_aead_need_fallback()
531 struct crypto_tfm *old_tfm = crypto_aead_tfm(crypto_aead_reqtfm(req)); in spacc_aead_do_fallback()
556 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in spacc_aead_submit()
629 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_setup()
675 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_encrypt()
683 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_decrypt()
/Linux-v5.10/arch/x86/crypto/
Daegis128-aesni-glue.c170 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_crypt()
195 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_encrypt()
217 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_decrypt()
Daesni-intel_glue.c686 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_crypt_by_sg()
828 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt()
855 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt()
985 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt()
1001 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_decrypt()
/Linux-v5.10/arch/arm64/crypto/
Daes-ce-ccm-glue.c63 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac()
136 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac()
224 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt()
281 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt()
Dghash-ce-glue.c307 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac()
343 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt()
456 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
/Linux-v5.10/drivers/crypto/ccree/
Dcc_aead.c212 struct crypto_aead *tfm = crypto_aead_reqtfm(cc_req); in cc_aead_complete()
724 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_set_assoc_desc()
768 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_authen_desc()
832 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_cipher_desc()
874 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_digest_desc()
924 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_cipher_desc()
991 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_hmac_desc()
1024 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_xcbc_desc()
1100 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_scheme_desc()
1162 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_mlli_to_sram()
[all …]
/Linux-v5.10/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c79 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_cipher()
209 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_handle_aes_req()
284 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_encrypt()
297 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_decrypt()
/Linux-v5.10/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c216 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_enc()
250 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_dec()
443 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_enc()
475 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_dec()
/Linux-v5.10/drivers/crypto/chelsio/
Dchcr_algo.c178 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_verify_tag()
218 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_handle_aead_resp()
2368 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_common_exit()
2376 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_common_init()
2408 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in chcr_aead_need_fallback()
2420 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_fallback()
2438 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_authenc_wr()
2580 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_dma_map()
2641 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_dma_unmap()
2708 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_add_aead_dst_ent()
[all …]
/Linux-v5.10/include/crypto/
Daead.h312 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req) in crypto_aead_reqtfm() function
/Linux-v5.10/drivers/crypto/amcc/
Dcrypto4xx_alg.c327 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto4xx_aead_need_fallback()
445 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto4xx_crypt_aes_ccm()
596 len -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in crypto4xx_crypt_aes_gcm()

12