Home
last modified time | relevance | path

Searched refs:crypto_ahash_tfm (Results 1 – 17 of 17) sorted by relevance

/linux/include/crypto/
H A Dhash.h327 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() function
340 crypto_destroy_tfm(tfm, crypto_ahash_tfm(tfm)); in crypto_free_ahash()
357 return crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in crypto_ahash_alg_name()
362 return crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in crypto_ahash_driver_name()
376 return crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in crypto_ahash_blocksize()
388 return __crypto_hash_alg_common(crypto_ahash_tfm(tfm)->__crt_alg); in crypto_hash_alg_common()
423 return crypto_tfm_get_flags(crypto_ahash_tfm(tfm)); in crypto_ahash_get_flags()
428 crypto_tfm_set_flags(crypto_ahash_tfm(tfm), flags); in crypto_ahash_set_flags()
433 crypto_tfm_clear_flags(crypto_ahash_tfm(tfm), flags); in crypto_ahash_clear_flags()
603 crypto_request_set_tfm(&req->base, crypto_ahash_tfm(tfm)); in ahash_request_set_tfm()
[all …]
/linux/include/crypto/internal/
H A Dhash.h167 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
172 return crypto_tfm_ctx_dma(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx_dma()
201 struct crypto_tfm *tfm_base = crypto_ahash_tfm(tfm); in crypto_ahash_tested()
325 return __crypto_ahash_cast(crypto_ahash_tfm(tfm)->fb); in crypto_ahash_fb()
335 crypto_ahash_tfm(crypto_ahash_fb(tfm))); in ahash_fbreq_on_stack_init()
/linux/crypto/
H A Dahash.c736 tfm->fb = crypto_ahash_tfm(fb); in crypto_ahash_init_tfm()
868 struct crypto_tfm *tfm = crypto_ahash_tfm(hash); in crypto_clone_ahash()
899 crypto_ahash_tfm(nhash)->exit = crypto_exit_ahash_using_shash; in crypto_clone_ahash()
911 crypto_ahash_tfm(nhash)->fb = crypto_ahash_tfm(fb); in crypto_clone_ahash()
923 crypto_ahash_tfm(nhash)->exit = crypto_ahash_exit_tfm; in crypto_clone_ahash()
H A Dcryptd.c495 cryptd_get_queue(crypto_ahash_tfm(tfm)); in cryptd_hash_enqueue()
/linux/drivers/crypto/ccp/
H A Dccp-crypto-sha.c66 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_do_sha_update()
188 ccp_crypto_ahash_alg(crypto_ahash_tfm(tfm)); in ccp_sha_init()
190 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_sha_init()
H A Dccp-crypto-aes-cmac.c63 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_do_cmac_update()
261 ccp_crypto_ahash_alg(crypto_ahash_tfm(tfm)); in ccp_aes_cmac_setkey()
/linux/drivers/crypto/chelsio/
H A Dchcr_algo.c1641 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()
1733 u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_final()
1747 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()
1755 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()
1812 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_finup()
1832 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1842 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1910 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_digest()
1915 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_digest()
1936 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
[all …]
H A Dchcr_crypto.h170 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in h_ctx()
/linux/drivers/crypto/marvell/cesa/
H A Dhash.c1202 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_setkey()
1259 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_md5_setkey()
1330 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha1_setkey()
1388 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha256_setkey()
/linux/drivers/crypto/qce/
H A Dsha.c196 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
344 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
/linux/drivers/crypto/bcm/
H A Dcipher.c655 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); in handle_ahash_req()
898 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in spu_hmac_outer_hash()
997 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in handle_ahash_resp()
2315 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in ahash_hmac_setkey()
2418 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_hmac_init()
2470 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_hmac_digest()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c1135 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in __safexcel_hmac_setkey()
1907 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cbcmac_setkey()
1975 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_xcbcmac_setkey()
2058 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cmac_setkey()
/linux/drivers/crypto/
H A Dtalitos.c1957 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_process_req_one()
2268 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in keyhash()
2299 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ahash_setkey()
2302 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_setkey()
H A Dsahara.c879 block_size = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in sahara_sha_prepare_request()
/linux/drivers/crypto/starfive/
H A Djh7110-hash.c335 rctx->blksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in starfive_hash_digest()
/linux/drivers/crypto/inside-secure/eip93/
H A Deip93-hash.c565 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); in eip93_hash_hmac_setkey()
/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c1315 crypto_ahash_tfm(crypto_ahash_reqtfm(areq))); in artpec6_crypto_prepare_hash()
2241 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in artpec6_crypto_hash_set_key()