diff options
author | Eric Biggers <ebiggers@google.com> | 2018-12-16 23:23:23 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-23 08:09:47 +0100 |
commit | 7c5f00e8984f8921d3a20afd04fcd0f24096b2bf (patch) | |
tree | 280b18da09cb021682ef6b85b97d3cdcda075e54 /crypto/authenc.c | |
parent | d196d2fdc0e8a0f1db9a64d0e691f7e2cd756e28 (diff) |
crypto: bcm - convert to use crypto_authenc_extractkeys()
commit ab57b33525c3221afaebd391458fa0cbcd56903d upstream.
Convert the bcm crypto driver to use crypto_authenc_extractkeys() so
that it picks up the fix for broken validation of rtattr::rta_len.
This also fixes the DES weak key check to actually be done on the right
key. (It was checking the authentication key, not the encryption key...)
Fixes: 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver")
Cc: <stable@vger.kernel.org> # v4.11+
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/authenc.c')
0 files changed, 0 insertions, 0 deletions