Home
last modified time | relevance | path

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

/linux/include/crypto/
H A Dhash.h272 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() function
285 crypto_destroy_tfm(tfm, crypto_ahash_tfm(tfm)); in crypto_free_ahash()
302 return crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in crypto_ahash_alg_name()
307 return crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in crypto_ahash_driver_name()
321 return crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in crypto_ahash_blocksize()
333 return __crypto_hash_alg_common(crypto_ahash_tfm(tfm)->__crt_alg); in crypto_hash_alg_common()
368 return crypto_tfm_get_flags(crypto_ahash_tfm(tfm)); in crypto_ahash_get_flags()
373 crypto_tfm_set_flags(crypto_ahash_tfm(tfm), flags); in crypto_ahash_set_flags()
378 crypto_tfm_clear_flags(crypto_ahash_tfm(tfm), flags); in crypto_ahash_clear_flags()
544 req->base.tfm = crypto_ahash_tfm(tfm); in ahash_request_set_tfm()
/linux/include/crypto/internal/
H A Dhash.h134 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
139 return crypto_tfm_ctx_dma(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx_dma()
/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.c1675 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()
1781 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()
1789 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()
1866 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1876 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1944 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_digest()
1970 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1979 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
2045 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
2058 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
[all …]
H A Dchcr_crypto.h170 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in h_ctx()
/linux/drivers/crypto/qce/
H A Dsha.c195 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
343 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
/linux/drivers/crypto/marvell/cesa/
H A Dhash.c1205 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_setkey()
1262 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_md5_setkey()
1333 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha1_setkey()
1391 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha256_setkey()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c1137 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in __safexcel_hmac_setkey()
1919 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_crc32_setkey()
1991 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cbcmac_setkey()
2059 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_xcbcmac_setkey()
2142 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cmac_setkey()
/linux/drivers/crypto/bcm/
H A Dcipher.c658 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); in handle_ahash_req()
901 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in spu_hmac_outer_hash()
1000 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in handle_ahash_resp()
2320 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in ahash_hmac_setkey()
2422 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_hmac_init()
2472 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_hmac_digest()
/linux/crypto/
H A Dahash.c581 struct crypto_tfm *tfm = crypto_ahash_tfm(hash); in crypto_clone_ahash()
H A Dcryptd.c489 cryptd_get_queue(crypto_ahash_tfm(tfm)); in cryptd_hash_enqueue()
/linux/drivers/crypto/
H A Dtalitos.c1988 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_process_req()
2190 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in keyhash()
2221 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ahash_setkey()
2224 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/axis/
H A Dartpec6_crypto.c1315 crypto_ahash_tfm(crypto_ahash_reqtfm(areq))); in artpec6_crypto_prepare_hash()
2244 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in artpec6_crypto_hash_set_key()