#
1.23 |
|
13-Oct-2020 |
guenther |
Do some easy .data -> .rodata/.data.rel.ro conversions
ok millert@ deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
|
#
1.22 |
|
11-Sep-2015 |
guenther |
Wrap blowfish, sha*, md5, and rmd160 so that internal calls go direct
ok deraadt@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
15-Jan-2015 |
millert |
Use explicit_bzero instead of memset in hash Final and End functions. OK deraadt@ djm@
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.20 |
|
21-Jul-2014 |
guenther |
Switch from <sys/endian.h> or <machine/endian.h> to the new, being-standardized <endian.h>
ok deraadt@ millert@ beck@
|
Revision tags: OPENBSD_5_5_BASE
|
#
1.19 |
|
08-Jan-2014 |
tedu |
calling HashFinal with a null digest should crash, not be silently ignored
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.18 |
|
08-Aug-2005 |
espie |
zap remaining rcsid.
Kill old files that are no longer compiled.
okay theo
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.17 |
|
28-May-2004 |
millert |
In the Final function, move the context zeroing into the digest != NULL 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.
|
#
1.16 |
|
03-May-2004 |
millert |
Some u_char -> u_int8_t conversion I missed earlier.
|
#
1.15 |
|
03-May-2004 |
millert |
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).
|
#
1.14 |
|
26-Apr-2004 |
millert |
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@
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.13 |
|
14-Dec-2003 |
markus |
alignment fixes (e.g sparc 64); from Daniel Lucq; ok millert, henning
|
Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
|
#
1.12 |
|
23-Dec-2002 |
millert |
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
|
Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.11 |
|
01-Oct-2001 |
markus |
new rmd160 implementation. based on ftp://ftp.rsasecurity.com/pub/cryptobytes/crypto3n2.pdf, ok deraadt@
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
16-Aug-1999 |
millert |
Explicitly include <sys/types.h> and some minor style points.
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.9 |
|
09-Sep-1998 |
janjaap |
Make RMD160Update a little less overzealous when fed small crumbs.
|
#
1.8 |
|
02-Jun-1998 |
janjaap |
nbytes - ofs should never be less than 0 (Oops on me)
|
Revision tags: OPENBSD_2_3_BASE
|
#
1.7 |
|
23-Mar-1998 |
janjaap |
teach rmd160 not to throw leftovers out the window
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.6 |
|
24-Aug-1997 |
millert |
Fix compiler warnings.
|
#
1.5 |
|
23-Jul-1997 |
kstailey |
tabify + trailing blanks
|
#
1.4 |
|
18-Jul-1997 |
millert |
Converting u_char[] -> u_int[] is easy on little endian machines :-)
|
#
1.3 |
|
17-Jul-1997 |
millert |
Use u_int32_t not size_t.
|
#
1.2 |
|
17-Jul-1997 |
millert |
Allow passing of a NULL digest to RMD160Final(3).
|
#
1.1 |
|
17-Jul-1997 |
millert |
mdX(3)-like interface to RIPEMD-160 hash function. Code by Antoon Bosselaers and massaged by me to fit the mdX(3) API.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.22 |
|
11-Sep-2015 |
guenther |
Wrap blowfish, sha*, md5, and rmd160 so that internal calls go direct
ok deraadt@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
15-Jan-2015 |
millert |
Use explicit_bzero instead of memset in hash Final and End functions. OK deraadt@ djm@
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.20 |
|
21-Jul-2014 |
guenther |
Switch from <sys/endian.h> or <machine/endian.h> to the new, being-standardized <endian.h>
ok deraadt@ millert@ beck@
|
Revision tags: OPENBSD_5_5_BASE
|
#
1.19 |
|
08-Jan-2014 |
tedu |
calling HashFinal with a null digest should crash, not be silently ignored
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.18 |
|
08-Aug-2005 |
espie |
zap remaining rcsid.
Kill old files that are no longer compiled.
okay theo
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.17 |
|
28-May-2004 |
millert |
In the Final function, move the context zeroing into the digest != NULL 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.
|
#
1.16 |
|
03-May-2004 |
millert |
Some u_char -> u_int8_t conversion I missed earlier.
|
#
1.15 |
|
03-May-2004 |
millert |
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).
|
#
1.14 |
|
26-Apr-2004 |
millert |
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@
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.13 |
|
14-Dec-2003 |
markus |
alignment fixes (e.g sparc 64); from Daniel Lucq; ok millert, henning
|
Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
|
#
1.12 |
|
23-Dec-2002 |
millert |
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
|
Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.11 |
|
01-Oct-2001 |
markus |
new rmd160 implementation. based on ftp://ftp.rsasecurity.com/pub/cryptobytes/crypto3n2.pdf, ok deraadt@
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
16-Aug-1999 |
millert |
Explicitly include <sys/types.h> and some minor style points.
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.9 |
|
09-Sep-1998 |
janjaap |
Make RMD160Update a little less overzealous when fed small crumbs.
|
#
1.8 |
|
02-Jun-1998 |
janjaap |
nbytes - ofs should never be less than 0 (Oops on me)
|
Revision tags: OPENBSD_2_3_BASE
|
#
1.7 |
|
23-Mar-1998 |
janjaap |
teach rmd160 not to throw leftovers out the window
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.6 |
|
24-Aug-1997 |
millert |
Fix compiler warnings.
|
#
1.5 |
|
23-Jul-1997 |
kstailey |
tabify + trailing blanks
|
#
1.4 |
|
18-Jul-1997 |
millert |
Converting u_char[] -> u_int[] is easy on little endian machines :-)
|
#
1.3 |
|
17-Jul-1997 |
millert |
Use u_int32_t not size_t.
|
#
1.2 |
|
17-Jul-1997 |
millert |
Allow passing of a NULL digest to RMD160Final(3).
|
#
1.1 |
|
17-Jul-1997 |
millert |
mdX(3)-like interface to RIPEMD-160 hash function. Code by Antoon Bosselaers and massaged by me to fit the mdX(3) API.
|