crypto: hash - Add crypto_ahash_has_setkey
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Jan 2016 13:28:26 +0000 (21:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Feb 2016 20:31:03 +0000 (12:31 -0800)
commitf2e274ce8bfe8ab928ab1968a82a3b7eec27a69b
treea71591a4bc850ead2dc47f22037caff403c97cce
parenteeb2e2e72bce3c4f3e74d1ea2c621aa574b8ef18
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.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
crypto/ahash.c
crypto/shash.c
include/crypto/hash.h