Searched refs:pcrc_32_tab (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10/zlib-55/zlib/contrib/minizip/
H A Dcrypt.h30 #define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))
35 static int decrypt_byte(unsigned long* pkeys, const unsigned long* pcrc_32_tab) argument
48 static int update_keys(unsigned long* pkeys,const unsigned long* pcrc_32_tab,int c) argument
65 static void init_keys(const char* passwd,unsigned long* pkeys,const unsigned long* pcrc_32_tab) argument
71 update_keys(pkeys,pcrc_32_tab,(int)*passwd);
76 #define zdecode(pkeys,pcrc_32_tab,c) \
77 (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
79 #define zencode(pkeys,pcrc_32_tab,c,t) \
80 (t=decrypt_byte(pkeys,pcrc_32_tab), update_key
90 crypthead(const char* passwd, unsigned char* buf, int bufSize, unsigned long* pkeys, const unsigned long* pcrc_32_tab, unsigned long crcForCrypting) argument
[all...]
H A Dunzip.c191 const unsigned long* pcrc_32_tab; member in struct:__anon15682
1619 s->pcrc_32_tab = get_crc_table();
1620 init_keys(password,s->keys,s->pcrc_32_tab);
1630 zdecode(s->keys,s->pcrc_32_tab,source[i]);
1749 zdecode(s->keys,s->pcrc_32_tab,
H A Dzip.c160 const unsigned long* pcrc_32_tab; member in struct:__anon15683
1248 zi->ci.pcrc_32_tab = get_crc_table();
1249 /*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/
1251 sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting);
1372 zi->ci.buffered_data[i] = zencode(zi->ci.keys, zi->ci.pcrc_32_tab, zi->ci.buffered_data[i],t);

Completed in 124 milliseconds