Home | History | Annotate | Download | only in cksum
History log of /src/usr.bin/cksum/extern.h
RevisionDateAuthorComments
 1.20  18-Mar-2021  cheusov cksum: use POSIX type uint32_t instead of u_int32_t
 1.19  04-Sep-2006  dsl Separate out the CRC functions in a manner that actually makes them useful
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 :-(
 1.18  02-Sep-2005  elad Avoid defining max. hash length ugliness simply by passing NULL for the
buffer to the File routines.

Noted by pooka@.
 1.17  02-Sep-2005  elad Use MAXHASHLEN to indicate largest possible hash.
Fixes buffer overflow found by xtraeme@.
 1.16  24-Aug-2005  elad Add support for SHA2 in cksum.
 1.15  20-Jan-2005  xtraeme branches: 1.15.2;
whitespace, remove main() prototype.
 1.14  12-Jan-2005  xtraeme * Kill __P()
* ANSIfy
* No parenthesis are needed around the return value
 1.13  20-Dec-2003  kleink Update to keep file lengths in appropriate data types (off_t, as opposed
to u_int32_t).
 1.12  27-Oct-2003  lukem Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
 1.11  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.10  31-Mar-2002  bjh21 branches: 1.10.2;
Add the necessary bits to make cksum buildable as a host tool.
 1.9  21-Mar-2001  atatat Apparently changing crc() to ccrc() was bad, since mtree does a reachover.
Revert ccrc() to crc() and change local variables called crc to thecrc
instead.
 1.8  20-Mar-2001  atatat Rename the crc() function to ccrc() since that removes a compiler warning
when WARNS=2.
 1.7  20-Mar-2001  atatat Add MD2, MD4, SHA1, and RMD160 support to cksum. Adding new hashes to
cksum(1) should now be easy.
 1.6  30-Jan-1997  thorpej Add support for generating MD5 checksums, partially derived from the
FreeBSD md5(1) program. MD5 checksums may be generated by using the
"-m" flag to cksum, or by invoking this program as "md5".
 1.5  26-Mar-1995  glass merged with 4.4Lite
 1.4  24-Dec-1994  cgd cksum uses 32-bit quantites, internally
 1.3  02-Nov-1993  cgd update to the latest cksum utility from uunet. this one is posix
compliant (i think), and fixes a bogon in the old CRC calculation.
yes, that's right, the CRC's it generates are different.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  26-Mar-1995  glass Import from 4.4Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.2.1  21-Dec-2003  tron Pull up revision 1.13 (requested by kleink in ticket #1580):
Update to keep file lengths in appropriate data types (off_t, as opposed
to u_int32_t).
 1.15.2.1  12-Sep-2005  tron Apply patch (requested by elad in ticket #754):
- Deprecate -1, -2, -4, -5, -6, -m flags.
- Add -a <algorithm> flag.
- Support SHA2 hashing.
cksum(1) now supports ``sha256'', ``sha384'', and ``sha512''.

RSS XML Feed