Lines Matching refs:tfm
677 struct crypto_tfm *tfm; in crypto_spawn_tfm() local
683 tfm = ERR_PTR(-EINVAL); in crypto_spawn_tfm()
687 tfm = __crypto_alloc_tfm(alg, type, mask); in crypto_spawn_tfm()
688 if (IS_ERR(tfm)) in crypto_spawn_tfm()
691 return tfm; in crypto_spawn_tfm()
695 return tfm; in crypto_spawn_tfm()
702 struct crypto_tfm *tfm; in crypto_spawn_tfm2() local
708 tfm = crypto_create_tfm(alg, spawn->frontend); in crypto_spawn_tfm2()
709 if (IS_ERR(tfm)) in crypto_spawn_tfm2()
712 return tfm; in crypto_spawn_tfm2()
716 return tfm; in crypto_spawn_tfm2()
924 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm) in crypto_tfm_in_queue() argument
929 if (req->tfm == tfm) in crypto_tfm_in_queue()