Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/arm/crypto/
Dghash-ce-glue.c165 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init()
180 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update()
198 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final()
215 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest()
238 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_import()
258 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey()
/Linux-v4.19/arch/x86/crypto/
Dghash-clmulni-intel_glue.c167 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init()
182 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_update()
200 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_final()
240 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_digest()
262 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_setkey()
/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c86 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_init()
99 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_update()
114 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_final()
128 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_finup()
145 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_import()
158 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_export()
/Linux-v4.19/arch/x86/crypto/sha1-mb/
Dsha1_mb.c697 mctx = crypto_ahash_ctx(&mcryptd_tfm->base); in sha1_mb_async_init_tfm()
765 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_init()
779 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_update()
792 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_finup()
805 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_final()
816 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_digest()
829 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_export()
841 struct sha1_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha1_mb_async_import()
/Linux-v4.19/arch/x86/crypto/sha256-mb/
Dsha256_mb.c696 mctx = crypto_ahash_ctx(&mcryptd_tfm->base); in sha256_mb_async_init_tfm()
764 struct sha256_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha256_mb_async_init()
778 struct sha256_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha256_mb_async_update()
791 struct sha256_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha256_mb_async_finup()
804 struct sha256_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha256_mb_async_final()
815 struct sha256_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha256_mb_async_digest()
828 struct sha256_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha256_mb_async_export()
840 struct sha256_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha256_mb_async_import()
/Linux-v4.19/arch/x86/crypto/sha512-mb/
Dsha512_mb.c729 mctx = crypto_ahash_ctx(&mcryptd_tfm->base); in sha512_mb_async_init_tfm()
797 struct sha512_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha512_mb_async_init()
811 struct sha512_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha512_mb_async_update()
824 struct sha512_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha512_mb_async_finup()
837 struct sha512_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha512_mb_async_final()
848 struct sha512_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha512_mb_async_digest()
861 struct sha512_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha512_mb_async_export()
873 struct sha512_mb_ctx *ctx = crypto_ahash_ctx(tfm); in sha512_mb_async_import()
/Linux-v4.19/drivers/crypto/ccree/
Dcc_hash.c273 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_update_complete()
287 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_digest_complete()
303 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_complete()
319 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_fin_result()
343 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_fin_hmac()
396 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_digest()
533 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_update()
609 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_do_finup()
689 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cc_hash_init()
712 ctx = crypto_ahash_ctx(ahash); in cc_hash_setkey()
[all …]
/Linux-v4.19/drivers/crypto/stm32/
Dstm32-hash.c242 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_key()
270 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_ctrl()
496 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_hmac_dma_send()
672 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_dma_aligned_data()
698 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_init()
855 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_prepare_req()
876 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_one_request()
942 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_finup()
973 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_export()
1006 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_import()
[all …]
/Linux-v4.19/drivers/crypto/caam/
Dcaamhash.c294 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
433 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
531 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_unmap_ctx()
549 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
581 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
618 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
650 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
742 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
872 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
947 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
[all …]
/Linux-v4.19/crypto/
Dshash.c216 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey()
223 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_init()
278 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_finup()
314 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_digest()
330 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_import()
Dcryptd.c687 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey()
717 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_complete()
858 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_import()
1285 ctx = crypto_ahash_ctx(tfm); in cryptd_alloc_ahash()
1294 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_child()
1309 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_queued()
1317 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_free_ahash()
Dmcryptd.c301 struct mcryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in mcryptd_hash_setkey()
617 struct mcryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in mcryptd_ahash_child()
/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_hash.c207 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_req()
356 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_needs_inv_get()
383 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_inv_result()
451 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_inv()
555 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_enqueue()
633 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_final()
737 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha1_init()
1051 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha256_init()
1114 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha224_init()
1291 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha512_init()
[all …]
/Linux-v4.19/drivers/crypto/
Dimg-hash.c488 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_init()
552 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_update()
567 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_final()
581 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_finup()
597 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_import()
610 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_export()
622 struct img_hash_ctx *tctx = crypto_ahash_ctx(tfm); in img_hash_digest()
Dn2_core.c312 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_init()
324 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_update()
338 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_final()
351 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hash_async_finup()
376 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_init()
402 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_exit()
411 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_init()
451 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_exit()
460 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(tfm); in n2_hmac_async_setkey()
539 struct n2_hash_ctx *ctx = crypto_ahash_ctx(tfm); in n2_do_async_digest()
[all …]
Datmel-sha.c431 struct atmel_sha_ctx *tctx = crypto_ahash_ctx(tfm); in atmel_sha_init()
1759 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setup()
1820 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_prehash_key_done()
1837 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_compute_ipad_hash()
1856 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_compute_opad_hash()
1872 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setup_done()
1922 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setkey()
1948 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_init_done()
1965 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_final()
2024 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_digest2()
[all …]
Dmxs-dcp.c514 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in mxs_dcp_run_sha()
564 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_req_to_buf()
681 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_init()
711 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_update_fx()
Domap-sham.c307 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_copy_hash_omap4()
469 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_write_ctrl_omap4()
927 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_init()
1306 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_setkey()
Dtalitos.c1797 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in common_nonsnoop_hash()
1921 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_edesc_alloc()
1936 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_init()
1989 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_process_req()
2140 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_export()
2164 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_import()
/Linux-v4.19/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()
963 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_hw_final()
1070 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_hw_update()
1335 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hash_setkey()
1354 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_sha1_init()
1367 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_sha256_init()
1420 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hmac_sha1_init()
1433 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); in hmac_sha256_init()
/Linux-v4.19/include/crypto/internal/
Dhash.h131 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() function
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-sha.c63 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_sha_update()
186 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_sha_init()
Dccp-crypto-aes-cmac.c62 struct ccp_ctx *ctx = crypto_ahash_ctx(tfm); in ccp_do_cmac_update()
/Linux-v4.19/drivers/crypto/bcm/
Dcipher.c2005 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_enqueue()
2062 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in __ahash_init()
2118 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_init()
2192 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_update()
2247 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_final()
2286 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_finup()
2354 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
2418 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_hmac_setkey()
2519 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_init()
2569 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_digest()
/Linux-v4.19/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c185 struct sun4i_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun4i_hash()

12