| /linux/drivers/crypto/allwinner/sun8i-ce/ |
| H A D | sun8i-ce-hash.c | 40 struct sun8i_ce_hash_tfm_ctx *op = crypto_ahash_ctx(tfm); in sun8i_ce_hash_init_tfm() 80 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_exit_tfm() 90 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_init() 106 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_export() 120 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_import() 134 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_final() 151 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_update() 166 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_finup() 184 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_digest_fb() 242 struct sun8i_ce_hash_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_digest() [all …]
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 117 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_fallback_init() 131 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_fallback_update() 146 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_fallback_final() 161 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_fallback_finup() 177 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_fallback_digest() 193 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_fallback_import() 207 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_fallback_export() 355 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_do_init() 400 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in tegra_sha_do_update() 469 struct tegra_sha_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_sha_do_final() [all …]
|
| H A D | tegra-se-aes.c | 1545 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_do_init() 1574 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_do_update() 1651 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_do_final() 1711 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_do_one_req() 1817 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_setkey() 1840 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_init() 1851 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_update() 1862 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_final() 1873 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_finup() 1884 struct tegra_cmac_ctx *ctx = crypto_ahash_ctx(tfm); in tegra_cmac_digest()
|
| /linux/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_ahash.c | 48 struct rk_ahash_ctx *tfmctx = crypto_ahash_ctx(tfm); in rk_ahash_digest_fb() 123 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_init() 137 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_update() 152 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_final() 167 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_finup() 183 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_import() 197 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_export() 348 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); in rk_hash_init_tfm() 370 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); in rk_hash_exit_tfm()
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel_hash.c | 235 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(ahash); in safexcel_handle_req_result() 312 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() 1192 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in safexcel_hmac_alg_setkey() 1238 struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq)); in safexcel_sha256_init() [all …]
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 168 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in starfive_hash_copy_hash() 199 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in starfive_hash_one_request() 258 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_init() 275 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_update() 292 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_final() 309 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_finup() 325 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_digest() 350 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_export() 364 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_import() 379 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hash_init_tfm() [all …]
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 50 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(ahash); in sun8i_ss_hmac_setkey() 97 struct sun8i_ss_hash_tfm_ctx *op = crypto_ahash_ctx(tfm); in sun8i_ss_hash_init_tfm() 135 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_exit_tfm() 148 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_init() 164 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_export() 178 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_import() 192 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_final() 219 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_update() 234 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_finup() 262 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_digest_fb() [all …]
|
| /linux/crypto/ |
| H A D | hmac.c | 254 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(parent); in hmac_setkey_ahash() 311 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(tfm); in hmac_import_ahash() 326 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(tfm); in hmac_import_core_ahash() 336 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(tfm); in hmac_init_ahash() 358 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(tfm); in hmac_finup_finish() 411 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(parent); in hmac_init_ahash_tfm() 429 struct ahash_hmac_ctx *sctx = crypto_ahash_ctx(src); in hmac_clone_ahash_tfm() 430 struct ahash_hmac_ctx *dctx = crypto_ahash_ctx(dst); in hmac_clone_ahash_tfm() 443 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(parent); in hmac_exit_ahash_tfm()
|
| H A D | cryptd.c | 441 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_init_tfm() 458 struct cryptd_hash_ctx *nctx = crypto_ahash_ctx(ntfm); in cryptd_hash_clone_tfm() 459 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_clone_tfm() 472 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_exit_tfm() 480 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey() 523 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_complete() 541 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_init() 617 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_digest() 648 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); in cryptd_hash_import() 1025 ctx = crypto_ahash_ctx(tfm); in cryptd_alloc_ahash() [all …]
|
| H A D | ahash.c | 159 return *(struct crypto_shash **)crypto_ahash_ctx(tfm); in ahash_to_shash() 891 struct crypto_shash **nctx = crypto_ahash_ctx(nhash); in crypto_clone_ahash()
|
| /linux/arch/s390/crypto/ |
| H A D | phmac_s390.c | 410 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_kmac_update() 524 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_kmac_final() 569 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_init() 606 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_update() 650 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_final() 685 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_finup() 751 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_setkey() 848 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_init_tfm() 860 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_exit_tfm() 870 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_do_one_request()
|
| /linux/drivers/crypto/inside-secure/eip93/ |
| H A D | eip93-hash.c | 25 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in eip93_hash_free_data_blocks() 47 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in eip93_hash_free_sa_record() 63 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in eip93_hash_handle_result() 162 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in __eip93_hash_init() 214 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in eip93_send_hash_req() 290 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in eip93_hash_init() 393 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in eip93_hash_update() 441 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in __eip93_hash_final() 523 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in eip93_hash_finup()
|
| /linux/drivers/crypto/aspeed/ |
| H A D | aspeed-hace-hash.c | 463 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_do_request() 483 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_prepare_request() 506 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_update() 523 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_finup() 537 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_init() 611 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_cra_init()
|
| /linux/drivers/crypto/ |
| H A D | img-hash.c | 491 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_init() 556 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_update() 571 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_final() 586 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_finup() 603 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_import() 617 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_export() 630 struct img_hash_ctx *tctx = crypto_ahash_ctx(tfm); in img_hash_digest()
|
| H A D | atmel-sha.c | 429 struct atmel_sha_ctx *tctx = crypto_ahash_ctx(tfm); in atmel_sha_init() 1689 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_setup() 1750 struct atmel_sha_hmac_ctx *hmac = crypto_ahash_ctx(tfm); in atmel_sha_hmac_prehash_key_done() 1767 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 D | mxs-dcp.c | 605 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in mxs_dcp_run_sha() 675 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_req_to_buf() 780 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_init() 810 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_update_fx() 872 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); in dcp_sha_import() 887 struct dcp_async_ctx *actx_state = crypto_ahash_ctx(tfm); in dcp_sha_export()
|
| H A D | omap-sham.c | 306 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_copy_hash_omap4() 453 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_write_ctrl_omap4() 943 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()
|
| H A D | talitos.c | 1793 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in common_nonsnoop_hash() 1916 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_edesc_alloc() 1931 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_init() 1984 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_process_req() 2137 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_export() 2161 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); in ahash_import()
|
| H A D | sa2ul.c | 1404 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in sa_sha_run() 1532 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_init() 1578 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(tfm); in sa_sha_import()
|
| H A D | s5p-sss.c | 1578 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_init() 1693 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_import()
|
| /linux/drivers/crypto/intel/keembay/ |
| H A D | keembay-ocs-hcu-core.c | 169 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_find_dev() 388 struct ocs_hcu_ctx *ctx = crypto_ahash_ctx(tfm); in prepare_ipad() 427 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_do_one_request() 575 struct ocs_hcu_ctx *ctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_init() 664 struct ocs_hcu_ctx *ctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_fin_common() 760 struct ocs_hcu_ctx *ctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_setkey()
|
| /linux/drivers/crypto/stm32/ |
| H A D | stm32-hash.c | 276 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_key() 309 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_write_ctrl() 595 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_hmac_dma_send() 816 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_init() 930 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(ahash); in stm32_hash_emptymsg_fallback() 1029 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_one_request() 1255 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_prepare_request() 1338 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_unprepare_request() 1475 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm); in stm32_hash_setkey()
|
| /linux/drivers/crypto/bcm/ |
| H A D | cipher.c | 1901 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_enqueue() 1958 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in __ahash_init() 2014 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_init() 2087 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_update() 2142 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_final() 2181 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_finup() 2249 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_setkey() 2313 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_hmac_setkey() 2416 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_init() 2468 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm); in ahash_hmac_digest()
|
| /linux/include/crypto/internal/ |
| H A D | hash.h | 165 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() function
|
| /linux/drivers/crypto/allwinner/sun4i-ss/ |
| H A D | sun4i-ss-hash.c | 195 struct sun4i_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun4i_hash()
|