Enable Wycheproof primality tests.
authortb <tb@openbsd.org>
Wed, 13 Jul 2022 06:40:24 +0000 (06:40 +0000)
committertb <tb@openbsd.org>
Wed, 13 Jul 2022 06:40:24 +0000 (06:40 +0000)
regress/lib/libcrypto/wycheproof/Makefile
regress/lib/libcrypto/wycheproof/wycheproof.go

index 019e2af..81e43f6 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2022/07/08 06:25:39 tb Exp $
+# $OpenBSD: Makefile,v 1.6 2022/07/13 06:40:24 tb Exp $
 
 WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/
 
@@ -9,7 +9,7 @@ regress:
        @echo SKIPPED
 .else
 
-REGRESS_TARGETS += regress-wycheproof-primes
+REGRESS_TARGETS += regress-wycheproof-primes
 
 . if exists(/usr/local/bin/go)
 
index a638d0f..ec22c8a 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: wycheproof.go,v 1.127 2022/07/07 20:01:20 tb Exp $ */
+/* $OpenBSD: wycheproof.go,v 1.128 2022/07/13 06:40:24 tb Exp $ */
 /*
  * Copyright (c) 2018 Joel Sing <jsing@openbsd.org>
  * Copyright (c) 2018,2019,2022 Theo Buehler <tb@openbsd.org>
@@ -2923,7 +2923,7 @@ func main() {
                {"HKDF", "hkdf_sha*_test.json", Normal},
                {"HMAC", "hmac_sha*_test.json", Normal},
                {"KW", "kw_test.json", Normal},
-               {"Primality test", "primality_test.json", Skip}, // XXX
+               {"Primality test", "primality_test.json", Normal},
                {"RSA", "rsa_*test.json", Normal},
                {"X25519", "x25519_test.json", Normal},
                {"X25519 ASN", "x25519_asn_test.json", Skip},