summaryrefslogtreecommitdiff
path: root/lib/libskey/skeysubr.c
AgeCommit message (Collapse)Author
2007-05-17Check fgets return value, from Charles Longeau.Ray Lai
OK millert@.
2006-04-10minimal cleanups lint begs forTheo de Raadt
2004-07-28Use SHA1Pad() instead of relying on unspecified behavior.Todd C. Miller
2003-06-26simple protosTheo de Raadt
2003-04-03Use snprintf() and strlcpy() throughout.Todd C. Miller
2002-05-29strlcat boundsTheo de Raadt
2002-05-24replace strcpy with strlcpyTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-24Fix `necesary' typos; Alexander YurchenkoTodd C. Miller
Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-)
2001-11-14avoid stdio in a signal handler; millert okTheo de Raadt
2001-06-23Get rid of f_HASH() and fold its functionality into keycrunch_HASH().Todd C. Miller
This means we now only need to add one new function when adding a new hash type. Somehow missed from last S/Key commit (changes are static to skeysubr.c).
2001-01-26SHA1 is a big endian algorithm but RFC2289 mandates that results beTodd C. Miller
stored in little endian form (like MD4/MD5). So, instead of having SHA1Final copy the result buffer, we do it ourselves with a loop stolen from RFC2289, Appendix A. Closes PR1650.
1998-07-03Remove user existance disclosure through "s/key" challenges.Angelos D. Keromytis
1997-07-27- Do coarse locking on /etc/skeykeys. Fixes a race that could allowTodd C. Miller
a replay attempt to succeed. - OpenBSD tags
1997-07-24Fix one instance of bad strncpy() usage and some KNF.Todd C. Miller
1997-07-17Add RIPEMD-160 (rmd160) support to OTP (s/key).Todd C. Miller
1997-07-11Remove #if 0'd codeTodd C. Miller
1997-07-10Use new SHA1* functions.Todd C. Miller
1996-11-03Add a bunch of length/size macros and use them.Todd C. Miller
1996-10-22Don't need the extra newline since we never turn off echo for s/keyTodd C. Miller
1996-10-14htoi now takes an int, not char.Todd C. Miller
Only skey_set_algorithm() for the record that matches target user.
1996-09-30Added missing static's.Todd C. Miller
1996-09-30Fix byte order problem with sha1.Todd C. Miller
1996-09-30More RFC 1938 compliance--convert seed to lower case internally.Todd C. Miller
1996-09-30__ARGS -> __P (why does everyone have to do this differently?)Todd C. Miller
1996-09-29check skey_set_algorithm() ret val + pedantry.Todd C. Miller
1996-09-29Towards RFC 1938 compliance. Also, now supports SHA (secure hash algorithm).Todd C. Miller
1996-09-27Nicer echo on/off in its own function.Todd C. Miller
1996-09-27Deal with both MD4 and MD5 s/key'sTodd C. Miller
1995-10-18initial import of NetBSD treeTheo de Raadt