OpenCloudOS-Kernel/drivers/crypto/bcm
Eric Biggers ab57b33525 crypto: bcm - convert to use crypto_authenc_extractkeys()
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: 9d12ba86f8 ("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>
2019-01-10 21:37:31 +08:00
..
Makefile crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
cipher.c crypto: bcm - convert to use crypto_authenc_extractkeys() 2019-01-10 21:37:31 +08:00
cipher.h crypto: bcm - Use GCM IV size constant 2017-09-22 17:43:12 +08:00
spu.c crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spu.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spu2.c crypto: brcm - Fix SHA3-512 algorithm failure 2017-07-18 17:00:59 +08:00
spu2.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spum.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
util.c crypto: bcm - Delete an error message for a failed memory allocation in do_shash() 2018-02-22 22:16:59 +08:00
util.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00