Home
last modified time | relevance | path

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

/Linux-v4.19/include/crypto/
Dhash.h252 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() function
263 crypto_destroy_tfm(tfm, crypto_ahash_tfm(tfm)); in crypto_free_ahash()
280 return crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in crypto_ahash_alg_name()
285 return crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in crypto_ahash_driver_name()
291 return crypto_tfm_alg_alignmask(crypto_ahash_tfm(tfm)); in crypto_ahash_alignmask()
305 return crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in crypto_ahash_blocksize()
317 return __crypto_hash_alg_common(crypto_ahash_tfm(tfm)->__crt_alg); in crypto_hash_alg_common()
352 return crypto_tfm_get_flags(crypto_ahash_tfm(tfm)); in crypto_ahash_get_flags()
357 crypto_tfm_set_flags(crypto_ahash_tfm(tfm), flags); in crypto_ahash_set_flags()
362 crypto_tfm_clear_flags(crypto_ahash_tfm(tfm), flags); in crypto_ahash_clear_flags()
[all …]
/Linux-v4.19/include/crypto/internal/
Dhash.h133 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
207 return crypto_tfm_in_queue(queue, crypto_ahash_tfm(tfm)); in ahash_tfm_in_queue()
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-sha.c67 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_do_sha_update()
189 ccp_crypto_ahash_alg(crypto_ahash_tfm(tfm)); in ccp_sha_init()
191 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_sha_init()
276 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_sha_setkey()
Dccp-crypto-aes-cmac.c66 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_do_cmac_update()
262 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_aes_cmac_setkey()
264 ccp_crypto_ahash_alg(crypto_ahash_tfm(tfm)); in ccp_aes_cmac_setkey()
/Linux-v4.19/drivers/crypto/qce/
Dsha.c154 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_ahash_export()
186 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_import_common()
246 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
366 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
/Linux-v4.19/drivers/crypto/chelsio/
Dchcr_algo.c1571 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()
1652 u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_final()
1656 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()
1664 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()
1708 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_finup()
1724 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1734 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1791 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_digest()
1808 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1817 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
[all …]
Dchcr_crypto.h169 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in h_ctx()
/Linux-v4.19/drivers/crypto/marvell/
Dhash.c1198 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_setkey()
1255 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_md5_setkey()
1325 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha1_setkey()
1382 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha256_setkey()
/Linux-v4.19/drivers/crypto/bcm/
Dcipher.c706 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); in handle_ahash_req()
949 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in spu_hmac_outer_hash()
1049 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in handle_ahash_resp()
2029 alg_name = crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in ahash_enqueue()
2130 alg_name = crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in ahash_init()
2420 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in ahash_hmac_setkey()
2521 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_hmac_init()
2571 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_hmac_digest()
/Linux-v4.19/crypto/
Dmcryptd.c322 mcryptd_get_queue(crypto_ahash_tfm(tfm)); in mcryptd_hash_enqueue()
Dcryptd.c706 cryptd_get_queue(crypto_ahash_tfm(tfm)); in cryptd_hash_enqueue()
Dtestmgr.c272 const char *algo = crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in __test_hash()
/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_hash.c952 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in safexcel_hmac_setkey()
986 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_hmac_alg_setkey()
/Linux-v4.19/drivers/crypto/
Dtalitos.c1993 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_process_req()
2193 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in keyhash()
2224 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ahash_setkey()
2227 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_setkey()
Dsahara.c936 block_size = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in sahara_sha_prepare_request()
/Linux-v4.19/drivers/crypto/axis/
Dartpec6_crypto.c1321 crypto_ahash_tfm(crypto_ahash_reqtfm(areq))); in artpec6_crypto_prepare_hash()
2226 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in artpec6_crypto_hash_set_key()