Skip to content

crypto: add CTS output IVs for arm64 and testmgr

Ard Biesheuvel linux-arm-kernel linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: arm64/aes - align output IV with generic CBC-CTS driverarch/arm64/crypto/aes-modes.S+2 -00 replies
2/2crypto: testmgr - add output IVs for AES-CBC with ciphertext stealingcrypto/testmgr.h+12 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC/RFT PATCH 0/2] crypto: add CTS output IVs for arm64 and testmgr

Stephan reports that the arm64 implementation of cts(cbc(aes)) deviates from the generic implementation in what it returns as the output IV. So fix this, and add some test vectors to catch other non-compliant implementations.

Stephan, could you provide a reference for the NIST validation tool and how it flags this behaviour as non-compliant? Thanks.

Cc Stephan Mueller <[email protected]>

Ard Biesheuvel (2):
crypto: arm64/aes - align output IV with generic CBC-CTS driver
crypto: testmgr - add output IVs for AES-CBC with ciphertext stealing

 arch/arm64/crypto/aes-modes.S |  2 ++
 crypto/testmgr.h              | 12 ++++++++++++
 2 files changed, 14 insertions(+)
Signature · 1 line
2.20.1