home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 461 
 mark lewis to Alan Ianson 
 CRC32 
 02 Oct 16 09:36:18 
 
01 Oct 16 21:01, you wrote to Maurice Kinal:

 MK>> Having said that, I am curious if the c code produces the 'correct'
 MK>> output as far as fidonet tic people are concerned.  Let us call it
 MK>> needed closure.  :-)

 AI> It does output a crc32 value. Always E4D9C11A. ./crc32, crc32
 AI> , and crc32 --help all return that value.

did you notice that it always fills the buffer with random bytes in main()? ;)

it is funny, though, that the same CRC value is generated on separate machine
and multiple runs... something must be wrong with the selection of the random
bytes...

 AI> I don't know if I compiled it right.. I simply did gcc crc32.c.

there's no much to compiling it... maybe specifying an output name... mine
defaulted to a.out...

one thing i do note is that it feeds the entire buffer to the update_crc
routine in one shot instead of feeding it one byte at the time... that will
make a difference in the results... especially if there's any pre- and/or
post- processing and where it is being performed...

)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin' it
wrong...
... The local diner doesn't give out doggie bags. The SPCA won't let 'em.
---
 * Origin:  (1:3634/12.73)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca