Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
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()
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()
Dccm.c64 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_ccm_reqctx()
130 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input()
172 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth()
230 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done()
287 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt()
328 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done()
347 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt()
608 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()
Daegis128-core.c390 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt_generic()
413 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt_generic()
451 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt_simd()
476 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt_simd()
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.c98 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_encrypt()
145 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()
/linux-6.1.9/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()
/linux-6.1.9/arch/arm64/crypto/
Daes-ce-ccm-glue.c61 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac()
99 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac()
148 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt()
205 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()
408 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
/linux-6.1.9/drivers/crypto/qce/
Daead.c29 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_done()
96 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_result_buf()
116 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_dst_buf()
188 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in qce_aead_ccm_prepare_buf_assoclen()
304 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_buf()
332 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in qce_aead_ccm_prepare_buf()
412 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in qce_aead_async_req_handle()
414 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_async_req_handle()
504 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in qce_aead_crypt()
/linux-6.1.9/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.c784 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_encrypt()
803 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_decrypt()
829 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt()
857 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt()
1160 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt()
1177 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_decrypt()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c601 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in kmb_ocs_aead_validate_input()
643 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_common()
658 crypto_aead_authsize(crypto_aead_reqtfm(req))); in kmb_ocs_aead_common()
687 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_cleanup()
724 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare()
725 const int tag_size = crypto_aead_authsize(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare()
892 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run()
893 const int tag_size = crypto_aead_authsize(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run()
980 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aes_aead_do_one_request()
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c215 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_enc()
249 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_dec()
442 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_enc()
474 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_dec()
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c174 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_verify_tag()
214 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_handle_aead_resp()
2366 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_common_exit()
2374 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_common_init()
2406 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in chcr_aead_need_fallback()
2418 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_fallback()
2436 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-6.1.9/include/crypto/
Daead.h321 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req) in crypto_aead_reqtfm() function
/linux-6.1.9/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