Lines Matching defs:tfm

298 	struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm);
429 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
431 struct dcp_async_ctx *ctx = crypto_skcipher_ctx(tfm);
452 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm);
492 static int mxs_dcp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key,
495 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm);
515 tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK);
519 static int mxs_dcp_aes_fallback_init_tfm(struct crypto_skcipher *tfm)
521 const char *name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm));
522 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm);
530 crypto_skcipher_set_reqsize(tfm, sizeof(struct dcp_aes_req_ctx) +
535 static void mxs_dcp_aes_fallback_exit_tfm(struct crypto_skcipher *tfm)
537 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm);
550 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
551 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
582 struct hash_alg_common *halg = crypto_hash_alg_common(tfm);
620 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
621 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
623 struct hash_alg_common *halg = crypto_hash_alg_common(tfm);
725 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
726 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
728 struct hash_alg_common *halg = crypto_hash_alg_common(tfm);
755 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
756 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
817 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
818 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm);
832 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
833 struct dcp_async_ctx *actx_state = crypto_ahash_ctx(tfm);
842 static int dcp_sha_cra_init(struct crypto_tfm *tfm)
844 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
849 static void dcp_sha_cra_exit(struct crypto_tfm *tfm)