Lines Matching refs:tfm
1488 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in s5p_hash_enqueue()
1553 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in s5p_hash_final()
1598 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in s5p_hash_init() local
1599 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_init()
1610 crypto_ahash_digestsize(tfm)); in s5p_hash_init()
1612 switch (crypto_ahash_digestsize(tfm)) { in s5p_hash_init()
1648 static int s5p_hash_cra_init_alg(struct crypto_tfm *tfm) in s5p_hash_cra_init_alg() argument
1650 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); in s5p_hash_cra_init_alg()
1651 const char *alg_name = crypto_tfm_alg_name(tfm); in s5p_hash_cra_init_alg()
1662 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm), in s5p_hash_cra_init_alg()
1672 static int s5p_hash_cra_init(struct crypto_tfm *tfm) in s5p_hash_cra_init() argument
1674 return s5p_hash_cra_init_alg(tfm); in s5p_hash_cra_init()
1683 static void s5p_hash_cra_exit(struct crypto_tfm *tfm) in s5p_hash_cra_exit() argument
1685 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); in s5p_hash_cra_exit()
1713 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in s5p_hash_import() local
1714 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_import()
1996 dev->ctx = crypto_tfm_ctx(dev->req->base.tfm); in s5p_tasklet_cb()
2025 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in s5p_aes_crypt() local
2027 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in s5p_aes_crypt()
2047 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in s5p_aes_setkey() local
2048 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm); in s5p_aes_setkey()
2086 static int s5p_aes_init_tfm(struct crypto_skcipher *tfm) in s5p_aes_init_tfm() argument
2088 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in s5p_aes_init_tfm()
2091 crypto_skcipher_set_reqsize(tfm, sizeof(struct s5p_aes_reqctx)); in s5p_aes_init_tfm()