Re: [PATCH v2 0/5] lib/crypto: KUnit tests for AES-CCM and AES-GCM

"Ard Biesheuvel" <[email protected]> Mon, 03 Aug 2026 14:16:04 +0300
Newsgroups org.kernel.vger.linux-crypto,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

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/[email protected]/)
>
> 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 <[email protected]>