]> andersk Git - openssh.git/blame - crc32.h
- markus@cvs.openbsd.org 2001/06/26 17:25:34
[openssh.git] / crc32.h
CommitLineData
8efc0c15 1/*
5260325f 2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
f3c7c613 3 * Copyright (c) 1992 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
5260325f 4 * All rights reserved
5260325f 5 * Functions for computing 32-bit CRC.
6ae2364d 6 *
bcbf86ec 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".
5260325f 12 */
8efc0c15 13
2a1e4639 14/* RCSID("$OpenBSD: crc32.h,v 1.11 2001/06/26 06:32:51 itojun Exp $"); */
8efc0c15 15
16#ifndef CRC32_H
17#define CRC32_H
18
aa3378df 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 */
2a1e4639 23u_int ssh_crc32(const u_char *, u_int);
8efc0c15 24
5260325f 25#endif /* CRC32_H */
This page took 1.465072 seconds and 5 git commands to generate.