Crypto Fixes for 4.13

2017-09-01 Thread Herbert Xu
Hi Linus: 

This push fixes the following issues:

- Regression in chacha20 handling of chunked input.
- Crash in algif_skcipher when used with async io.
- Potential bogus pointer dereference in lib/mpi.


Please pull from

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


Ard Biesheuvel (2):
  crypto: chacha20 - fix handling of chunked input
  crypto: testmgr - add chunked test cases for chacha20

Stephan Mueller (2):
  lib/mpi: kunmap after finishing accessing buffer
  crypto: algif_skcipher - only call put_page on referenced and used pages

 crypto/algif_skcipher.c   |9 +++--
 crypto/chacha20_generic.c |9 +++--
 crypto/testmgr.h  |7 +++
 lib/mpi/mpicoder.c|4 +++-
 4 files changed, 24 insertions(+), 5 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.13

2017-08-14 Thread Herbert Xu
Hi Linus: 

This push fixes an error path bug in ixp4xx as well as a read
overrun in sha1-avx2.


Please pull from

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


Herbert Xu (1):
  crypto: ixp4xx - Fix error handling path in 'aead_perform()'

megha@linux.intel.com (1):
  crypto: x86/sha1 - Fix reads beyond the number of blocks passed

 arch/x86/crypto/sha1_avx2_x86_64_asm.S |   67 +---
 arch/x86/crypto/sha1_ssse3_glue.c  |2 +-
 drivers/crypto/ixp4xx_crypto.c |6 +--
 3 files changed, 40 insertions(+), 35 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.13

2017-08-09 Thread Herbert Xu
Hi Linus: 

This push fixes two regressions in the inside-secure driver with
respect to hmac(sha1).


Please pull from

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


Antoine Tenart (2):
  crypto: inside-secure - fix invalidation check in hmac_sha1_setkey
  crypto: inside-secure - fix the sha state length in hmac_sha1_setkey

 drivers/crypto/inside-secure/safexcel_hash.c |8 
 1 file 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.13

2017-07-28 Thread Herbert Xu
Hi Linus: 

This push fixes the following issues:

- Remove broken dt bindings in inside-secure.
- Fix authencesn crash when used with digest_null.
- Fix cavium/nitrox firmware path.
- Fix SHA3 failure in brcm.
- Fix Kconfig dependency for brcm.


Please pull from

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


Antoine Tenart (2):
  crypto: inside-secure - do not parse the dma mask from dt
  Documentation/bindings: crypto: remove the dma-mask property

Herbert Xu (1):
  crypto: authencesn - Fix digest_null crash

Srikanth Jampala (1):
  crypto: cavium/nitrox - Change in firmware path.

raveendra padasalagi (2):
  crypto: brcm - Fix SHA3-512 algorithm failure
  crypto: brcm - remove BCM_PDC_MBOX dependency in Kconfig

 .../devicetree/bindings/crypto/inside-secure-safexcel.txt |2 --
 crypto/authencesn.c   |5 +
 drivers/crypto/Kconfig|2 +-
 drivers/crypto/bcm/spu2.c |1 +
 drivers/crypto/cavium/nitrox/nitrox_main.c|3 ++-
 drivers/crypto/inside-secure/safexcel.c   |5 +
 6 files changed, 10 insertions(+), 8 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.13

2017-07-14 Thread Herbert Xu
Hi Linus: 

This push fixes the following issues:

- New compiler warnings in cavium.
- Set post-op IV properly in caam (this fixes chaining).
- Fix potential use-after-free in atmel in case of EBUSY.
- Fix sleeping in softirq path in chcr.
- Disable buggy sha1-avx2 driver (may overread and page fault).
- Fix use-after-free on signals in caam.
 

Please pull from

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


Colin Ian King (1):
  crypto: cavium - make several functions static

David Gstir (1):
  crypto: caam - properly set IV after {en,de}crypt

Gilad Ben-Yossef (1):
  crypto: atmel - only treat EBUSY as transient if backlog

Harsh Jain (1):
  crypto: chcr - Avoid algo allocation in softirq.

Herbert Xu (2):
  crypto: sha1-ssse3 - Disable avx2

Horia Geantă (1):
  crypto: caam - fix signals handling

 arch/x86/crypto/sha1_ssse3_glue.c  |2 +-
 crypto/af_alg.c|2 +-
 drivers/crypto/atmel-sha.c |4 +++-
 drivers/crypto/caam/caamalg.c  |   20 ++--
 drivers/crypto/caam/caamhash.c |2 +-
 drivers/crypto/caam/key_gen.c  |2 +-
 drivers/crypto/cavium/cpt/cptvf_algs.c |8 
 drivers/crypto/chelsio/chcr_algo.c |   23 +++
 drivers/crypto/chelsio/chcr_crypto.h   |1 +
 9 files changed, 45 insertions(+), 19 deletions(-)

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