[GIT PULL] Crypto Fixes for 5.8

From: Herbert Xu
Date: Sun Jun 21 2020 - 04:23:19 EST


Hi Linus:

This push contains a number of fixes:

- NULL dereference in octeontx.
- PM reference imbalance in ks-sa.
- Dead-lock in crypto manager.
- Memory leak in drbg.
- Missing socket limit check on receive SG list size in algif_skcipher.
- Typos in caam.
- Warnings in ccp and hisilicon.

The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:

Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus

for you to fetch changes up to 819966c06b759022e9932f328284314d9272b9f3:

crypto: drbg - always try to free Jitter RNG instance (2020-06-15 17:38:54 +1000)

----------------------------------------------------------------
Dan Carpenter (1):
crypto: marvell/octeontx - Fix a potential NULL dereference

Dinghao Liu (1):
hwrng: ks-sa - Fix runtime PM imbalance on error

Eric Biggers (1):
crypto: algboss - don't wait during notifier callback

Heinrich Schuchardt (1):
crypto: caam - fix typos

Herbert Xu (3):
crypto: algif_skcipher - Cap recv SG list at ctx->used
crypto: hisilicon - Cap block size at 2^31
crypto: ccp - Fix sparse warnings in sev-dev

Stephan Müller (1):
crypto: drbg - always try to free Jitter RNG instance

crypto/algboss.c | 2 --
crypto/algif_skcipher.c | 6 +-----
crypto/drbg.c | 6 ++++--
drivers/char/hw_random/ks-sa-rng.c | 1 +
drivers/crypto/caam/Kconfig | 2 +-
drivers/crypto/caam/ctrl.c | 18 +++++++++---------
drivers/crypto/caam/desc.h | 4 ++--
drivers/crypto/caam/pdb.h | 2 +-
drivers/crypto/ccp/sev-dev.c | 23 ++++++++++++++++-------
drivers/crypto/hisilicon/sgl.c | 3 ++-
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c | 11 +++++++----
include/linux/psp-sev.h | 2 +-
12 files changed, 45 insertions(+), 35 deletions(-)

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt