aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wycheproof/test_x25519.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wycheproof/test_x25519.py')
-rw-r--r--tests/wycheproof/test_x25519.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wycheproof/test_x25519.py b/tests/wycheproof/test_x25519.py
index 5e6253ce..0727ec39 100644
--- a/tests/wycheproof/test_x25519.py
+++ b/tests/wycheproof/test_x25519.py
@@ -23,7 +23,7 @@ from cryptography.hazmat.primitives.asymmetric.x25519 import (
def test_x25519(backend, wycheproof):
assert list(wycheproof.testgroup.items()) == [("curve", "curve25519")]
- private_key = X25519PrivateKey._from_private_bytes(
+ private_key = X25519PrivateKey.from_private_bytes(
binascii.unhexlify(wycheproof.testcase["private"])
)
public_key = X25519PublicKey.from_public_bytes(