Searched refs:sha1 (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/applypatch/ |
D | applypatch.h | 25 uint8_t sha1[SHA_DIGEST_SIZE]; member 30 uint8_t sha1[SHA_DIGEST_SIZE]; member 66 int FindMatchingPatch(uint8_t* sha1, char* const * const patch_sha1_str,
|
D | imgdiff_test.sh | 56 sha1() { function 94 /data/local/tmp/target $(sha1 $tmpdir/target) $(size $tmpdir/target) \ 95 $(sha1 $tmpdir/source):/data/local/tmp/patch \
|
D | applypatch.c | 88 SHA_hash(file->data, file->size, file->sha1); in LoadFileContents() 292 file->sha1[i] = sha_final[i]; in LoadPartitionContents() 565 int FindMatchingPatch(uint8_t* sha1, char* const * const patch_sha1_str, in FindMatchingPatch() argument 571 memcmp(patch_sha1, sha1, SHA_DIGEST_SIZE) == 0) { in FindMatchingPatch() 592 FindMatchingPatch(file.sha1, patch_sha1_str, num_patches) < 0)) { in applypatch_check() 610 if (FindMatchingPatch(file.sha1, patch_sha1_str, num_patches) < 0) { in applypatch_check() 677 static void print_short_sha1(const uint8_t sha1[SHA_DIGEST_SIZE]) { in print_short_sha1() 681 putchar(hex[(sha1[i]>>4) & 0xf]); in print_short_sha1() 682 putchar(hex[sha1[i] & 0xf]); in print_short_sha1() 742 if (memcmp(source_file.sha1, target_sha1, SHA_DIGEST_SIZE) == 0) { in applypatch() [all …]
|
D | applypatch.sh | 70 sha1() { function 103 OLD_SHA1=$(sha1 $DATA_DIR/old.file) 104 NEW_SHA1=$(sha1 $DATA_DIR/new.file)
|
/bootable/recovery/ |
D | verifier.cpp | 225 const uint8_t* sha1 = SHA_final(&sha1_ctx); in verify_file() local 246 case SHA_DIGEST_SIZE: hash = sha1; break; in verify_file()
|