NX crypto driver fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Moving NX-AES-CBC to be processed logicdrivers/ | +2 | 0 replies | |
| 2/9 | Moving NX-AES-CCM to be processed logic and sg_list boundsdrivers/ | +27 | 0 replies | |
| 3/9 | Moving limit and bound logic in CTR and fix IV vectordrivers/ | +3 | 0 replies | |
| 4/9 | Moving NX-AES-ECB to be processed logicdrivers/ | +2 | 0 replies | |
| 5/9 | Moving NX-AES-GCM to be processed logicdrivers/ | +37 | 0 replies | |
| 6/9 | Moving NX-AES-XCBC to be processed logicdrivers/ | +63 | 0 replies | |
| 7/9 | Fix SHA concurrence issue and sg limit boundsdrivers/ drivers/ | +200 | 0 replies | |
| 8/9 | Fixing the limit number of bytes to be processeddrivers/ drivers/ | +113 | 0 replies | |
| 9/9 | Disable ccm and ccm4309 in fips moddrivers/ | +22 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)