xref: /titanic_41/usr/src/cmd/ssh/include/crc32.h (revision da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968)
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