summaryrefslogtreecommitdiff
path: root/bin/md5/md5.c
AgeCommit message (Expand)Author
2014-01-08Fix wrapping of usage message for cksum.Todd C. Miller
2014-01-08err() not errx() when fopen fails.Todd C. Miller
2014-01-08Remove NHASHES, it is not needed and is incompatible with #ifdef SMALL.Todd C. Miller
2014-01-08Remove pmode, fix hfile open mode, check return value when writingTodd C. Miller
2014-01-08Add -DSMALL support to kill a lot of the unncecessary hashes and checksumsTheo de Raadt
2014-01-08Add support for -h hashfile. This is very useful with with -p, in a pipeline,Theo de Raadt
2013-12-23install a link as sha512. simplify program internals; there are onlyTed Unangst
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2013-04-15SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in aTodd C. Miller
2013-03-30Return an exit code of 1 if the file cannot be opened (e.g. file doesLawrence Teo
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)Theo de Raadt
2011-07-05fix memset sizeof, found by jsg. ok krwTed Unangst
2010-10-27Use a 32KB data buffer instead of a 1KB buffer.Todd C. Miller
2010-10-25Use stdio when reading in the file to be checksummed. This can improveTodd C. Miller
2008-09-06adapt to sha2(3) API changes; ok millert@Damien Miller
2008-07-29md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;Igor Sobrado
2007-11-07properly exit >0 when encountering bad md5 in cheklistCharles Longeau
2007-10-31clamp -ttttttttt test counter to 1B, so that it does not wrap negative;Theo de Raadt
2007-04-14if we define a constant for the OPTSTRING, we can as well use it.Alexander von Gernler
2007-04-13allow multiple -t to increase the test count. cpus are getting too fast.Ted Unangst
2007-03-29Fix a cust & pastoTodd C. Miller
2007-03-29Do not print a warning that no valid checksums were found if thereTodd C. Miller
2007-03-28Supress warnings for the first getopt() pass. Otherwise,Todd C. Miller
2007-03-27Add base64 support to cksum and friends. Output encoding canTodd C. Miller
2007-03-20augment the -q option, now if specifed with -c (checklist)Thordur I. Bjornsson
2007-01-09align usage message correctlyTheo de Raadt
2006-11-17simplify synopsis and usage(); ok millertJason McIntyre
2006-11-16Add -r and -q options similar to what is supported by FreeBSD's md5Todd C. Miller
2006-11-10Accept upper and lower case letters in a checksum, since this doesn'tTom Cosgrove
2006-03-15Fix signed/unsigned comparisons by using size_tDavid Hill
2005-12-20Make "cksum -c" grok checklists generated with cksum, sum and sysvsum.Todd C. Miller
2005-08-17Exit unsuccessfully when comparing against a checklist file fails.Marco Pfatschbacher
2004-12-29Add support for multiple using algorithms. OK'd by several peopleTodd C. Miller
2004-12-10GNU md5sum uses tab not space to separate filename and hash. FixesTodd C. Miller
2004-05-04sync usage w/ man pageTodd C. Miller
2004-05-02Add support for cksum (3 varieties), md4, sha256, sha384, and sha512.Todd C. Miller
2004-04-28Use the FOO_DIGEST_LENGTH macrosTodd C. Miller
2004-03-03Extend "md5 -c" to parse the output of GNU md5sum.Todd C. Miller
2003-07-21Fix typo: unsigned -> unsigned char; from Thorsten GlaserTodd C. Miller
2003-06-25fix lots of proto issuesTheo de Raadt
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
2003-06-11ansification, art okTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-04-28return from mainTheo de Raadt
2003-04-23strchr() should be strrchr(); zyrnixTodd C. Miller
2003-03-23Do not closed stdin; Andrey MatveevTodd C. Miller
2003-03-13Cast 3 to size_t to shut up stupid gcc on 64bit platforms.Todd C. Miller
2003-03-12Add -c option similar to GNU md5sum.Todd C. Miller
2003-01-14Report read() errors; noticed and OK by fgs@Todd C. Miller
2002-01-20Swap TEST_BLOCK_LEN and TEST_BLOCK_COUNT in benchmark printf.Camiel Dobbelaar