/openbmc/linux/crypto/ |
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()
|
H A D | authencesn.c | 232 u8 *ihash = ohash + crypto_ahash_digestsize(auth); in crypto_authenc_esn_decrypt_tail() 279 u8 *ihash = ohash + crypto_ahash_digestsize(auth); in crypto_authenc_esn_decrypt() 347 ctx->reqoff = ALIGN(2 * crypto_ahash_digestsize(auth), in crypto_authenc_esn_init_tfm()
|
H A D | ahash.c | 191 unsigned int ds = crypto_ahash_digestsize(tfm); in ahash_save_req() 245 crypto_ahash_digestsize(crypto_ahash_reqtfm(req))); in ahash_restore_req()
|
/openbmc/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_ahash.c | 68 int rk_digest_size = crypto_ahash_digestsize(tfm); in zero_message_process() 284 switch (crypto_ahash_digestsize(tfm)) { in rk_hash_run() 327 for (i = 0; i < crypto_ahash_digestsize(tfm) / 4; i++) { in rk_hash_run()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamhash.c | 208 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc() 264 int digestsize = crypto_ahash_digestsize(ahash); in axcbc_set_sh_desc() 316 int digestsize = crypto_ahash_digestsize(ahash); in acmac_set_sh_desc() 430 int digestsize = crypto_ahash_digestsize(ahash); in ahash_setkey() 591 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_cpy() 644 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_switch() 954 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_ctx() 1016 int digestsize = crypto_ahash_digestsize(ahash); in ahash_finup_ctx() 1087 int digestsize = crypto_ahash_digestsize(ahash); in ahash_digest() 1156 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_no_ctx() [all …]
|
H A D | caamalg_qi2.c | 3141 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc() 3315 unsigned int digestsize = crypto_ahash_digestsize(ahash); in ahash_setkey() 3407 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done() 3459 crypto_ahash_digestsize(ahash), 1); in ahash_done_bi() 3472 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_ctx_src() 3524 crypto_ahash_digestsize(ahash), 1); in ahash_done_ctx_dst() 3660 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_ctx() 3732 int digestsize = crypto_ahash_digestsize(ahash); in ahash_finup_ctx() 3823 int digestsize = crypto_ahash_digestsize(ahash); in ahash_digest() 3920 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_no_ctx() [all …]
|
/openbmc/linux/Documentation/crypto/ |
H A D | api-digest.rst | 17 …:functions: crypto_alloc_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_…
|
/openbmc/linux/net/ipv4/ |
H A D | ah4.c | 30 len = size + crypto_ahash_digestsize(ahash) + in ah_alloc_tmp() 60 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req() 517 crypto_ahash_digestsize(ahash)) { in ah_init_state()
|
/openbmc/linux/net/ipv6/ |
H A D | ah6.c | 54 len = size + crypto_ahash_digestsize(ahash) + in ah_alloc_tmp() 89 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req() 712 crypto_ahash_digestsize(ahash)) { in ah6_init_state()
|
/openbmc/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 242 checksumlen = crypto_ahash_digestsize(tfm); in make_checksum() 322 checksumdata = kmalloc(crypto_ahash_digestsize(tfm), GFP_KERNEL); in gss_krb5_checksum() 358 min_t(int, cksumout->len, crypto_ahash_digestsize(tfm))); in gss_krb5_checksum() 939 checksumdata = kmalloc(crypto_ahash_digestsize(tfm), GFP_KERNEL); in krb5_etm_checksum()
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_hash.c | 307 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()
|
/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() 845 unsigned int digsize = crypto_ahash_digestsize(ahash); in mv_cesa_ahash_export() 863 unsigned int digsize = crypto_ahash_digestsize(ahash); in mv_cesa_ahash_import() 1168 keylen = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in mv_cesa_ahmac_pad_init()
|
/openbmc/linux/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 673 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()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-hash.c | 72 digestsize = crypto_ahash_digestsize(ahash); in sun8i_ss_hmac_setkey() 518 digestsize = crypto_ahash_digestsize(tfm); in sun8i_ss_hash_run() 711 memcpy(areq->result, result, crypto_ahash_digestsize(tfm)); in sun8i_ss_hash_run()
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-hash.c | 234 for (i = 0; i < crypto_ahash_digestsize(tfm) / 4; i++) in sun4i_hash() 385 for (i = 0; i < crypto_ahash_digestsize(tfm) / 4; i++) in sun4i_hash()
|
/openbmc/linux/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 1705 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_update() 1787 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_final() 1812 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final() 1864 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_finup() 1890 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup() 1961 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_digest() 1983 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest() 2036 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_continue() 2063 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue() 2095 digestsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in chcr_handle_ahash_resp() [all …]
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | sha.c | 45 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_ahash_done() 332 unsigned int digestsize = crypto_ahash_digestsize(tfm); in qce_ahash_hmac_setkey()
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 341 hash->length = crypto_ahash_digestsize(tfm); in ima_calc_file_hash_atfm() 672 hash->length = crypto_ahash_digestsize(tfm); in calc_buffer_ahash_atfm()
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A D | aspeed-hace-hash.c | 671 crypto_ahash_digestsize(tfm)); in aspeed_sham_init() 676 switch (crypto_ahash_digestsize(tfm)) { in aspeed_sham_init() 726 crypto_ahash_digestsize(tfm)); in aspeed_sham_init()
|
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-hash.c | 368 rctx->digsize = crypto_ahash_digestsize(tfm); in starfive_hash_digest() 491 unsigned int digestsize = crypto_ahash_digestsize(hash); in starfive_hash_setkey()
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-hcu-core.c | 575 rctx->dig_sz = crypto_ahash_digestsize(tfm); in kmb_ocs_hcu_init() 750 unsigned int digestsize = crypto_ahash_digestsize(tfm); in kmb_ocs_hcu_setkey()
|
/openbmc/linux/include/crypto/ |
H A D | hash.h | 387 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize() function
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-cmac.c | 29 unsigned int digest_size = crypto_ahash_digestsize(tfm); in ccp_aes_cmac_complete()
|
H A D | ccp-crypto-sha.c | 32 unsigned int digest_size = crypto_ahash_digestsize(tfm); in ccp_sha_complete()
|
/openbmc/linux/drivers/crypto/ |
H A D | atmel-sha.c | 438 crypto_ahash_digestsize(tfm)); in atmel_sha_init() 440 switch (crypto_ahash_digestsize(tfm)) { in atmel_sha_init() 1753 size_t ds = crypto_ahash_digestsize(tfm); in atmel_sha_hmac_prehash_key_done() 1894 size_t ds = crypto_ahash_digestsize(tfm); in atmel_sha_hmac_final()
|