[digest] Add generic CRC32 function

Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
Joshua Oreman
2009-06-24 00:33:13 -07:00
committed by Marty Connor
parent cd04338f7c
commit 7eaad90976
2 changed files with 64 additions and 0 deletions

10
src/include/gpxe/crc32.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef _GPXE_CRC32_H
#define _GPXE_CRC32_H
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
u32 crc32_le ( u32 seed, const void *data, size_t len );
#endif