Searched refs:SHA_DIGEST_LENGTH (Results 1 – 10 of 10) sorted by relevance
/bootable/recovery/ |
D | print_sha1.h | 35 static std::string print_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { in print_sha1() argument 36 return print_sha1(sha1, SHA_DIGEST_LENGTH); in print_sha1() 39 static std::string short_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { in short_sha1() argument
|
D | verifier.cpp | 204 case SHA_DIGEST_LENGTH: need_sha1 = true; break; in verify_file() 235 uint8_t sha1[SHA_DIGEST_LENGTH]; in verify_file() 259 case SHA_DIGEST_LENGTH: in verify_file() 297 LOG(INFO) << "SHA-1 digest: " << print_hex(sha1, SHA_DIGEST_LENGTH); in verify_file() 494 cert.hash_len = SHA_DIGEST_LENGTH; in load_keys() 502 cert.hash_len = SHA_DIGEST_LENGTH; in load_keys()
|
/bootable/recovery/applypatch/ |
D | applypatch.cpp | 49 const uint8_t target_sha1[SHA_DIGEST_LENGTH], const Value* bonus_data); 154 uint8_t sha_so_far[SHA_DIGEST_LENGTH]; in LoadPartitionContents() 157 uint8_t parsed_sha[SHA_DIGEST_LENGTH]; in LoadPartitionContents() 163 if (memcmp(sha_so_far, parsed_sha, SHA_DIGEST_LENGTH) == 0) { in LoadPartitionContents() 364 for (int i = 0; i < SHA_DIGEST_LENGTH * 2; ++i, ++ps) { in ParseSha1() 391 uint8_t patch_sha1[SHA_DIGEST_LENGTH]; in FindMatchingPatch() 393 memcmp(patch_sha1, sha1, SHA_DIGEST_LENGTH) == 0) { in FindMatchingPatch() 506 uint8_t target_sha1[SHA_DIGEST_LENGTH]; in applypatch() 515 if (memcmp(source_file.sha1, target_sha1, SHA_DIGEST_LENGTH) == 0) { in applypatch() 567 uint8_t target_sha1[SHA_DIGEST_LENGTH]; in applypatch_flash() [all …]
|
D | bspatch.cpp | 85 uint8_t digest[SHA_DIGEST_LENGTH]; in ApplyBSDiffPatch()
|
D | applypatch_modes.cpp | 61 uint8_t digest[SHA_DIGEST_LENGTH]; in ParsePatchArgs()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | applypatch.h | 33 uint8_t sha1[SHA_DIGEST_LENGTH];
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 506 uint8_t digest[SHA_DIGEST_LENGTH]; in PrintHashForCorruptedSourceBlocks() 524 uint8_t digest[SHA_DIGEST_LENGTH]; in PrintHashForCorruptedStashedBlocks() 551 uint8_t digest[SHA_DIGEST_LENGTH]; in VerifyBlocks() 796 uint8_t digest[SHA_DIGEST_LENGTH]; in CreateStash() 1773 uint8_t digest[SHA_DIGEST_LENGTH]; in RangeSha1Fn()
|
D | install.cpp | 776 uint8_t digest[SHA_DIGEST_LENGTH]; in Sha1CheckFn() 784 uint8_t arg_digest[SHA_DIGEST_LENGTH]; in Sha1CheckFn() 790 } else if (memcmp(digest, arg_digest, SHA_DIGEST_LENGTH) == 0) { in Sha1CheckFn()
|
/bootable/recovery/tests/component/ |
D | applypatch_test.cpp | 50 uint8_t digest[SHA_DIGEST_LENGTH]; in sha1sum()
|
D | updater_test.cpp | 78 uint8_t digest[SHA_DIGEST_LENGTH]; in get_sha1()
|