crypto: hash - Add crypto_ahash_has_setkey
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 27 Oct 2016 14:29:38 +0000 (17:29 +0300)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:14:06 +0000 (13:14 +0000)
commit5a19a54372c5f6b6c5faabd7cca765e056f04e84
treecf6930852bcff204aeb064f41f38a1532548b93c
parent57e544033b857f5055c17be21108b63a4722c226
crypto: hash - Add crypto_ahash_has_setkey

commit a5596d6332787fd383b3b5427b41f94254430827 upstream.

This patch adds a way for ahash users to determine whether a key
is required by a crypto_ahash transform.

Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
crypto/ahash.c
crypto/shash.c
include/crypto/hash.h