Searched refs:SHA_DIGEST_LENGTH (Results 1 – 9 of 9) sorted by relevance
/bootable/recovery/otautil/include/otautil/ |
D | print_sha1.h | 35 [[maybe_unused]] 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 [[maybe_unused]] static std::string short_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { in short_sha1() argument
|
/bootable/recovery/applypatch/ |
D | applypatch.cpp | 50 const uint8_t target_sha1[SHA_DIGEST_LENGTH], const Value* bonus_data); 156 uint8_t sha_so_far[SHA_DIGEST_LENGTH]; in LoadPartitionContents() 159 uint8_t parsed_sha[SHA_DIGEST_LENGTH]; in LoadPartitionContents() 165 if (memcmp(sha_so_far, parsed_sha, SHA_DIGEST_LENGTH) == 0) { in LoadPartitionContents() 353 for (int i = 0; i < SHA_DIGEST_LENGTH * 2; ++i, ++ps) { in ParseSha1() 380 uint8_t patch_sha1[SHA_DIGEST_LENGTH]; in FindMatchingPatch() 382 memcmp(patch_sha1, sha1, SHA_DIGEST_LENGTH) == 0) { in FindMatchingPatch() 492 uint8_t target_sha1[SHA_DIGEST_LENGTH]; in applypatch() 501 if (memcmp(source_file.sha1, target_sha1, SHA_DIGEST_LENGTH) == 0) { in applypatch() 553 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/ |
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/include/applypatch/ |
D | applypatch.h | 33 uint8_t sha1[SHA_DIGEST_LENGTH];
|
/bootable/recovery/updater/ |
D | install.cpp | 311 uint8_t digest[SHA_DIGEST_LENGTH]; in Sha1CheckFn() 319 uint8_t arg_digest[SHA_DIGEST_LENGTH]; in Sha1CheckFn() 325 } else if (memcmp(digest, arg_digest, SHA_DIGEST_LENGTH) == 0) { in Sha1CheckFn()
|
/bootable/recovery/tests/component/ |
D | applypatch_test.cpp | 54 uint8_t digest[SHA_DIGEST_LENGTH]; in sha1sum()
|
D | updater_test.cpp | 97 uint8_t digest[SHA_DIGEST_LENGTH]; in get_sha1()
|