7 Commits

Author SHA1 Message Date
delphij
804597f72d 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
markm
b38a0011c1 Resolve conflicts. 2002-03-21 23:42:52 +00:00
markm
6cdc15e4a8 Fix SHA1 hashing. 2001-07-14 08:30:54 +00:00
kris
7833f1a4d2 Resolve conflicts 2000-04-10 11:18:54 +00:00
ache
84d99714d1 Merge 1997-09-29 10:33:14 +00:00
pst
f3df6bc19c Disconnect OPIE from internal MD4/5 routines 1997-02-07 03:44:44 +00:00
pst
2dfcbf1931 Initial import of OPIE v2.3 from
ftp://ftp.nrl.navy.mil/pub/security/opie/
1997-02-06 17:52:29 +00:00