SmartAudio/lichee/brandy/pack_tools/openssl_signature/crc.h

32 lines
831 B
C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
*********************************************************************************************************
* ePDK
* the Easy Portable/Player Develop Kits
* Decompression For Boot
*
* (c) Copyright 2009-2010, Sunny China
* All Rights Reserved
*
* File : DFB_File.h
* By : sunny
* Version : V2.0
* Date : 2009-11-4 10:35:33
*********************************************************************************************************
*/
#ifndef __CAL_CRC_H__
#define __CAL_CRC_H__
typedef struct tag_CRC32_DATA
{
unsigned CRC; //在Windows下编程int的大小是32位
unsigned CRC_32_Tbl[256]; //用来保存码表
}CRC32_DATA_t;
extern unsigned calc_crc32(void * buffer, unsigned length);
#endif /* __CAL_CRC_H__ */