Home
last modified time | relevance | path

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

/bootable/recovery/install/
Dverifier.cpp163 size_t eocd_size = comment_size + EOCD_HEADER_SIZE; in verify_file() local
165 if (length < eocd_size) { in verify_file()
173 uint64_t signed_len = length - eocd_size + EOCD_HEADER_SIZE - 2; in verify_file()
175 uint8_t eocd[eocd_size]; in verify_file()
176 if (!package->ReadFullyAtOffset(eocd, eocd_size, length - eocd_size)) { in verify_file()
177 LOG(ERROR) << "Failed to read EOCD of " << eocd_size << " bytes"; in verify_file()
187 for (size_t i = 4; i < eocd_size - 3; ++i) { in verify_file()
246 const uint8_t* signature = eocd + eocd_size - signature_start; in verify_file()