diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-03-25 09:21:18 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-03-25 09:21:18 +0000 |
commit | 5382e59f23221e766c627040bfb8f8b95d392098 (patch) | |
tree | 7d334f44222f1fdbc44f475888cb5d6eacb0e18d | |
parent | d17c7f02cc534cc5eae5cfbe33a17bb98558ee45 (diff) |
Enable FRP256v2 tests
This was previously disabled because tb apparently can't grep. Exercise
this curve as well as part of the new test cases in ECDH wycheproof.
-rw-r--r-- | regress/lib/libcrypto/wycheproof/wycheproof.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index 1213f5ee0e0..b3c9225bb61 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.140 2023/03/25 09:17:14 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.141 2023/03/25 09:21:17 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> * Copyright (c) 2018,2019,2022 Theo Buehler <tb@openbsd.org> @@ -527,6 +527,7 @@ var nids = map[string]int{ "brainpoolP320t1": C.NID_brainpoolP320t1, "brainpoolP384t1": C.NID_brainpoolP384t1, "brainpoolP512t1": C.NID_brainpoolP512t1, + "FRP256v1": C.NID_FRP256v1, "secp160k1": C.NID_secp160k1, "secp160r1": C.NID_secp160r1, "secp160r2": C.NID_secp160r2, @@ -1592,11 +1593,6 @@ func runECDHTest(nid int, variant testVariant, wt *wycheproofTestECDH) bool { } func runECDHTestGroup(algorithm string, variant testVariant, wtg *wycheproofTestGroupECDH) bool { - if wtg.Curve == "FRP256v1" { - fmt.Printf("INFO: Skipping %v test group %v with curve %v and %v encoding...\n", algorithm, wtg.Type, wtg.Curve, wtg.Encoding) - return true - } - fmt.Printf("Running %v test group %v with curve %v and %v encoding...\n", algorithm, wtg.Type, wtg.Curve, wtg.Encoding) |