Lines Matching defs:tfm

660 	struct crypto_tfm *tfm = crypto_ahash_tfm(ahash);
661 unsigned int blocksize = crypto_tfm_alg_blocksize(tfm);
1908 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1909 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
1933 alg_name = crypto_tfm_alg_name(crypto_ahash_tfm(tfm));
1965 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1966 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
1979 ctx->digestsize = crypto_ahash_digestsize(tfm);
2021 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2022 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2034 alg_name = crypto_tfm_alg_name(crypto_ahash_tfm(tfm));
2049 ctx->shash->tfm = hash;
2094 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2095 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2149 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2150 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2162 crypto_free_shash(ctx->shash->tfm);
2188 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2189 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2235 crypto_free_shash(ctx->shash->tfm);
2421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2422 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2424 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
2471 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2472 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2474 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
2584 areq->tfm = crypto_aead_tfm(aead);
2595 struct crypto_tfm *tfm = crypto_aead_tfm(aead);
2597 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm);
2604 /* Store the cipher tfm and then use the fallback tfm */
2605 rctx->old_tfm = tfm;
2609 * the tfm
2763 struct crypto_tfm *tfm = crypto_aead_tfm(cipher);
2831 tfm->crt_flags & CRYPTO_TFM_REQ_MASK;
2858 struct crypto_tfm *tfm = crypto_aead_tfm(cipher);
2898 tfm->crt_flags & CRYPTO_TFM_REQ_MASK;
4183 static int generic_cra_init(struct crypto_tfm *tfm,
4187 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm);
4188 unsigned int blocksize = crypto_tfm_alg_blocksize(tfm);
4212 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher);
4221 return generic_cra_init(tfm, cipher_alg);
4224 static int ahash_cra_init(struct crypto_tfm *tfm)
4227 struct crypto_alg *alg = tfm->__crt_alg;
4233 err = generic_cra_init(tfm, cipher_alg);
4240 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
4248 struct crypto_tfm *tfm = crypto_aead_tfm(aead);
4249 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm);
4250 struct crypto_alg *alg = tfm->__crt_alg;
4255 int err = generic_cra_init(tfm, cipher_alg);
4287 static void generic_cra_exit(struct crypto_tfm *tfm)
4292 static void skcipher_exit_tfm(struct crypto_skcipher *tfm)
4294 generic_cra_exit(crypto_skcipher_tfm(tfm));
4299 struct crypto_tfm *tfm = crypto_aead_tfm(aead);
4300 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm);
4302 generic_cra_exit(tfm);