diff options
author | Donald Stufft <donald@stufft.io> | 2013-10-18 20:00:20 -0700 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2013-10-18 20:00:20 -0700 |
commit | 1494e3e1ffb192b9c55d200a6346879ca2fe1a8b (patch) | |
tree | 666e3ccb3978d1eb915516937e2fe54127c43649 /tests/primitives/test_hashes.py | |
parent | 617c0c7e6f89271373f3f15ee05d16c80c8bdd5e (diff) | |
parent | c179407406f0ef5c2b7b5b6316521408ba3803b3 (diff) | |
download | cryptography-1494e3e1ffb192b9c55d200a6346879ca2fe1a8b.tar.gz cryptography-1494e3e1ffb192b9c55d200a6346879ca2fe1a8b.tar.bz2 cryptography-1494e3e1ffb192b9c55d200a6346879ca2fe1a8b.zip |
Merge pull request #125 from reaperhulk/hash-saga-ripeness
Hash Saga Part 5 (RIPEMD160 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 2f2dd1c7..bfb45037 100644 --- a/tests/primitives/test_hashes.py +++ b/tests/primitives/test_hashes.py @@ -66,3 +66,13 @@ class TestSHA512(object): only_if=lambda api: api.supports_hash(hashes.SHA512), skip_message="Does not support SHA512", ) + + +class TestRIPEMD160(object): + test_RIPEMD160 = generate_base_hash_test( + hashes.RIPEMD160, + digest_size=20, + block_size=64, + only_if=lambda api: api.supports_hash(hashes.RIPEMD160), + skip_message="Does not support RIPEMD160", + ) |