version 1.8.2.6, 2002/03/08 17:04:42 |
version 1.9, 2000/12/19 23:17:56 |
|
|
/* $OpenBSD$ */ |
|
|
|
/* |
/* |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Copyright (c) 1992 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
* Copyright (c) 1992 Tatu Ylonen, Espoo, Finland |
* All rights reserved |
* All rights reserved |
* Functions for computing 32-bit CRC. |
* Functions for computing 32-bit CRC. |
* |
* |
|
|
* called by a name other than "ssh" or "Secure Shell". |
* called by a name other than "ssh" or "Secure Shell". |
*/ |
*/ |
|
|
|
/* RCSID("$OpenBSD$"); */ |
|
|
#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. |
|
*/ |
|
u_int ssh_crc32(const u_char *buf, u_int len); |
|
|
#endif /* CRC32_H */ |
#endif /* CRC32_H */ |