diff options
Diffstat (limited to 'tests/wycheproof/test_x25519.py')
-rw-r--r-- | tests/wycheproof/test_x25519.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/wycheproof/test_x25519.py b/tests/wycheproof/test_x25519.py index 991daaa4..29579467 100644 --- a/tests/wycheproof/test_x25519.py +++ b/tests/wycheproof/test_x25519.py @@ -19,7 +19,9 @@ from cryptography.hazmat.primitives.asymmetric.x25519 import ( ) @pytest.mark.wycheproof_tests("x25519_test.json") def test_x25519(backend, wycheproof): - assert list(wycheproof.testgroup.items()) == [("curve", "curve25519")] + assert set(wycheproof.testgroup.items()) == { + ("curve", "curve25519"), ("type", "XdhComp") + } private_key = X25519PrivateKey.from_private_bytes( binascii.unhexlify(wycheproof.testcase["private"]) |