Searched refs:crypto_ahash_tfm (Results 1 – 14 of 14) sorted by relevance
276 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() function289 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 …]
66 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()275 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_sha_setkey()
63 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()
1675 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()1767 u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_final()1781 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()1789 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()1846 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_finup()1866 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()1876 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()1942 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_digest()1963 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()1972 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()[all …]
170 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in h_ctx()
134 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
195 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()
1230 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_setkey()1287 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_md5_setkey()1358 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha1_setkey()1416 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha256_setkey()
1163 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in __safexcel_hmac_setkey()1945 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_crc32_setkey()2017 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cbcmac_setkey()2085 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_xcbcmac_setkey()2168 struct safexcel_ahash_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in safexcel_cmac_setkey()
659 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); in handle_ahash_req()902 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in spu_hmac_outer_hash()1001 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in handle_ahash_resp()2321 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()
1988 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_process_req()2189 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in keyhash()2220 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ahash_setkey()2223 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in ahash_setkey()
920 block_size = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in sahara_sha_prepare_request()
470 cryptd_get_queue(crypto_ahash_tfm(tfm)); in cryptd_hash_enqueue()
1315 crypto_ahash_tfm(crypto_ahash_reqtfm(areq))); in artpec6_crypto_prepare_hash()2240 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in artpec6_crypto_hash_set_key()