summaryrefslogtreecommitdiffstats
path: root/regress/lib/libssl/tlsfuzzer
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-10-07 13:31:00 +0000
committertb <tb@openbsd.org>2020-10-07 13:31:00 +0000
commit9bc11146e3c7a898446aa8e470d101a8b949e8d0 (patch)
tree8c2ec2a28ff352c928aeac3ad3477d28e3d45985 /regress/lib/libssl/tlsfuzzer
parentDocument that `a_p' is always curproc by using a KASSERT(). (diff)
downloadwireguard-openbsd-9bc11146e3c7a898446aa8e470d101a8b949e8d0.tar.xz
wireguard-openbsd-9bc11146e3c7a898446aa8e470d101a8b949e8d0.zip
add arguments to skip a bunch of x448 tests
Diffstat (limited to 'regress/lib/libssl/tlsfuzzer')
-rw-r--r--regress/lib/libssl/tlsfuzzer/tlsfuzzer.py21
1 files changed, 18 insertions, 3 deletions
diff --git a/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py b/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py
index 374c8002418..041f348ca20 100644
--- a/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py
+++ b/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py
@@ -1,4 +1,4 @@
-# $OpenBSD: tlsfuzzer.py,v 1.20 2020/09/25 19:50:45 tb Exp $
+# $OpenBSD: tlsfuzzer.py,v 1.21 2020/10/07 13:31:00 tb Exp $
#
# Copyright (c) 2020 Theo Buehler <tb@openbsd.org>
#
@@ -224,8 +224,23 @@ tls13_failing_tests = TestGroup("failing TLSv1.3 tests", [
# With X25519, we accept weak peer public keys and fail when we actually
# compute the keyshare. Other tests seem to indicate that we could be
# stricter about what keyshares we accept.
- Test("test-tls13-crfg-curves.py"),
- Test("test-tls13-ecdhe-curves.py"),
+ Test("test-tls13-crfg-curves.py", [
+ '-e', 'all zero x448 key share',
+ '-e', 'empty x448 key share',
+ '-e', 'sanity x448 with compression ansiX962_compressed_char2',
+ '-e', 'sanity x448 with compression ansiX962_compressed_prime',
+ '-e', 'sanity x448 with compression uncompressed',
+ '-e', 'too big x448 key share',
+ '-e', 'too small x448 key share',
+ '-e', 'x448 key share of "1"',
+ ]),
+ Test("test-tls13-ecdhe-curves.py", [
+ '-e', 'sanity - x448',
+ '-e', 'x448 - key share from other curve',
+ '-e', 'x448 - point at infinity',
+ '-e', 'x448 - right 0-padded key_share',
+ '-e', 'x448 - right-truncated key_share',
+ ]),
# https://github.com/openssl/openssl/issues/8369
Test("test-tls13-obsolete-curves.py"),