Searched hist:170519 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/contrib/opie/libopie/
H A Dhash.cdiff 239169 Fri Aug 10 02:52:15 MDT 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
H A Dhashlen.cdiff 239169 Fri Aug 10 02:52:15 MDT 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

Completed in 169 milliseconds