Lines Matching defs:tfm
226 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req);
227 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm);
254 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req);
255 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm);
480 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req);
481 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm);
683 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
684 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm);
692 rctx->digcnt = crypto_ahash_digestsize(tfm);
889 struct stm32_hash_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
1021 static int stm32_hash_setkey(struct crypto_ahash *tfm,
1024 struct stm32_hash_ctx *ctx = crypto_ahash_ctx(tfm);
1036 static int stm32_hash_cra_init_algs(struct crypto_tfm *tfm,
1039 struct stm32_hash_ctx *ctx = crypto_tfm_ctx(tfm);
1041 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
1055 static int stm32_hash_cra_init(struct crypto_tfm *tfm)
1057 return stm32_hash_cra_init_algs(tfm, NULL);
1060 static int stm32_hash_cra_md5_init(struct crypto_tfm *tfm)
1062 return stm32_hash_cra_init_algs(tfm, "md5");
1065 static int stm32_hash_cra_sha1_init(struct crypto_tfm *tfm)
1067 return stm32_hash_cra_init_algs(tfm, "sha1");
1070 static int stm32_hash_cra_sha224_init(struct crypto_tfm *tfm)
1072 return stm32_hash_cra_init_algs(tfm, "sha224");
1075 static int stm32_hash_cra_sha256_init(struct crypto_tfm *tfm)
1077 return stm32_hash_cra_init_algs(tfm, "sha256");