| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-06-25 | cksum.c: don't fault if the hash algorithm is fed invalid data | gutteridge | |
| Addresses PR bin/56897 from RVP, who provided the patch. | |||
| 2021-08-25 | cksum: remove trailing whitespace | rillig | |
| 2021-08-25 | cksum: fix lint warning about wrong call to isspace | rillig | |
| 2021-03-18 | cksum: use POSIX type uint32_t instead of u_int32_t | cheusov | |
| 2020-04-27 | Explicitly cast the number of bytes passed to crc_buf() to size_t, as | martin | |
| we made sure it is positive already. Fixes the build. | |||
| 2020-04-27 | Speed up cksum word-by-word with a 15 KB table generated dynamically. | riastradh | |
| (Really we could generate the main table dynamically too.) From anonymous. | |||
| 2019-12-15 | bump date | christos | |
| 2019-12-15 | PR/54768: elo: Missing cksum(1) convenience links (and docs) for new sha2 | christos | |
| functions. | |||
| 2017-07-03 | Remove workaround for ancient HTML generation code. | wiz | |
| 2015-06-16 | fix some error handling. | christos | |
| 2014-10-29 | Fix build. | uebayasi | |
| 2014-08-31 | New sentence, new line. | wiz | |
| 2014-08-31 | PR/49134: Kamil Rytarowski: Add -q flag. | christos | |
| 2013-10-18 | fix unused variable warnings | christos | |
| 2013-03-28 | Remove unknown \*(tN and \*(sP macros. | njoly | |
| ok wiz. | |||
| 2012-06-25 | Omit outdated cryptographic claims as noted in PR 44160. | riastradh | |
| Interested readers can follow the references or read Wikipedia; this is the wrong place to explain cryptographic hash functions and give security advice. | |||
| 2011-08-29 | static + __dead | joerg | |
| 2010-05-14 | Use plain \* not \\*. Fix trailing whitespace | joerg | |
| 2009-04-14 | Enable WARNS=4 by default for usr.bin, except for: | lukem | |
| awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint | |||
| 2009-03-13 | Don't use macros for the synopsis. Improve markup to break argument | joerg | |
| groups together by not splitting opening and closing macro over lines. | |||
| 2009-01-02 | Clean up the usage display to match reality. | lukem | |
| Allow 'sum' to take '-a algorithm', so that its usage matches 'cksum'. Per discussion with Igor Sobrado resulting from PR 39658. | |||
| 2008-12-29 | fix 64 bit time_t | christos | |
| 2008-10-08 | WARNS=4 | lukem | |
| 2008-10-08 | use a const struct hash pointer | lukem | |
| 2008-07-21 | Remove the \n and tabs from the __COPYRIGHT() strings. | lukem | |
| Tweak to use a consistent format. | |||
| 2007-01-17 | Remove duplicate #includes | hubertf | |
| From Slava Semushin <slava.semushin@gmail.com>, via private mail | |||
| 2006-10-30 | kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to | christos | |
| /usr/include from /usr/include/sys. This makes all the one way hash header handling identical. | |||
| 2006-10-22 | use c99 initializer. | christos | |
| 2006-09-22 | PR/34584: Geoff C. Wing: cksum not closing filescriptors after finishing | elad | |
| processing files. Applied patch, thanks! | |||
| 2006-09-04 | Separate out the CRC functions in a manner that actually makes them useful | dsl | |
| for other program binaries. Fixes build of 'config' where I added code (commented out) to use the CRC function - but didn't comment out the #include :-( | |||
| 2006-09-02 | Bump date for previous. | wiz | |
| 2006-08-25 | mention we support sha2, pointed out by dieter roelants | elad | |
| okay hubertf | |||
| 2006-05-07 | Be more liberal about whitespaces when verifying checksums. | hubertf | |
| This allows checking md5/sha1 shecksums generates on Linux, which add more whitespace. Based on patch by Jukka Salmi (j+nbsd at 2006 dot salmi dot ch) | |||
| 2006-05-05 | remove -1, -2, -4, -5, -6, -m. | elad | |
| 2006-04-24 | Document more explicitly that -c takes an optional file argument. | wiz | |
| 2006-04-24 | Allow reading the checksum list from stdin if no file is given with -c. | hubertf | |
| This allows verifying the checksums e.g. after downloading a NetBSD release: cat BSDSUM CKSUM MD5 SHA512 SYSVSUM | cksum -c | |||
| 2006-04-24 | Try guessing hash types. Prefix output with hash type, | hubertf | |
| the output format was inspired by Linux & OpenBSD. This now allows doing something like: miyu% ( md4 *.c ; md5 *.c ; sha1 *.c ) > /tmp/x miyu% md5 -c /tmp/x miyu% cksum -c /tmp/x miyu% echo $? 0 miyu% date >test.c miyu% cksum -c /tmp/x (MD4) test.c: FAILED (MD5) test.c: FAILED (SHA1) test.c: FAILED miyu% echo $? 1 | |||
| 2006-04-23 | A fix for HTML output; punctuation nits. | wiz | |
| 2006-04-23 | Document -w, too. | hubertf | |
| 2006-04-23 | Add a switch "-c file" to verify a list of checksums generated by the | hubertf | |
| cksum program and stored in file against files on disk. E.g. first run "md5 *.tgz >MD5" to generate a list of MD5 checksums in MD5, then use the following command to verify them use "md5 -c MD5" Inspired by Linux' md5sum, called for by Jukka Salmi <j+nbsd@2006.salmi.ch>on netbsd-help@, reviewed by rui@. | |||
| 2006-01-15 | sync usage(). | elad | |
| 2005-09-24 | Use crypto/rmd160.h. | elad | |
| 2005-09-11 | Use correct macro. From YOMURA Masanori in private mail. | wiz | |
| 2005-09-10 | Punctuation nits. | wiz | |
| 2005-09-02 | Avoid defining max. hash length ugliness simply by passing NULL for the | elad | |
| buffer to the File routines. Noted by pooka@. | |||
| 2005-09-02 | Forgot +1 for NUL termination. | elad | |
| 2005-09-02 | Use MAXHASHLEN to indicate largest possible hash. | elad | |
| Fixes buffer overflow found by xtraeme@. | |||
| 2005-08-25 | Fix host tool build which got broken when SHA2 support was added. | tron | |
| 2005-08-24 | Add support for SHA2 in cksum. | elad | |
| 2005-08-24 | Fix some lint warnings. | elad | |
