/openbmc/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_ahash.c | 47 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb() 67 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() 123 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() 136 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() 151 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() 165 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() 182 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() 195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() 261 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_hash_run()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-hash.c | 75 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() 89 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() 101 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() 113 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final() 138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update() 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup() 181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb() 208 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_need_fallback() 241 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest() 333 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_run()
|
/openbmc/linux/crypto/ |
H A D | ahash.c | 122 walk->alignmask = crypto_ahash_alignmask(crypto_ahash_reqtfm(req)); in crypto_hash_walk_first() 189 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req() 245 crypto_ahash_digestsize(crypto_ahash_reqtfm(req))); in ahash_restore_req() 290 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op() 304 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_final() 316 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_finup() 332 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_digest() 370 err = crypto_ahash_reqtfm(req)->final(subreq); in ahash_def_finup_finish1() 400 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_def_finup()
|
H A D | algif_hash.c | 39 ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_alloc_result() 57 ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_free_result() 185 unsigned ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_recvmsg() 241 tfm = crypto_ahash_reqtfm(req); in hash_accept()
|
H A D | shash.c | 291 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_init() 345 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_finup() 379 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_digest() 394 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in shash_async_import()
|
H A D | cryptd.c | 487 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_enqueue() 516 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_complete() 534 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_init() 610 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_digest() 641 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_import()
|
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 233 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_req_result() 524 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_inv_result() 2357 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in safexcel_sha3_224_init() 2375 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_fbcheck() 2412 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_update() 2422 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_final() 2432 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_finup() 2447 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_digest_fallback() 2467 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_export() 2477 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_import() [all …]
|
/openbmc/linux/include/crypto/ |
H A D | hash.h | 432 static inline struct crypto_ahash *crypto_ahash_reqtfm( in crypto_ahash_reqtfm() function 524 return crypto_ahash_reqtfm(req)->export(req, out); in crypto_ahash_export() 540 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_import() 561 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init() 603 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_update() 675 crypto_ahash_reqsize(crypto_ahash_reqtfm(req))); in ahash_request_zero()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-hash.c | 164 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() 178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() 190 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() 202 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() 228 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() 243 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() 272 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() 359 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_need_fallback() 408 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest() 493 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_run()
|
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-hash.c | 201 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in starfive_hash_copy_hash() 262 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in starfive_hash_one_request() 273 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_init() 291 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_update() 308 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_final() 325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_finup() 342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest_fb() 357 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest() 381 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_export() 395 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_import()
|
/openbmc/linux/arch/x86/crypto/ |
H A D | ghash-clmulni-intel_glue.c | 181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 213 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_hash.c | 287 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_update_complete() 305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_digest_complete() 325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_complete() 345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_result() 368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_hmac() 421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_digest() 559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_update() 635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_do_finup() 715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_init() 1153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_mac_update() [all …]
|
/openbmc/linux/drivers/crypto/ |
H A D | img-hash.c | 489 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_init() 554 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_update() 569 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_final() 583 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_finup() 599 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_import() 612 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_export() 624 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_digest()
|
H A D | mxs-dcp.c | 550 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in mxs_dcp_run_sha() 620 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_req_to_buf() 725 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_init() 755 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_update_fx() 817 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_import() 832 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_export()
|
H A D | atmel-sha.c | 428 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_init() 1689 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup() 1750 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_prehash_key_done() 1767 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_ipad_hash() 1787 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_opad_hash() 1803 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup_done() 1874 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_init_done() 1891 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_final() 1950 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_digest2() 2284 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_authenc_init() [all …]
|
H A D | sa2ul.c | 1366 tfm = crypto_ahash_reqtfm(req); in sa_sha_dma_in_callback() 1382 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() 1404 struct sa_tfm_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in sa_sha_run() 1541 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_init() 1557 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_update() 1572 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_final() 1586 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_finup() 1604 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_import() 1617 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_export()
|
/openbmc/linux/Documentation/crypto/ |
H A D | api-digest.rst | 17 …_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_ahash_reqtfm crypto_ahas…
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A D | aspeed-hace-hash.c | 351 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_ahash_hmac_resume() 537 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_ahash_do_request() 561 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_ahash_prepare_request() 584 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_sham_update() 625 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_sham_final() 639 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_sham_finup() 664 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_sham_init()
|
/openbmc/linux/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 218 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 232 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 250 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 267 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() 289 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamhash.c | 590 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_cpy() 641 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_switch() 763 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(crypto_ahash_reqtfm(req)); in ahash_do_one_req() 822 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx() 947 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx() 1008 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx() 1082 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_digest() 1149 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_no_ctx() 1198 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_no_ctx() 1319 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_no_ctx() [all …]
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-hcu-core.c | 166 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_find_dev() 378 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in prepare_ipad() 416 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_do_one_request() 565 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_init() 654 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_fin_common()
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-sha.c | 30 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_complete() 61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_sha_update() 184 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_init()
|
H A D | ccp-crypto-aes-cmac.c | 27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete() 58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update()
|
/openbmc/linux/drivers/crypto/stm32/ |
H A D | stm32-hash.c | 260 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_key() 288 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_ctrl() 589 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_hmac_dma_send() 772 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_dma_aligned_data() 797 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in stm32_hash_init() 900 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in stm32_hash_emptymsg_fallback() 929 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in stm32_hash_copy_hash() 994 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_one_request() 1101 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in stm32_hash_finup()
|
/openbmc/linux/drivers/crypto/marvell/cesa/ |
H A D | hash.c | 179 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in mv_cesa_ahash_std_step() 360 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(ahashreq)); in mv_cesa_ahash_complete() 843 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in mv_cesa_ahash_export() 861 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in mv_cesa_ahash_import() 1168 keylen = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in mv_cesa_ahmac_pad_init()
|