Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/crypto/
Dghash-ce-glue.c207 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init()
221 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update()
239 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final()
256 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest()
278 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_import()
297 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey()
/Linux-v5.4/arch/x86/crypto/
Dghash-clmulni-intel_glue.c165 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init()
179 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update()
197 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final()
237 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest()
258 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey()
/Linux-v5.4/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c83 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_init()
96 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_update()
111 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_final()
125 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_finup()
142 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_import()
155 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_export()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_hash.c185 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_req_result()
259 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_req()
418 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); 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()
1120 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha256_init()
1175 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha224_init()
[all …]
/Linux-v5.4/drivers/crypto/caam/
Dcaamhash.c224 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
280 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in axcbc_set_sh_desc()
332 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in acmac_set_sh_desc()
446 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
510 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in axcbc_setkey()
532 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in acmac_setkey()
608 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
634 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
668 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
694 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
[all …]
Dcaamalg_qi2.c3089 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
3262 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
3350 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
3377 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
3407 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
3434 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
3460 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
3588 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
3659 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
3753 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_digest()
[all …]
/Linux-v5.4/drivers/crypto/stm32/
Dstm32-hash.c226 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_key()
254 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_ctrl()
480 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); 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()
682 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); 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()
[all …]
/Linux-v5.4/crypto/
Dshash.c225 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey()
232 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()
Dcryptd.c492 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey()
522 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_complete()
661 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_import()
1031 ctx = crypto_ahash_ctx(tfm); in cryptd_alloc_ahash()
1040 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_child()
1055 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_queued()
1063 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_free_ahash()
/Linux-v5.4/drivers/crypto/ccree/
Dcc_hash.c281 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_update_complete()
299 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_digest_complete()
319 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_complete()
339 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_fin_result()
363 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_fin_hmac()
416 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_digest()
553 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_update()
629 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_do_finup()
709 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_init()
732 ctx = crypto_ahash_ctx(ahash); in cc_hash_setkey()
[all …]
/Linux-v5.4/drivers/crypto/
Dimg-hash.c485 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_init()
549 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_update()
564 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_final()
578 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_finup()
594 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_import()
607 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_export()
619 struct img_hash_ctx *tctx = crypto_ahash_ctx(tfm); in img_hash_digest()
Dn2_core.c313 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_init()
325 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_update()
339 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_final()
352 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_finup()
377 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_init()
403 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_exit()
412 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_init()
452 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_exit()
461 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hmac_async_setkey()
538 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_do_async_digest()
[all …]
Dmxs-dcp.c559 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()
729 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_init()
759 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_update_fx()
821 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_import()
836 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()
1756 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setup()
1817 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_prehash_key_done()
1834 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_compute_ipad_hash()
1853 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_compute_opad_hash()
1869 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setup_done()
1919 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setkey()
1945 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_init_done()
1962 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_final()
2021 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_digest2()
[all …]
Domap-sham.c304 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_copy_hash_omap4()
466 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_write_ctrl_omap4()
924 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_init()
1301 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_setkey()
Dtalitos.c1791 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in common_nonsnoop_hash()
1914 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_edesc_alloc()
1929 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_init()
1982 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_process_req()
2134 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_export()
2158 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_import()
Ds5p-sss.c1628 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_init()
1743 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_import()
/Linux-v5.4/drivers/crypto/ux500/hash/
Dhash_core.c552 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in 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()
1337 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_setkey()
1356 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_sha1_init()
1369 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_sha256_init()
1422 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hmac_sha1_init()
1435 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hmac_sha256_init()
/Linux-v5.4/include/crypto/internal/
Dhash.h126 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() function
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-sha.c60 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_sha_update()
183 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.4/drivers/crypto/bcm/
Dcipher.c1970 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_enqueue()
2027 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in __ahash_init()
2083 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_init()
2156 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_update()
2211 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_final()
2250 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_finup()
2318 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
2382 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_hmac_setkey()
2483 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_init()
2533 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_digest()
/Linux-v5.4/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c181 struct sun4i_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun4i_hash()
/Linux-v5.4/drivers/crypto/mediatek/
Dmtk-sha.c375 struct mtk_sha_ctx *tctx = crypto_ahash_ctx(tfm); in mtk_sha_init()
802 struct mtk_sha_ctx *tctx = crypto_ahash_ctx(tfm); in mtk_sha_setkey()