Lines Matching defs:keys
122 local z_uint4 keys[3]; /* keys defining the pseudo-random sequence */
156 temp = ((unsigned)GLOBAL(keys[2]) & 0xffff) | 2;
161 * Update the encryption keys with the next byte of plain text
167 GLOBAL(keys[0]) = CRC32(GLOBAL(keys[0]), c, CRY_CRC_TAB);
168 GLOBAL(keys[1]) = (GLOBAL(keys[1])
169 + (GLOBAL(keys[0]) & 0xff))
172 register int keyshift = (int)(GLOBAL(keys[1]) >> 24);
173 GLOBAL(keys[2]) = CRC32(GLOBAL(keys[2]), keyshift, CRY_CRC_TAB);
180 * Initialize the encryption keys and the random header according to
185 ZCONST char *passwd; /* password string with which to modify keys */
192 GLOBAL(keys[0]) = 305419896L;
193 GLOBAL(keys[1]) = 591751049L;
194 GLOBAL(keys[2]) = 878082192L;
293 /* Initialize keys with password and write random header */
347 /* Initialize keys with password */
450 * Get the password and set up keys for current zipfile member.
500 /* try a few keys */
597 /* set keys and save the encrypted header */