Lines Matching defs:tfm
2469 * crypto request processing per tfm
2505 static int caam_cra_init(struct crypto_skcipher *tfm)
2507 struct skcipher_alg *alg = crypto_skcipher_alg(tfm);
2510 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
2515 const char *tfm_name = crypto_tfm_alg_name(&tfm->base);
2527 crypto_skcipher_set_reqsize(tfm, sizeof(struct caam_skcipher_req_ctx) +
2538 static int caam_aead_init(struct crypto_aead *tfm)
2540 struct aead_alg *alg = crypto_aead_alg(tfm);
2543 struct caam_ctx *ctx = crypto_aead_ctx_dma(tfm);
2559 static void caam_cra_exit(struct crypto_skcipher *tfm)
2561 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
2568 static void caam_aead_exit(struct crypto_aead *tfm)
2570 caam_exit_common(crypto_aead_ctx_dma(tfm));