summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-07-13 06:40:24 +0000
committertb <>2022-07-13 06:40:24 +0000
commit7a5008ebfb96a88e3667f3e8fe5d5d8d01d93a00 (patch)
tree71cd673cf7fa6f60059a44e068c63ef19db65324 /src
parent0b515c38427ea4d29ad116277c104ea683c8e00a (diff)
downloadopenbsd-7a5008ebfb96a88e3667f3e8fe5d5d8d01d93a00.tar.gz
openbsd-7a5008ebfb96a88e3667f3e8fe5d5d8d01d93a00.tar.bz2
openbsd-7a5008ebfb96a88e3667f3e8fe5d5d8d01d93a00.zip
Enable Wycheproof primality tests.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/wycheproof/Makefile4
-rw-r--r--src/regress/lib/libcrypto/wycheproof/wycheproof.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/Makefile b/src/regress/lib/libcrypto/wycheproof/Makefile
index 019e2af301..81e43f66f9 100644
--- a/src/regress/lib/libcrypto/wycheproof/Makefile
+++ b/src/regress/lib/libcrypto/wycheproof/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.5 2022/07/08 06:25:39 tb Exp $ 1# $OpenBSD: Makefile,v 1.6 2022/07/13 06:40:24 tb Exp $
2 2
3WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/ 3WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/
4 4
@@ -9,7 +9,7 @@ regress:
9 @echo SKIPPED 9 @echo SKIPPED
10.else 10.else
11 11
12# REGRESS_TARGETS += regress-wycheproof-primes 12REGRESS_TARGETS += regress-wycheproof-primes
13 13
14. if exists(/usr/local/bin/go) 14. if exists(/usr/local/bin/go)
15 15
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
index a638d0fdd9..ec22c8aec1 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.127 2022/07/07 20:01:20 tb Exp $ */ 1/* $OpenBSD: wycheproof.go,v 1.128 2022/07/13 06:40:24 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>
@@ -2923,7 +2923,7 @@ func main() {
2923 {"HKDF", "hkdf_sha*_test.json", Normal}, 2923 {"HKDF", "hkdf_sha*_test.json", Normal},
2924 {"HMAC", "hmac_sha*_test.json", Normal}, 2924 {"HMAC", "hmac_sha*_test.json", Normal},
2925 {"KW", "kw_test.json", Normal}, 2925 {"KW", "kw_test.json", Normal},
2926 {"Primality test", "primality_test.json", Skip}, // XXX 2926 {"Primality test", "primality_test.json", Normal},
2927 {"RSA", "rsa_*test.json", Normal}, 2927 {"RSA", "rsa_*test.json", Normal},
2928 {"X25519", "x25519_test.json", Normal}, 2928 {"X25519", "x25519_test.json", Normal},
2929 {"X25519 ASN", "x25519_asn_test.json", Skip}, 2929 {"X25519 ASN", "x25519_asn_test.json", Skip},