Home
last modified time | relevance | path

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

12

/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()
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()
/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 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()
175 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc()
190 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt()
228 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail()
275 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt()
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 Dauthencesn.c89 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv_tail()
118 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv()
163 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_copy()
177 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_encrypt()
216 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt_tail()
264 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt()
H A Dccm.c65 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_ccm_reqctx()
131 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input()
173 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth()
231 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done()
288 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()
606 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()
721 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt()
926 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt()
957 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 Daead.c85 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt()
96 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
H A Dsimd.c290 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_encrypt()
311 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_decrypt()
H A Dcryptd.c753 tfm = crypto_aead_reqtfm(req); in cryptd_aead_crypt()
790 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in cryptd_aead_encrypt()
802 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in cryptd_aead_decrypt()
812 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cryptd_aead_enqueue()
/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()
H A Datmel-aes.c1315 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_start()
1352 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_process()
1503 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_finalize()
1533 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in atmel_aes_gcm_crypt()
1784 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_authenc_start()
1879 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_authenc_final()
1996 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_authenc_crypt()
/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.c64 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac()
137 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac()
181 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt()
247 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()
/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()
/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()
/linux/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c313 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto4xx_aead_need_fallback()
431 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto4xx_crypt_aes_ccm()
582 len -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in crypto4xx_crypt_aes_gcm()
/linux/include/crypto/
H A Daead.h334 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req) in crypto_aead_reqtfm() function
/linux/drivers/crypto/starfive/
H A Djh7110-aes.c642 crypto_aead_ctx(crypto_aead_reqtfm(req)); in starfive_aes_aead_do_one_req()
650 cryp->authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in starfive_aes_aead_do_one_req()
811 crypto_aead_ctx(crypto_aead_reqtfm(req)); in starfive_aes_aead_do_fallback()
828 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in starfive_aes_aead_crypt()
/linux/drivers/crypto/caam/
H A Dcaamalg.c1075 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_aead_job()
1136 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_gcm_job()
1166 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_chachapoly_job()
1200 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_authenc_job()
1309 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_edesc_alloc()
1475 struct crypto_aead *aead = crypto_aead_reqtfm(req); in chachapoly_crypt()
1509 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_crypt()
1543 struct caam_ctx *ctx = crypto_aead_ctx_dma(crypto_aead_reqtfm(req)); in aead_do_one_req()
1568 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_crypt()
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c91 tfm = crypto_aead_reqtfm(req); in validate_hmac_cipher_null()
971 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_aead_ctx_hdr()
1062 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_hmac_ctx_hdr()
1216 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_do_fallback()
1241 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cpt_aead_enc_dec()

12