Re: [PATCH] lib/crypto: sha256: Add tests for HMAC-SHA224 and HMAC-SHA256

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 08, 2025 at 01:09:17PM +1000, Ard Biesheuvel wrote:
> On Wed, 25 Jun 2025 at 17:12, Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
> >
> > Now that there's a library API for HMAC-SHA224 and HMAC-SHA256, update
> > sha224_kunit and sha256_kunit to test it.  This mirrors the tests for
> > HMAC-SHA384 and HMAC-SHA512 in sha384_kunit and sha512_kunit.  The test
> > vectors were generated using scripts/crypto/gen-hash-testvecs.py.
> >
> > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> > ---
> >
> 
> 
> Acked-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
> 

Thanks!  FYI, the latest version of the tests is in
"[PATCH v4 0/4] KUnit tests for SHA-2 and Poly1305"
(https://lore.kernel.org/linux-crypto/20250706232817.179500-1-ebiggers@xxxxxxxxxx/).
Sorry for the confusion -- this was an incremental patch, which was
superseded when I started a series for the tests from a clean state.

- Eric




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux