Lines Matching refs:tfm
287 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_update_complete() local
288 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_update_complete()
305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_digest_complete() local
306 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_digest_complete()
307 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_digest_complete()
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_complete() local
326 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_hash_complete()
327 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_hash_complete()
345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_result() local
346 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_fin_result()
347 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_fin_result()
368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_hmac() local
369 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_fin_hmac()
370 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_fin_hmac()
421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_digest() local
422 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_hash_digest()
423 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_hash_digest()
559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_update() local
560 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_hash_update()
561 unsigned int block_size = crypto_tfm_alg_blocksize(&tfm->base); in cc_hash_update()
635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_do_finup() local
636 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_do_finup()
637 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_do_finup()
715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_init() local
716 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_hash_init()
1110 static int cc_get_hash_len(struct crypto_tfm *tfm) in cc_get_hash_len() argument
1112 struct cc_hash_ctx *ctx = crypto_tfm_ctx_dma(tfm); in cc_get_hash_len()
1120 static int cc_cra_init(struct crypto_tfm *tfm) in cc_cra_init() argument
1122 struct cc_hash_ctx *ctx = crypto_tfm_ctx_dma(tfm); in cc_cra_init()
1124 container_of(tfm->__crt_alg, struct hash_alg_common, base); in cc_cra_init()
1130 crypto_ahash_set_reqsize_dma(__crypto_ahash_cast(tfm), in cc_cra_init()
1137 ctx->hash_len = cc_get_hash_len(tfm); in cc_cra_init()
1141 static void cc_cra_exit(struct crypto_tfm *tfm) in cc_cra_exit() argument
1143 struct cc_hash_ctx *ctx = crypto_tfm_ctx_dma(tfm); in cc_cra_exit()
1153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_mac_update() local
1154 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_mac_update()
1156 unsigned int block_size = crypto_tfm_alg_blocksize(&tfm->base); in cc_mac_update()
1221 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_mac_final() local
1222 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_mac_final()
1229 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_mac_final()
1342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_mac_finup() local
1343 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_mac_finup()
1350 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_mac_finup()
1423 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_mac_digest() local
1424 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_mac_digest()
1426 u32 digestsize = crypto_ahash_digestsize(tfm); in cc_mac_digest()
2077 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in cc_setup_xcbc() local
2078 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_setup_xcbc()
2134 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in cc_setup_cmac() local
2135 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(tfm); in cc_setup_cmac()