[PATCH v7 3/8] crypto: Add ML-DSA-44 pure rejection test vectors as a kunit test

David Howells
2025-11-06T17:45:28Z

Add the "Pure rejection tests" from Stephan Mueller's Leancrypto
implementation of ML-DSA/Dilithium 44 to the kernel as a kunit test.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Stephan Mueller <smueller@chronox.de>
cc: Eric Biggers <ebiggers@kernel.org>
cc: Jason A. Donenfeld <Jason@zx2c4.com>
cc: Ard Biesheuvel <ardb@kernel.org>
cc: Herbert Xu <herbert@gondor.apana.org.au>
cc: linux-crypto@vger.kernel.org
---
crypto/ml_dsa/Kconfig | 15 +
crypto/ml_dsa/Makefile | 2 +
.../dilithium_pure_rejection_vectors_44.h | 489 ++++++++++++++++++
crypto/ml_dsa/dilithium_selftest.c | 112 ++++
4 files changed, 618 insertions(+)
create mode 100644 crypto/ml_dsa/dilithium_pure_rejection_vectors_44.h
create mode 100644 crypto/ml_dsa/dilithium_selftest.c

diff --git a/crypto/ml_dsa/Kconfig b/crypto/ml_dsa/Kconfig
index cc0567c5b990..d6e31d9ad77f 100644
--- a/crypto/ml_dsa/Kconfig
+++ b/crypto/ml_dsa/Kconfig
@@ -14,4 +14,19 @@ config CRYPTO_DILITHIUM_65
config CRYPTO_DILITHIUM_87
bool "Enable Dilithium-87 support"

