Skip to content

crypto: fixes in preparation of new fuzz tests

Eric Biggers linux-crypto stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 11 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7crypto: lrw - don't access already-freed walk.ivcrypto/lrw.c+3 -10 replies
2/7crypto: salsa20 - don't access already-freed walk.ivcrypto/salsa20_generic.c+1 -11 reply
3/7crypto: arm/aes-neonbs - don't access already-freed walk.ivarch/arm/crypto/aes-neonbs-glue.c+2 -01 reply
4/7crypto: arm64/aes-neonbs - don't access already-freed walk.ivarch/arm64/crypto/aes-neonbs-glue.c+2 -01 reply
5/7crypto: gcm - fix incompatibility between "gcm" and "gcm_base"crypto/gcm.c+9 -234 replies
6/7crypto: ccm - fix incompatibility between "ccm" and "ccm_base"crypto/ccm.c+17 -262 replies
7/7crypto: vmx - return correct error code on failed setkeydrivers/crypto/vmx/aes.c drivers/crypto/vmx/aes_cbc.c drivers/crypto/vmx/aes_ctr.c +1 more+16 -120 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArd Biesheuvel
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] crypto: fixes in preparation of new fuzz tests

This series contains the remaining fixes in preparation of the comparison fuzz tests I've proposed in the series "crypto: fuzz algorithms against their generic implementation".

I will send a new version of the testmgr patches separately.

These fixes and my latest tests can also be retrieved from git at:

Repository: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git
Branch: cryptofuzz-vs-generic

Eric Biggers (7):
crypto: lrw - don't access already-freed walk.iv
crypto: salsa20 - don't access already-freed walk.iv
crypto: arm/aes-neonbs - don't access already-freed walk.iv
crypto: arm64/aes-neonbs - don't access already-freed walk.iv
crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
crypto: vmx - return correct error code on failed setkey

 arch/arm/crypto/aes-neonbs-glue.c   |  2 ++
 arch/arm64/crypto/aes-neonbs-glue.c |  2 ++
 crypto/ccm.c                        | 43 ++++++++++++-----------------
 crypto/gcm.c                        | 32 ++++++---------------
 crypto/lrw.c                        |  4 ++-
 crypto/salsa20_generic.c            |  2 +-
 drivers/crypto/vmx/aes.c            |  7 +++--
 drivers/crypto/vmx/aes_cbc.c        |  7 +++--
 drivers/crypto/vmx/aes_ctr.c        |  5 ++--
 drivers/crypto/vmx/aes_xts.c        |  9 +++---
 10 files changed, 50 insertions(+), 63 deletions(-)
Signature · 1 line
2.21.0