Lines Matching refs:hash
9 #include <crypto/internal/hash.h>
418 struct crypto_shash *hash = __crypto_shash_cast(tfm);
419 struct shash_alg *alg = crypto_shash_alg(hash);
421 alg->exit_tfm(hash);
426 struct crypto_shash *hash = __crypto_shash_cast(tfm);
427 struct shash_alg *alg = crypto_shash_alg(hash);
430 hash->descsize = alg->descsize;
432 shash_set_needkey(hash, alg);
440 err = alg->init_tfm(hash);
445 if (WARN_ON_ONCE(hash->descsize > HASH_MAX_DESCSIZE)) {
447 alg->exit_tfm(hash);
627 MODULE_DESCRIPTION("Synchronous cryptographic hash type");