Lines Matching defs:tfm
297 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm);
428 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
430 struct dcp_async_ctx *ctx = crypto_skcipher_ctx(tfm);
451 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm);
491 static int mxs_dcp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key,
494 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm);
514 tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK);
518 static int mxs_dcp_aes_fallback_init_tfm(struct crypto_skcipher *tfm)
520 const char *name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm));
521 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm);
529 crypto_skcipher_set_reqsize(tfm, sizeof(struct dcp_aes_req_ctx) +
534 static void mxs_dcp_aes_fallback_exit_tfm(struct crypto_skcipher *tfm)
536 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm);
549 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
550 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
581 struct hash_alg_common *halg = crypto_hash_alg_common(tfm);
619 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
620 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
622 struct hash_alg_common *halg = crypto_hash_alg_common(tfm);
724 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
725 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
727 struct hash_alg_common *halg = crypto_hash_alg_common(tfm);
754 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
755 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
816 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
817 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
831 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
832 struct dcp_async_ctx *actx_state = crypto_ahash_ctx(tfm);
841 static int dcp_sha_cra_init(struct crypto_tfm *tfm)
843 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
848 static void dcp_sha_cra_exit(struct crypto_tfm *tfm)