diff options
| author | Stephan Mueller <smueller@chronox.de> | 2017-04-24 11:15:23 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-20 14:27:00 +0200 |
| commit | dcd4004ae5212746b9fb7e5d8493589f224a5324 (patch) | |
| tree | 1f70c4a38dddb433ad1268e7c4fd319df2b0f7e3 /tools/perf/scripts/python | |
| parent | 21cb4dc57b3ca380abda80dbdac7eaff9c565ba7 (diff) | |
crypto: algif_aead - Require setkey before accept(2)
commit 2a2a251f110576b1d89efbd0662677d7e7db21a8 upstream.
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")
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
