aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_hashes.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/primitives/test_hashes.py')
-rw-r--r--tests/primitives/test_hashes.py10
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",
+ )