Re: [PATCH v2 0/5] lib/crypto: KUnit tests for AES-CCM and AES-GCM
From: Ard Biesheuvel
Date: Mon Aug 03 2026 - 07:20:36 EST
On Mon, 3 Aug 2026, at 02:30, Eric Biggers wrote:
> 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
> gcm-ccm-kunit-v2
>
> This series adds comprehensive KUnit test suites for the AES-CCM and
> AES-GCM library APIs.
>
> This is a follow-up to the series
> "[PATCH v2 00/13] Library APIs for AES encryption modes"
> (https://lore.kernel.org/linux-crypto/20260715221153.246410-1-ebiggers@xxxxxxxxxx/)
>
> Changed in v2:
> - Fixed crash in test_aes_ccm_data_len_too_large() on 32-bit kernels.
>
> Eric Biggers (5):
> lib/crypto: tests: Create test-utils.h
> lib/crypto: tests: Use per-test-case buffers in hash tests
> lib/crypto: tests: Add aead-test-template.h
> lib/crypto: tests: Add KUnit test suite for AES-CCM
> lib/crypto: tests: Add KUnit test suite for AES-GCM
>
Reviewed-by: Ard Biesheuvel <ardb@xxxxxxxxxx>