Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_v1_ahash.c51 int rk_digest_size = crypto_ahash_digestsize(tfm); in zero_message_process()
260 switch (crypto_ahash_digestsize(tfm)) { in rk_ahash_start()
318 crypto_ahash_digestsize(tfm)); in rk_ahash_crypto_rx()
H A 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()
H A Drk_crypto_ahash_utils.c189 ctx->authkey_len = crypto_ahash_digestsize(tfm); in rk_ahash_hmac_setkey()
445 crypto_ahash_digestsize(tfm)); in rk_ahash_crypto_rx()
/OK3568_Linux_fs/kernel/drivers/crypto/qce/
H A 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()
H A Dcommon.c150 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_setup_regs_ahash()
/OK3568_Linux_fs/kernel/net/ipv4/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A 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 …]
H A Dcaamalg_qi2.c3133 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc()
3307 unsigned int digestsize = crypto_ahash_digestsize(ahash); in ahash_setkey()
3393 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done()
3445 crypto_ahash_digestsize(ahash), 1); in ahash_done_bi()
3458 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_ctx_src()
3510 crypto_ahash_digestsize(ahash), 1); in ahash_done_ctx_dst()
3646 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_ctx()
3718 int digestsize = crypto_ahash_digestsize(ahash); in ahash_finup_ctx()
3809 int digestsize = crypto_ahash_digestsize(ahash); in ahash_digest()
3906 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_no_ctx()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/net/ipv6/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/crypto/
H A Dapi-digest.rst17 …:functions: crypto_alloc_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_…
/OK3568_Linux_fs/kernel/drivers/crypto/ccree/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/marvell/cesa/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/amcc/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/chelsio/
H A Dchcr_algo.c1711 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_update()
1793 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_final()
1818 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final()
1870 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_finup()
1896 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup()
1967 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_digest()
1989 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest()
2042 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_continue()
2069 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
2101 digestsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in chcr_handle_ahash_resp()
[all …]
/OK3568_Linux_fs/kernel/fs/verity/
H A Dhash_algs.c85 if (WARN_ON(alg->digest_size != crypto_ahash_digestsize(tfm))) in fsverity_get_hash_alg()
/OK3568_Linux_fs/kernel/security/integrity/ima/
H A Dima_crypto.c341 hash->length = crypto_ahash_digestsize(tfm); in ima_calc_file_hash_atfm()
672 hash->length = crypto_ahash_digestsize(tfm); in calc_buffer_ahash_atfm()
/OK3568_Linux_fs/kernel/include/crypto/
H A Dhash.h356 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize() function
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dcryptlib.c374 hdata->digestsize = crypto_ahash_digestsize(hdata->async.s); in cryptodev_hash_init()
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-crypto-aes-cmac.c29 unsigned int digest_size = crypto_ahash_digestsize(tfm); in ccp_aes_cmac_complete()
H A Dccp-crypto-sha.c31 unsigned int digest_size = crypto_ahash_digestsize(tfm); in ccp_sha_complete()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A 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()

12