Skip to content

crypto: atmel-{aes, tdes}: Fix corner cases - crypto self tests

Tudor Ambarus linux-arm-kernel linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9crypto: atmel-tdes: Clarify how tdes dev gets allocated to the tfmdrivers/crypto/atmel-tdes.c+9 -190 replies
2/9crypto: atmel-tdes: Handle error messagesdrivers/crypto/atmel-tdes.c+16 -170 replies
3/9crypto: atmel-aes: Add blocksize constraint for ECB and CBC modesdrivers/crypto/atmel-aes.c+6 -10 replies
4/9crypto: atmel-aes: Add XTS input length constraintdrivers/crypto/atmel-aes.c+3 -00 replies
5/9crypto: atmel-aes: Add NIST 800-38A's zero length cryptlen constraintdrivers/crypto/atmel-aes.c+7 -00 replies
6/9crypto: atmel-tdes: Add FIPS81's zero length cryptlen constraintdrivers/crypto/atmel-tdes.c+3 -00 replies
7/9crypto: atmel-{aes, tdes}: Set OFB's blocksize to 1drivers/crypto/atmel-aes.c drivers/crypto/atmel-tdes.c+2 -20 replies
8/9crypto: atmel-aes: Add fallback to XTS software implementationdrivers/crypto/atmel-aes.c+51 -40 replies
9/9crypto: atmel-aes: Allocate aes dev at tfm init timedrivers/crypto/atmel-aes.c+43 -330 replies

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] crypto: atmel-{aes, tdes}: Fix corner cases - crypto self tests

The extra run-time crypto self tests hit some corner cases that were not handled in the drivers. Fix some corner cases. Propose some cleaning patches.

Tudor Ambarus (9):
crypto: atmel-tdes: Clarify how tdes dev gets allocated to the tfm
crypto: atmel-tdes: Handle error messages
crypto: atmel-aes: Add blocksize constraint for ECB and CBC modes
crypto: atmel-aes: Add XTS input length constraint
crypto: atmel-aes: Add NIST 800-38A's zero length cryptlen constraint
crypto: atmel-tdes: Add FIPS81's zero length cryptlen constraint
crypto: atmel-{aes, tdes}: Set OFB's blocksize to 1
crypto: atmel-aes: Add fallback to XTS software implementation
crypto: atmel-aes: Allocate aes dev at tfm init time

 drivers/crypto/atmel-aes.c  | 146 +++++++++++++++++++++++++++---------
 drivers/crypto/atmel-tdes.c |  66 +++++++---------
 2 files changed, 138 insertions(+), 74 deletions(-)
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel