diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-11 14:46:20 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-11 14:46:20 -0800 |
commit | d3ce70317016791079212d7256c3b7f195b4a375 (patch) | |
tree | 729747ea4a7d6c7e4e7e316f99317b4150c814d6 /tests/hazmat/primitives/test_cast5.py | |
parent | a3d71d471856e6c76cc1cc543efecb504dbe5c33 (diff) | |
download | cryptography-d3ce70317016791079212d7256c3b7f195b4a375.tar.gz cryptography-d3ce70317016791079212d7256c3b7f195b4a375.tar.bz2 cryptography-d3ce70317016791079212d7256c3b7f195b4a375.zip |
Ignore the sections of the NIST files
Diffstat (limited to 'tests/hazmat/primitives/test_cast5.py')
-rw-r--r-- | tests/hazmat/primitives/test_cast5.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/hazmat/primitives/test_cast5.py b/tests/hazmat/primitives/test_cast5.py index b2988437..4256e2c4 100644 --- a/tests/hazmat/primitives/test_cast5.py +++ b/tests/hazmat/primitives/test_cast5.py @@ -24,11 +24,9 @@ from ...utils import load_nist_vectors_from_file class TestCAST5(object): test_ECB = generate_encrypt_test( - lambda path: load_nist_vectors_from_file(path, "ENCRYPT"), + lambda path: load_nist_vectors_from_file(path), os.path.join("ciphers", "CAST5"), - [ - "cast5-ecb.txt", - ], + ["cast5-ecb.txt"], lambda key: algorithms.CAST5(binascii.unhexlify((key))), lambda key: modes.ECB(), only_if=lambda backend: backend.ciphers.supported( |