Lines Matching defs:tfm

1485 	struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm);
1550 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm);
1595 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1596 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm);
1607 crypto_ahash_digestsize(tfm));
1609 switch (crypto_ahash_digestsize(tfm)) {
1643 * @tfm: crypto transformation
1645 static int s5p_hash_cra_init_alg(struct crypto_tfm *tfm)
1647 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm);
1648 const char *alg_name = crypto_tfm_alg_name(tfm);
1659 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
1666 * s5p_hash_cra_init - init crypto tfm
1667 * @tfm: crypto transformation
1669 static int s5p_hash_cra_init(struct crypto_tfm *tfm)
1671 return s5p_hash_cra_init_alg(tfm);
1675 * s5p_hash_cra_exit - exit crypto tfm
1676 * @tfm: crypto transformation
1680 static void s5p_hash_cra_exit(struct crypto_tfm *tfm)
1682 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm);
1710 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1711 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm);
1990 dev->ctx = crypto_tfm_ctx(dev->req->base.tfm);
2019 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
2021 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm);
2041 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
2042 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm);
2080 static int s5p_aes_init_tfm(struct crypto_skcipher *tfm)
2082 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm);
2085 crypto_skcipher_set_reqsize(tfm, sizeof(struct s5p_aes_reqctx));