TIP: Click on subject to list as thread! ANSI
echo: artware
to: Meikel Brandmeyer
from: andrew clarke
date: 2003-05-16 07:18:30
subject: License of CRC Code

Thu 2003-05-15 22:03, Meikel Brandmeyer (2:244/1165) wrote to All:

 MB> what license does apply to the crc function code (jamcrc32.c)? I'd
 MB> like to use it in another project. Is it Public domain?
 MB> Or counts this as "mathematical function" and one can use it
 MB> anyway? 

It's a copy of the CRC-32 function from the JAM API [1], which was based
on copyrighted code [2] written by Gary S. Brown in 1986.  Following the
copyright notice is the text, "You may use this program, or code or
tables extracted from it, as desired without restriction."

Interestingly the source code to OpenSSH in the past used Gary's code
but now uses a CRC32 function that's under a BSD licence, although if
you compare them [4] they're basically the same except the BSD version
is missing Gary's comments at the start.  I suppose there are only so
many ways you can write it!

[1] http://www.defsol.se/ftp/abs/jamapi.arj
[2] http://www.snippets.org/snippets/code/CRC_32.C
[3] http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/crc32.c
[4]
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/crc32.c.diff?r1=1.8&r2=1.9&f=h

-- mail{at}ozzmosis.com

--- timEd/FreeBSD 1.11.b1
* Origin: Blizzard of Ozz, Mt Eliza, Melbourne, Australia (3:633/267)
SEEN-BY: 633/267 270
@PATH: 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.