Home
last modified time | relevance | path

Searched refs:crypto_ahash_digestsize (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v5.10/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c22 int rk_digest_size = crypto_ahash_digestsize(tfm); in zero_message_process()
212 switch (crypto_ahash_digestsize(tfm)) { in rk_ahash_start()
264 crypto_ahash_digestsize(tfm)); in rk_ahash_crypto_rx()
/Linux-v5.10/drivers/crypto/qce/
Dsha.c39 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_ahash_done()
145 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_ahash_export()
175 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_import_common()
365 unsigned int digestsize = crypto_ahash_digestsize(tfm); in qce_ahash_hmac_setkey()
Dcommon.c150 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_setup_regs_ahash()
/Linux-v5.10/net/ipv4/
Dah4.c30 len = size + crypto_ahash_digestsize(ahash) + in ah_alloc_tmp()
60 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
508 crypto_ahash_digestsize(ahash)) { in ah_init_state()
511 crypto_ahash_digestsize(ahash), in ah_init_state()
/Linux-v5.10/Documentation/crypto/
Dapi-digest.rst17 …:functions: crypto_alloc_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_…
/Linux-v5.10/crypto/
Dalgif_hash.c39 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()
189 unsigned ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_recvmsg()
Dauthencesn.c234 u8 *ihash = ohash + crypto_ahash_digestsize(auth); in crypto_authenc_esn_decrypt_tail()
282 u8 *ihash = ohash + crypto_ahash_digestsize(auth); in crypto_authenc_esn_decrypt()
350 ctx->reqoff = ALIGN(2 * crypto_ahash_digestsize(auth), in crypto_authenc_esn_init_tfm()
Dahash.c203 unsigned int ds = crypto_ahash_digestsize(tfm); in ahash_save_req()
262 crypto_ahash_digestsize(crypto_ahash_reqtfm(req))); in ahash_restore_req()
/Linux-v5.10/drivers/crypto/caam/
Dcaamhash.c203 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc()
259 int digestsize = crypto_ahash_digestsize(ahash); in axcbc_set_sh_desc()
311 int digestsize = crypto_ahash_digestsize(ahash); in acmac_set_sh_desc()
427 int digestsize = crypto_ahash_digestsize(ahash); in ahash_setkey()
582 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_cpy()
635 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_switch()
946 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_ctx()
1008 int digestsize = crypto_ahash_digestsize(ahash); in ahash_finup_ctx()
1079 int digestsize = crypto_ahash_digestsize(ahash); in ahash_digest()
1148 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_no_ctx()
[all …]
Dcaamalg_qi2.c3132 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc()
3306 unsigned int digestsize = crypto_ahash_digestsize(ahash); in ahash_setkey()
3392 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done()
3444 crypto_ahash_digestsize(ahash), 1); in ahash_done_bi()
3457 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_ctx_src()
3509 crypto_ahash_digestsize(ahash), 1); in ahash_done_ctx_dst()
3645 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_ctx()
3717 int digestsize = crypto_ahash_digestsize(ahash); in ahash_finup_ctx()
3808 int digestsize = crypto_ahash_digestsize(ahash); in ahash_digest()
3905 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_no_ctx()
[all …]
/Linux-v5.10/net/ipv6/
Dah6.c54 len = size + crypto_ahash_digestsize(ahash) + in ah_alloc_tmp()
89 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
707 crypto_ahash_digestsize(ahash)) { in ah6_init_state()
709 x->aalg->alg_name, crypto_ahash_digestsize(ahash), in ah6_init_state()
/Linux-v5.10/drivers/crypto/ccree/
Dcc_hash.c307 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_digest_complete()
327 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_hash_complete()
347 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_fin_result()
370 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_fin_hmac()
423 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_hash_digest()
637 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_do_finup()
744 digestsize = crypto_ahash_digestsize(ahash); in cc_hash_setkey()
1229 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_mac_final()
1350 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_mac_finup()
1426 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_mac_digest()
/Linux-v5.10/drivers/crypto/amcc/
Dcrypto4xx_alg.c673 ds = crypto_ahash_digestsize( in crypto4xx_hash_init()
686 unsigned int ds = crypto_ahash_digestsize(ahash); in crypto4xx_hash_update()
705 unsigned int ds = crypto_ahash_digestsize(ahash); in crypto4xx_hash_digest()
/Linux-v5.10/drivers/crypto/marvell/cesa/
Dhash.c173 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in mv_cesa_ahash_std_step()
336 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(ahashreq)); in mv_cesa_ahash_complete()
821 unsigned int digsize = crypto_ahash_digestsize(ahash); in mv_cesa_ahash_export()
839 unsigned int digsize = crypto_ahash_digestsize(ahash); in mv_cesa_ahash_import()
1169 keylen = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in mv_cesa_ahmac_pad_init()
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-hash.c232 for (i = 0; i < crypto_ahash_digestsize(tfm) / 4; i++) in sun4i_hash()
383 for (i = 0; i < crypto_ahash_digestsize(tfm) / 4; i++) in sun4i_hash()
/Linux-v5.10/fs/verity/
Dhash_algs.c85 if (WARN_ON(alg->digest_size != crypto_ahash_digestsize(tfm))) in fsverity_get_hash_alg()
/Linux-v5.10/drivers/crypto/chelsio/
Dchcr_algo.c1707 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_update()
1789 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_final()
1814 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final()
1866 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_finup()
1892 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup()
1963 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_digest()
1985 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest()
2038 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_continue()
2065 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
2097 digestsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in chcr_handle_ahash_resp()
[all …]
/Linux-v5.10/security/integrity/ima/
Dima_crypto.c340 hash->length = crypto_ahash_digestsize(tfm); in ima_calc_file_hash_atfm()
681 hash->length = crypto_ahash_digestsize(tfm); in calc_buffer_ahash_atfm()
/Linux-v5.10/include/crypto/
Dhash.h354 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize() function
/Linux-v5.10/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c29 unsigned int digest_size = crypto_ahash_digestsize(tfm); in ccp_aes_cmac_complete()
Dccp-crypto-sha.c31 unsigned int digest_size = crypto_ahash_digestsize(tfm); in ccp_sha_complete()
/Linux-v5.10/drivers/crypto/
Datmel-sha.c437 crypto_ahash_digestsize(tfm)); in atmel_sha_init()
439 switch (crypto_ahash_digestsize(tfm)) { in atmel_sha_init()
1753 size_t ds = crypto_ahash_digestsize(tfm); in atmel_sha_hmac_prehash_key_done()
1893 size_t ds = crypto_ahash_digestsize(tfm); in atmel_sha_hmac_final()
Dtalitos.c1713 crypto_ahash_digestsize(tfm)); in common_nonsnoop_hash_unmap()
1844 crypto_ahash_digestsize(tfm), in common_nonsnoop_hash()
1937 size = (crypto_ahash_digestsize(tfm) <= SHA256_DIGEST_SIZE) in ahash_init()
2162 size = (crypto_ahash_digestsize(tfm) <= SHA256_DIGEST_SIZE) in ahash_import()
2219 unsigned int digestsize = crypto_ahash_digestsize(tfm); in ahash_setkey()
Dsa2ul.c1340 authsize = crypto_ahash_digestsize(tfm); in sa_sha_dma_in_callback()
1356 int sa_digest_size = crypto_ahash_digestsize(tfm); in zero_message_process()
1518 crypto_ahash_digestsize(tfm), rctx); in sa_sha_init()
/Linux-v5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c272 crypto_ahash_digestsize(ahash)); in safexcel_handle_req_result()
277 crypto_ahash_digestsize(ahash); in safexcel_handle_req_result()
296 crypto_ahash_digestsize(ahash)); in safexcel_handle_req_result()
1093 keylen = crypto_ahash_digestsize(crypto_ahash_reqtfm(areq)); in safexcel_hmac_init_pad()

12