Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-06-22 | Make the `filename' parameter to HASHFile() and HASHFileChunk() const | Jean-Francois Brousseau | |
ok pedro@, millert@ | |||
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-29 | Undo some recent prototype changes; it is legal to pass the helper | Todd C. Miller | |
functions can take a NULL buf pointer. They will malloc memory as needed in this case. | |||
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-01-22 | Remove unnecessary typedef usage. | Marc Espie | |
u_char -> unsigned char u_short -> unsigned short u_long -> unsigned long u_int -> unsigned int okay millert@ | |||
2003-10-07 | corrent __bounded__ attribute for the *Data functions, and add | Anil Madhavapeddy | |
__minbytes__ checks where appropriate. tested by itojun@ fixes PR 3505 from Janjaap van Velthooven | |||
2003-08-01 | add __bounded__ attributes for userland headers; enabled with -Wbounded | Anil Madhavapeddy | |
ok deraadt@ | |||
2003-06-26 | backout the __bounded__ attributes for a while; requested by deraadt@ | Anil Madhavapeddy | |
2003-06-26 | Mark various standard library functions with the __bounded__ attribute. | Anil Madhavapeddy | |
You must have an up-to-date gcc for this! 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 | |||
2002-02-16 | Part 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. | |||
1999-02-03 | Add some useful defines (used by ssyslog). | Angelos D. Keromytis | |
1997-07-15 | Add a missing const | Todd C. Miller | |
1997-07-12 | Add SHA1End, SHA1File, SHA1Data helper functions like in md5(3). | Todd C. Miller | |
1997-07-10 | Be consistent wrt unsigned vs. u_* | 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 | Protect prototypes with __P. | Todd C. Miller | |
1996-09-29 | Add function prototypes. | Todd C. Miller | |
1996-09-29 | Added sha1 (secure hash function). | Todd C. Miller | |