Searched refs:generic_tfm (Results 1 – 1 of 1) sorted by relevance
1692 struct crypto_shash *generic_tfm = NULL; in test_hash_vs_generic_impl() local1714 generic_tfm = crypto_alloc_shash(generic_driver, 0, 0); in test_hash_vs_generic_impl()1715 if (IS_ERR(generic_tfm)) { in test_hash_vs_generic_impl()1716 err = PTR_ERR(generic_tfm); in test_hash_vs_generic_impl()1734 crypto_shash_descsize(generic_tfm), GFP_KERNEL); in test_hash_vs_generic_impl()1739 generic_desc->tfm = generic_tfm; in test_hash_vs_generic_impl()1743 if (digestsize != crypto_shash_digestsize(generic_tfm)) { in test_hash_vs_generic_impl()1746 crypto_shash_digestsize(generic_tfm)); in test_hash_vs_generic_impl()1751 if (blocksize != crypto_shash_blocksize(generic_tfm)) { in test_hash_vs_generic_impl()1753 driver, blocksize, crypto_shash_blocksize(generic_tfm)); in test_hash_vs_generic_impl()[all …]