#
239169 |
|
10-Aug-2012 |
delphij |
RFC 2289 requires all hashes be stored in little endian format before folding to 64 bits, while SHA1 code is big endian. Therefore, a bswap32 is required before using the value.
Without this change, the implementation does not conform to test vector found in RFC 2289.
PR: bin/170519 Submitted by: Arthur Mesh <arthurmesh gmail com> (with changes) MFC after: 1 week
|