Home
last modified time | relevance | path

Searched refs:crypto_ahash_ctx (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c233 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_req_result()
314 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_req()
523 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_inv_result()
591 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_inv()
689 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_enqueue()
768 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_final()
935 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha1_init()
1012 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_hmac_sha1_init()
1218 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in safexcel_hmac_alg_setkey()
1264 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha256_init()
[all …]
/Linux-v5.10/arch/arm/crypto/
Dghash-ce-glue.c202 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init()
216 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update()
234 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final()
251 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest()
273 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_import()
292 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey()
/Linux-v5.10/arch/x86/crypto/
Dghash-clmulni-intel_glue.c163 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init()
177 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update()
195 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final()
235 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest()
256 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey()
/Linux-v5.10/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c84 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_init()
97 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_update()
112 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_final()
126 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_finup()
143 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_import()
156 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_export()
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c76 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_init()
90 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_export()
102 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_import()
114 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_final()
137 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_update()
152 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_finup()
177 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_digest_fb()
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c76 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_init()
90 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_export()
102 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_import()
114 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_final()
137 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_update()
152 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_finup()
177 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_digest_fb()
/Linux-v5.10/drivers/crypto/caam/
Dcaamhash.c202 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
258 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in axcbc_set_sh_desc()
310 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in acmac_set_sh_desc()
424 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
487 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in axcbc_setkey()
507 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in acmac_setkey()
584 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_cpy()
633 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_switch()
698 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_edesc_alloc()
758 struct caam_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in ahash_do_one_req()
[all …]
Dcaamalg_qi2.c3131 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
3304 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
3391 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
3418 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
3456 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
3483 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
3517 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
3636 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
3707 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
3801 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_digest()
[all …]
/Linux-v5.10/drivers/crypto/stm32/
Dstm32-hash.c227 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_key()
255 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_ctrl()
481 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_hmac_dma_send()
658 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_dma_aligned_data()
684 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_init()
841 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_prepare_req()
862 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_one_request()
928 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_finup()
959 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_export()
992 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_import()
[all …]
/Linux-v5.10/drivers/crypto/ccree/
Dcc_hash.c288 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_update_complete()
306 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_digest_complete()
326 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_complete()
346 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_fin_result()
369 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_fin_hmac()
422 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_digest()
560 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_update()
636 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_do_finup()
716 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_init()
739 ctx = crypto_ahash_ctx(ahash); in cc_hash_setkey()
[all …]
/Linux-v5.10/crypto/
Dshash.c240 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey()
247 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_init()
301 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_finup()
335 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_digest()
350 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_import()
Dcryptd.c454 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey()
480 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_complete()
619 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_import()
974 ctx = crypto_ahash_ctx(tfm); in cryptd_alloc_ahash()
983 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_child()
998 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_queued()
1006 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_free_ahash()
/Linux-v5.10/drivers/crypto/
Dimg-hash.c486 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_init()
550 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_update()
565 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_final()
579 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_finup()
595 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_import()
608 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_export()
620 struct img_hash_ctx *tctx = crypto_ahash_ctx(tfm); in img_hash_digest()
Dn2_core.c314 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_init()
326 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_update()
340 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_final()
353 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_finup()
378 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_init()
404 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_exit()
413 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_init()
453 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_exit()
462 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hmac_async_setkey()
536 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_do_async_digest()
[all …]
Dmxs-dcp.c551 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in mxs_dcp_run_sha()
613 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_req_to_buf()
718 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_init()
748 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_update_fx()
810 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_import()
825 struct dcp_async_ctx *actx_state = crypto_ahash_ctx(tfm); in dcp_sha_export()
Datmel-sha.c428 struct atmel_sha_ctx *tctx = crypto_ahash_ctx(tfm); in atmel_sha_init()
1690 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setup()
1751 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_prehash_key_done()
1768 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_compute_ipad_hash()
1787 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_compute_opad_hash()
1803 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setup_done()
1853 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setkey()
1874 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_init_done()
1891 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_final()
1950 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_digest2()
[all …]
Dsa2ul.c1377 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in sa_sha_run()
1515 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_init()
1531 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_update()
1546 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_final()
1560 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_finup()
1577 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_import()
1590 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_export()
Domap-sham.c309 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_copy_hash_omap4()
474 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_write_ctrl_omap4()
964 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_init()
1302 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_setkey()
Dtalitos.c1788 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in common_nonsnoop_hash()
1911 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_edesc_alloc()
1926 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_init()
1979 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_process_req()
2131 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_export()
2155 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_import()
/Linux-v5.10/drivers/crypto/ux500/hash/
Dhash_core.c552 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ux500_hash_init()
857 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_dma_final()
964 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_hw_final()
1072 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_hw_update()
1343 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_setkey()
1362 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_sha1_init()
1375 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_sha256_init()
1428 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hmac_sha1_init()
1441 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hmac_sha256_init()
/Linux-v5.10/include/crypto/internal/
Dhash.h138 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() function
/Linux-v5.10/drivers/crypto/ccp/
Dccp-crypto-sha.c61 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_sha_update()
184 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_sha_init()
Dccp-crypto-aes-cmac.c59 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_cmac_update()
/Linux-v5.10/drivers/crypto/bcm/
Dcipher.c1909 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_enqueue()
1966 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in __ahash_init()
2022 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_init()
2095 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_update()
2150 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_final()
2189 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_finup()
2257 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
2321 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_hmac_setkey()
2422 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_init()
2472 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_digest()
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-hash.c194 struct sun4i_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun4i_hash()

12