]> git.ozlabs.org Git - ccan/blobdiff - ccan/crc/_info.c
Added Castagnoli CRC routines, expand interface.
[ccan] / ccan / crc / _info.c
index d14d1a50d3642cddb3e3842326ab0a6e9cc50288..1d7b725146429ee3e2fbe48be874f63ce2d4cc57 100644 (file)
@@ -3,8 +3,8 @@
 /**
  * crc - routines for crc of bytes
  *
- * Cyclic Redundancy Check routines.  They are reasonably fasts
- * checksum routine, but not suitable for cryptographic use.
+ * Cyclic Redundancy Check routines.  These are reasonably fast
+ * checksum routines, but not suitable for cryptographic use.
  *
  * They are useful for simple error detection, eg. a 32-bit CRC will
  * detect a single error burst of up to 32 bits.
  *                             "Prints 32 bit CRC of the string\n", argv[0]);
  *                     exit(1);
  *             }
- *             printf("0x%08x\n", crc32(argv[1], strlen(argv[1])));
+ *             printf("0x%08x\n", crc32c(argv[1], strlen(argv[1])));
  *             exit(0);
  *     }
  *
- * Licence: Public Domain
- * Author: Gary S. Brown
+ * Licence: GPL (v2 or later)
+ * Author: Gary S. Brown, Clay Haapala
  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])