Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_v1_ahash.c27 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_alg_ctx_cast()
132 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_init()
145 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_update()
160 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_final()
174 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_finup()
191 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_import()
204 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_export()
H A Drk_crypto_ahash_utils.c51 return crypto_ahash_ctx(tfm); in rk_ahash_ctx_cast()
147 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_get_zero_result()
159 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_hmac_setkey()
198 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_init()
211 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_update()
227 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_final()
251 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_finup()
H A 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()
H A Drk_crypto_v2_ahash.c112 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_crypto_complete()
/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c234 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_req_result()
315 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_req()
524 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_inv_result()
592 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_send_inv()
690 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_enqueue()
769 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_ahash_final()
936 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha1_init()
1013 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_hmac_sha1_init()
1219 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in safexcel_hmac_alg_setkey()
1265 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha256_init()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A 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()
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ce/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/crypto/stm32/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/crypto/ccree/
H A 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 …]
/OK3568_Linux_fs/kernel/crypto/
H A 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()
H A Dcryptd.c453 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey()
479 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_complete()
618 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_import()
973 ctx = crypto_ahash_ctx(tfm); in cryptd_alloc_ahash()
982 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_child()
997 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_queued()
1005 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_free_ahash()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A 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()
H A 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 …]
H A 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 …]
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/ux500/hash/
H A 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()
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dhash.h132 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() function
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/bcm/
H A 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()

12