diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-08-02 16:30:04 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-08-10 20:17:56 -0700 |
| commit | 2aeef50ecadca2fea0c96abed49452ff9b582b48 (patch) | |
| tree | 79a03aca33f3b90df67cd8795c39e44710f8e3c1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 9396dc9495387a415d24a1adbd2d2ea12abacc96 (diff) | |
| download | linux-2aeef50ecadca2fea0c96abed49452ff9b582b48.tar.gz linux-2aeef50ecadca2fea0c96abed49452ff9b582b48.zip | |
lib/crypto: tests: Add KUnit test suite for AES-CCM
Add a KUnit test suite for the AES-CCM library API.
It consists of:
- All the shared test cases from aead-test-template.h. These include
extensive consistency tests, a "Monte-Carlo test", and a benchmark.
- Tests against hardcoded AES-CCM test vectors from external sources.
- Tests for CCM-specific message length validation.
To generate the expected aes_ccm_monte_carlo_checksum[] value, add a
script gen-aead-testvecs.py which computes it using python-cryptography.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://patch.msgid.link/20260802233005.161467-5-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions
