diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-07 08:41:51 -0430 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-07 08:41:51 -0430 |
commit | 4fc597d9990bdf17f714ae1a3a3f759e4039e4a9 (patch) | |
tree | 6af9a03335ec75dd091b2b300406a5c113389183 /tests/hazmat/primitives/test_idea.py | |
parent | a372db375a34b57fe8efba331b548247a3c42d1a (diff) | |
download | cryptography-4fc597d9990bdf17f714ae1a3a3f759e4039e4a9.tar.gz cryptography-4fc597d9990bdf17f714ae1a3a3f759e4039e4a9.tar.bz2 cryptography-4fc597d9990bdf17f714ae1a3a3f759e4039e4a9.zip |
pass bytes to modes/algorithms like we should
Diffstat (limited to 'tests/hazmat/primitives/test_idea.py')
-rw-r--r-- | tests/hazmat/primitives/test_idea.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/hazmat/primitives/test_idea.py b/tests/hazmat/primitives/test_idea.py index 1b15ed67..75116dc1 100644 --- a/tests/hazmat/primitives/test_idea.py +++ b/tests/hazmat/primitives/test_idea.py @@ -18,7 +18,7 @@ from ...utils import load_nist_vectors @pytest.mark.supported( only_if=lambda backend: backend.cipher_supported( - algorithms.IDEA("\x00" * 16), modes.ECB() + algorithms.IDEA(b"\x00" * 16), modes.ECB() ), skip_message="Does not support IDEA ECB", ) @@ -35,7 +35,7 @@ class TestIDEAModeECB(object): @pytest.mark.supported( only_if=lambda backend: backend.cipher_supported( - algorithms.IDEA("\x00" * 16), modes.CBC("\x00" * 8) + algorithms.IDEA(b"\x00" * 16), modes.CBC(b"\x00" * 8) ), skip_message="Does not support IDEA CBC", ) @@ -52,7 +52,7 @@ class TestIDEAModeCBC(object): @pytest.mark.supported( only_if=lambda backend: backend.cipher_supported( - algorithms.IDEA("\x00" * 16), modes.OFB("\x00" * 8) + algorithms.IDEA(b"\x00" * 16), modes.OFB(b"\x00" * 8) ), skip_message="Does not support IDEA OFB", ) @@ -69,7 +69,7 @@ class TestIDEAModeOFB(object): @pytest.mark.supported( only_if=lambda backend: backend.cipher_supported( - algorithms.IDEA("\x00" * 16), modes.CFB("\x00" * 8) + algorithms.IDEA(b"\x00" * 16), modes.CFB(b"\x00" * 8) ), skip_message="Does not support IDEA CFB", ) |