crc 95 lib/crypto/crc32.c uint32_t crc; crc 98 lib/crypto/crc32.c crc = ~0U; crc 101 lib/crypto/crc32.c crc = crc32_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8); crc 103 lib/crypto/crc32.c return crc ^ ~0U; crc 225 lib/zlib/contrib/minizip/miniunz.c (uLong)file_info.crc,filename_inzip); crc 59 lib/zlib/contrib/minizip/mztools.c unsigned int crc = READ_32(header + 14); /* crc */ crc 149 lib/zlib/contrib/minizip/mztools.c WRITE_32(header + 16, crc); crc 633 lib/zlib/contrib/minizip/unzip.c if (unzlocal_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK) crc 1008 lib/zlib/contrib/minizip/unzip.c else if ((err==UNZ_OK) && (uData!=s->cur_file_info.crc) && crc 1117 lib/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info->crc32_wait=s->cur_file_info.crc; crc 108 lib/zlib/contrib/minizip/unzip.h uLong crc; /* crc-32 4 bytes */ crc 215 lib/zlib/crc32.c #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) crc 219 lib/zlib/crc32.c unsigned long ZEXPORT crc32(crc, buf, len) crc 220 lib/zlib/crc32.c unsigned long crc; crc 237 lib/zlib/crc32.c return crc32_little(crc, buf, len); crc 239 lib/zlib/crc32.c return crc32_big(crc, buf, len); crc 242 lib/zlib/crc32.c crc = crc ^ 0xffffffffUL; crc 250 lib/zlib/crc32.c return crc ^ 0xffffffffUL; crc 262 lib/zlib/crc32.c local unsigned long crc32_little(crc, buf, len) crc 263 lib/zlib/crc32.c unsigned long crc; crc 270 lib/zlib/crc32.c c = (u4)crc; crc 302 lib/zlib/crc32.c local unsigned long crc32_big(crc, buf, len) crc 303 lib/zlib/crc32.c unsigned long crc; crc 310 lib/zlib/crc32.c c = REV((u4)crc); crc 118 lib/zlib/examples/gun.c unsigned long crc; crc 133 lib/zlib/examples/gun.c me->crc = crc32(me->crc, buf, len); crc 460 lib/zlib/examples/gun.c outd.crc = crc32(0L, Z_NULL, 0); crc 474 lib/zlib/examples/gun.c if (NEXT() != (outd.crc & 0xff) || crc 475 lib/zlib/examples/gun.c NEXT() != ((outd.crc >> 8) & 0xff) || crc 476 lib/zlib/examples/gun.c NEXT() != ((outd.crc >> 16) & 0xff) || crc 477 lib/zlib/examples/gun.c NEXT() != ((outd.crc >> 24) & 0xff)) { crc 261 lib/zlib/examples/gzappend.c unsigned long crc, tot; crc 293 lib/zlib/examples/gzappend.c crc = crc32(0L, Z_NULL, 0); crc 315 lib/zlib/examples/gzappend.c crc = crc32(crc, window + have, DSIZE - have - strm->avail_out); crc 341 lib/zlib/examples/gzappend.c if (crc != read4(&gz)) crc 369 lib/zlib/examples/gzappend.c strm->adler = crc; crc 264 lib/zlib/examples/gzjoin.c local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) crc 267 lib/zlib/examples/gzjoin.c *crc = crc32(0L, Z_NULL, 0); crc 278 lib/zlib/examples/gzjoin.c local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, crc 410 lib/zlib/examples/gzjoin.c *crc = crc32_combine(*crc, bget4(in), len); crc 420 lib/zlib/examples/gzjoin.c put4(*crc, out); crc 428 lib/zlib/examples/gzjoin.c unsigned long crc, tot; /* running crc and total uncompressed length */ crc 442 lib/zlib/examples/gzjoin.c gzinit(&crc, &tot, stdout); crc 444 lib/zlib/examples/gzjoin.c gzcopy(*argv++, argc, &crc, &tot, stdout); crc 28 lib/zlib/examples/gzlog.c unsigned long crc; /* uncompressed crc */ crc 213 lib/zlib/examples/gzlog.c log->crc = make_ulg(temp + 5); crc 244 lib/zlib/examples/gzlog.c log->crc = crc32(log->crc, data, some); crc 344 lib/zlib/examples/gzlog.c dice_ulg(log->crc, temp + 5); crc 393 lib/zlib/examples/gzlog.c dice_ulg(log->crc, temp); crc 61 lib/zlib/gzio.c uLong crc; /* crc32 of uncompressed data */ crc 121 lib/zlib/gzio.c s->crc = crc32(0L, Z_NULL, 0); crc 468 lib/zlib/gzio.c s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start)); crc 471 lib/zlib/gzio.c if (getLong(s) != s->crc) { crc 482 lib/zlib/gzio.c s->crc = crc32(0L, Z_NULL, 0); crc 488 lib/zlib/gzio.c s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start)); crc 587 lib/zlib/gzio.c s->crc = crc32(s->crc, (const Bytef *)buf, len); crc 867 lib/zlib/gzio.c s->crc = crc32(0L, Z_NULL, 0); crc 965 lib/zlib/gzio.c putLong (s->file, s->crc); crc 1302 lib/zlib/zlib.h ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); crc 125 source3/libsmb/ntlmssp_sign.c uint32 crc; crc 126 source3/libsmb/ntlmssp_sign.c crc = crc32_calc_buffer(data, length); crc 127 source3/libsmb/ntlmssp_sign.c if (!msrpc_gen(sig, "dddd", NTLMSSP_SIGN_VERSION, 0, crc, ntlmssp_state->ntlmv1_seq_num)) { crc 272 source3/libsmb/ntlmssp_sign.c uint32 crc; crc 273 source3/libsmb/ntlmssp_sign.c crc = crc32_calc_buffer(data, length); crc 274 source3/libsmb/ntlmssp_sign.c if (!msrpc_gen(sig, "dddd", NTLMSSP_SIGN_VERSION, 0, crc, ntlmssp_state->ntlmv1_seq_num)) { crc 118 source4/auth/ntlmssp/ntlmssp_sign.c uint32_t crc; crc 119 source4/auth/ntlmssp/ntlmssp_sign.c crc = crc32_calc_buffer(data, length); crc 121 source4/auth/ntlmssp/ntlmssp_sign.c sig, "dddd", NTLMSSP_SIGN_VERSION, 0, crc, gensec_ntlmssp_state->crypt.ntlm.seq_num)) { crc 246 source4/auth/ntlmssp/ntlmssp_sign.c uint32_t crc; crc 247 source4/auth/ntlmssp/ntlmssp_sign.c crc = crc32_calc_buffer(data, length); crc 249 source4/auth/ntlmssp/ntlmssp_sign.c sig, "dddd", NTLMSSP_SIGN_VERSION, 0, crc, gensec_ntlmssp_state->crypt.ntlm.seq_num)) { crc 46 source4/heimdal/lib/krb5/crc.c unsigned long crc, poly; crc 52 source4/heimdal/lib/krb5/crc.c crc = i; crc 54 source4/heimdal/lib/krb5/crc.c if (crc & 1) { crc 55 source4/heimdal/lib/krb5/crc.c crc = (crc >> 1) ^ poly; crc 57 source4/heimdal/lib/krb5/crc.c crc >>= 1; crc 60 source4/heimdal/lib/krb5/crc.c table[i] = crc; crc 1205 source4/heimdal/lib/krb5/crypto.c uint32_t crc; crc 1208 source4/heimdal/lib/krb5/crypto.c crc = _krb5_crc_update (data, len, 0); crc 1209 source4/heimdal/lib/krb5/crypto.c r[0] = crc & 0xff; crc 1210 source4/heimdal/lib/krb5/crypto.c r[1] = (crc >> 8) & 0xff; crc 1211 source4/heimdal/lib/krb5/crypto.c r[2] = (crc >> 16) & 0xff; crc 1212 source4/heimdal/lib/krb5/crypto.c r[3] = (crc >> 24) & 0xff;