diff options
author | David Reid <dreid@dreid.org> | 2014-01-27 16:33:31 -0800 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2014-02-03 10:05:26 -0800 |
commit | 14367303f16bc271f4a8f11f09b02342f44c3a7e (patch) | |
tree | e5b0cced1281ef2c7edaa8a9d5d4f77f1ddb41e5 /tests/hazmat/primitives/test_hkdf_vectors.py | |
parent | 9b24cb8a2c7324696adc7a595e4a143f23e5f2bc (diff) | |
download | cryptography-14367303f16bc271f4a8f11f09b02342f44c3a7e.tar.gz cryptography-14367303f16bc271f4a8f11f09b02342f44c3a7e.tar.bz2 cryptography-14367303f16bc271f4a8f11f09b02342f44c3a7e.zip |
Use the nist vector loader.
Diffstat (limited to 'tests/hazmat/primitives/test_hkdf_vectors.py')
-rw-r--r-- | tests/hazmat/primitives/test_hkdf_vectors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/primitives/test_hkdf_vectors.py b/tests/hazmat/primitives/test_hkdf_vectors.py index d2ac79a8..5af4c14e 100644 --- a/tests/hazmat/primitives/test_hkdf_vectors.py +++ b/tests/hazmat/primitives/test_hkdf_vectors.py @@ -20,7 +20,7 @@ import pytest from cryptography.hazmat.primitives import hashes from .utils import generate_hkdf_test -from ...utils import load_hkdf_vectors +from ...utils import load_nist_vectors @pytest.mark.supported( @@ -30,7 +30,7 @@ from ...utils import load_hkdf_vectors @pytest.mark.hash class TestHKDFSHA1(object): test_HKDFSHA1 = generate_hkdf_test( - load_hkdf_vectors, + load_nist_vectors, os.path.join("KDF"), ["rfc-5869-HKDF-SHA1.txt"], hashes.SHA1() @@ -44,7 +44,7 @@ class TestHKDFSHA1(object): @pytest.mark.hash class TestHKDFSHA256(object): test_HKDFSHA1 = generate_hkdf_test( - load_hkdf_vectors, + load_nist_vectors, os.path.join("KDF"), ["rfc-5869-HKDF-SHA256.txt"], hashes.SHA256() |