diff options
Diffstat (limited to '')
-rw-r--r-- | ripemd-128.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ripemd-128.c b/ripemd-128.c index 993c031..b44c494 100644 --- a/ripemd-128.c +++ b/ripemd-128.c @@ -13,7 +13,13 @@ static struct testcase testcases[] = { {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", "a1aa0689d0fafa2ddc22e88b49133a06"}, {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "d1e959eb179c911faea4624c60c5c702"}, {8, 0, "1234567890", "3f45ef194732c2dbb2c4a2c769795fa3"}, - {1000000UL, 0, "a", "4a7f5723f954eba1216c9d8f6320431f"} + {1000000UL, 0, "a", "4a7f5723f954eba1216c9d8f6320431f"}, + {0, 1, "\xff", "2b4535a3d10c346e06cacff50db484ca"}, + {0, 1, "\x7f", "2b4535a3d10c346e06cacff50db484ca"}, + {0, 1, "\x01", "2b4535a3d10c346e06cacff50db484ca"}, + {0, 1, "\xfe", "431f5ff8e69c47afd0212863079ce205"}, + {0, 1, "\x7e", "431f5ff8e69c47afd0212863079ce205"}, + {0, 1, "\x00", "431f5ff8e69c47afd0212863079ce205"} }; |