diff options
author | David Reid <dreid@dreid.org> | 2014-01-30 15:28:09 -0800 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2014-02-03 10:05:28 -0800 |
commit | 15fd6433ea357fc6d06052db85c0d0140a9c1d13 (patch) | |
tree | 726763560e9c3927ea7d3dc839c41ae372b53862 /tests/hazmat/primitives/test_hkdf.py | |
parent | c0248b9be0a207fe1b27690d819bd79ac3e1aa84 (diff) | |
download | cryptography-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/test_hkdf.py')
-rw-r--r-- | tests/hazmat/primitives/test_hkdf.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/hazmat/primitives/test_hkdf.py b/tests/hazmat/primitives/test_hkdf.py index f3345b05..66993f0e 100644 --- a/tests/hazmat/primitives/test_hkdf.py +++ b/tests/hazmat/primitives/test_hkdf.py @@ -71,24 +71,6 @@ class TestHKDF(object): backend=backend ) - hkdf.extract(b"\x01" * 16) - - with pytest.raises(exceptions.AlreadyFinalized): - hkdf.extract(b"\x02" * 16) - - hkdf = HKDF( - hashes.SHA256(), - 16, - salt=None, - info=None, - backend=backend - ) - - hkdf.expand(b"\x01" * 16) - - with pytest.raises(exceptions.AlreadyFinalized): - hkdf.expand(b"\x02" * 16) - def test_verify(self, backend): hkdf = HKDF( hashes.SHA256(), |