aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/asymmetric/ec.py
diff options
context:
space:
mode:
Diffstat (limited to 'cryptography/hazmat/primitives/asymmetric/ec.py')
-rw-r--r--cryptography/hazmat/primitives/asymmetric/ec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/asymmetric/ec.py b/cryptography/hazmat/primitives/asymmetric/ec.py
index 98eca276..3893cc2f 100644
--- a/cryptography/hazmat/primitives/asymmetric/ec.py
+++ b/cryptography/hazmat/primitives/asymmetric/ec.py
@@ -238,7 +238,7 @@ class EllipticCurvePublicNumbers(object):
self._curve = curve
def public_key(self, backend):
- return backend.elliptic_curve_public_key_from_numbers(self)
+ return backend.load_elliptic_curve_public_numbers(self)
@property
def curve(self):
@@ -268,7 +268,7 @@ class EllipticCurvePrivateNumbers(object):
self._public_numbers = public_numbers
def private_key(self, backend):
- return backend.elliptic_curve_private_key_from_numbers(self)
+ return backend.load_elliptic_curve_private_numbers(self)
@property
def private_value(self):