Lines Matching refs:hash
15 #include <crypto/internal/hash.h>
26 struct crypto_shash *hash;
51 struct crypto_shash *hash = ctx->hash;
52 SHASH_DESC_ON_STACK(shash, hash);
58 shash->tfm = hash;
99 desc->tfm = ctx->hash;
147 struct crypto_shash *hash;
152 hash = crypto_spawn_shash(spawn);
153 if (IS_ERR(hash))
154 return PTR_ERR(hash);
157 crypto_shash_descsize(hash);
159 ctx->hash = hash;
167 struct crypto_shash *hash;
169 hash = crypto_clone_shash(sctx->hash);
170 if (IS_ERR(hash))
171 return PTR_ERR(hash);
173 dctx->hash = hash;
181 crypto_free_shash(ctx->hash);
211 /* The underlying hash algorithm must not require a key */
278 MODULE_DESCRIPTION("HMAC hash algorithm");