Skip to content

Trivial set of FIPS 140-3 related changes

Vladis Dronov linux-crypto lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 3 repliesIn review
  2. v26 patches 2 repliesSuperseded
  3. v16 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6crypto: xts - restrict key lengths to approved values in FIPS modeinclude/crypto/xts.h+7 -00 replies
2/6crypto: xts - drop xts_check_key()arch/s390/crypto/paes_s390.c drivers/crypto/atmel-aes.c drivers/crypto/axis/artpec6_crypto.c +6 more+16 -341 reply
3/6crypto: xts - drop redundant xts key checkarch/s390/crypto/aes_s390.c+0 -41 reply
4/6crypto: testmgr - disallow plain cbcmac(aes) in FIPS modecrypto/testmgr.c+0 -10 replies
5/6crypto: testmgr - disallow plain ghash in FIPS modecrypto/testmgr.c+0 -10 replies
6/6crypto: testmgr - allow ecdsa-nist-p256 and -p384 in FIPS modecrypto/testmgr.c+2 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchEric BiggersNicolai Stange
1/6
2/6R-b R-b
3/6
4/6
5/6
6/6

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

Read the v3 thread

Cover letter [PATCH v3 0/6] Trivial set of FIPS 140-3 related changes

Hi,

This patchset and cover letter was initially composed by Nicolai Stange and sent earlier as:

https://lore.kernel.org/r/[email protected]/
with a subject: [PATCH 0/4] Trivial set of FIPS 140-3 related changes

I'm adding patches 2 and 3 which (I hope) resolve issues spotted by reviewers of previous version of the patchset. This new patchset should ease our future kernel work on the FIPS mode.

I'm quoting Nicolai's cover letter here:

Quoted 10 lines

Hi all,

these four rather unrelated patches are basically a dump of some of the more trivial changes required for working towards FIPS 140-3 conformance.

Please pick as you deem appropriate.

Thanks!

Nicolai

v2: fixed a block comment formatting

v3: "Reviewed-by: Eric Biggers" was copied from the v1 thread:
https://lore.kernel.org/r/[email protected]/

Nicolai Stange (4):
crypto: xts - restrict key lengths to approved values in FIPS mode
crypto: testmgr - disallow plain cbcmac(aes) in FIPS mode
crypto: testmgr - disallow plain ghash in FIPS mode
crypto: testmgr - allow ecdsa-nist-p256 and -p384 in FIPS mode

Vladis Dronov (2):
crypto: xts - drop xts_check_key()
crypto: xts - drop redundant xts key check

 arch/s390/crypto/aes_s390.c                   |  4 ---
 arch/s390/crypto/paes_s390.c                  |  2 +-
 crypto/testmgr.c                              |  4 +--
 drivers/crypto/atmel-aes.c                    |  2 +-
 drivers/crypto/axis/artpec6_crypto.c          |  2 +-
 drivers/crypto/cavium/cpt/cptvf_algs.c        |  8 +++---
 .../crypto/cavium/nitrox/nitrox_skcipher.c    |  8 +++---
 drivers/crypto/ccree/cc_cipher.c              |  2 +-
 .../crypto/marvell/octeontx/otx_cptvf_algs.c  |  2 +-
 .../marvell/octeontx2/otx2_cptvf_algs.c       |  2 +-
 include/crypto/xts.h                          | 25 +++++++------------
 11 files changed, 23 insertions(+), 38 deletions(-)

base-commit: b6bb9676f2165d518b35ba3bea5f1fcfc0d969bf

Signature · 1 line
2.38.1