blob: 5fd113a56c038bd2e7d6f829a7b15192db4df7df [file] [log] [blame]
Uma Shankara74a99a2012-05-25 21:22:49 +05301/*
2 * crc16.h - CRC-16 routine
3 * Implements the standard CRC-16:
4 * Width 16
5 * Poly 0x8005 (x16 + x15 + x2 + 1)
6 * Init 0
7 *
8 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com>
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */
12#ifndef __CRC16_H
13#define __CRC16_H
14extern unsigned int ext2fs_crc16(unsigned int crc,
15 const void *buffer, unsigned int len);
16#endif