aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_nist.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-21 19:13:48 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-21 19:13:48 -0700
commit1db93193f43db23090edca9af5bc0da172f30382 (patch)
treea95febace460d950e52b70b91efabdc924c674b9 /tests/primitives/test_nist.py
parente218856a903805a8e299ef9dba6e88910d97270c (diff)
downloadcryptography-1db93193f43db23090edca9af5bc0da172f30382.tar.gz
cryptography-1db93193f43db23090edca9af5bc0da172f30382.tar.bz2
cryptography-1db93193f43db23090edca9af5bc0da172f30382.zip
Fuck
Diffstat (limited to 'tests/primitives/test_nist.py')
-rw-r--r--tests/primitives/test_nist.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/primitives/test_nist.py b/tests/primitives/test_nist.py
index 1f05ce98..86ab232c 100644
--- a/tests/primitives/test_nist.py
+++ b/tests/primitives/test_nist.py
@@ -238,7 +238,7 @@ class TestTripleDES_OFB(object):
"TOFBinvperm.rsp",
],
lambda keys, iv: ciphers.TripleDES(binascii.unhexlify(keys)),
- lambda keys, iv: modes.CBC(binascii.unhexlify(iv)),
+ lambda keys, iv: modes.OFB(binascii.unhexlify(iv)),
)
test_KAT2 = generate_encrypt_test(
@@ -252,7 +252,7 @@ class TestTripleDES_OFB(object):
"TOFBIvartext.rsp",
],
lambda key, iv: ciphers.TripleDES(binascii.unhexlify(key)),
- lambda key, iv: modes.CBC(binascii.unhexlify(iv)),
+ lambda key, iv: modes.OFB(binascii.unhexlify(iv)),
)
test_MMT1 = generate_encrypt_test(
@@ -266,7 +266,7 @@ class TestTripleDES_OFB(object):
lambda key1, key2, key3, iv: (
ciphers.TripleDES(binascii.unhexlify(key1 + key2 + key3))
),
- lambda key1, key2, key3, iv: modes.CBC(binascii.unhexlify(iv)),
+ lambda key1, key2, key3, iv: modes.OFB(binascii.unhexlify(iv)),
)