summaryrefslogtreecommitdiff
path: root/crypto/simd.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2017-04-24 11:15:23 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-04-24 18:11:08 +0800
commite45be024ce2ad1abbe17a3668e09a3ca8fc202f1 (patch)
treebcc30037f55d2c62d8b1788234c78e7eb4e0a901 /crypto/simd.c
parent99b6c821006ddcb1091ade88e0260249087d7b8e (diff)
downloadlinux-crypto-e45be024ce2ad1abbe17a3668e09a3ca8fc202f1.tar.gz
linux-crypto-e45be024ce2ad1abbe17a3668e09a3ca8fc202f1.zip
crypto: algif_aead - Require setkey before accept(2)
Some cipher implementations will crash if you try to use them without calling setkey first. This patch adds a check so that the accept(2) call will fail with -ENOKEY if setkey hasn't been done on the socket yet. Fixes: 92b2f5482ada ("crypto: algif - add AEAD support") Cc: <stable@vger.kernel.org> Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/simd.c')
0 files changed, 0 insertions, 0 deletions