diff options
author | tb <> | 2023-02-28 10:43:21 +0000 |
---|---|---|
committer | tb <> | 2023-02-28 10:43:21 +0000 |
commit | 40222853747d5ba74e59a727e0e79c8b3c87ccdb (patch) | |
tree | b5465ab0a179b516bb11cbab92ea0c824f77d0b4 | |
parent | 31981a76b5fce310c7e0a65e2bb3c7e933121cfd (diff) | |
download | openbsd-40222853747d5ba74e59a727e0e79c8b3c87ccdb.tar.gz openbsd-40222853747d5ba74e59a727e0e79c8b3c87ccdb.tar.bz2 openbsd-40222853747d5ba74e59a727e0e79c8b3c87ccdb.zip |
Skip FRP256v1 curve in ECDH tests. We do not support it.
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index 3bc6d037fa..476fef190f 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.131 2022/11/18 18:32:14 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.132 2023/02/28 10:43:21 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2018,2019,2022 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018,2019,2022 Theo Buehler <tb@openbsd.org> |
@@ -1649,6 +1649,11 @@ func runECDHTest(nid int, variant testVariant, wt *wycheproofTestECDH) bool { | |||
1649 | } | 1649 | } |
1650 | 1650 | ||
1651 | func runECDHTestGroup(algorithm string, variant testVariant, wtg *wycheproofTestGroupECDH) bool { | 1651 | func runECDHTestGroup(algorithm string, variant testVariant, wtg *wycheproofTestGroupECDH) bool { |
1652 | if wtg.Curve == "FRP256v1" { | ||
1653 | fmt.Printf("INFO: Skipping %v test group %v with curve %v and %v encoding...\n", algorithm, wtg.Type, wtg.Curve, wtg.Encoding) | ||
1654 | return true | ||
1655 | } | ||
1656 | |||
1652 | fmt.Printf("Running %v test group %v with curve %v and %v encoding...\n", | 1657 | fmt.Printf("Running %v test group %v with curve %v and %v encoding...\n", |
1653 | algorithm, wtg.Type, wtg.Curve, wtg.Encoding) | 1658 | algorithm, wtg.Type, wtg.Curve, wtg.Encoding) |
1654 | 1659 | ||