[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMj1kXGzz5hGiq5ebj9kxzXa3uHOt0eTBx3JHk7kP3S_+acwLQ@mail.gmail.com>
Date: Mon, 14 Jul 2025 15:35:24 +1000
From: Ard Biesheuvel <ardb@...nel.org>
To: Eric Biggers <ebiggers@...nel.org>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
"Jason A . Donenfeld" <Jason@...c4.com>
Subject: Re: [PATCH v5 0/4] KUnit tests for SHA-2 and Poly1305
On Thu, 10 Jul 2025 at 06:04, Eric Biggers <ebiggers@...nel.org> wrote:
>
> This series is also available at:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git libcrypto-kunit-v5
>
> This series adds the first KUnit tests for lib/crypto/, including tests
> for SHA-2 and Poly1305.
>
> Changed in v5:
> - Moved hash_irq_test2_state from stack to heap
> (fixes https://lore.kernel.org/r/202507081257.9sV2D0Ys-lkp@intel.com)
> - Replaced HRTIMER_MODE_REL with HRTIMER_MODE_REL_HARD to make hardirq
> context be used on CONFIG_PREEMPT_RT (fixes a WARN_ON_ONCE).
> - Removed an unnecessary initialization in hash_irq_test2_func()
> - Added comments that explain kconfig option naming
> - Added link to Poly1305 paper
>
> Changed in v4:
> - Added Poly1305 tests.
> - Split the addition of hash-test-template.h and gen-hash-testvecs.py
> into a separate patch.
> - Added two more test cases to hash-test-template.h
> (test_hash_all_lens_up_to_4096 and test_hash_interrupt_context_2).
> - Simplified test_hmac to use a single consolidated test vector.
> - Lots of other cleanups.
>
> Changed in v3:
> - Split from SHA-512 and SHA-256 series, as per the request from Linus
> that the tests be kept last on the branch.
>
> Eric Biggers (4):
> lib/crypto: tests: Add hash-test-template.h and gen-hash-testvecs.py
> lib/crypto: tests: Add KUnit tests for SHA-224 and SHA-256
> lib/crypto: tests: Add KUnit tests for SHA-384 and SHA-512
> lib/crypto: tests: Add KUnit tests for Poly1305
>
Acked-by: Ard Biesheuvel <ardb@...nel.org>
Powered by blists - more mailing lists