This commit is contained in:
wangyu
2017-08-04 17:19:40 +08:00
parent 77eff2e6b1
commit 9f0c2c6f35
4 changed files with 16 additions and 0 deletions

View File

@@ -20,6 +20,9 @@ auth_mode_t auth_mode=auth_sum;
cipher_mode_t cipher_mode=cipher_xor;
/*
* this function comes from http://www.hackersdelight.org/hdcodetxt/crc.c.txt
*/
unsigned int crc32h(unsigned char *message,int len) {
int i, crc;
unsigned int byte, c;