/third_party/zlib/contrib/minizip/ |
H A D | crypt.h | 30 #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) in decrypt_byte() argument 41 (void)pcrc_32_tab; in decrypt_byte() 49 static int update_keys(unsigned long* pkeys, const z_crc_t* pcrc_32_tab, int c) in update_keys() argument 66 static void init_keys(const char* passwd, unsigned long* pkeys, const z_crc_t* pcrc_32_tab) in init_keys() argument 72 update_keys(pkeys,pcrc_32_tab,(int)*passwd); in init_keys() 77 #define zdecode(pkeys,pcrc_32_tab,c) \ 78 (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab))) 80 #define zencode(pkeys,pcrc_32_tab, 91 crypthead(const char* passwd, unsigned char* buf, int bufSize, unsigned long* pkeys, const z_crc_t* pcrc_32_tab, unsigned long crcForCrypting) crypthead() argument [all...] |
H A D | unzip.c | 186 const z_crc_t* pcrc_32_tab; member 1819 s->pcrc_32_tab = get_crc_table(); in unzOpenCurrentFile3() 1820 init_keys(password,s->keys,s->pcrc_32_tab); in unzOpenCurrentFile3() 1830 zdecode(s->keys,s->pcrc_32_tab,source[i]); in unzOpenCurrentFile3() 1944 zdecode(s->keys,s->pcrc_32_tab, in unzReadCurrentFile()
|
H A D | zip.c | 156 const z_crc_t* pcrc_32_tab; member 1509 zi->ci.pcrc_32_tab = get_crc_table(); in zipOpenNewFileInZip4_64() 1510 /*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/ in zipOpenNewFileInZip4_64() 1512 sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting); in zipOpenNewFileInZip4_64() 1637 zi->ci.buffered_data[i] = zencode(zi->ci.keys, zi->ci.pcrc_32_tab, zi->ci.buffered_data[i],t); in zip64FlushWriteBuffer()
|
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
H A D | crypt.h | 30 #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) in decrypt_byte() argument 48 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) in update_keys() argument 65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument 71 update_keys(pkeys,pcrc_32_tab,(int)*passwd); in init_keys() 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) crypthead() argument [all...] |
H A D | unzip.c | 187 const z_crc_t* pcrc_32_tab; member 1615 s->pcrc_32_tab = get_crc_table(); in unzOpenCurrentFile3() 1616 init_keys(password,s->keys,s->pcrc_32_tab); in unzOpenCurrentFile3() 1626 zdecode(s->keys,s->pcrc_32_tab,source[i]); in unzOpenCurrentFile3() 1741 zdecode(s->keys,s->pcrc_32_tab, in unzReadCurrentFile()
|
H A D | zip.c | 160 const z_crc_t* pcrc_32_tab; member 1249 zi->ci.pcrc_32_tab = get_crc_table(); in zipOpenNewFileInZip4_64() 1250 /*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/ in zipOpenNewFileInZip4_64() 1252 sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting); in zipOpenNewFileInZip4_64() 1373 zi->ci.buffered_data[i] = zencode(zi->ci.keys, zi->ci.pcrc_32_tab, zi->ci.buffered_data[i],t); in zip64FlushWriteBuffer()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
H A D | crypt.h | 30 #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) in decrypt_byte() argument 48 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) in update_keys() argument 65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument 71 update_keys(pkeys,pcrc_32_tab,(int)*passwd); in init_keys() 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) crypthead() argument [all...] |
H A D | unzip.c | 187 const z_crc_t* pcrc_32_tab; member 1615 s->pcrc_32_tab = get_crc_table(); in unzOpenCurrentFile3() 1616 init_keys(password,s->keys,s->pcrc_32_tab); in unzOpenCurrentFile3() 1626 zdecode(s->keys,s->pcrc_32_tab,source[i]); in unzOpenCurrentFile3() 1741 zdecode(s->keys,s->pcrc_32_tab, in unzReadCurrentFile()
|
H A D | zip.c | 160 const z_crc_t* pcrc_32_tab; member 1260 zi->ci.pcrc_32_tab = get_crc_table(); in zipOpenNewFileInZip4_64() 1261 /*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/ in zipOpenNewFileInZip4_64() 1263 sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting); in zipOpenNewFileInZip4_64() 1384 zi->ci.buffered_data[i] = zencode(zi->ci.keys, zi->ci.pcrc_32_tab, zi->ci.buffered_data[i],t); in zip64FlushWriteBuffer()
|