Lines Matching refs:sha256Ctx
425 SHA256_CTX sha256Ctx = {}; in TestDecompressLz4() local
426 SHA256_Init(&sha256Ctx); in TestDecompressLz4()
427 …SHA256_Update(&sha256Ctx, static_cast<const uint8_t*>(mappedData), lz4Info.fileInfo.packedSize + 4… in TestDecompressLz4()
428 SHA256_Final(digest.data(), &sha256Ctx); in TestDecompressLz4()
520 SHA256_CTX sha256Ctx = {}; in TestDecompressGzip() local
521 SHA256_Init(&sha256Ctx); in TestDecompressGzip()
522 …SHA256_Update(&sha256Ctx, reinterpret_cast<const uint8_t*>(mappedData) + offset, zipInfo.fileInfo.… in TestDecompressGzip()
523 SHA256_Final(digest.data(), &sha256Ctx); in TestDecompressGzip()
540 SHA256_CTX sha256Ctx = {}; in TestCompressBuffer() local
541 SHA256_Init(&sha256Ctx); in TestCompressBuffer()
550 SHA256_Update(&sha256Ctx, ptr.buffer, size); in TestCompressBuffer()
565 SHA256_Final(localDigest.data(), &sha256Ctx); in TestCompressBuffer()