Lines Matching defs:tfm

658 	struct crypto_tfm *tfm = crypto_ahash_tfm(ahash);
659 unsigned int blocksize = crypto_tfm_alg_blocksize(tfm);
1905 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1906 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
1930 alg_name = crypto_ahash_alg_name(tfm);
1962 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1963 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
1976 ctx->digestsize = crypto_ahash_digestsize(tfm);
2018 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2019 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2031 alg_name = crypto_ahash_alg_name(tfm);
2046 ctx->shash->tfm = hash;
2091 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2092 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2146 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2147 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2159 crypto_free_shash(ctx->shash->tfm);
2185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2186 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2232 crypto_free_shash(ctx->shash->tfm);
2419 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2420 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2422 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
2469 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
2470 struct iproc_ctx_s *ctx = crypto_ahash_ctx(tfm);
2472 crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
2576 struct crypto_tfm *tfm = crypto_aead_tfm(aead);
2578 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm);
2724 struct crypto_tfm *tfm = crypto_aead_tfm(cipher);
2792 tfm->crt_flags & CRYPTO_TFM_REQ_MASK;
2819 struct crypto_tfm *tfm = crypto_aead_tfm(cipher);
2859 tfm->crt_flags & CRYPTO_TFM_REQ_MASK;
4087 static int generic_cra_init(struct crypto_tfm *tfm,
4091 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm);
4092 unsigned int blocksize = crypto_tfm_alg_blocksize(tfm);
4116 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher);
4125 return generic_cra_init(tfm, cipher_alg);
4128 static int ahash_cra_init(struct crypto_tfm *tfm)
4131 struct crypto_alg *alg = tfm->__crt_alg;
4137 err = generic_cra_init(tfm, cipher_alg);
4144 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
4153 struct crypto_tfm *tfm = crypto_aead_tfm(aead);
4154 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm);
4155 struct crypto_alg *alg = tfm->__crt_alg;
4160 int err = generic_cra_init(tfm, cipher_alg);
4198 static void generic_cra_exit(struct crypto_tfm *tfm)
4203 static void skcipher_exit_tfm(struct crypto_skcipher *tfm)
4205 generic_cra_exit(crypto_skcipher_tfm(tfm));
4210 struct crypto_tfm *tfm = crypto_aead_tfm(aead);
4211 struct iproc_ctx_s *ctx = crypto_tfm_ctx(tfm);
4213 generic_cra_exit(tfm);