Lines Matching refs:tfm
653 struct crypto_tfm *tfm; in crypto_spawn_tfm() local
659 tfm = ERR_PTR(-EINVAL); in crypto_spawn_tfm()
663 tfm = __crypto_alloc_tfm(alg, type, mask); in crypto_spawn_tfm()
664 if (IS_ERR(tfm)) in crypto_spawn_tfm()
667 return tfm; in crypto_spawn_tfm()
671 return tfm; in crypto_spawn_tfm()
678 struct crypto_tfm *tfm; in crypto_spawn_tfm2() local
684 tfm = crypto_create_tfm(alg, spawn->frontend); in crypto_spawn_tfm2()
685 if (IS_ERR(tfm)) in crypto_spawn_tfm2()
688 return tfm; in crypto_spawn_tfm2()
692 return tfm; in crypto_spawn_tfm2()
907 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm) in crypto_tfm_in_queue() argument
912 if (req->tfm == tfm) in crypto_tfm_in_queue()