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

/external/chromium_org/third_party/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:__anon16391
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]);
1744 zdecode(s->keys,s->pcrc_32_tab,
H A Dzip.c160 const unsigned long* pcrc_32_tab; member in struct:__anon16392
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);
/external/zlib/src/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 z_crc_t* pcrc_32_tab) argument
48 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) argument
65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* 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 z_crc_t* pcrc_32_tab, unsigned long crcForCrypting) argument
[all...]
H A Dunzip.c191 const z_crc_t* pcrc_32_tab; member in struct:__anon34344
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 z_crc_t* pcrc_32_tab; member in struct:__anon34345
1249 zi->ci.pcrc_32_tab = get_crc_table();
1250 /*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/
1252 sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting);
1373 zi->ci.buffered_data[i] = zencode(zi->ci.keys, zi->ci.pcrc_32_tab, zi->ci.buffered_data[i],t);

Completed in 142 milliseconds