Lines Matching defs:tfm
75 struct crypto_shash *tfm;
77 tfm = crypto_alloc_shash(name, 0, 0);
78 if (IS_ERR(tfm))
81 crypto_free_shash(tfm);
227 struct crypto_shash *tfm = NULL;
313 tfm = crypto_alloc_shash(chap->digest_name, 0, 0);
314 if (IS_ERR(tfm)) {
315 tfm = NULL;
320 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL);
326 desc->tfm = tfm;
488 if (tfm)
489 crypto_free_shash(tfm);