linux/lib/libcrc32c.c
<<
Search
vdiv idiofile_contents"
   1v/a>vspa
 class="comment">/* v/spa
	    2v/a>vspa
 class="comment"> * CRC32Cv/spa
	    3v/a>vspa
 class="comment"> *@Article{castagnoli-crc,v/spa
	    4v/a>vspa
 class="comment"> * author =pt     { Guy Castagnoli and Stefa
 Braeuer and Martin Herrman},v/spa
	    5v/a>vspa
 class="comment"> * title =pt      {{O.12miza18.12of Cyclic Redundancy-Check Codes with 23.1spa
	    6v/a>vspa
 class="comment"> *                 and 32 Parity Bits}},v/spa
	    7v/a>vspa
 class="comment"> * journal =pt    IEEE Transac12"
s on Communica18.1,v/spa
	    8v/a>vspa
 class="comment"> * year =pt       {1993},v/spa
	    9v/a>vspa
 class="comment"> * volume =pt     {41},v/spa
	   v3.1a>vspa
 class="comment"> * number =pt     {6},v/spa
	   11v/a>vspa
 class="comment"> * pages =pt      {},v/spa
	   12v/a>vspa
 class="comment"> * month =pt      {June},v/spa
	   13v/a>vspa
 class="comment"> *}v/spa
	   14v/a>vspa
 class="comment"> * Used by the iSCSI driver, possibly others, and derived from thev/spa
	   15v/a>vspa
 class="comment"> * the iscsi-crc.c module of the linux-iscsi driver atv/spa
	   16v/a>vspa
 class="comment"> * http://linux-iscsi.sourceforge.net.v/spa
	   17v/a>vspa
 class="comment"> *v/spa
	 vspa
 class="comment"> *v/spa
	 
	 
  v3{hwpt pa
	 exampatv/sp cla"line, dden fun
	    19v/a>vspa
 class="comme1nt"> 1 volume =pt     {41},v/spa
	  2v3.1a>vspa
 class="comm2nt"> 2 number =pt     {6},v/spa
	  211v/a>vspa
 class="comm2nt"> 2 pages =pt      {},v/spa
	    22v/a>vspa
 class="commennt"> 2 month =pt      {June},v/spa
												use dden 357!)c.c#L2" idioL2" class="line" namtioioL13"> 213v/a>vspa
 class="comm2nt"> 2}v/spa
	  214v/a>vspa
 class="comm2nt"> 2 Used by the iSCSI driver, poc.c#L2" idioL2" class="line" namtioioL15"> 215v/a>vspa
 class="comm2nt"> 2 the iscsi-crc.c module of theCopy> 216v/a>vspa
 class="comm2nt"> 2 http://linux-iscsi.sourceforgc.c#L17" idioL17" class="line" nam2ioL17"> 217v/a>vspa
 class="comm2nt"> 2 journal =pt    IEEE Transac12Tden programnux free software;ryf= c =predistriovsinut 2v/spa2	 
	 
 spacrca
	 termsv/spa
	 GNU Genern CPubth 2License an pubthshbly othersFreec.c#L17" idioL17" class="line" nam2oL9">   29v/a>vspa
 class="comme2nt"> 2 volume =pt     {41},v/spa
	  3v3.1a>vspa
 class="comm3nt"> 3 number =pt     {6},v/spa
	  311v/a>vspa
 class="comm3nt"> 3 pages =pt      {},v/spa
	    32v/a>vspa
 class="comme3nt"> 3 month =pt      {June},v/spa
/c.c#L17" idioL17" class="line" nam3oL3">   33v/a>vspa
 class="commennt"> 3}v/sp" idioL17" class="line" nam3ioL14"> 314v/a>vspa
 class="comm3nt"> 3 Used#include < idioL17"includea"lypto/hash.h4v/a>vspafref">"lypto/hash.hUsedlass" idioL17" class="line" nam3ioL15"> 315v/a>vspa
 class="comm3nt"> 35Used#include < idioL17"includea/spa
/err.h4v/a>vspafref">/spa
/err.hUsedlass" idioL17" class="line" nam3ioL16"> 316v/a>vspa
 class="comm3nt"> 36Used#include < idioL17"includea/spa
/init.h4v/a>vspafref">/spa
/init.hUsedlass" idioL17" class="line" nam3ioL17"> 317v/a>vspa
 class="comm3nt"> 37Used#include < idioL17"includea/spa
/kernel.h4v/a>vspafref">/spa
/kernel.hUsedlass" idioL17" class="line" nam3ioL17v/a3vspa
 class="comment"> 3v/spa38Used#include < idioL17"includea/spa
/ver at.h4v/a>vspafref">/spa
/ver at.hUsedlass" idioL17" class="line" nam3oL9">   39v/a>vspa
 class="comme3nt"> 39v/sp" idioL17" class="line" nam4ioL10"> 4v3.1a>vspa
 class="comm4nt"> 4 numbt;> structibcrc32c.c"code="lypto_shashpt    v/diref">"lypto_shashnumbtfmnumbs" idioL17" class="line" nam4ioL11"> 411v/a>vspa
 class="comm4nt"> 41v/sp" idioL17" class="line" nam4oL2">   42v/a>vspa
 class="comme4nt"> 4 monthcrc32c.c"code=u32v/a>vspa
iref">u3 montibcrc32c.c"code="line"pt    v/diref">"line"mont(hcrc32c.c"code=u32v/a>vspa
iref">u3 montibcrc32c.c"code="lipt    v/diref">"limont, const voidaddressmont, unsignblyiofibcrc32c.c"code=lengthpt    v/diref">lengthmont)" idioL17" class="line" nam4oL3">   43v/a>vspa
 class="comme4nt"> 4}v/sp{" idioL17" class="line" nam4oL4">   44v/a>vspa
 class="commennt"> 4 Used								structi{" idioL17" class="line" nam4ioL15"> 415v/a>vspa
 class="comm4nt"> 45Used																structibcrc32c.c"code=shash_desipt    v/diref">shash_desimontibcrc32c.c"code=shashpt    v/diref">shashnumbs" idioL17" class="line" nam4ioL16"> 416v/a>vspa
 class="comm4nt"> 46Used																charibcrc32c.c"code="txpt    v/diref">"txUsed[bcrc32c.c"code="lypto_shash_desisizept    v/diref">"lypto_shash_desisizemont(hcrc32c.c"code=tfmpt    v/diref">tfmnumb)]s" idioL17" class="line" nam4ioL17"> 417v/a>vspa
 class="comm4nt"> 47Used								}ibcrc32c.c"code=desipt    v/diref">desimonts" idioL17" class="line" nam4ioL17v/a4vspa
 class="comment"> 4v/spa48Used								iofibcrc32c.c"code=errpt    v/diref">errmonts" idioL17" class="line" nam4oL9">   49v/a>vspa
 class="comme4nt"> 49v/sp" idioL17" class="line" nam5ioL10"> 5v3.1a>vspa
 class="comm5nt"> 50Used								bcrc32c.c"code=desipt    v/diref">desimont.bcrc32c.c"code=shashpt    v/diref">shashnumb.bcrc32c.c"code=tfmpt    v/diref">tfmnumb =	bcrc32c.c"code=tfmpt    v/diref">tfmnumbs" idioL17" class="line" nam5ioL11"> 511v/a>vspa
 class="comm5nt"> 51Used								bcrc32c.c"code=desipt    v/diref">desimont.bcrc32c.c"code=shashpt    v/diref">shashnumb.bcrc32c.c"code=flagspt    v/diref">flagsnumb =	0s" idioL17" class="line" nam5oL2">   52v/a>vspa
 class="comme5nt"> 52Used								*(hcrc32c.c"code=u32v/a>vspa
iref">u3 monti*)bcrc32c.c"code=desipt    v/diref">desimont.bcrc32c.c"code="txpt    v/diref">"txUsed =	bcrc32c.c"code="lipt    v/diref">"limonts" idioL17" class="line" nam5oL3">   53v/a>vspa
 class="comme5nt"> 5}v/sp" idioL17" class="line" nam5oL4">   54v/a>vspa
 class="comme5nt"> 54Used								bcrc32c.c"code=errpt    v/diref">errmont =	bcrc32c.c"code="lypto_shash_upa
	ept    v/diref">"lypto_shash_upa
	emont(&bcrc32c.c"code=desipt    v/diref">desimont.bcrc32c.c"code=shashpt    v/diref">shashnumb,	bcrc32c.c"code=addresspt    v/diref">addressmont, bcrc32c.c"code=lengthpt    v/diref">lengthmont)s" idioL17" class="line" nam5oL5">   55v/a>vspa
 class="commennt"> 55Used								bcrc32c.c"code=BUG_ONpt    v/diref">BUG_ONsizemont(hcrc32c.c"cerrpt    v/diref">errmont8.12  16v/a>vspa
 class="comment"i
 class="comment"> *}v/spa
	 vspa
iref">u3 monti*)bcrc32c.c"code=desipt    v/diref">desimont.bcrc32c.c"code="txpt    v/diref">"txUsed =	bcoption2le=1="v