Lines Matching refs:tfm
325 struct crypto_shash *tfm;
336 tfm = crypto_alloc_shash(ctx->digest_algo, 0, 0);
337 if (IS_ERR(tfm))
338 return (PTR_ERR(tfm) == -ENOENT) ? -ENOPKG : PTR_ERR(tfm);
340 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc);
341 digest_size = crypto_shash_digestsize(tfm);
356 desc->tfm = tfm;
385 crypto_free_shash(tfm);