summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/wycheproof/wycheproof.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
index a04540f6f3..eb0088b297 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.97 2019/11/27 21:20:03 tb Exp $ */ 1/* $OpenBSD: wycheproof.go,v 1.98 2019/11/27 21:26:31 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 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2018, 2019 Theo Buehler <tb@openbsd.org>
@@ -2324,6 +2324,8 @@ func runTestVectors(path string, webcrypto bool) bool {
2324 fallthrough 2324 fallthrough
2325 case "RSASig": 2325 case "RSASig":
2326 wtg = &wycheproofTestGroupRSA{} 2326 wtg = &wycheproofTestGroupRSA{}
2327 case "XDH":
2328 fallthrough
2327 case "X25519": 2329 case "X25519":
2328 wtg = &wycheproofTestGroupX25519{} 2330 wtg = &wycheproofTestGroupX25519{}
2329 default: 2331 default:
@@ -2403,6 +2405,8 @@ func runTestVectors(path string, webcrypto bool) bool {
2403 if !runRSATestGroup(wtv.Algorithm, wtg.(*wycheproofTestGroupRSA)) { 2405 if !runRSATestGroup(wtv.Algorithm, wtg.(*wycheproofTestGroupRSA)) {
2404 success = false 2406 success = false
2405 } 2407 }
2408 case "XDH":
2409 fallthrough
2406 case "X25519": 2410 case "X25519":
2407 if !runX25519TestGroup(wtv.Algorithm, wtg.(*wycheproofTestGroupX25519)) { 2411 if !runX25519TestGroup(wtv.Algorithm, wtg.(*wycheproofTestGroupX25519)) {
2408 success = false 2412 success = false
@@ -2440,7 +2444,7 @@ func main() {
2440 {"ECDSAWebCrypto", "ecdsa_w*_test.json"}, 2444 {"ECDSAWebCrypto", "ecdsa_w*_test.json"},
2441 {"KW", "kw_test.json"}, 2445 {"KW", "kw_test.json"},
2442 {"RSA", "rsa_*test.json"}, 2446 {"RSA", "rsa_*test.json"},
2443 {"X25519", "x25519_*test.json"}, 2447 {"X25519", "x25519_test.json"},
2444 } 2448 }
2445 2449
2446 success := true 2450 success := true