Home | History | Annotate | Download | only in applypatch

Lines Matching refs:expected_sha1

72   uint8_t expected_sha1[SHA_DIGEST_LENGTH];
73 if (ParseSha1(partition.hash, expected_sha1) != 0) {
88 if (memcmp(out->sha1, expected_sha1, SHA_DIGEST_LENGTH) == 0) {
101 memcmp(out->sha1, expected_sha1, SHA_DIGEST_LENGTH) == 0) {
308 uint8_t expected_sha1[SHA_DIGEST_LENGTH];
309 if (ParseSha1(partition.hash, expected_sha1) != 0) {
314 if (memcmp(source_file.sha1, expected_sha1, SHA_DIGEST_LENGTH) != 0) {
330 uint8_t expected_sha1[SHA_DIGEST_LENGTH];
331 if (ParseSha1(target.hash, expected_sha1) != 0) {
387 if (memcmp(patched.sha1, expected_sha1, SHA_DIGEST_LENGTH) != 0) {
388 LOG(ERROR) << "Patching did not produce the expected SHA-1 of " << short_sha1(expected_sha1);
409 LOG(INFO) << " now " << short_sha1(expected_sha1);