Crypto Fixes for 4.14

2017-11-05 Thread Herbert Xu
Hi Linus: 

This push fixes an unaligned panic in x86/sha-mb and a bug in ccm
that triggers with certain underlying implementations.


Please pull from

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


Andrey Ryabinin (2):
  crypto: x86/sha256-mb - fix panic due to unaligned access
  crypto: x86/sha1-mb - fix panic due to unaligned access

Romain Izard (1):
  crypto: ccm - preserve the IV buffer

 arch/x86/crypto/sha1-mb/sha1_mb_mgr_flush_avx2.S |   12 ++--
 arch/x86/crypto/sha256-mb/sha256_mb_mgr_flush_avx2.S |   12 ++--
 crypto/ccm.c |4 +++-
 3 files changed, 15 insertions(+), 13 deletions(-)

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


Crypto Fixes for 4.14

2017-10-30 Thread Herbert Xu
Hi Linus: 

This push fixes an objtool regression.


Please pull from

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


Jason A. Donenfeld (1):
  crypto: x86/chacha20 - satisfy stack validation 2.0

 arch/x86/crypto/chacha20-avx2-x86_64.S  |4 ++--
 arch/x86/crypto/chacha20-ssse3-x86_64.S |4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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


Crypto Fixes for 4.14

2017-10-12 Thread Herbert Xu
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 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Crypto Fixes for 4.14

2017-09-22 Thread Herbert Xu
Hi Linus: 

This push fixes the following issues:

- Fix compiler warnings in inside-secure.
- Fix LS1021A support in caam.
- Avoid using RBP in x86 crypto code.
- Fix bug in talitos that prevents hashing with algif.
- Fix bugs talitos hashing code that cause incorrect hash result.
- Fix memory freeing path bug in drbg.
- Fix af_alg crash when two SG lists are chained.


Please pull from

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


Arnd Bergmann (1):
  crypto: inside-secure - fix gcc-4.9 warnings

Horia Geantă (1):
  crypto: caam - fix LS1021A support on ARMv7 multiplatform kernel

Josh Poimboeuf (12):
  crypto: x86/blowfish - Fix RBP usage
  crypto: x86/camellia - Fix RBP usage
  crypto: x86/cast5 - Fix RBP usage
  crypto: x86/cast6 - Fix RBP usage
  crypto: x86/des3_ede - Fix RBP usage
  crypto: x86/sha1-avx2 - Fix RBP usage
  crypto: x86/sha1-ssse3 - Fix RBP usage
  crypto: x86/sha256-avx - Fix RBP usage
  crypto: x86/sha256-avx2 - Fix RBP usage
  crypto: x86/sha256-ssse3 - Fix RBP usage
  crypto: sha512-avx2 - Fix RBP usage
  crypto: x86/twofish - Fix RBP usage

LEROY Christophe (3):
  crypto: talitos - fix sha224
  crypto: talitos - fix hashing
  crypto: talitos - Don't provide setkey for non hmac hashing algs.

Stephan Mueller (2):
  crypto: drbg - fix freeing of resources
  crypto: af_alg - update correct dst SGL entry

 arch/x86/crypto/blowfish-x86_64-asm_64.S   |   48 ---
 arch/x86/crypto/camellia-x86_64-asm_64.S   |   26 
 arch/x86/crypto/cast5-avx-x86_64-asm_64.S  |   47 +--
 arch/x86/crypto/cast6-avx-x86_64-asm_64.S  |   50 +++-
 arch/x86/crypto/des3_ede-asm_64.S  |   15 +++--
 arch/x86/crypto/sha1_avx2_x86_64_asm.S |4 +-
 arch/x86/crypto/sha1_ssse3_asm.S   |   11 ++--
 arch/x86/crypto/sha256-avx-asm.S   |   15 +++--
 arch/x86/crypto/sha256-avx2-asm.S  |   22 +++
 arch/x86/crypto/sha256-ssse3-asm.S |   15 +++--
 arch/x86/crypto/sha512-avx2-asm.S  |   75 
 arch/x86/crypto/twofish-avx-x86_64-asm_64.S|   12 ++--
 crypto/af_alg.c|4 +-
 crypto/drbg.c  |8 +--
 drivers/crypto/caam/Kconfig|5 +-
 drivers/crypto/caam/ctrl.c |   19 +++---
 drivers/crypto/caam/regs.h |   59 +--
 drivers/crypto/inside-secure/safexcel_cipher.c |2 +-
 drivers/crypto/inside-secure/safexcel_hash.c   |2 +-
 drivers/crypto/talitos.c   |9 +--
 20 files changed, 236 insertions(+), 212 deletions(-)

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