diff options
author | Donald Stufft <donald@stufft.io> | 2013-10-21 15:39:18 -0700 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2013-10-21 15:39:18 -0700 |
commit | c160079df8dd021b6b1e8091025ba27ddc6cd6c0 (patch) | |
tree | dcbc2e2491bffc6ad19eea41bbeeba85d65a48b3 /tests/primitives/test_cryptrec.py | |
parent | 71ed449ffe7e26e9217b6c44bb27e19996315a64 (diff) | |
parent | 6f874ff9279376b6962c514ae0e59b90e7082e15 (diff) | |
download | cryptography-c160079df8dd021b6b1e8091025ba27ddc6cd6c0.tar.gz cryptography-c160079df8dd021b6b1e8091025ba27ddc6cd6c0.tar.bz2 cryptography-c160079df8dd021b6b1e8091025ba27ddc6cd6c0.zip |
Merge pull request #109 from alex/refactor-cipher-names
[WIP] Refactor how cipher names are computed
Diffstat (limited to 'tests/primitives/test_cryptrec.py')
-rw-r--r-- | tests/primitives/test_cryptrec.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/primitives/test_cryptrec.py b/tests/primitives/test_cryptrec.py index edf97652..02a04473 100644 --- a/tests/primitives/test_cryptrec.py +++ b/tests/primitives/test_cryptrec.py @@ -37,6 +37,8 @@ class TestCamelliaECB(object): ], lambda key: ciphers.Camellia(binascii.unhexlify((key))), lambda key: modes.ECB(), - only_if=lambda api: api.supports_cipher("camellia-128-ecb"), + only_if=lambda api: api.supports_cipher( + ciphers.Camellia("\x00" * 16), modes.ECB() + ), skip_message="Does not support Camellia ECB", ) |