aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/utils.py
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2014-01-30 15:28:09 -0800
committerDavid Reid <dreid@dreid.org>2014-02-03 10:05:28 -0800
commit15fd6433ea357fc6d06052db85c0d0140a9c1d13 (patch)
tree726763560e9c3927ea7d3dc839c41ae372b53862 /tests/hazmat/primitives/utils.py
parentc0248b9be0a207fe1b27690d819bd79ac3e1aa84 (diff)
downloadcryptography-15fd6433ea357fc6d06052db85c0d0140a9c1d13.tar.gz
cryptography-15fd6433ea357fc6d06052db85c0d0140a9c1d13.tar.bz2
cryptography-15fd6433ea357fc6d06052db85c0d0140a9c1d13.zip
Don't expose extract and expand on this class yet because we don't know how best to expose verify functionality, continue testing the stages using the private methods.
Diffstat (limited to 'tests/hazmat/primitives/utils.py')
-rw-r--r--tests/hazmat/primitives/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/utils.py b/tests/hazmat/primitives/utils.py
index 2584272a..5a8dc3ab 100644
--- a/tests/hazmat/primitives/utils.py
+++ b/tests/hazmat/primitives/utils.py
@@ -326,7 +326,7 @@ def hkdf_extract_test(backend, algorithm, params):
backend=backend
)
- prk = hkdf.extract(binascii.unhexlify(params["ikm"]))
+ prk = hkdf._extract(binascii.unhexlify(params["ikm"]))
assert prk == binascii.unhexlify(params["prk"])
@@ -340,7 +340,7 @@ def hkdf_expand_test(backend, algorithm, params):
backend=backend
)
- okm = hkdf.expand(binascii.unhexlify(params["prk"]))
+ okm = hkdf._expand(binascii.unhexlify(params["prk"]))
assert okm == binascii.unhexlify(params["okm"])