version 1.8, 2000/09/07 20:27:51 |
version 1.8.2.5, 2001/09/27 00:15:42 |
|
|
/* |
/* |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Copyright (c) 1992 Tatu Ylonen, Espoo, Finland |
* Copyright (c) 1992 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
* All rights reserved |
* All rights reserved |
* Functions for computing 32-bit CRC. |
* Functions for computing 32-bit CRC. |
* |
* |
|
|
#ifndef CRC32_H |
#ifndef CRC32_H |
#define CRC32_H |
#define CRC32_H |
|
|
/* |
u_int ssh_crc32(const u_char *, u_int); |
* This computes a 32 bit CRC of the data in the buffer, and returns the CRC. |
|
* The polynomial used is 0xedb88320. |
|
*/ |
|
unsigned int ssh_crc32(const unsigned char *buf, unsigned int len); |
|
|
|
#endif /* CRC32_H */ |
#endif /* CRC32_H */ |