summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress')
-rw-r--r--src/regress/lib/libcrypto/wycheproof/wycheproof.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
index 8a8cb2ab1b..c147d6929c 100644
--- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go
+++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
@@ -1,4 +1,4 @@
1/* $OpenBSD: wycheproof.go,v 1.198 2026/01/22 09:01:05 tb Exp $ */ 1/* $OpenBSD: wycheproof.go,v 1.199 2026/01/22 09:02:34 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018,2023 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018,2023 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2018,2019,2022-2025 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2018,2019,2022-2025 Theo Buehler <tb@openbsd.org>
@@ -2458,6 +2458,10 @@ func runMLKEMDecapsValidationTest(rank C.int, wt *wycheproofTestMLKEM) bool {
2458 return true 2458 return true
2459} 2459}
2460 2460
2461func runMLKEMKeyGenTest(rank C.int, wt *wycheproofTestMLKEM) bool {
2462 return true
2463}
2464
2461func (wtg *wycheproofTestGroupMLKEM) run(algorithm string, variant testVariant) bool { 2465func (wtg *wycheproofTestGroupMLKEM) run(algorithm string, variant testVariant) bool {
2462 var rank C.int 2466 var rank C.int
2463 2467
@@ -2484,6 +2488,8 @@ func (wtg *wycheproofTestGroupMLKEM) run(algorithm string, variant testVariant)
2484 runTest = runMLKEMEncapsTestGroup 2488 runTest = runMLKEMEncapsTestGroup
2485 case "MLKEMDecapsValidationTest": 2489 case "MLKEMDecapsValidationTest":
2486 runTest = runMLKEMDecapsValidationTest 2490 runTest = runMLKEMDecapsValidationTest
2491 case "MLKEMKeyGen":
2492 runTest = runMLKEMKeyGenTest
2487 default: 2493 default:
2488 log.Fatalf("Unknown ML-KEM test type %v", wtg.Type) 2494 log.Fatalf("Unknown ML-KEM test type %v", wtg.Type)
2489 } 2495 }