source: trunk/third/ssh/crc32.h @ 12646

Revision 12646, 746 bytes checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12645, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2
3crc32.h
4
5Author: Tatu Ylonen <ylo@cs.hut.fi>
6
7Copyright (c) 1992 Tatu Ylonen, Espoo, Finland
8                   All rights reserved
9
10Created: Tue Feb 11 14:37:27 1992 ylo
11
12Functions for computing 32-bit CRC.
13
14*/
15
16/*
17 * $Id: crc32.h,v 1.1.1.2 1999-03-08 17:43:37 danw Exp $
18 * $Log: not supported by cvs2svn $
19 * Revision 1.1.1.1  1996/02/18  21:38:11  ylo
20 *      Imported ssh-1.2.13.
21 *
22 * Revision 1.2  1995/07/13  01:21:45  ylo
23 *      Removed "Last modified" header.
24 *      Added cvs log.
25 *
26 * $Endlog$
27 */
28
29#ifndef CRC32_H
30#define CRC32_H
31
32/* This computes a 32 bit CRC of the data in the buffer, and returns the
33   CRC.  The polynomial used is 0xedb88320. */
34unsigned long crc32(const unsigned char *buf, unsigned int len);
35
36#endif /* CRC32_H */
Note: See TracBrowser for help on using the repository browser.