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

/netbsd-current/common/dist/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 z_crc_t* pcrc_32_tab) argument
41 (void)pcrc_32_tab;
49 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) argument
66 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) argument
72 update_keys(pkeys,pcrc_32_tab,(int)*passwd);
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) argument
[all...]
H A Dunzip.c191 const z_crc_t* pcrc_32_tab; member in struct:__anon5
1621 s->pcrc_32_tab = get_crc_table();
1622 init_keys(password,s->keys,s->pcrc_32_tab);
1632 zdecode(s->keys,s->pcrc_32_tab,source[i]);
1751 zdecode(s->keys,s->pcrc_32_tab,
H A Dzip.c160 const z_crc_t* pcrc_32_tab; member in struct:__anon6
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);
/netbsd-current/external/gpl3/binutils/dist/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 z_crc_t* pcrc_32_tab) argument
41 (void)pcrc_32_tab;
49 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) argument
66 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) argument
72 update_keys(pkeys,pcrc_32_tab,(int)*passwd);
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) argument
[all...]
H A Dunzip.c191 const z_crc_t* pcrc_32_tab; member in struct:__anon1171
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:__anon1172
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);
/netbsd-current/external/gpl3/gdb/dist/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 z_crc_t* pcrc_32_tab) argument
41 (void)pcrc_32_tab;
49 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) argument
66 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) argument
72 update_keys(pkeys,pcrc_32_tab,(int)*passwd);
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) argument
[all...]
H A Dunzip.c191 const z_crc_t* pcrc_32_tab; member in struct:__anon2658
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:__anon2659
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);
/netbsd-current/external/gpl3/binutils.old/dist/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 z_crc_t* pcrc_32_tab) argument
41 (void)pcrc_32_tab;
49 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) argument
66 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) argument
72 update_keys(pkeys,pcrc_32_tab,(int)*passwd);
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) argument
[all...]
H A Dunzip.c191 const z_crc_t* pcrc_32_tab; member in struct:__anon1379
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:__anon1380
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);
/netbsd-current/external/gpl3/gdb.old/dist/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 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:__anon4116
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:__anon4117
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 183 milliseconds