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

Eric Biggers <[email protected]> Wed, 5 Aug 2026 12:47:28 -0700
Newsgroups org.kernel.vger.linux-crypto,org.kernel.vger.linux-kernel
Message-ID <20260805194728.GB3438@quark>
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/[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

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

- Eric