Xin LI 9776cb63ad 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
2012-08-10 04:48:58 +00:00
..
2012-06-17 11:36:28 +00:00
2012-08-08 09:42:44 +00:00
2011-07-14 14:01:36 +00:00
2012-04-19 03:20:13 +00:00
2011-12-13 17:34:47 +00:00
2012-07-26 11:12:38 +00:00
2010-11-18 18:22:58 +00:00
2012-07-24 01:09:11 +00:00
2012-03-12 01:06:29 +00:00
2012-05-17 05:11:57 +00:00
2012-02-22 03:36:15 +00:00
2011-12-08 02:40:46 +00:00
2012-03-25 02:10:31 +00:00