1N/A/*
1N/A libparted - a library for manipulating disk partitions
1N/A Copyright (C) 1998-2000, 2007, 2009-2010 Free Software Foundation,
1N/A Inc.
1N/A
1N/A crc32.h
1N/A
1N/A This program is free software; you can redistribute it and/or modify
1N/A it under the terms of the GNU General Public License as published by
1N/A the Free Software Foundation; either version 3 of the License, or
1N/A (at your option) any later version.
1N/A
1N/A This program is distributed in the hope that it will be useful,
1N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
1N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1N/A GNU General Public License for more details.
1N/A
1N/A You should have received a copy of the GNU General Public License
1N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
1N/A*/
1N/A
1N/A#ifndef _CRC32_H
1N/A#define _CRC32_H
1N/A
1N/A#include <stdint.h>
1N/A
1N/A/*
1N/A * This computes a 32 bit CRC of the data in the buffer, and returns the CRC.
1N/A * The polynomial used is 0xedb88320.
1N/A */
1N/A
1N/Aextern uint32_t __efi_crc32 (const void *buf, unsigned long len,
1N/A uint32_t seed);
1N/A
1N/A#endif /* _CRC32_H */