Return to crc32.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.4, 1999/11/24 00:26:01 | version 1.4.2.1, 2000/09/01 18:23:19 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
#include "includes.h" | #include "includes.h" | ||
RCSID("$Id$"); | RCSID("$OpenBSD$"); | ||
#include "crc32.h" | #include "crc32.h" | ||
|
|
||
/* Return a 32-bit CRC of the contents of the buffer. */ | /* Return a 32-bit CRC of the contents of the buffer. */ | ||
unsigned int | unsigned int | ||
crc32(const unsigned char *s, unsigned int len) | ssh_crc32(const unsigned char *s, unsigned int len) | ||
{ | { | ||
unsigned int i; | unsigned int i; | ||
unsigned int crc32val; | unsigned int crc32val; |