Home
last modified time | relevance | path

Searched refs:xz_crc32 (Results 1 – 3 of 3) sorted by relevance

/lib/xz/
Dxz_dec_stream.c245 s->crc32 = xz_crc32(b->out + s->out_start, in dec_block()
270 s->block.hash.crc32 = xz_crc32( in dec_block()
285 s->crc32 = xz_crc32(b->in + s->in_start, in_used, s->crc32); in index_update()
329 s->index.hash.crc32 = xz_crc32( in dec_index()
392 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header()
427 if (xz_crc32(s->temp.buf + 4, 6, 0) != get_le32(s->temp.buf)) in dec_stream_footer()
458 if (xz_crc32(s->temp.buf, s->temp.size, 0) in dec_block_header()
Dxz_stream.h16 # define xz_crc32(buf, size, crc) \ macro
Dxz_crc32.c49 XZ_EXTERN uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc) in xz_crc32() function