aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_ec.py
diff options
context:
space:
mode:
authorNick Bastin <nick.bastin@gmail.com>2015-12-19 10:43:13 -0800
committerNick Bastin <nick.bastin@gmail.com>2015-12-19 10:43:13 -0800
commit4594773bdc8145aa599e18a2119948d061b50b13 (patch)
treecb1b58308edd44293751d97ccb71e33d1eb16e97 /tests/hazmat/primitives/test_ec.py
parent06042de08fb9ff549b9c9cb7244e7f27ff57eece (diff)
parente3f46c6d228161957e0549bfa838ba8791c1bb36 (diff)
downloadcryptography-4594773bdc8145aa599e18a2119948d061b50b13.tar.gz
cryptography-4594773bdc8145aa599e18a2119948d061b50b13.tar.bz2
cryptography-4594773bdc8145aa599e18a2119948d061b50b13.zip
Merge pull request #1 from pyca/master
Sync
Diffstat (limited to 'tests/hazmat/primitives/test_ec.py')
-rw-r--r--tests/hazmat/primitives/test_ec.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py
index a0417fbd..86132678 100644
--- a/tests/hazmat/primitives/test_ec.py
+++ b/tests/hazmat/primitives/test_ec.py
@@ -19,7 +19,7 @@ from cryptography.hazmat.backends.interfaces import (
from cryptography.hazmat.primitives import hashes, serialization
from cryptography.hazmat.primitives.asymmetric import ec
from cryptography.hazmat.primitives.asymmetric.utils import (
- encode_rfc6979_signature
+ encode_dss_signature
)
from .fixtures_ec import EC_KEY_SECP384R1
@@ -434,7 +434,7 @@ class TestECDSAVectors(object):
curve_type()
).public_key(backend)
- signature = encode_rfc6979_signature(vector['r'], vector['s'])
+ signature = encode_dss_signature(vector['r'], vector['s'])
verifier = key.verifier(
signature,
@@ -463,7 +463,7 @@ class TestECDSAVectors(object):
curve_type()
).public_key(backend)
- signature = encode_rfc6979_signature(vector['r'], vector['s'])
+ signature = encode_dss_signature(vector['r'], vector['s'])
verifier = key.verifier(
signature,