diff options
author | David Reid <dreid@dreid.org> | 2013-11-11 16:05:58 -0800 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2013-11-11 16:05:58 -0800 |
commit | 92beb221fc0a1bd8ef1b955a98e1385daed0f207 (patch) | |
tree | bbf0a9b6fdee1423ad3a8e8f63944b5d1eaeb9bf /tests/hazmat/primitives/test_3des.py | |
parent | 1759037b7078872e67e81f43518131a3f7021b4f (diff) | |
parent | cf5fb332af542a6a38da8b8f481a358f32e5e154 (diff) | |
download | cryptography-92beb221fc0a1bd8ef1b955a98e1385daed0f207.tar.gz cryptography-92beb221fc0a1bd8ef1b955a98e1385daed0f207.tar.bz2 cryptography-92beb221fc0a1bd8ef1b955a98e1385daed0f207.zip |
Merge pull request #242 from alex/ignore-nist-sections
Ignore the sections of the NIST files
Diffstat (limited to 'tests/hazmat/primitives/test_3des.py')
-rw-r--r-- | tests/hazmat/primitives/test_3des.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/hazmat/primitives/test_3des.py b/tests/hazmat/primitives/test_3des.py index af6bdc04..1543cfd7 100644 --- a/tests/hazmat/primitives/test_3des.py +++ b/tests/hazmat/primitives/test_3des.py @@ -28,7 +28,7 @@ from ...utils import load_nist_vectors_from_file class TestTripleDES_CBC(object): test_KAT = generate_encrypt_test( - lambda path: load_nist_vectors_from_file(path, "ENCRYPT"), + lambda path: load_nist_vectors_from_file(path), os.path.join("ciphers", "3DES", "CBC"), [ "TCBCinvperm.rsp", @@ -42,7 +42,7 @@ class TestTripleDES_CBC(object): ) test_MMT = generate_encrypt_test( - lambda path: load_nist_vectors_from_file(path, "ENCRYPT"), + lambda path: load_nist_vectors_from_file(path), os.path.join("ciphers", "3DES", "CBC"), [ "TCBCMMT1.rsp", @@ -58,7 +58,7 @@ class TestTripleDES_CBC(object): class TestTripleDES_OFB(object): test_KAT = generate_encrypt_test( - lambda path: load_nist_vectors_from_file(path, "ENCRYPT"), + lambda path: load_nist_vectors_from_file(path), os.path.join("ciphers", "3DES", "OFB"), [ "TOFBpermop.rsp", @@ -72,7 +72,7 @@ class TestTripleDES_OFB(object): ) test_MMT = generate_encrypt_test( - lambda path: load_nist_vectors_from_file(path, "ENCRYPT"), + lambda path: load_nist_vectors_from_file(path), os.path.join("ciphers", "3DES", "OFB"), [ "TOFBMMT1.rsp", @@ -88,7 +88,7 @@ class TestTripleDES_OFB(object): class TestTripleDES_CFB(object): test_KAT = generate_encrypt_test( - lambda path: load_nist_vectors_from_file(path, "ENCRYPT"), + lambda path: load_nist_vectors_from_file(path), os.path.join("ciphers", "3DES", "CFB"), [ "TCFB64invperm.rsp", @@ -102,7 +102,7 @@ class TestTripleDES_CFB(object): ) test_MMT = generate_encrypt_test( - lambda path: load_nist_vectors_from_file(path, "ENCRYPT"), + lambda path: load_nist_vectors_from_file(path), os.path.join("ciphers", "3DES", "CFB"), [ "TCFB64MMT1.rsp", |