#
4a39ccd0 |
| 05-Dec-2012 |
deraadt <deraadt@openbsd.org> |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
#
e4803734 |
| 22-Jun-2004 |
jfb <jfb@openbsd.org> |
Make the `filename' parameter to HASHFile() and HASHFileChunk() const ok pedro@, millert@
|
#
687924d3 |
| 05-May-2004 |
millert <millert@openbsd.org> |
Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF. It was defined before and there is no need to for this knob...
|
#
8e390623 |
| 03-May-2004 |
millert <millert@openbsd.org> |
Use KNF indentation style and do some u_char -> u_int8_t conversion I missed earlier.
|
#
9dfc8d30 |
| 03-May-2004 |
millert <millert@openbsd.org> |
Add Pad and FileChunk functions for each family of hash functions. The Pad function does padding like in Final but does not finish processing. The FileChunk function creates a digest from a portion o
Add Pad and FileChunk functions for each family of hash functions. 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).
show more ...
|
#
6cb58d42 |
| 29-Apr-2004 |
millert <millert@openbsd.org> |
Undo some recent prototype changes; it is legal to pass the helper functions can take a NULL buf pointer. They will malloc memory as needed in this case.
|
#
84306cf4 |
| 27-Apr-2004 |
millert <millert@openbsd.org> |
Make the bit count u_int64_t instead of two u_int32_t. Adapted from changes Niklas made to the md5 code long ago. OK hshoexer@
|
#
e5c6a985 |
| 26-Apr-2004 |
millert <millert@openbsd.org> |
Use a common source file for all the hash helper functions that 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_
Use a common source file for all the hash helper functions that 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@
show more ...
|
#
d1f942ab |
| 22-Jan-2004 |
espie <espie@openbsd.org> |
Remove unnecessary typedef usage.
u_char -> unsigned char u_short -> unsigned short u_long -> unsigned long u_int -> unsigned int
okay millert@
|
#
d9dd16ce |
| 07-Oct-2003 |
avsm <avsm@openbsd.org> |
corrent __bounded__ attribute for the *Data functions, and add __minbytes__ checks where appropriate. tested by itojun@
fixes PR 3505 from Janjaap van Velthooven
|
#
89b95c1c |
| 01-Aug-2003 |
avsm <avsm@openbsd.org> |
add __bounded__ attributes for userland headers; enabled with -Wbounded ok deraadt@
|
#
3e87668a |
| 26-Jun-2003 |
avsm <avsm@openbsd.org> |
backout the __bounded__ attributes for a while; requested by deraadt@
|
#
585be00b |
| 26-Jun-2003 |
avsm <avsm@openbsd.org> |
Mark various standard library functions with the __bounded__ attribute. You must have an up-to-date gcc for this! deraadt@ ok
|
#
232cf197 |
| 23-Dec-2002 |
millert <millert@openbsd.org> |
o Ansi function headers 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
|
#
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
show more ...
|
#
5a7ec767 |
| 03-Feb-1999 |
angelos <angelos@openbsd.org> |
Add some useful defines (used by ssyslog).
|
#
f3e644d3 |
| 15-Jul-1997 |
millert <millert@openbsd.org> |
Add a missing const
|
#
b3d2e8a0 |
| 12-Jul-1997 |
millert <millert@openbsd.org> |
Add SHA1End, SHA1File, SHA1Data helper functions like in md5(3).
|
#
14304550 |
| 10-Jul-1997 |
millert <millert@openbsd.org> |
Be consistent wrt unsigned vs. u_*
|
#
e7ee6cdc |
| 10-Jul-1997 |
millert <millert@openbsd.org> |
Different sha1 functions (taken from netinet's if_sha1.c) that are more consistent with md4/md5 functions.
|
#
ecda5c27 |
| 30-Sep-1996 |
millert <millert@openbsd.org> |
export byte swapping routine.
|
#
e0659826 |
| 30-Sep-1996 |
millert <millert@openbsd.org> |
Protect prototypes with __P.
|
#
a10e7b05 |
| 29-Sep-1996 |
millert <millert@openbsd.org> |
Add function prototypes.
|
#
d7005814 |
| 29-Sep-1996 |
millert <millert@openbsd.org> |
Added sha1 (secure hash function).
|