aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/crypto/tgr192.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
commit2a2a251f110576b1d89efbd0662677d7e7db21a8 (patch)
tree4d4237387e1a5a3160858286da5e2665d06cf955 /crypto/tgr192.c
parentcrypto: scomp - add support for deflate rfc1950 (zlib) (diff)
downloadwireguard-linux-2a2a251f110576b1d89efbd0662677d7e7db21a8.tar.xz
wireguard-linux-2a2a251f110576b1d89efbd0662677d7e7db21a8.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: 400c40cf78da ("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/tgr192.c')
0 files changed, 0 insertions, 0 deletions