Home | History | Annotate | Download | only in applypatch

Lines Matching refs:SHA1

65   SHA1(file->data.data(), file->data.size(), file->sha1);
87 SHA1(buffer.data(), buffer.size(), out->sha1);
88 if (memcmp(out->sha1, expected_sha1, SHA_DIGEST_LENGTH) == 0) {
101 memcmp(out->sha1, expected_sha1, SHA_DIGEST_LENGTH) == 0) {
314 if (memcmp(source_file.sha1, expected_sha1, SHA_DIGEST_LENGTH) != 0) {
318 << ", found: " << short_sha1(source_file.sha1);
386 SHA1_Final(patched.sha1, &ctx);
387 if (memcmp(patched.sha1, expected_sha1, SHA_DIGEST_LENGTH) != 0) {
390 LOG(ERROR) << "target size " << patched.data.size() << " SHA-1 " << short_sha1(patched.sha1);
392 << short_sha1(source_file.sha1);
395 SHA1(reinterpret_cast<const uint8_t*>(patch.data.data()), patch.data.size(), patch_digest);
400 SHA1(reinterpret_cast<const uint8_t*>(bonus_data->data.data()), bonus_data->data.size(),