Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: linux-crypto@vger.kernel.org
Cc: Ard Biesheuvel <ardb@kernel.org>,
	"Jason A . Donenfeld" <Jason@zx2c4.com>,
	Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: [PATCH 0/7] lib/crypto: KUnit tests for unauthenticated AES modes
Date: Sat, 21 Nov 2026 11:53:14 -0800	[thread overview]
Message-ID: <20261121195314.GE1975@quark> (raw)
In-Reply-To: <20261116062849.1071038-1-ebiggers@kernel.org>

On Sun, Nov 15, 2026 at 10:28:42PM -0800, 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 aes-kunit-v1
> 
> This series adds comprehensive KUnit test suites for the remaining AES
> modes that got new library APIs in v7.3: AES-ECB, AES-CBC, AES-CBC-CTS,
> AES-CTR, AES-XCTR, and AES-XTS.
> 
> Most of the test code is placed in a common header file, like it is in
> many of the existing tests.
> 
> Eric Biggers (7):
>   lib/crypto: tests: Add skcipher-test-template.h and
>     gen-skcipher-testvecs.py
>   lib/crypto: tests: Add KUnit test suite for AES-ECB
>   lib/crypto: tests: Add KUnit test suite for AES-CBC
>   lib/crypto: tests: Add KUnit test suite for AES-CBC-CTS
>   lib/crypto: tests: Add KUnit test suite for AES-CTR
>   lib/crypto: tests: Add KUnit test suite for AES-XCTR
>   lib/crypto: tests: Add KUnit test suite for AES-XTS
> 
>  lib/crypto/.kunitconfig                   |    4 +
>  lib/crypto/tests/Kconfig                  |   36 +
>  lib/crypto/tests/Makefile                 |    4 +
>  lib/crypto/tests/aead-test-template.h     |   67 +-
>  lib/crypto/tests/aes_cbc_cts_kunit.c      |  239 ++++
>  lib/crypto/tests/aes_cbc_kunit.c          |  137 +++
>  lib/crypto/tests/aes_ctr_kunit.c          |  196 ++++
>  lib/crypto/tests/aes_ecb_kunit.c          |  227 ++++
>  lib/crypto/tests/aes_xctr_kunit.c         |  149 +++
>  lib/crypto/tests/aes_xts_kunit.c          |  365 ++++++
>  lib/crypto/tests/skcipher-test-template.h | 1241 +++++++++++++++++++++
>  lib/crypto/tests/sp800-38a-data.h         |   36 +
>  lib/crypto/tests/test-utils.h             |   25 +
>  scripts/crypto/gen-skcipher-testvecs.py   |  167 +++
>  14 files changed, 2846 insertions(+), 47 deletions(-)
>  create mode 100644 lib/crypto/tests/aes_cbc_cts_kunit.c
>  create mode 100644 lib/crypto/tests/aes_cbc_kunit.c
>  create mode 100644 lib/crypto/tests/aes_ctr_kunit.c
>  create mode 100644 lib/crypto/tests/aes_ecb_kunit.c
>  create mode 100644 lib/crypto/tests/aes_xctr_kunit.c
>  create mode 100644 lib/crypto/tests/aes_xts_kunit.c
>  create mode 100644 lib/crypto/tests/skcipher-test-template.h
>  create mode 100644 lib/crypto/tests/sp800-38a-data.h
>  create mode 100755 scripts/crypto/gen-skcipher-testvecs.py

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

- Eric

      parent reply	other threads:[~2026-11-21 19:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16  6:28 [PATCH 0/7] lib/crypto: KUnit tests for unauthenticated AES modes Eric Biggers
2026-11-16  6:28 ` [PATCH 1/7] lib/crypto: tests: Add skcipher-test-template.h and gen-skcipher-testvecs.py Eric Biggers
2026-11-16  6:28 ` [PATCH 2/7] lib/crypto: tests: Add KUnit test suite for AES-ECB Eric Biggers
2026-11-16  6:28 ` [PATCH 3/7] lib/crypto: tests: Add KUnit test suite for AES-CBC Eric Biggers
2026-11-16  6:28 ` [PATCH 4/7] lib/crypto: tests: Add KUnit test suite for AES-CBC-CTS Eric Biggers
2026-11-16  6:28 ` [PATCH 5/7] lib/crypto: tests: Add KUnit test suite for AES-CTR Eric Biggers
2026-11-16  6:28 ` [PATCH 6/7] lib/crypto: tests: Add KUnit test suite for AES-XCTR Eric Biggers
2026-11-16  6:28 ` [PATCH 7/7] lib/crypto: tests: Add KUnit test suite for AES-XTS Eric Biggers
2026-11-21 19:53 ` Eric Biggers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261121195314.GE1975@quark \
    --to=ebiggers@kernel.org \
    --cc=Jason@zx2c4.com \
    --cc=ardb@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox