aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/vectors/ISO/ripemd160/ripevectors.txt
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-01 21:26:48 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-01 21:32:52 -0500
commit68ced287f00906c68bb847a166b9da68a80458f6 (patch)
tree22b962b3cc4f333e8ba12599c29add9097500686 /tests/primitives/vectors/ISO/ripemd160/ripevectors.txt
parentb2dc4775518b7f1fd9acfcb5adb8e783efbb1062 (diff)
downloadcryptography-68ced287f00906c68bb847a166b9da68a80458f6.tar.gz
cryptography-68ced287f00906c68bb847a166b9da68a80458f6.tar.bz2
cryptography-68ced287f00906c68bb847a166b9da68a80458f6.zip
add ISO/IEC 10118-3 test vectors for RIPEMD160 and Whirlpool.
These vectors have been reformatted from their original form to conform to the same format as the NIST SHA tests. * RIPEMD160 original vectors from the hash homepage - http://homes.esat.kuleuven.be/~bosselae/ripemd160.html * Whirlpool vectors from the hash homepage - http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html (yes that really is the homepage)
Diffstat (limited to 'tests/primitives/vectors/ISO/ripemd160/ripevectors.txt')
-rw-r--r--tests/primitives/vectors/ISO/ripemd160/ripevectors.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/primitives/vectors/ISO/ripemd160/ripevectors.txt b/tests/primitives/vectors/ISO/ripemd160/ripevectors.txt
new file mode 100644
index 00000000..4f880023
--- /dev/null
+++ b/tests/primitives/vectors/ISO/ripemd160/ripevectors.txt
@@ -0,0 +1,34 @@
+# from the RIPEMD homepage: http://homes.esat.kuleuven.be/~bosselae/ripemd160.html
+# formatted to use the hash loader
+
+Len = 0
+Msg = 00
+MD = 9c1185a5c5e9fc54612808977ee8f548b2258d31
+
+Len = 8
+Msg = 61
+MD = 0bdc9d2d256b3ee9daae347be6f4dc835a467ffe
+
+Len = 24
+Msg = 616263
+MD = 8eb208f7e05d987a9b044a8e98c6b087f15a0bfc
+
+Len = 112
+Msg = 6d65737361676520646967657374
+MD = 5d0689ef49d2fae572b881b123a85ffa21595f36
+
+Len = 208
+Msg = 6162636465666768696a6b6c6d6e6f707172737475767778797a
+MD = f71c27109c692c1b56bbdceb5b9d2865b3708dbc
+
+Len = 448
+Msg = 6162636462636465636465666465666765666768666768696768696a68696a6b696a6b6c6a6b6c6d6b6c6d6e6c6d6e6f6d6e6f706e6f7071
+MD = 12a053384a9c0c88e405a06c27dcf49ada62eb2b
+
+Len = 496
+Msg = 4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839
+MD = b0e20b6e3116640286ed3a87a5713079b21f5189
+
+Len = 640
+Msg = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930
+MD = 9b752e45573d4b39f4dbd3323cab82bf63326bfb