summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-05-31Remove redundant errno declaration. ok deraadt@Otto Moerbeek
2004-05-29ansiTheo de Raadt
2004-05-28In the Final function, move the context zeroing into the digest != NULLTodd C. Miller
scope so that passing a NULL digest is equivalent to the Pad function (like it used to be). Fixes skey w/ sha1 as noticed by David Krause.
2004-05-28knf; otto okTheo de Raadt
2004-05-26better code for calling ctorsMichael Shalayeff
2004-05-25PICy stuffMichael Shalayeff
2004-05-22evil pastoMichael Shalayeff
2004-05-21add DLT_PPP_ETHER supportBrad Smith
ok canacar@ From: Marc Huber <pppoe at pro-bono-publico dot de>
2004-05-18ansify function definitions and zap some `register'Jean-Francois Brousseau
ok millert@
2004-05-16Add .Xr's to the commands implementing the various digests. ok millert@Otto Moerbeek
2004-05-08When parsing what follows [, do not allocate memory that is not used,Otto Moerbeek
also fix a memory leak in error path. ok millert@
2004-05-07Document _SC_XOPEN_SHM, SEM_NSEMS_MAX and SEM_VALUE_MAX.Todd C. Miller
2004-05-07Implement _SC_SEM_NSEMS_MAX and _SC_SEM_VALUE_MAX.Todd C. Miller
Based on a diff from Jean-GĂ©rard Pailloncy.
2004-05-07Describe more accurate what word boundaries are.Otto Moerbeek
ok millert@
2004-05-07Simpler byte order flipping. Now the only place we explicitly checkTodd C. Miller
for the host byte order is when we copy the final digest (and that is just an optimization).
2004-05-06Tyop; noted by jmc@Todd C. Miller
2004-05-06improved man page, with example and error strings, suggested by deraadt@Ted Unangst
man help jmc@
2004-05-06typo; sq@oganer.netTheo de Raadt
2004-05-05O_SYNC is valid for F_GETFL/F_SETFL tooTodd C. Miller
2004-05-05O_NOFOLLOW and O_SYNC are also valid flags to dbopen(3)Todd C. Miller
2004-05-05Make the Transform functions match the other hash types and document them.Todd C. Miller
Use sizeof() in the Init functions where it makes sense. Use weak aliases instead of wrapper functions. Probably should have gone in before the major bump but as these are only used internally by the sha2 functions themselves there should be no problem.
2004-05-05Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF.Todd C. Miller
It was defined before and there is no need to for this knob...
2004-05-05fix va -> pa decode. 'by all means' deraadt@Marco S Hyman
2004-05-04sort SEE ALSO;Jason McIntyre
2004-05-04In _longjmp(), flush windows rather than attempting to backtrack manually,Miod Vallat
since the latter is not reliable in all cases. This allows ruby to work on sparc64. Problem spotted by claudio@; fix adapted from NetBSD for sparc, FreeBSD for sparc64; ok deraadt@
2004-05-03Be smarter about signed vs. unsigned (produces better error messages).Todd C. Miller
OK otto@
2004-05-03Missed this in the __strerror() removal.Todd C. Miller
2004-05-03Sync some prototypes with the headersTodd C. Miller
2004-05-03Some u_char -> u_int8_t conversion I missed earlier.Todd C. Miller
2004-05-03Use KNF indentation style and do some u_char -> u_int8_t conversionTodd C. Miller
I missed earlier.
2004-05-03libc major number crankTodd C. Miller
2004-05-03Use size_t as the type of the length parameter per POSIXTodd C. Miller
2004-05-03No longer need __strerror(3) now that we use strerror_r() inside libc.Todd C. Miller
2004-05-03Add Pad and FileChunk functions for each family of hash functions.Todd C. Miller
The Pad function does padding like in Final but does not finish processing. The FileChunk function creates a digest from a portion of a file. Also made the length parameters consistent (and size_t).
2004-05-03Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize.Todd C. Miller
Also make the open functions take a mode_t, not int. OK deraadt@
2004-05-03XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@Todd C. Miller
2004-05-03Add _Exit(3) as per C99. Discussed with espie@ some time ago.Todd C. Miller
2004-05-03typo spotted by grangeTed Unangst
2004-05-03strtonum, a nicer version of strtoll, by millert and myself.Ted Unangst
ok deraadt@ millert@
2004-05-03Do a better job of documenting strerror_r() and add an ERRORS section.Todd C. Miller
2004-05-03build the error message in strerror_r.c directly, avoiding one copy there.Marc Espie
handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@.
2004-05-03Rev 1.4 was bogus (committed from the wrong tree), this repairs it.Todd C. Miller
2004-05-02some minor KNFTodd C. Miller
2004-05-02Do not define NOTE_EOF in CFLAGS. ok millert@Miod Vallat
2004-05-02bump minor for new functions. Reminder from brad@Marco S Hyman
2004-05-01pthead_supsend_all_np and pthread_resume_all_np from freebsd viaMarco S Hyman
Kurt Miller <truk at optonline.net>. Kurt says: They're needed for the java hotspot compiler in the 1.3+ jdk OK brad@
2004-05-01let __strerror fill precisely the part of the buffer it can.Marc Espie
okay millert@
2004-04-30Mention siginterrupt; OK deraadt@Todd C. Miller
2004-04-30Let __strerror work by fixing a number of problems. Work by tholo and I,Marc Espie
okay millert@. - atoi was bogus. - atoi was not reentrant. - there's no reason to cast stuff to unsigned int.
2004-04-29Sync with md5.c rev. 1.4Todd C. Miller