Home
last modified time | relevance | path

Searched refs:crypto_ahash_reqtfm (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v5.4/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c20 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process()
82 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init()
95 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update()
110 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final()
124 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup()
141 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import()
154 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export()
210 tfm = crypto_ahash_reqtfm(req); in rk_ahash_start()
261 tfm = crypto_ahash_reqtfm(req); in rk_ahash_crypto_rx()
/Linux-v5.4/crypto/
Dahash.c139 walk->alignmask = crypto_ahash_alignmask(crypto_ahash_reqtfm(req)); in crypto_hash_walk_first()
157 walk->alignmask = crypto_ahash_alignmask(crypto_ahash_reqtfm(req)); in crypto_ahash_walk_first()
232 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req()
293 crypto_ahash_digestsize(crypto_ahash_reqtfm(req))); in ahash_restore_req()
362 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op()
373 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_final()
379 ret = crypto_ahash_op(req, crypto_ahash_reqtfm(req)->final); in crypto_ahash_final()
387 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_finup()
393 ret = crypto_ahash_op(req, crypto_ahash_reqtfm(req)->finup); in crypto_ahash_finup()
401 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_digest()
[all …]
Dshash.c232 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_init()
286 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_finup()
320 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_digest()
335 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_import()
Dalgif_hash.c39 ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_alloc_result()
57 ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_free_result()
189 unsigned ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_recvmsg()
Dcryptd.c509 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_enqueue()
521 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_complete()
660 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_import()
/Linux-v5.4/include/crypto/
Dhash.h378 static inline struct crypto_ahash *crypto_ahash_reqtfm( in crypto_ahash_reqtfm() function
470 return crypto_ahash_reqtfm(req)->export(req, out); in crypto_ahash_export()
486 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_import()
507 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init()
528 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_update()
534 ret = crypto_ahash_reqtfm(req)->update(req); in crypto_ahash_update()
602 crypto_ahash_reqsize(crypto_ahash_reqtfm(req))); in ahash_request_zero()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_hash.c183 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_req_result()
259 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_req()
417 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_inv_result()
486 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_inv()
584 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_enqueue()
666 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_final()
803 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha1_init()
878 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_hmac_sha1_init()
959 keylen = crypto_ahash_digestsize(crypto_ahash_reqtfm(areq)); in safexcel_hmac_init_pad()
1120 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha256_init()
[all …]
/Linux-v5.4/arch/arm/crypto/
Dghash-ce-glue.c206 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
220 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
238 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final()
255 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
277 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import()
/Linux-v5.4/arch/x86/crypto/
Dghash-clmulni-intel_glue.c164 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
196 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final()
236 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
/Linux-v5.4/drivers/crypto/stm32/
Dstm32-hash.c225 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_key()
253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_ctrl()
479 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_hmac_dma_send()
656 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_dma_aligned_data()
681 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in stm32_hash_init()
839 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_prepare_req()
860 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_one_request()
926 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_finup()
957 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_export()
990 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_import()
/Linux-v5.4/drivers/crypto/ccree/
Dcc_hash.c280 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_update_complete()
298 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_digest_complete()
318 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_complete()
338 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_result()
362 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_hmac()
415 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_digest()
552 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_update()
628 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_do_finup()
708 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_init()
1152 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_mac_update()
[all …]
/Linux-v5.4/drivers/crypto/
Dimg-hash.c483 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_init()
548 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_update()
563 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_final()
577 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_finup()
593 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_import()
606 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_export()
618 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_digest()
Dmxs-dcp.c558 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in mxs_dcp_run_sha()
620 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_req_to_buf()
728 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_init()
758 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_update_fx()
820 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_import()
835 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_export()
Datmel-sha.c427 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_init()
1755 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup()
1816 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_prehash_key_done()
1833 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_ipad_hash()
1852 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_opad_hash()
1868 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup_done()
1944 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_init_done()
1961 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_final()
2020 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_digest2()
2404 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_authenc_init()
[all …]
Dn2_core.c312 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_init()
324 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_update()
338 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_final()
351 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_finup()
525 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_do_async_digest()
631 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hmac_async_digest()
/Linux-v5.4/drivers/crypto/qce/
Dsha.c33 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_done()
141 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_export()
172 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_import_common()
228 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in qce_ahash_update()
/Linux-v5.4/drivers/crypto/caam/
Dcaamhash.c605 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done()
633 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_bi()
665 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_ctx_src()
693 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_ctx_dst()
783 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx()
922 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx()
988 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx()
1068 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_digest()
1145 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_no_ctx()
1204 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_no_ctx()
[all …]
Dcaamalg_qi2.c3347 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done()
3374 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_bi()
3404 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_ctx_src()
3431 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_ctx_dst()
3459 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx()
3587 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx()
3658 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx()
3752 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_digest()
3847 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_no_ctx()
3920 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_no_ctx()
[all …]
/Linux-v5.4/Documentation/crypto/
Dapi-digest.rst17 …_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_ahash_reqtfm crypto_ahas…
/Linux-v5.4/drivers/crypto/ux500/hash/
Dhash_core.c551 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_init()
856 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_dma_final()
963 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_hw_final()
1071 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_hw_update()
1355 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_sha1_init()
1368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_sha256_init()
1421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hmac_sha1_init()
1434 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hmac_sha256_init()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-sha.c28 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_complete()
59 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_sha_update()
182 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_init()
Dccp-crypto-aes-cmac.c27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete()
58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update()
/Linux-v5.4/drivers/crypto/marvell/
Dhash.c169 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in mv_cesa_ahash_std_step()
329 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(ahashreq)); in mv_cesa_ahash_complete()
809 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in mv_cesa_ahash_export()
827 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in mv_cesa_ahash_import()
1156 keylen = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in mv_cesa_ahmac_pad_init()
/Linux-v5.4/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c37 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun4i_hash_init()
180 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun4i_hash()
/Linux-v5.4/drivers/crypto/bcm/
Dcipher.c694 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in handle_ahash_req()
936 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in spu_hmac_outer_hash()
1036 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in handle_ahash_resp()
1969 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_enqueue()
2026 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in __ahash_init()
2082 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_init()
2155 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_update()
2210 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_final()
2249 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_finup()
2482 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_hmac_init()
[all …]

12