Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-09-12 | some markup and punctuation fixes from wiz@netbsd | Jason McIntyre | |
2005-08-08 | zap remaining rcsid. | Marc Espie | |
Kill old files that are no longer compiled. okay theo | |||
2004-09-16 | Fix MD5FileChunk() when passed a 0 length; makes MD5File() work again. | Todd C. Miller | |
From Peter Galbavy. | |||
2004-08-24 | Whoops, ripemd was broken, not ripemd-160. | Todd C. Miller | |
2004-08-24 | Collisions have been found for the full versions of MD4, MD5 and RMD160. | Todd C. Miller | |
2004-06-22 | Make the `filename' parameter to HASHFile() and HASHFileChunk() const | Jean-Francois Brousseau | |
ok pedro@, millert@ | |||
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-16 | Add .Xr's to the commands implementing the various digests. ok millert@ | Otto Moerbeek | |
2004-05-07 | Simpler byte order flipping. Now the only place we explicitly check | Todd C. Miller | |
for the host byte order is when we copy the final digest (and that is just an optimization). | |||
2004-05-05 | Make 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-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 | Sync some prototypes with the headers | Todd C. Miller | |
2004-05-03 | Some u_char -> u_int8_t conversion I missed earlier. | Todd C. Miller | |
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-05-03 | Rev 1.4 was bogus (committed from the wrong tree), this repairs it. | Todd C. Miller | |
2004-05-02 | some minor KNF | Todd C. Miller | |
2004-04-29 | Sync with md5.c rev. 1.4 | Todd C. Miller | |
2004-04-29 | Changes inspired by Markus's rmd160 implementation: | Todd C. Miller | |
o Make MD5Update() more readable o Simplify padding in MD5Final() o Do copy + byte flip in MD5Transform() instead of in the caller The result is a faster md5 and the byte order foo is kept to a minimum. | |||
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-29 | The data pointer passed to the transform function may not be properly | Todd C. Miller | |
aligned so copy it in a way that a) is endian indepenent and b) does not rely on alignment. Problem found and solution tested by hshoexer@ | |||
2004-04-29 | typo in SEE ALSO; | Jason McIntyre | |
2004-04-29 | more KNF | Todd C. Miller | |
2004-04-29 | Some KNF | Todd C. Miller | |
2004-04-28 | KNF: function names should be at column 0 for easier grepping. | Todd C. Miller | |
2004-04-28 | Pass sizeof(*pointer) not sizeof(point) to memset. Karsten Desler. | Todd C. Miller | |
2004-04-28 | Don't build lib/libc/md, build md[45] in lib/libc/hash instead. | Todd C. Miller | |
2004-04-28 | md[45] man page | Todd C. Miller | |
2004-04-28 | Xr sha2(3) | Todd C. Miller | |
2004-04-28 | PD md4 code derived from Colin Plumb's md5 routines. | Todd C. Miller | |
2004-04-28 | Rename members of struct MD5Context to match other hash routines. | Todd C. Miller | |
Add constants for buffer lengths and use them. Make bit count 64bit based on changes by niklas@ long ago. Conver htole32n() to macros and unroll loops. | |||
2004-04-28 | PD version of md5(3) based on code written by Colin Plumb. | Todd C. Miller | |
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-12-14 | alignment fixes (e.g sparc 64); from Daniel Lucq; ok millert, henning | Markus Friedl | |
2003-10-03 | correct hash for EXAMPLES, plus some typos; | Jason McIntyre | |
from er, Charlie Root (PR 3506) | |||
2003-09-08 | Zap context correctly, from Juergen Buchmueller <pullmoll at stop1984 dot com> | Todd C. Miller | |
Same as sys/crypto/sha2.c revision 1.2 | |||
2003-07-21 | Remove bogus static; from Hiroki Sato | Todd C. Miller | |
2003-06-25 | missing const; millert ok | Theo de Raadt | |
2003-06-17 | Sync with share/misc/license.template and add missing DARPA credit | Todd C. Miller | |
where applicable. | |||
2003-06-03 | Use an ISC-tyle license for all my code; it is simpler and more permissive. | Todd C. Miller | |
2003-05-30 | - section reorder | Jason McIntyre | |
- whitespace at EOL | |||
2003-05-09 | Include string.h for memset() proto; noticed by lebel@ | Todd C. Miller | |
2003-05-08 | Add sha2 routines based on code by Aaron D. Gifford with minor | Todd C. Miller | |
massaging and a man page by me. I used the phk-derived stuff for sha2hl.c instead of Aaron's for consistency with our other hash routines. | |||
2003-05-08 | Clear the digest local var w/ memset() in the End function. | Todd C. Miller | |
2003-05-06 | updated URL from Leandro Costa; | Jason McIntyre | |
ok millert@ | |||
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 | |||
2002-01-16 | compile sparc64 version of sha1.go with -O0, too. OK jason@ | Marco S Hyman | |