Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/crypto/
H A Dhash.h276 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() function
289 crypto_destroy_tfm(tfm, crypto_ahash_tfm(tfm)); in crypto_free_ahash()
306 return crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in crypto_ahash_alg_name()
311 return crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in crypto_ahash_driver_name()
317 return crypto_tfm_alg_alignmask(crypto_ahash_tfm(tfm)); in crypto_ahash_alignmask()
331 return crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in crypto_ahash_blocksize()
343 return __crypto_hash_alg_common(crypto_ahash_tfm(tfm)->__crt_alg); in crypto_hash_alg_common()
378 return crypto_tfm_get_flags(crypto_ahash_tfm(tfm)); in crypto_ahash_get_flags()
383 crypto_tfm_set_flags(crypto_ahash_tfm(tfm), flags); in crypto_ahash_set_flags()
388 crypto_tfm_clear_flags(crypto_ahash_tfm(tfm), flags); in crypto_ahash_clear_flags()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-crypto-sha.c65 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_do_sha_update()
187 ccp_crypto_ahash_alg(crypto_ahash_tfm(tfm)); in ccp_sha_init()
189 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_sha_init()
274 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_sha_setkey()
H A Dccp-crypto-aes-cmac.c63 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ccp_do_cmac_update()
259 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_aes_cmac_setkey()
261 ccp_crypto_ahash_alg(crypto_ahash_tfm(tfm)); in ccp_aes_cmac_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/qce/
H A Dsha.c147 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_ahash_export()
179 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_import_common()
247 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
376 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/chelsio/
H A Dchcr_algo.c1681 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()
1773 u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_final()
1787 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()
1795 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()
1852 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_finup()
1872 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1882 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1948 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_digest()
1969 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1978 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()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dcryptlib.c473 tfm = crypto_ahash_tfm(src->async.s); in cryptodev_hash_copy()
483 tfm = crypto_ahash_tfm(dst->async.s); in cryptodev_hash_copy()
H A Dioctl.c908 tfm = crypto_ahash_tfm(ses_ptr->hdata.async.s); in get_session_info()
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dhash.h134 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
/OK3568_Linux_fs/kernel/drivers/crypto/marvell/cesa/
H A Dhash.c1206 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_setkey()
1263 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_md5_setkey()
1334 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha1_setkey()
1392 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha256_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/bcm/
H A Dcipher.c660 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); in handle_ahash_req()
903 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in spu_hmac_outer_hash()
1003 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in handle_ahash_resp()
1933 alg_name = crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in ahash_enqueue()
2034 alg_name = crypto_tfm_alg_name(crypto_ahash_tfm(tfm)); in ahash_init()
2323 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in ahash_hmac_setkey()
2424 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_hmac_init()
2474 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_hmac_digest()
/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c1162 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in __safexcel_hmac_setkey()
1944 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_crc32_setkey()
2016 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cbcmac_setkey()
2084 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_xcbcmac_setkey()
2179 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cmac_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_ahash_utils.c157 unsigned int blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in rk_ahash_hmac_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dtalitos.c1987 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_process_req()
2188 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in keyhash()
2219 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ahash_setkey()
2222 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_setkey()
H A Dsahara.c919 block_size = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in sahara_sha_prepare_request()
/OK3568_Linux_fs/kernel/drivers/crypto/axis/
H A Dartpec6_crypto.c1314 crypto_ahash_tfm(crypto_ahash_reqtfm(areq))); in artpec6_crypto_prepare_hash()
2239 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in artpec6_crypto_hash_set_key()
/OK3568_Linux_fs/kernel/crypto/
H A Dcryptd.c468 cryptd_get_queue(crypto_ahash_tfm(tfm)); in cryptd_hash_enqueue()