Crypto Fixes for 4.14

From: Herbert Xu
Date: Thu Oct 12 2017 - 06:51:37 EST


Hi Linus:

This push fixes the following issues:

- Crashes in skcipher/shash from zero-length input.
- Fix softirq GFP_KERNEL allocation in shash_setkey_unaligned.
- Error path bug in xts create function.
- Compiler warning regressions in axis and stm32.


Please pull from

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


Arnd Bergmann (2):
crypto: axis - hide an unused variable
crypto: stm32 - Try to fix hash padding

Christophe Jaillet (1):
crypto: xts - Fix an error handling path in 'create()'

Herbert Xu (2):
crypto: skcipher - Fix crash on zero-length input
crypto: shash - Fix zero-length shash ahash digest crash

Jia-Ju Bai (1):
crypto: shash - Fix a sleep-in-atomic bug in shash_setkey_unaligned

crypto/shash.c | 10 ++++++----
crypto/skcipher.c | 17 +++++++++++------
crypto/xts.c | 6 ++++--
drivers/crypto/axis/artpec6_crypto.c | 4 ++--
drivers/crypto/stm32/stm32-hash.c | 15 +++++++++------
5 files changed, 32 insertions(+), 20 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