Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c41 struct rk_ahash_ctx *tfmctx = crypto_ahash_ctx(tfm); in rk_ahash_digest_fb()
80 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); in rk_ahash_reg_init()
115 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_init()
128 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_update()
143 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_final()
157 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_finup()
174 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_import()
187 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_export()
223 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); in rk_hash_prepare()
240 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); in rk_hash_unprepare()
[all …]
/linux-6.1.9/drivers/crypto/inside-secure/
Dsafexcel_hash.c235 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_req_result()
316 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_req()
525 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_inv_result()
593 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_inv()
691 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_enqueue()
770 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_final()
937 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha1_init()
1014 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_hmac_sha1_init()
1220 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in safexcel_hmac_alg_setkey()
1266 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha256_init()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c78 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_init()
92 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_export()
104 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_import()
116 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_final()
139 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_update()
154 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_finup()
179 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_digest_fb()
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c62 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(ahash); in sun8i_ss_hmac_setkey()
168 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_init()
182 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_export()
194 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_import()
206 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_final()
229 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_update()
244 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_finup()
269 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_digest_fb()
486 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_run()
/linux-6.1.9/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.c3135 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
3308 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
3395 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
3422 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
3460 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
3487 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
3521 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
3640 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
3711 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
3805 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_digest()
[all …]
/linux-6.1.9/drivers/crypto/stm32/
Dstm32-hash.c228 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_key()
256 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_ctrl()
482 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_hmac_dma_send()
659 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_dma_aligned_data()
685 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_init()
842 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_prepare_req()
863 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_one_request()
929 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_finup()
960 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_export()
993 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_import()
[all …]
/linux-6.1.9/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-6.1.9/crypto/
Dshash.c252 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey()
259 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_init()
313 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_finup()
347 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_digest()
362 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_import()
Dcryptd.c455 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey()
481 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_complete()
620 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_import()
975 ctx = crypto_ahash_ctx(tfm); in cryptd_alloc_ahash()
984 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_child()
999 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_queued()
1007 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_free_ahash()
/linux-6.1.9/drivers/crypto/aspeed/
Daspeed-hace-hash.c363 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_hmac_resume()
549 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_do_request()
573 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_prepare_request()
592 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_update()
633 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_final()
647 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_finup()
672 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_init()
757 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sha512s_init()
817 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_setkey()
/linux-6.1.9/drivers/crypto/
Dimg-hash.c491 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_init()
555 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_update()
570 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_final()
584 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_finup()
600 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_import()
613 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_export()
625 struct img_hash_ctx *tctx = crypto_ahash_ctx(tfm); in img_hash_digest()
Dn2_core.c315 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_init()
327 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_update()
341 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_final()
354 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_finup()
379 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_init()
405 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_exit()
414 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_init()
454 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_exit()
463 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hmac_async_setkey()
537 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()
621 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_req_to_buf()
726 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_init()
756 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_update_fx()
818 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_import()
833 struct dcp_async_ctx *actx_state = crypto_ahash_ctx(tfm); in dcp_sha_export()
Datmel-sha.c429 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.c1403 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in sa_sha_run()
1542 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_init()
1558 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_update()
1573 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_final()
1587 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_finup()
1604 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_import()
1617 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()
456 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_write_ctrl_omap4()
946 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_init()
1287 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_setkey()
/linux-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-hcu-core.c167 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_find_dev()
379 struct ocs_hcu_ctx *ctx = crypto_ahash_ctx(tfm); in prepare_ipad()
418 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_do_one_request()
566 struct ocs_hcu_ctx *ctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_init()
655 struct ocs_hcu_ctx *ctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_fin_common()
751 struct ocs_hcu_ctx *ctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_setkey()
/linux-6.1.9/drivers/crypto/ux500/hash/
Dhash_core.c553 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ux500_hash_init()
859 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()
1073 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_hw_update()
1344 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_setkey()
1363 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_sha1_init()
1376 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_sha256_init()
1429 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hmac_sha1_init()
1442 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hmac_sha256_init()
/linux-6.1.9/include/crypto/internal/
Dhash.h132 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() function
/linux-6.1.9/drivers/crypto/ccp/
Dccp-crypto-sha.c62 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_sha_update()
185 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-6.1.9/drivers/crypto/bcm/
Dcipher.c1907 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_enqueue()
1964 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in __ahash_init()
2020 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_init()
2093 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_update()
2148 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_final()
2187 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_finup()
2255 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
2319 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_hmac_setkey()
2420 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_init()
2470 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_digest()

12