Skip to content

NX crypto driver fixes

Leonidas S. Barbosa linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Moving NX-AES-CBC to be processed logicdrivers/crypto/nx/nx-aes-cbc.c+2 -100 replies
2/9Moving NX-AES-CCM to be processed logic and sg_list boundsdrivers/crypto/nx/nx-aes-ccm.c+27 -340 replies
3/9Moving limit and bound logic in CTR and fix IV vectordrivers/crypto/nx/nx-aes-ctr.c+3 -100 replies
4/9Moving NX-AES-ECB to be processed logicdrivers/crypto/nx/nx-aes-ecb.c+2 -100 replies
5/9Moving NX-AES-GCM to be processed logicdrivers/crypto/nx/nx-aes-gcm.c+37 -290 replies
6/9Moving NX-AES-XCBC to be processed logicdrivers/crypto/nx/nx-aes-xcbc.c+63 -180 replies
7/9Fix SHA concurrence issue and sg limit boundsdrivers/crypto/nx/nx-sha256.c drivers/crypto/nx/nx-sha512.c+200 -2300 replies
8/9Fixing the limit number of bytes to be processeddrivers/crypto/nx/nx.c drivers/crypto/nx/nx.h+113 -220 replies
9/9Disable ccm and ccm4309 in fips moddrivers/crypto/nx/nx.c+22 -101 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] NX crypto driver fixes

This patch set fixes the follow issues in NX crypto driver:

- Bound limit issue that causes a memory crash
- SHA concurrence issue
- IV vector fix with the correct bit order
- NX CCM does not support keys larger than 128 causing crashes in fips mode.

Leonidas S. Barbosa (9):
Moving NX-AES-CBC to be process logic
Moving NX-AES-CCM to be process logic and sg_list bounds Moving limit and bound logic in CTR and fix IV vector Moving NX-AES-ECB to be processed logic
Moving NX-AES-GCM to be processed logic
Moving NX-AES-XCBC to be processed logic
Fix SHA concurrence issue and sg limit bounds Fixing the limit number of bytes to be processed Disable ccm and ccm4309 in fips mod

 drivers/crypto/nx/nx-aes-cbc.c  |   12 +--
 drivers/crypto/nx/nx-aes-ccm.c  |   61 +++++------
 drivers/crypto/nx/nx-aes-ctr.c  |   13 +--
 drivers/crypto/nx/nx-aes-ecb.c  |   12 +--
 drivers/crypto/nx/nx-aes-gcm.c  |   66 +++++++-----
 drivers/crypto/nx/nx-aes-xcbc.c |   81 +++++++++++---
 drivers/crypto/nx/nx-sha256.c   |  208 ++++++++++++++++++-------------------
 drivers/crypto/nx/nx-sha512.c   |  222 ++++++++++++++++++---------------------
 drivers/crypto/nx/nx.c          |  159 +++++++++++++++++++++++-----
 drivers/crypto/nx/nx.h          |    8 +-
 10 files changed, 469 insertions(+), 373 deletions(-)