diff options
Diffstat (limited to 'ripemd-256.c')
-rw-r--r-- | ripemd-256.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ripemd-256.c b/ripemd-256.c index a892b2b..646dbba 100644 --- a/ripemd-256.c +++ b/ripemd-256.c @@ -22,7 +22,19 @@ static struct testcase testcases[] = { {8, 0, "1234567890", "06fdcc7a409548aaf91368c06a6275b553e3f099bf0ea4edfd6778df89a890dd"}, {1000000UL, 0, "a", - "ac953744e10e31514c150d4d8d7b677342e33399788296e43ae4850ce4f97978"} + "ac953744e10e31514c150d4d8d7b677342e33399788296e43ae4850ce4f97978"}, + {0, 1, "\xff", + "837e2738bee15d14b8a6f984b992bcd404e2df2e18f70e89c60647cd90fcfff4"}, + {0, 1, "\x7f", + "837e2738bee15d14b8a6f984b992bcd404e2df2e18f70e89c60647cd90fcfff4"}, + {0, 1, "\x01", + "837e2738bee15d14b8a6f984b992bcd404e2df2e18f70e89c60647cd90fcfff4"}, + {0, 1, "\xfe", + "555d43ce2b77dbc1e292372ef850ff8c92ce2fa6fe778501daf37974948ccfcf"}, + {0, 1, "\x7e", + "555d43ce2b77dbc1e292372ef850ff8c92ce2fa6fe778501daf37974948ccfcf"}, + {0, 1, "\x00", + "555d43ce2b77dbc1e292372ef850ff8c92ce2fa6fe778501daf37974948ccfcf"} }; |