aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_3des.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-31 12:08:11 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-31 12:08:11 -0500
commit20884bfabe140802182e9af01e9446705b0298bc (patch)
tree441f8fc0b32339964ca52f26597fcff36a50a611 /tests/hazmat/primitives/test_3des.py
parent234f3ab0f32a3dca66fa63a3407bedce8084425f (diff)
downloadcryptography-20884bfabe140802182e9af01e9446705b0298bc.tar.gz
cryptography-20884bfabe140802182e9af01e9446705b0298bc.tar.bz2
cryptography-20884bfabe140802182e9af01e9446705b0298bc.zip
update tests for new test vector locations
Diffstat (limited to 'tests/hazmat/primitives/test_3des.py')
-rw-r--r--tests/hazmat/primitives/test_3des.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/hazmat/primitives/test_3des.py b/tests/hazmat/primitives/test_3des.py
index d5188ff6..6b3e0414 100644
--- a/tests/hazmat/primitives/test_3des.py
+++ b/tests/hazmat/primitives/test_3des.py
@@ -29,7 +29,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"),
- os.path.join("ciphers", "3DES", "KAT"),
+ os.path.join("ciphers", "3DES", "CBC"),
[
"TCBCinvperm.rsp",
"TCBCpermop.rsp",
@@ -43,7 +43,7 @@ class TestTripleDES_CBC(object):
test_MMT = generate_encrypt_test(
lambda path: load_nist_vectors_from_file(path, "ENCRYPT"),
- os.path.join("ciphers", "3DES", "MMT"),
+ os.path.join("ciphers", "3DES", "CBC"),
[
"TCBCMMT1.rsp",
"TCBCMMT2.rsp",
@@ -59,7 +59,7 @@ class TestTripleDES_CBC(object):
class TestTripleDES_OFB(object):
test_KAT = generate_encrypt_test(
lambda path: load_nist_vectors_from_file(path, "ENCRYPT"),
- os.path.join("ciphers", "3DES", "KAT"),
+ os.path.join("ciphers", "3DES", "OFB"),
[
"TOFBpermop.rsp",
"TOFBsubtab.rsp",
@@ -73,7 +73,7 @@ class TestTripleDES_OFB(object):
test_MMT = generate_encrypt_test(
lambda path: load_nist_vectors_from_file(path, "ENCRYPT"),
- os.path.join("ciphers", "3DES", "MMT"),
+ os.path.join("ciphers", "3DES", "OFB"),
[
"TOFBMMT1.rsp",
"TOFBMMT2.rsp",
@@ -89,7 +89,7 @@ class TestTripleDES_OFB(object):
class TestTripleDES_CFB(object):
test_KAT = generate_encrypt_test(
lambda path: load_nist_vectors_from_file(path, "ENCRYPT"),
- os.path.join("ciphers", "3DES", "KAT"),
+ os.path.join("ciphers", "3DES", "CFB"),
[
"TCFB64invperm.rsp",
"TCFB64permop.rsp",
@@ -103,7 +103,7 @@ class TestTripleDES_CFB(object):
test_MMT = generate_encrypt_test(
lambda path: load_nist_vectors_from_file(path, "ENCRYPT"),
- os.path.join("ciphers", "3DES", "MMT"),
+ os.path.join("ciphers", "3DES", "CFB"),
[
"TCFB64MMT1.rsp",
"TCFB64MMT2.rsp",