Crypto Fixes for 4.10

2017-02-06 Thread Herbert Xu
Hi Linus:

This push fixes the following issues:

- Use after free in algif_aead.
- Modular aesni regression when pcbc is modular but absent.
- Bug causing IO page faults in ccp.
- Double list add in ccp.
- Null pointer dereference in qat (two patches).
- Panic in chcr.
- Null pointer dereference in chcr.
- Out-of-bound access in chcr.


Please pull from

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


Gary R Hook (2):
  crypto: ccp - Fix DMA operations when IOMMU is enabled
  crypto: ccp - Fix double add when creating new DMA command

Giovanni Cabiddu (2):
  crypto: qat - fix bar discovery for c62x
  crypto: qat - zero esram only for DH85x devices

Harsh Jain (4):
  crypto: chcr - Fix panic on dma_unmap_sg
  crypto: chcr - Check device is allocated before use
  crypto: algif_aead - Fix kernel panic on list_del
  crypto: chcr - Fix key length for RFC4106

Herbert Xu (1):
  crypto: aesni - Fix failure when pcbc module is absent

 arch/x86/crypto/aesni-intel_glue.c|8 ++--
 crypto/algif_aead.c   |2 +-
 drivers/crypto/ccp/ccp-dev-v5.c   |2 +-
 drivers/crypto/ccp/ccp-dev.h  |1 +
 drivers/crypto/ccp/ccp-dmaengine.c|6 ++-
 drivers/crypto/chelsio/chcr_algo.c|   53 +++--
 drivers/crypto/chelsio/chcr_core.c|   18 ---
 drivers/crypto/chelsio/chcr_crypto.h  |3 ++
 drivers/crypto/qat/qat_c62x/adf_drv.c |2 +-
 drivers/crypto/qat/qat_common/adf_accel_devices.h |1 +
 drivers/crypto/qat/qat_common/qat_hal.c   |4 +-
 11 files changed, 55 insertions(+), 45 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.10

2017-02-01 Thread Herbert Xu
Hi Linus:

This push fixes a bug in CBC/CTR on ARM64 that breaks chaining
as well as a bug in the core API that causes registration failures
when a driver unloads and then reloads an algorithm.


Please pull from

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


Ard Biesheuvel (1):
  crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes

Salvatore Benedetto (1):
  crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg

 arch/arm64/crypto/aes-modes.S |   88 -
 crypto/algapi.c   |1 +
 2 files changed, 43 insertions(+), 46 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.10

2017-01-11 Thread Herbert Xu
Hi Linus:

This push fixes a regression in aesni that renders it useless
if it's built-in with a modular pcbc configuration.


Please pull from

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


Herbert Xu (1):
  crypto: aesni - Fix failure when built-in with modular pcbc

 arch/x86/crypto/aesni-intel_glue.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 
Thanks,
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Crypto Fixes for 4.10

2016-12-30 Thread Herbert Xu
Hi Linus:

This push fixes a boot failure on some platforms when crypto self
test is enabled along with the new acomp interface.


Please pull from

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


Laura Abbott (1):
  crypto: testmgr - Use heap buffer for acomp test input

 crypto/testmgr.c |   30 --
 1 file changed, 28 insertions(+), 2 deletions(-)

Thanks,
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Crypto Fixes for 4.10

2016-12-27 Thread Herbert Xu
Hi Linus:

This push fixes a hash corruption bug in the marvell driver.


Please pull from

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


Romain Perier (1):
  crypto: marvell - Copy IVDIG before launching partial DMA ahash requests

 drivers/crypto/marvell/cesa.h |3 ++-
 drivers/crypto/marvell/hash.c |   34 +-
 drivers/crypto/marvell/tdma.c |9 -
 3 files changed, 43 insertions(+), 3 deletions(-)
 
Thanks,
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Crypto Fixes for 4.10

2016-12-15 Thread Herbert Xu
Hi Linus:

This push fixes the following issues:

- A crash regression in the new skcipher walker.
- Incorrect return value in public_key_verify_signature.
- Fix for in-place signing in the sign-file utility.


Please pull from

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


Alex Yashchenko (1):
  sign-file: Fix inplace signing when src and dst names are both specified

Ard Biesheuvel (1):
  crypto: skcipher - fix crash in virtual walk

Pan Bian (1):
  crypto: asymmetric_keys - set error code on failure

 crypto/asymmetric_keys/public_key.c |1 +
 crypto/skcipher.c   |4 +++-
 scripts/sign-file.c |2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

Thanks,
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html