diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-18 22:07:29 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-18 22:07:29 -0500 |
commit | 79ff8bf91838e0e98ec75b467c0650968bf4f626 (patch) | |
tree | 6abf4a52ab27ff03b2b20aa009421b7790ee2ed3 /tests/primitives/test_hashes.py | |
parent | 1494e3e1ffb192b9c55d200a6346879ca2fe1a8b (diff) | |
download | cryptography-79ff8bf91838e0e98ec75b467c0650968bf4f626.tar.gz cryptography-79ff8bf91838e0e98ec75b467c0650968bf4f626.tar.bz2 cryptography-79ff8bf91838e0e98ec75b467c0650968bf4f626.zip |
Whirlpool support
Diffstat (limited to 'tests/primitives/test_hashes.py')
-rw-r--r-- | tests/primitives/test_hashes.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/primitives/test_hashes.py b/tests/primitives/test_hashes.py index bfb45037..982fc7cd 100644 --- a/tests/primitives/test_hashes.py +++ b/tests/primitives/test_hashes.py @@ -76,3 +76,13 @@ class TestRIPEMD160(object): only_if=lambda api: api.supports_hash(hashes.RIPEMD160), skip_message="Does not support RIPEMD160", ) + + +class TestWhirlpool(object): + test_Whirlpool = generate_base_hash_test( + hashes.Whirlpool, + digest_size=64, + block_size=64, + only_if=lambda api: api.supports_hash(hashes.Whirlpool), + skip_message="Does not support Whirlpool", + ) |