2 I added this vector after fixing a bug first discovered by
3 Rogier van de Pol. The length of this data set is designed to
4 test for that bug or similar bugs in SHA-256 hashes. The bug
5 was an off-by-one bug where I used a "<" test instead of a "<="
6 test in SHA256_Final(). Whenever data set lengths were an even
7 multiple of 64 after subtracting 55, the bug showed up. The
8 fix was easy, once the problem was fully diagnosed.
12 (Total length of test vector data: 1079)
18 5a2e925a7f8399fa63a20a1524ae83a7e3c48452f9af4df493c8c51311b04520
21 72ec26cc742bc5fb1ef82541c9cadcf01a15c8104650d305f24ec8b006d7428e
22 8ebe2bb320a465dbdd5c6326bbd8c9ad
25 ebad464e6d9f1df7e8aadff69f52db40a001b253fbf65a018f29974dcc7fbf8e
26 58b69e247975fbadb4153d7289357c9b6212752d0ab67dd3d9bbc0bb908aa98c