Lines Matching defs:tfm
231 static void mv_cesa_skcipher_cra_exit(struct crypto_tfm *tfm)
233 void *ctx = crypto_tfm_ctx(tfm);
235 memzero_explicit(ctx, tfm->__crt_alg->cra_ctxsize);
238 static int mv_cesa_skcipher_cra_init(struct crypto_tfm *tfm)
240 struct mv_cesa_ctx *ctx = crypto_tfm_ctx(tfm);
244 crypto_skcipher_set_reqsize(__crypto_skcipher_cast(tfm),
253 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
254 struct mv_cesa_aes_ctx *ctx = crypto_tfm_ctx(tfm);
416 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
417 unsigned int blksize = crypto_skcipher_blocksize(tfm);
470 struct mv_cesa_des_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
577 struct mv_cesa_des3_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
689 struct mv_cesa_aes_ctx *ctx = crypto_tfm_ctx(req->base.tfm);