lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251130024401.GC12664@sol>
Date: Sat, 29 Nov 2025 18:44:01 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
	Ard Biesheuvel <ardb@...nel.org>,
	"Jason A. Donenfeld" <Jason@...c4.com>,
	Herbert Xu <herbert@...dor.apana.org.au>,
	David Howells <dhowells@...hat.com>
Subject: [GIT PULL] Crypto library tests for 6.19

This is based on the "Crypto library updates for 6.19" pull request.

The following changes since commit 2dbb6f4a25d38fcf7d6c1c682e45a13e6bbe9562:

  fscrypt: Drop obsolete recommendation to enable optimized POLYVAL (2025-11-11 11:03:39 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-tests-for-linus

for you to fetch changes up to 578fe3ff3d5bc9d851d597bb12dd74c22ad55ff8:

  crypto: testmgr - Remove polyval tests (2025-11-11 11:07:52 -0800)

----------------------------------------------------------------

- Add KUnit test suites for SHA-3, BLAKE2b, and POLYVAL. These are the
  algorithms that have new crypto library interfaces this cycle.

- Remove the crypto_shash POLYVAL tests. They're no longer needed
  because POLYVAL support was removed from crypto_shash. Better
  POLYVAL test coverage is now provided via the KUnit test suite.

----------------------------------------------------------------
David Howells (1):
      lib/crypto: tests: Add SHA3 kunit tests

Eric Biggers (4):
      lib/crypto: tests: Add KUnit tests for BLAKE2b
      lib/crypto: tests: Add additional SHAKE tests
      lib/crypto: tests: Add KUnit tests for POLYVAL
      crypto: testmgr - Remove polyval tests

 Documentation/crypto/sha3.rst       |  11 +
 crypto/tcrypt.c                     |   4 -
 crypto/testmgr.c                    |   6 -
 crypto/testmgr.h                    | 171 ---------------
 lib/crypto/tests/Kconfig            |  29 +++
 lib/crypto/tests/Makefile           |   3 +
 lib/crypto/tests/blake2b-testvecs.h | 342 +++++++++++++++++++++++++++++
 lib/crypto/tests/blake2b_kunit.c    | 133 ++++++++++++
 lib/crypto/tests/polyval-testvecs.h | 186 ++++++++++++++++
 lib/crypto/tests/polyval_kunit.c    | 223 +++++++++++++++++++
 lib/crypto/tests/sha3-testvecs.h    | 249 +++++++++++++++++++++
 lib/crypto/tests/sha3_kunit.c       | 422 ++++++++++++++++++++++++++++++++++++
 scripts/crypto/gen-hash-testvecs.py | 101 +++++++--
 13 files changed, 1682 insertions(+), 198 deletions(-)
 create mode 100644 lib/crypto/tests/blake2b-testvecs.h
 create mode 100644 lib/crypto/tests/blake2b_kunit.c
 create mode 100644 lib/crypto/tests/polyval-testvecs.h
 create mode 100644 lib/crypto/tests/polyval_kunit.c
 create mode 100644 lib/crypto/tests/sha3-testvecs.h
 create mode 100644 lib/crypto/tests/sha3_kunit.c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