xref: /titanic_41/usr/src/cmd/ssh/include/crc32.h (revision c138f478d2bc94e73ab8f6a084e323bec25e62f5)
1 /*	$OpenBSD: crc32.h,v 1.13 2002/03/04 17:27:39 stevesk Exp $	*/
2 
3 #ifndef	_CRC32_H
4 #define	_CRC32_H
5 
6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 
13 /*
14  * Author: Tatu Ylonen <ylo@cs.hut.fi>
15  * Copyright (c) 1992 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
16  *                    All rights reserved
17  * Functions for computing 32-bit CRC.
18  *
19  * As far as I am concerned, the code I have written for this software
20  * can be used freely for any purpose.  Any derived versions of this
21  * software must be clearly marked as such, and if the derived work is
22  * incompatible with the protocol description in the RFC file, it must be
23  * called by a name other than "ssh" or "Secure Shell".
24  */
25 
26 u_int	 ssh_crc32(const u_char *, u_int);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif /* _CRC32_H */
33