Lines Matching refs:tfm
483 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_init() local
485 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_init()
548 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_update() local
549 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_update()
563 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_final() local
564 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_final()
577 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_finup() local
578 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); in img_hash_finup()
592 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_digest() local
593 struct img_hash_ctx *tctx = crypto_ahash_ctx(tfm); in img_hash_digest()
614 ctx->digsize = crypto_ahash_digestsize(tfm); in img_hash_digest()
646 static int img_hash_cra_init(struct crypto_tfm *tfm) in img_hash_cra_init() argument
648 struct img_hash_ctx *ctx = crypto_tfm_ctx(tfm); in img_hash_cra_init()
649 const char *alg_name = crypto_tfm_alg_name(tfm); in img_hash_cra_init()
659 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm), in img_hash_cra_init()
669 static void img_hash_cra_exit(struct crypto_tfm *tfm) in img_hash_cra_exit() argument
671 struct img_hash_ctx *tctx = crypto_tfm_ctx(tfm); in img_hash_cra_exit()