aboutsummaryrefslogtreecommitdiff
path: root/include/linux/seqlock.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-08-09 08:27:17 +0100
committerMoyster <oysterized@gmail.com>2017-06-17 15:50:42 +0200
commit54c27db5595da2f2e8f0aa68dd1c6435ad722555 (patch)
treee5b065265b1b7280929a9a26cdfbb74372248a50 /include/linux/seqlock.h
parent7e2cd0177d4e64717c323fa5df3f9a7d0eb59c68 (diff)
crypto: caam - fix non-hmac hashes
commit a0118c8b2be9297aed8e915c60b4013326b256d4 upstream. Since 6de62f15b581 ("crypto: algif_hash - Require setkey before accept(2)"), the AF_ALG interface requires userspace to provide a key to any algorithm that has a setkey method. However, the non-HMAC algorithms are not keyed, so setting a key is unnecessary. Fix this by removing the setkey method from the non-keyed hash algorithms. Fixes: 6de62f15b581 ("crypto: algif_hash - Require setkey before accept(2)") Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/seqlock.h')
0 files changed, 0 insertions, 0 deletions