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

32 lines
831 B
C
Raw Normal View History

2018-07-13 01:31:50 +00:00
/*
*********************************************************************************************************
* 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; //<2F><>Windows<77>±<EFBFBD><C2B1>̣<EFBFBD>int<6E>Ĵ<EFBFBD>С<EFBFBD><D0A1>32λ
unsigned CRC_32_Tbl[256]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
}CRC32_DATA_t;
extern unsigned calc_crc32(void * buffer, unsigned length);
#endif /* __CAL_CRC_H__ */