Home
last modified time | relevance | path

Searched refs:validateChecksum (Results 1 – 2 of 2) sorted by relevance

/linux/lib/zstd/decompress/
H A Dzstd_decompress_internal.h149 …U32 validateChecksum; /* if == 1, will validate checksum. Is == 1 if (fParams.checksumFlag… member
H A Dzstd_decompress.c665 dctx->validateChecksum = (dctx->fParams.checksumFlag && !dctx->forceIgnoreChecksum) ? 1 : 0; in ZSTD_decodeFrameHeader()
666 if (dctx->validateChecksum) xxh64_reset(&dctx->xxhState, 0); in ZSTD_decodeFrameHeader()
906 if (dctx->validateChecksum) in ZSTD_decompressFrame()
1206 if (dctx->validateChecksum) xxh64_update(&dctx->xxhState, dst, rSize); in ZSTD_decompressContinue()
1238 if (dctx->validateChecksum) { in ZSTD_decompressContinue()