From 58d3804e3d7b966fbeaf18c39975886f207ef401 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 13 Jul 2022 06:40:24 +0000 Subject: [PATCH] Enable Wycheproof primality tests. --- regress/lib/libcrypto/wycheproof/Makefile | 4 ++-- regress/lib/libcrypto/wycheproof/wycheproof.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/regress/lib/libcrypto/wycheproof/Makefile b/regress/lib/libcrypto/wycheproof/Makefile index 019e2af301d..81e43f66f9f 100644 --- a/regress/lib/libcrypto/wycheproof/Makefile +++ b/regress/lib/libcrypto/wycheproof/Makefile @@ -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) diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index a638d0fdd94..ec22c8aec15 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -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 * Copyright (c) 2018,2019,2022 Theo Buehler @@ -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}, -- 2.20.1