Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c77 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_init()
91 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_export()
103 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_import()
115 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_final()
138 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_update()
153 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_finup()
178 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_digest_fb()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c77 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_init()
91 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_export()
103 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_import()
115 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_final()
138 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_update()
153 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_finup()
178 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_digest_fb()
/kernel/linux/linux-5.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.c3132 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
3305 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
3392 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
3419 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
3457 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
3484 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
3518 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
3637 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
3708 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
3802 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_digest()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/crypto/
Dimg-hash.c490 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_init()
554 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_update()
569 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_final()
583 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_finup()
599 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_import()
612 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_export()
624 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.c550 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in mxs_dcp_run_sha()
620 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_req_to_buf()
725 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_init()
755 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_update_fx()
817 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_import()
832 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.c1381 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in sa_sha_run()
1519 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_init()
1535 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_update()
1550 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_final()
1564 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_finup()
1581 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_import()
1594 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.c1792 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in common_nonsnoop_hash()
1915 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_edesc_alloc()
1930 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_init()
1983 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_process_req()
2135 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_export()
2159 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_import()
/kernel/linux/linux-5.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()
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()
/kernel/linux/linux-5.10/include/crypto/internal/
Dhash.h132 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() function
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-hash.c194 struct sun4i_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun4i_hash()

12