diff options
Diffstat (limited to 'ripemd-320.c')
-rw-r--r-- | ripemd-320.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ripemd-320.c b/ripemd-320.c index 6d9b954..e7a5b27 100644 --- a/ripemd-320.c +++ b/ripemd-320.c @@ -22,7 +22,19 @@ static struct testcase testcases[] = { {8, 0, "1234567890", "557888af5f6d8ed62ab66945c6d2a0a47ecd5341e915eb8fea1d0524955f825dc717e4a008ab2d42"}, {1000000UL, 0, "a", - "bdee37f4371e20646b8b0d862dda16292ae36f40965e8c8509e63d1dbddecc503e2b63eb9245bb66"} + "bdee37f4371e20646b8b0d862dda16292ae36f40965e8c8509e63d1dbddecc503e2b63eb9245bb66"}, + {0, 1, "\xff", + "59eb0bae1fdf140b1d372eda1449048488cc9c9a584e758f33bae6df4ef6d8c472d79ec0e5bb86f9"}, + {0, 1, "\x7f", + "59eb0bae1fdf140b1d372eda1449048488cc9c9a584e758f33bae6df4ef6d8c472d79ec0e5bb86f9"}, + {0, 1, "\x01", + "59eb0bae1fdf140b1d372eda1449048488cc9c9a584e758f33bae6df4ef6d8c472d79ec0e5bb86f9"}, + {0, 1, "\xfe", + "4805943473099cd2e8b2ae39e0f5585444216b852f92d1eb5b4c98f182ad9848a378ad7f8b6ef325"}, + {0, 1, "\x7e", + "4805943473099cd2e8b2ae39e0f5585444216b852f92d1eb5b4c98f182ad9848a378ad7f8b6ef325"}, + {0, 1, "\x00", + "4805943473099cd2e8b2ae39e0f5585444216b852f92d1eb5b4c98f182ad9848a378ad7f8b6ef325"} }; |