Crypto Fixes for 4.16

From: Herbert Xu
Date: Sun Feb 11 2018 - 22:17:19 EST


Hi Linus:

This push fixes the following issues:

- Fix oversize stack frames on mn10300 in sha3-generic.
- Fix warning on old compilers in sha3-generic.
- Fix API error in sun4i_ss_prng.
- Fix potential dead-lock in sun4i_ss_prng.
- Fix null-pointer dereference in sha512-mb.
- Fix endless loop when DECO acquire fails in caam.
- Fix kernel oops when hashing empty message in talitos.


Please pull from

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


Ard Biesheuvel (1):
crypto: sha3-generic - deal with oversize stack frames

Artem Savkov (2):
crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate
crypto: sun4i_ss_prng - convert lock to _bh in sun4i_ss_prng_generate

Eric Biggers (1):
crypto: sha512-mb - initialize pending lengths correctly

Geert Uytterhoeven (3):
compiler-gcc.h: Introduce __optimize function attribute
compiler-gcc.h: __nostackprotector needs gcc-4.4 and up
crypto: sha3-generic - Use __optimize to support old compilers

Horia GeantÄ (1):
crypto: caam - fix endless loop when DECO acquire fails

LEROY Christophe (1):
crypto: talitos - fix Kernel Oops on hashing an empty file

.../x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c | 10 +-
crypto/sha3_generic.c | 218 +++++++++++---------
drivers/crypto/caam/ctrl.c | 8 +-
drivers/crypto/sunxi-ss/sun4i-ss-prng.c | 6 +-
drivers/crypto/talitos.c | 4 +
include/linux/compiler-gcc.h | 7 +-
include/linux/compiler.h | 4 +
7 files changed, 146 insertions(+), 111 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