diff options
Diffstat (limited to '')
-rw-r--r-- | sha1.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -27,7 +27,13 @@ static struct testcase testcases[] = { {0, 4, "\x0d", "ba582f5967911beb91599684c2eb2baeefb78da7"}, {0, 5, "\x09", "3320540d1c28b96ddd03eee1b186a8f2ae883fbe"}, {0, 6, "\x08", "b372bd120957ebc3392cd060e131699d1fee6059"}, - {0, 7, "\x22", "04f31807151181ad0db278a1660526b0aeef64c2"} + {0, 7, "\x22", "04f31807151181ad0db278a1660526b0aeef64c2"}, + {0, 1, "\xff", "59c4526aa2cc59f9a5f56b5579ba7108e7ccb61a"}, + {0, 1, "\x7f", "59c4526aa2cc59f9a5f56b5579ba7108e7ccb61a"}, + {0, 1, "\x01", "59c4526aa2cc59f9a5f56b5579ba7108e7ccb61a"}, + {0, 1, "\xfe", "bb6b3e18f0115b57925241676f5b1ae88747b08a"}, + {0, 1, "\x7e", "bb6b3e18f0115b57925241676f5b1ae88747b08a"}, + {0, 1, "\x00", "bb6b3e18f0115b57925241676f5b1ae88747b08a"} }; |