summaryrefslogtreecommitdiff
path: root/lib/libc/hash
AgeCommit message (Expand)Author
2010-07-13update our recommended hash function to sha256 and note md5 is broken.Ted Unangst
2010-07-13no more rmd160(1);Jason McIntyre
2010-01-08plug a file descriptor leak in HASHFileChunk().Owain Ainsworth
2009-04-15allow building without SHA384 and SHA512 (i.e. SHA256 only) withDamien Miller
2008-09-12the last example doesn't need a ctx variable;Damien Miller
2008-09-06Rename SHA256/384/512 API to avoid namespace collisions withDamien Miller
2008-07-29Split SHA1Transform() back into smaller pieces when compiling on landisk,Miod Vallat
2008-02-13The digest in the example seems to have been generatedArtur Grabowski
2007-05-31convert to new .Dd format;Jason McIntyre
2007-02-27sha2 hashes are not 5 32-bit ints in size. Just leave out the sizeTodd C. Miller
2006-10-03when using SHA1Data(), no CTX is needed, so zap that line in the exampleAlexander von Gernler
2005-09-12some markup and punctuation fixes from wiz@netbsdJason McIntyre
2005-08-08zap remaining rcsid.Marc Espie
2004-09-16Fix MD5FileChunk() when passed a 0 length; makes MD5File() work again.Todd C. Miller
2004-08-24Whoops, ripemd was broken, not ripemd-160.Todd C. Miller
2004-08-24Collisions have been found for the full versions of MD4, MD5 and RMD160.Todd C. Miller
2004-06-22Make the `filename' parameter to HASHFile() and HASHFileChunk() constJean-Francois Brousseau
2004-05-28In the Final function, move the context zeroing into the digest != NULLTodd C. Miller
2004-05-16Add .Xr's to the commands implementing the various digests. ok millert@Otto Moerbeek
2004-05-07Simpler byte order flipping. Now the only place we explicitly checkTodd C. Miller
2004-05-05Make the Transform functions match the other hash types and document them.Todd C. Miller
2004-05-05Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF.Todd C. Miller
2004-05-03Sync some prototypes with the headersTodd C. Miller
2004-05-03Some u_char -> u_int8_t conversion I missed earlier.Todd C. Miller
2004-05-03Use KNF indentation style and do some u_char -> u_int8_t conversionTodd C. Miller
2004-05-03Add Pad and FileChunk functions for each family of hash functions.Todd C. Miller
2004-05-03Rev 1.4 was bogus (committed from the wrong tree), this repairs it.Todd C. Miller
2004-05-02some minor KNFTodd C. Miller
2004-04-29Sync with md5.c rev. 1.4Todd C. Miller
2004-04-29Changes inspired by Markus's rmd160 implementation:Todd C. Miller
2004-04-29Undo some recent prototype changes; it is legal to pass the helperTodd C. Miller
2004-04-29The data pointer passed to the transform function may not be properlyTodd C. Miller
2004-04-29typo in SEE ALSO;Jason McIntyre
2004-04-29more KNFTodd C. Miller
2004-04-29Some KNFTodd C. Miller
2004-04-28KNF: function names should be at column 0 for easier grepping.Todd C. Miller
2004-04-28Pass sizeof(*pointer) not sizeof(point) to memset. Karsten Desler.Todd C. Miller
2004-04-28Don't build lib/libc/md, build md[45] in lib/libc/hash instead.Todd C. Miller
2004-04-28md[45] man pageTodd C. Miller
2004-04-28Xr sha2(3)Todd C. Miller
2004-04-28PD md4 code derived from Colin Plumb's md5 routines.Todd C. Miller
2004-04-28Rename members of struct MD5Context to match other hash routines.Todd C. Miller
2004-04-28PD version of md5(3) based on code written by Colin Plumb.Todd C. Miller
2004-04-27Make the bit count u_int64_t instead of two u_int32_t. Adapted fromTodd C. Miller
2004-04-26Use a common source file for all the hash helper functions thatTodd C. Miller
2004-03-31remove sparc64/gcc2 workaround.Brad Smith
2003-12-14alignment fixes (e.g sparc 64); from Daniel Lucq; ok millert, henningMarkus Friedl
2003-10-03correct hash for EXAMPLES, plus some typos;Jason McIntyre
2003-09-08Zap context correctly, from Juergen Buchmueller <pullmoll at stop1984 dot com>Todd C. Miller
2003-07-21Remove bogus static; from Hiroki SatoTodd C. Miller