lib/crypto: KUnit tests for unauthenticated AES modes
Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | lib/crypto: tests: Add skcipher-test-template.h and gen-skcipher-testvecs.pylib/ lib/ lib/ +1 more | +1453 | 0 replies | |
| 2/7 | lib/crypto: tests: Add KUnit test suite for AES-ECBlib/ lib/ lib/ +2 more | +274 | 0 replies | |
| 3/7 | lib/crypto: tests: Add KUnit test suite for AES-CBClib/ lib/ lib/ +1 more | +148 | 0 replies | |
| 4/7 | lib/crypto: tests: Add KUnit test suite for AES-CBC-CTSlib/ lib/ lib/ | +242 | 0 replies | |
| 5/7 | lib/crypto: tests: Add KUnit test suite for AES-CTRlib/ lib/ lib/ +1 more | +207 | 0 replies | |
| 6/7 | lib/crypto: tests: Add KUnit test suite for AES-XCTRlib/ lib/ lib/ | +152 | 0 replies | |
| 7/7 | lib/crypto: tests: Add KUnit test suite for AES-XTSlib/ lib/ lib/ +1 more | +376 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] lib/crypto: KUnit tests for unauthenticated AES modes
This series applies to libcrypto-next. It can also be retrieved from:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git aes-kunit-v1
This series adds comprehensive KUnit test suites for the remaining AES modes that got new library APIs in v7.3: AES-ECB, AES-CBC, AES-CBC-CTS, AES-CTR, AES-XCTR, and AES-XTS.
Most of the test code is placed in a common header file, like it is in many of the existing tests.
Eric Biggers (7):
lib/crypto: tests: Add skcipher-test-template.h and
gen-skcipher-testvecs.py
lib/crypto: tests: Add KUnit test suite for AES-ECB lib/crypto: tests: Add KUnit test suite for AES-CBC lib/crypto: tests: Add KUnit test suite for AES-CBC-CTS lib/crypto: tests: Add KUnit test suite for AES-CTR lib/crypto: tests: Add KUnit test suite for AES-XCTR lib/crypto: tests: Add KUnit test suite for AES-XTS
lib/crypto/.kunitconfig | 4 + lib/crypto/tests/Kconfig | 36 + lib/crypto/tests/Makefile | 4 + lib/crypto/tests/aead-test-template.h | 67 +- lib/crypto/tests/aes_cbc_cts_kunit.c | 239 ++++ lib/crypto/tests/aes_cbc_kunit.c | 137 +++ lib/crypto/tests/aes_ctr_kunit.c | 196 ++++ lib/crypto/tests/aes_ecb_kunit.c | 227 ++++ lib/crypto/tests/aes_xctr_kunit.c | 149 +++ lib/crypto/tests/aes_xts_kunit.c | 365 ++++++ lib/crypto/tests/skcipher-test-template.h | 1241 +++++++++++++++++++++ lib/crypto/tests/sp800-38a-data.h | 36 + lib/crypto/tests/test-utils.h | 25 + scripts/crypto/gen-skcipher-testvecs.py | 167 +++ 14 files changed, 2846 insertions(+), 47 deletions(-) create mode 100644 lib/crypto/tests/aes_cbc_cts_kunit.c create mode 100644 lib/crypto/tests/aes_cbc_kunit.c create mode 100644 lib/crypto/tests/aes_ctr_kunit.c create mode 100644 lib/crypto/tests/aes_ecb_kunit.c create mode 100644 lib/crypto/tests/aes_xctr_kunit.c create mode 100644 lib/crypto/tests/aes_xts_kunit.c create mode 100644 lib/crypto/tests/skcipher-test-template.h create mode 100644 lib/crypto/tests/sp800-38a-data.h create mode 100755 scripts/crypto/gen-skcipher-testvecs.py
base-commit: 84abb955b1015477aa11a96e2f3ac1b938b77f48
Signature · 1 line
2.56.1