Lines Matching refs:crc
170 * and the cyclic redundancy check crc.
172 void crypthead(passwd, crc, zfile)
174 ulg crc; /* crc of file being encrypted */
196 /* Encrypt random header (last two bytes is high word of crc) */
202 ztemp = zencode((int)(crc >> 16) & 0xff, t);
204 ztemp = zencode((int)(crc >> 24) & 0xff, t);
238 crypthead(passwd, z->crc, dest);
300 /* If last two bytes of header don't match crc (or file time in the
306 (z->flg & 8 ? (ush) z->tim & 0xffff : (ush)(z->crc >> 16))) {
309 if ((ush)c1 != (z->flg & 8 ? (ush) z->tim >> 8 : (ush)(z->crc >> 24))) {
538 "\n lrec.crc= %08lx crec.crc= %08lx pInfo->ExtLocHdr= %s\n",
539 GLOBAL(lrec.crc32), GLOBAL(pInfo->crc),
550 " (c | (b<<8)) = %04x (crc >> 16) = %04x lrec.time = %04x\n",
559 Trace((stdout, " b = %02x (crc >> 24) = %02x (lrec.time >> 8) = %02x\n",