Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-28 | In the Final function, move the context zeroing into the digest != NULL | Todd 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-05 | Make 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-03 | Use KNF indentation style and do some u_char -> u_int8_t conversion | Todd C. Miller | |
I missed earlier. | |||
2004-05-03 | Add 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-04-27 | Make the bit count u_int64_t instead of two u_int32_t. Adapted from | Todd C. Miller | |
changes Niklas made to the md5 code long ago. OK hshoexer@ | |||
2004-04-26 | Use a common source file for all the hash helper functions that | Todd C. Miller | |
previously lived in foohl.c. The foohl.c files are now generated via sed, though perhaps cpp could be used in the future. Use u_int8_t instead of unsigned char for the buffers struct fooContext. Add constants for buffer lengths and use them in function prototypes and the man pages. This is basically cosmetic surgery; there should be no functional changes. OK deraadt@ | |||
2004-03-31 | remove sparc64/gcc2 workaround. | Brad Smith | |
ok millert@ deraadt@ jason@ | |||
2003-07-21 | Remove bogus static; from Hiroki Sato | Todd C. Miller | |
2003-01-08 | Move the rounds into separate functions on sparc64 so gcc's optimizer | Todd C. Miller | |
doesn't blow up. This is a hack but is better than compiling sha1.c with -O0 on sparc64. From NetBSD (mrg). deraadt@ OK | |||
2002-12-23 | o Ansi function headers | Todd C. Miller | |
o Add __BEGIN_DECLS/__END_DECLS to include files o Safe macros o Remove useless variable assignment in the End function of *hl.c o Some minor KNF, needs more From Dan Weeks | |||
1997-07-23 | tabify + trailing blanks | kstailey | |
1997-07-15 | Add a missing const | Todd C. Miller | |
1997-07-12 | Minor style points. | Todd C. Miller | |
1997-07-11 | #include <sha1.h> not #include "sha1.h" | Todd C. Miller | |
1997-07-10 | Different sha1 functions (taken from netinet's if_sha1.c) that | Todd C. Miller | |
are more consistent with md4/md5 functions. | |||
1996-09-30 | export byte swapping routine. | Todd C. Miller | |
1996-09-30 | Moved definitions of BYTE and LONG in from header file. | Todd C. Miller | |
1996-09-29 | Fixed standalone test mode for NEW_SHA1. | Todd C. Miller | |
1996-09-29 | added sha1 (secure hash function). | Todd C. Miller | |