Lines Matching defs:tfm
1488 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm);
1553 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm);
1598 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1599 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm);
1610 crypto_ahash_digestsize(tfm));
1612 switch (crypto_ahash_digestsize(tfm)) {
1646 * @tfm: crypto transformation
1648 static int s5p_hash_cra_init_alg(struct crypto_tfm *tfm)
1650 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm);
1651 const char *alg_name = crypto_tfm_alg_name(tfm);
1662 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
1669 * s5p_hash_cra_init - init crypto tfm
1670 * @tfm: crypto transformation
1672 static int s5p_hash_cra_init(struct crypto_tfm *tfm)
1674 return s5p_hash_cra_init_alg(tfm);
1678 * s5p_hash_cra_exit - exit crypto tfm
1679 * @tfm: crypto transformation
1683 static void s5p_hash_cra_exit(struct crypto_tfm *tfm)
1685 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm);
1713 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1714 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm);
1996 dev->ctx = crypto_tfm_ctx(dev->req->base.tfm);
2025 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
2027 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm);
2047 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
2048 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm);
2086 static int s5p_aes_init_tfm(struct crypto_skcipher *tfm)
2088 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm);
2091 crypto_skcipher_set_reqsize(tfm, sizeof(struct s5p_aes_reqctx));