Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/crypto/nx/
Dnx-aes-gcm.c174 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac()
248 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty()
295 crypto_aead_authsize(crypto_aead_reqtfm(req))); in gcm_empty()
313 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
354 nbytes -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
401 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt()
409 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt()
412 crypto_aead_authsize(crypto_aead_reqtfm(req))) ? in gcm_aes_nx_crypt()
443 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_encrypt()
460 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_decrypt()
/Linux-v5.4/crypto/
Dchacha20poly1305.c88 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_iv()
127 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_decrypt()
173 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_tail()
203 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad()
232 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher()
262 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad()
291 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad()
315 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey()
341 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init()
364 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey()
[all …]
Dseqiv.c34 geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt_complete2()
52 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt()
113 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_decrypt()
Dauthenc.c125 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_done()
144 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_genicv()
189 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc()
204 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt()
242 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail()
290 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt()
Dauthencesn.c99 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv_tail()
132 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv()
179 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_copy()
193 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_encrypt()
232 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt_tail()
282 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt()
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()
Dccm.c65 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_ccm_reqctx()
138 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input()
180 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth()
238 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done()
295 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt()
336 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done()
355 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt()
646 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4309_crypt()
Dgcm.c88 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_gcm_reqctx()
186 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_init_crypt()
408 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash()
420 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash()
474 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify()
509 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt()
764 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt()
990 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt()
1021 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_copy_src_to_dst()
Daegis128-core.c398 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_crypt()
415 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt()
440 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt()
Dpcrypt.c90 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_encrypt()
132 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_decrypt()
Daead.c90 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt()
107 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
Dsimd.c319 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_encrypt()
340 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_decrypt()
/Linux-v5.4/drivers/crypto/
Domap-aes-gcm.c91 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_copy_buffers()
180 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv()
275 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_handle_queue()
304 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_crypt()
353 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt()
364 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt()
Dpicoxcell_crypto.c312 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in spacc_aead_make_ddts()
414 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in spacc_aead_free_ddts()
513 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in spacc_aead_need_fallback()
534 struct crypto_tfm *old_tfm = crypto_aead_tfm(crypto_aead_reqtfm(req)); in spacc_aead_do_fallback()
559 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in spacc_aead_submit()
632 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_setup()
678 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_encrypt()
686 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_decrypt()
/Linux-v5.4/drivers/crypto/ccree/
Dcc_aead.c216 struct crypto_aead *tfm = crypto_aead_reqtfm(cc_req); in cc_aead_complete()
734 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_set_assoc_desc()
778 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_authen_desc()
842 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_cipher_desc()
884 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_digest_desc()
934 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_cipher_desc()
1001 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_hmac_desc()
1034 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_xcbc_desc()
1110 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_scheme_desc()
1172 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_mlli_to_sram()
[all …]
Dcc_buffer_mgr.c67 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_copy_mac()
619 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_aead_chain_iv()
642 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_aead_chain_assoc()
858 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_aead_chain_data()
1017 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_map_aead_request()
/Linux-v5.4/arch/x86/crypto/
Daegis128-aesni-glue.c172 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_crypt()
197 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_encrypt()
219 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_decrypt()
Daesni-intel_glue.c707 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_crypt_by_sg()
853 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt()
880 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt()
1010 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt()
1026 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_decrypt()
/Linux-v5.4/arch/arm64/crypto/
Daes-ce-ccm-glue.c69 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac()
142 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac()
230 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt()
287 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt()
Dghash-ce-glue.c367 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac()
421 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt()
540 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c191 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_enc()
222 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_dec()
412 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_enc()
444 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_dec()
/Linux-v5.4/include/crypto/
Daead.h296 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req) in crypto_aead_reqtfm() function
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c179 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_verify_tag()
219 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_handle_aead_resp()
2256 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_common_exit()
2264 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_common_init()
2296 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in chcr_aead_need_fallback()
2308 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_fallback()
2326 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_authenc_wr()
2466 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_dma_map()
2512 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_aead_dma_unmap()
2565 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in chcr_add_aead_dst_ent()
[all …]
/Linux-v5.4/drivers/crypto/caam/
Dcaamalg.c1092 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_aead_job()
1153 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_gcm_job()
1183 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_chachapoly_job()
1217 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_authenc_job()
1325 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_edesc_alloc()
1461 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt()
1495 struct crypto_aead *aead = crypto_aead_reqtfm(req); in chachapoly_encrypt()
1528 struct crypto_aead *aead = crypto_aead_reqtfm(req); in chachapoly_decrypt()
1566 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_encrypt()
1601 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
[all …]
/Linux-v5.4/drivers/crypto/amcc/
Dcrypto4xx_alg.c338 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto4xx_aead_need_fallback()
464 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto4xx_crypt_aes_ccm()
617 len -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in crypto4xx_crypt_aes_gcm()

12