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

From: Eric Biggers

Date: Wed Aug 05 2026 - 15:47:42 EST


On Sun, Aug 02, 2026 at 04:30:00PM -0700, 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

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

- Eric