[BACK]Return to crc32.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/crc32.h, Revision 1.10

1.1       deraadt     1: /*
1.3       deraadt     2:  * Author: Tatu Ylonen <ylo@cs.hut.fi>
1.10    ! deraadt     3:  * Copyright (c) 1992 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
1.3       deraadt     4:  *                    All rights reserved
                      5:  * Functions for computing 32-bit CRC.
1.5       markus      6:  *
1.8       deraadt     7:  * As far as I am concerned, the code I have written for this software
                      8:  * can be used freely for any purpose.  Any derived versions of this
                      9:  * software must be clearly marked as such, and if the derived work is
                     10:  * incompatible with the protocol description in the RFC file, it must be
                     11:  * called by a name other than "ssh" or "Secure Shell".
1.3       deraadt    12:  */
1.1       deraadt    13:
1.10    ! deraadt    14: /* RCSID("$OpenBSD: crc32.h,v 1.9 2000/12/19 23:17:56 markus Exp $"); */
1.1       deraadt    15:
                     16: #ifndef CRC32_H
                     17: #define CRC32_H
                     18:
1.4       markus     19: /*
                     20:  * This computes a 32 bit CRC of the data in the buffer, and returns the CRC.
                     21:  * The polynomial used is 0xedb88320.
                     22:  */
1.9       markus     23: u_int ssh_crc32(const u_char *buf, u_int len);
1.1       deraadt    24:
1.3       deraadt    25: #endif                         /* CRC32_H */