+config CRYPTO_ML_DSA_TEST
+ tristate "ML-DSA/Dilithium KUnit tests"
+ depends on KUNIT
+ default KUNIT_ALL_TESTS
+ help
+ This options enables the KUnit tests for ML-DSA.
+
+ KUnit tests run during boot and output the results to the debug
+ log in TAP format (https://testanything.org/). Only useful for
+ kernel devs running KUnit test harness and are not for inclusion
+ into a production build.
+
+ For more information on KUnit and unit tests in general, refer
+ to the KUnit documentation in Documentation/dev-tools/kunit/.
+
endif
diff --git a/crypto/ml_dsa/Makefile b/crypto/ml_dsa/Makefile
index d420a8ba6033..dd05ce75f79f 100644
--- a/crypto/ml_dsa/Makefile
+++ b/crypto/ml_dsa/Makefile
@@ -16,3 +16,5 @@ ml_dsa-$(CONFIG_CRYPTO_DILITHIUM_65) += dilithium_65.o
ml_dsa-$(CONFIG_CRYPTO_DILITHIUM_44) += dilithium_44.o

obj-$(CONFIG_CRYPTO_ML_DSA) += ml_dsa.o
+
+obj-$(CONFIG_CRYPTO_ML_DSA_TEST) += dilithium_selftest.o
diff --git a/crypto/ml_dsa/dilithium_pure_rejection_vectors_44.h b/crypto/ml_dsa/dilithium_pure_rejection_vectors_44.h
new file mode 100644
index 000000000000..e452cad32194
--- /dev/null
+++ b/crypto/ml_dsa/dilithium_pure_rejection_vectors_44.h
@@ -0,0 +1,489 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
+ {
+ .what = "pure rejection vector",
+ .algo = "ml-dsa44",
+ .pk_len = DILITHIUM44_PUBLICKEYBYTES,
+ .pk = (const u8[DILITHIUM44_PUBLICKEYBYTES]){
+ 0x8f, 0x61, 0x67, 0xa9, 0x7c, 0x61, 0xc2, 0xf2,
+ 0x87, 0xe2, 0x28, 0xf8, 0x44, 0x80, 0x6f, 0xb0,
+ 0x10, 0xc1, 0x14, 0xf6, 0x88, 0x42, 0x76, 0xbe,
+ 0x05, 0xd2, 0x56, 0xa0, 0xb7, 0x46, 0xcf, 0xc5,
+ 0x76, 0x0a, 0x52, 0xfe, 0xa3, 0x3c, 0x05, 0x6e,
+ 0xd5, 0xd3, 0xbd, 0x80, 0x03, 0x29, 0x25, 0x96,
+ 0xdf, 0xa9, 0x5b, 0x12, 0x42, 0x89, 0x6e, 0x03,
+ 0x2c, 0x42, 0x64, 0xee, 0xc7, 0xf7, 0x55, 0xfe,
+ 0xfd, 0x15, 0x74, 0xee, 0x2d, 0xb3, 0xbf, 0xf2,
+ 0x24, 0xe7, 0x35, 0x45, 0x77, 0x67, 0x44, 0xd2,
+ 0x0c, 0x43, 0xfc, 0x7b, 0x47, 0x56, 0xad, 0xc5,
+ 0xe7, 0x37, 0x49, 0x21, 0x12, 0x57, 0x7f, 0xca,
+ 0x7f, 0x5d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 0x1a, 0xcd, 0x09, 0xdc, 0x26, 0x98, 0x50,
+ 0x11, 0x34, 0x39, 0x50, 0x5a, 0x70, 0x79, 0x85,
+ 0xca, 0xd2, 0xf2, 0x0c, 0x0d, 0x12, 0x1f, 0x2e,
+ 0x41, 0x46, 0x51, 0x72, 0x75, 0x78, 0x8c, 0xa4,
+ 0xaf, 0xba, 0xca, 0xd3, 0xdf, 0xea, 0xf8, 0x09,
+ 0x0b, 0x36, 0x45, 0x4f, 0x77, 0x83, 0xae, 0xbc,
+ 0xc5, 0xce, 0xe1, 0xf6, 0x1d, 0x1e, 0x38, 0x56,
+ 0x9c, 0x9f, 0xb1, 0xbd, 0xda, 0xe7, 0xf0, 0xf4,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x0b, 0x1f, 0x2c, 0x38,
+ },
+ },
diff --git a/crypto/ml_dsa/dilithium_selftest.c b/crypto/ml_dsa/dilithium_selftest.c
new file mode 100644
index 000000000000..60955f4021dd
--- /dev/null
+++ b/crypto/ml_dsa/dilithium_selftest.c
@@ -0,0 +1,112 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
+/*
+ * Copyright (C) 2025 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells (dhowells@redhat.com)
+ */
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
+#include <linux/module.h>
+#include <crypto/sig.h>
+#include <kunit/test.h>
+#include "dilithium.h"
+
+MODULE_LICENSE("Dual BSD/GPL");
+MODULE_DESCRIPTION("Leancrypto ML-DSA/Dilithium tests");
+MODULE_AUTHOR("David Howells <dhowells@redhat.com>");
+
+struct dilithium_testvector {
+ u16 pk_len;
+ u16 msg_len;
+ u16 sig_len;
+ const char *what;
+ const char *algo;
+ const u8 *pk;
+ const u8 *sig;
+ const u8 *msg;
+};
+
+/*
+ * Use rejection test vector which will cover all rejection code paths
+ * as generated with the dilithium_edge_case_tester.
+ *
+ * For FIPS 140: The test vectors cover the requirements of IG 10.3.A.
+ */
+static const struct dilithium_testvector dilithium44_testvectors[] = {
+#include "dilithium_pure_rejection_vectors_44.h"
+};
+
+/*
+ * Allow kunit to free a crypto signature processing object.
+ */
+static void __kunit_crypto_free_sig(void *sig)
+{
+ crypto_free_sig(sig);
+}
+
+/*
+ * Allow kunit to allocate a crypto signature processing object.
+ */
+static struct crypto_sig *kunit_crypto_alloc_sig(struct kunit *test,
+ const char *alg_name,
+ u32 type, u32 mask)
+{
+ struct crypto_sig *sig;
+
+ sig = crypto_alloc_sig(alg_name, 0, 0);
+ KUNIT_ASSERT_NOT_ERR_OR_NULL(test, sig);
+
+ kunit_add_action_or_reset(test, __kunit_crypto_free_sig, sig);
+ return sig;
+}
+
+/*
+ * Force the freeing of a signature.
+ */
+static void kunit_crypto_free_sig(struct kunit *test, void *sig)
+{
+ kunit_release_action(test, __kunit_crypto_free_sig, sig);
+}
+
+static void dilithium_sigver_test_one(struct kunit *test, int index,
+ const struct dilithium_testvector *tc)
+{
+ struct crypto_sig *sig;
+ int ret;
+
+ sig = kunit_crypto_alloc_sig(test, tc->algo, 0, 0);
+ if (IS_ERR(sig))
+ return;
+
+ ret = crypto_sig_set_pubkey(sig, tc->pk, tc->pk_len);
+ KUNIT_ASSERT_EQ_MSG(test, ret, 0, "Can't set public key");
+
+ ret = crypto_sig_verify(sig, tc->sig, tc->sig_len, tc->msg, tc->msg_len);
+ KUNIT_ASSERT_EQ_MSG(test, ret, 0, "Verify failed");
+
+ kunit_crypto_free_sig(test, sig);
+}
+
+static void dilithium44_kunit_test(struct kunit *test)
+{
+ const struct dilithium_testvector *tc = dilithium44_testvectors;
+ int count = ARRAY_SIZE(dilithium44_testvectors);
+
+ for (int index = 0; index < count; index++) {
+ dilithium_sigver_test_one(test, index, &tc[index]);
+ }
+
+ KUNIT_SUCCEED(test);
+}
+
+static struct kunit_case __refdata dilithium_kunit_cases[] = {
+ KUNIT_CASE(dilithium44_kunit_test),
+ {}
+};
+
+static struct kunit_suite dilithium_kunit_suite = {
+ .name = "ml-dsa",
+ .test_cases = dilithium_kunit_cases,
+};
+
+kunit_test_suites(&dilithium_kunit_suite);