]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 3 Feb 2016 21:23:18 +0000 (16:23 -0500)
commitc409087e6db988257adffb614616764116c7337e
treeae5cebc463b5660bed8451172276a1510e4d7e10
parent92d76b5b2c3a29e14bc01a5e96d075afd4c6644f
crypto: hash - Add crypto_ahash_has_setkey

[ Upstream commit a5596d6332787fd383b3b5427b41f94254430827 ]

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: Sasha Levin <sasha.levin@oracle.com>
crypto/ahash.c
crypto/shash.c
include/crypto/hash.h