Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dapplypatch.cpp72 uint8_t expected_sha1[SHA_DIGEST_LENGTH]; in ReadPartitionToBuffer() local
73 if (ParseSha1(partition.hash, expected_sha1) != 0) { in ReadPartitionToBuffer()
88 if (memcmp(out->sha1, expected_sha1, SHA_DIGEST_LENGTH) == 0) { in ReadPartitionToBuffer()
101 memcmp(out->sha1, expected_sha1, SHA_DIGEST_LENGTH) == 0) { in ReadPartitionToBuffer()
308 uint8_t expected_sha1[SHA_DIGEST_LENGTH]; in FlashPartition() local
309 if (ParseSha1(partition.hash, expected_sha1) != 0) { in FlashPartition()
314 if (memcmp(source_file.sha1, expected_sha1, SHA_DIGEST_LENGTH) != 0) { in FlashPartition()
330 uint8_t expected_sha1[SHA_DIGEST_LENGTH]; in GenerateTarget() local
331 if (ParseSha1(target.hash, expected_sha1) != 0) { in GenerateTarget()
387 if (memcmp(patched.sha1, expected_sha1, SHA_DIGEST_LENGTH) != 0) { in GenerateTarget()
[all …]