Lines Matching defs:hash
7 * used for block encryption, by encrypting it using the hash of the
33 #include <crypto/internal/hash.h>
55 struct crypto_shash *hash;
80 err = crypto_shash_tfm_digest(tctx->hash, key, keylen, salt);
89 crypto_shash_digestsize(tctx->hash));
96 SHASH_DESC_ON_STACK(desc, tctx->hash);
111 desc->tfm = tctx->hash;
122 crypto_shash_digestsize(tctx->hash));
273 struct crypto_shash *hash;
280 hash = crypto_alloc_shash(ictx->shash_driver_name, 0, 0);
281 if (IS_ERR(hash)) {
282 err = PTR_ERR(hash);
287 tctx->hash = hash;
360 crypto_free_shash(tctx->hash);
369 crypto_free_shash(tctx->hash);
530 /* Synchronous hash, e.g., "sha256" */