From: tb Date: Tue, 28 Feb 2023 10:43:21 +0000 (+0000) Subject: Skip FRP256v1 curve in ECDH tests. We do not support it. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ea0c865715f8aeceb7e30d816e812d3becc23480;p=openbsd Skip FRP256v1 curve in ECDH tests. We do not support it. --- diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index 3bc6d037fad..476fef190fb 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.131 2022/11/18 18:32:14 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.132 2023/02/28 10:43:21 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing * Copyright (c) 2018,2019,2022 Theo Buehler @@ -1649,6 +1649,11 @@ 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)