Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/gki/
Dlz4_legacy.cpp62 uint32_t block_size; in Lz4DecompressLegacy() local
64 TEMP_FAILURE_RETRY(read(ifd.get(), &block_size, sizeof(block_size))); in Lz4DecompressLegacy()
69 if (static_cast<size_t>(read_bytes) != sizeof(block_size)) { in Lz4DecompressLegacy()
70 return Error() << "Cannot read " << sizeof(block_size) in Lz4DecompressLegacy()
75 if (block_size == lz4_legacy_magic) { in Lz4DecompressLegacy()
78 if (block_size > ibuf.size()) { in Lz4DecompressLegacy()
79 return Error() << "Block size is " << block_size in Lz4DecompressLegacy()
83 if (!ReadFully(ifd, ibuf.data(), block_size)) { in Lz4DecompressLegacy()
84 return ErrnoError() << "read " << block_size << " bytes"; in Lz4DecompressLegacy()
88 LZ4_decompress_safe(ibuf.data(), obuf.data(), block_size, obuf.size()); in Lz4DecompressLegacy()
/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp706 int block_size = in VerifyCiphertext() local
711 &computed_ciphertext[i], block_size)); in VerifyCiphertext()