freebsd-nq/contrib/opie/libopie
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
..
accessfile.c
atob8.c
btoa8.c
btoe.c
btoh.c
challenge.c
generator.c
getsequence.c
getutmpentry.c
hash.c RFC 2289 requires all hashes be stored in little endian format before 2012-08-10 04:48:58 +00:00
hashlen.c RFC 2289 requires all hashes be stored in little endian format before 2012-08-10 04:48:58 +00:00
insecure.c
keycrunch.c
lock.c
login.c
logwtmp.c
lookup.c
Makefile.in
md4c.c
md5c.c
newseed.c
open.c
parsechallenge.c
passcheck.c
passwd.c
randomchallenge.c
readpass.c
readrec.c
unlock.c
verify.c
version.c
writerec.c