Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/crypto/nx/
H A 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()
/openbmc/linux/crypto/
H A 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 …]
H A Dseqiv.c32 geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt_complete2()
49 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt()
110 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_decrypt()
H A 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()
178 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc()
193 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt()
231 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail()
278 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt()
H A Dauthencesn.c89 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv_tail()
121 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv()
167 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_copy()
181 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_encrypt()
220 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt_tail()
269 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt()
H A 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()
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()
H A 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()
400 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash()
412 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash()
466 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify()
501 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt()
723 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt()
928 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt()
959 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_copy_src_to_dst()
H A 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()
H A 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()
H A Dpcrypt.c98 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_encrypt()
149 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_decrypt()
H A Daead.c105 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt()
128 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
/openbmc/linux/drivers/crypto/
H A Domap-aes-gcm.c95 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_copy_buffers()
179 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv()
222 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_prepare_req()
242 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_crypt()
291 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt()
303 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt()
/openbmc/linux/arch/arm64/crypto/
H A Dsm4-ce-gcm-glue.c75 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac()
144 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_crypt()
200 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt()
219 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
H A Dsm4-ce-ccm-glue.c56 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_format_input()
93 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac()
215 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt()
242 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt()
H A 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()
201 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt()
H A Dghash-ce-glue.c302 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac()
337 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt()
400 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
502 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_encrypt()
515 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_decrypt()
/openbmc/linux/drivers/crypto/qce/
H A 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()
/openbmc/linux/drivers/crypto/xilinx/
H A 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()
287 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_encrypt()
300 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_decrypt()
/openbmc/linux/arch/x86/crypto/
H A 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()
H A Daesni-intel_glue.c782 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_encrypt()
801 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_decrypt()
827 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()
1156 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt()
1173 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_decrypt()
/openbmc/linux/drivers/crypto/ccree/
H A 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 …]
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c598 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in kmb_ocs_aead_validate_input()
640 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_common()
655 crypto_aead_authsize(crypto_aead_reqtfm(req))); in kmb_ocs_aead_common()
684 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_cleanup()
721 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare()
722 const int tag_size = crypto_aead_authsize(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare()
889 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run()
890 const int tag_size = crypto_aead_authsize(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run()
977 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aes_aead_do_one_request()
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A 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()
/openbmc/linux/arch/arm/crypto/
H A Dghash-ce-glue.c453 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac()
492 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt()
582 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
695 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_encrypt()
708 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_decrypt()
/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c919 tfm = crypto_aead_reqtfm(aead_req); in GEN_SEC_SETKEY_FUNC()
954 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); in sec_aead_mac_init()
1462 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); in set_aead_auth_iv()
1529 struct crypto_aead *tfm = crypto_aead_reqtfm(aq); in sec_auth_bd_fill_xcm()
1557 struct crypto_aead *tfm = crypto_aead_reqtfm(aq); in sec_auth_bd_fill_xcm_v3()
1585 struct crypto_aead *tfm = crypto_aead_reqtfm(aq); in sec_auth_bd_fill_ex()
1640 struct crypto_aead *tfm = crypto_aead_reqtfm(aq); in sec_auth_bd_fill_ex_v3()
1696 struct crypto_aead *tfm = crypto_aead_reqtfm(a_req); in sec_aead_callback()
2262 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in sec_aead_spec_check()
2309 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in sec_aead_param_check()
[all …]

123