summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-12-17 10:23:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 23:40:31 +0300
commit97a6662b035c20d073ce6ebc660d57fc1e492ad3 (patch)
tree9d32efba76f0f9f95152d77c5a4d85f21eb3885e /crypto
parent93242fa04d87294f3265d6b488caa5d13867b1f4 (diff)
downloadlinux-97a6662b035c20d073ce6ebc660d57fc1e492ad3.tar.xz
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')
0 files changed, 0 insertions, 0 deletions