Searched refs:SHA_DIGEST_LENGTH (Results 1 – 13 of 13) 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 | 72 uint8_t expected_sha1[SHA_DIGEST_LENGTH]; 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() 234 for (int i = 0; i < SHA_DIGEST_LENGTH * 2; ++i, ++ps) { in ParseSha1() 308 uint8_t expected_sha1[SHA_DIGEST_LENGTH]; 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() 387 if (memcmp(patched.sha1, expected_sha1, SHA_DIGEST_LENGTH) != 0) { in GenerateTarget() 394 uint8_t patch_digest[SHA_DIGEST_LENGTH]; in GenerateTarget() 399 uint8_t bonus_digest[SHA_DIGEST_LENGTH]; in GenerateTarget()
|
D | bspatch.cpp | 79 uint8_t digest[SHA_DIGEST_LENGTH]; in ApplyBSDiffPatch()
|
/bootable/recovery/install/ |
D | verifier.cpp | 201 case SHA_DIGEST_LENGTH: in verify_file() 241 uint8_t sha1[SHA_DIGEST_LENGTH]; in verify_file() 265 case SHA_DIGEST_LENGTH: in verify_file() 303 LOG(INFO) << "SHA-1 digest: " << print_hex(sha1, SHA_DIGEST_LENGTH); in verify_file() 431 cert->hash_len = SHA_DIGEST_LENGTH; in LoadCertificateFromBuffer()
|
/bootable/recovery/tests/unit/ |
D | package_test.cpp | 86 std::vector<uint8_t> expected_sha(SHA_DIGEST_LENGTH); in TEST_F() 96 std::vector<uint8_t> calculated_sha(SHA_DIGEST_LENGTH); in TEST_F()
|
D | applypatch_modes_test.cpp | 47 uint8_t digest[SHA_DIGEST_LENGTH]; in GetEmmcTargetString()
|
D | verifier_test.cpp | 110 ASSERT_EQ(SHA_DIGEST_LENGTH, cert.hash_len); in TEST() 121 ASSERT_EQ(SHA_DIGEST_LENGTH, cert.hash_len); in TEST()
|
D | commands_test.cpp | 451 uint8_t digest[SHA_DIGEST_LENGTH]; in TEST() 473 uint8_t digest[SHA_DIGEST_LENGTH]; in TEST()
|
D | updater_test.cpp | 110 uint8_t digest[SHA_DIGEST_LENGTH]; in GetSha1()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | applypatch.h | 34 uint8_t sha1[SHA_DIGEST_LENGTH];
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 610 uint8_t digest[SHA_DIGEST_LENGTH]; in PrintHashForCorruptedSourceBlocks() 628 uint8_t digest[SHA_DIGEST_LENGTH]; in PrintHashForCorruptedStashedBlocks() 655 uint8_t digest[SHA_DIGEST_LENGTH]; in VerifyBlocks() 1589 static bool Sha1DevicePath(const std::string& path, uint8_t digest[SHA_DIGEST_LENGTH]) { in Sha1DevicePath() argument 1711 uint8_t digest[SHA_DIGEST_LENGTH]; in PerformBlockImageUpdate() 2131 uint8_t digest[SHA_DIGEST_LENGTH]; in RangeSha1Fn()
|
D | commands.cpp | 368 uint8_t digest[SHA_DIGEST_LENGTH]; in DumpBuffer()
|
/bootable/recovery/tests/unit/host/ |
D | update_simulator_test.cpp | 66 uint8_t digest[SHA_DIGEST_LENGTH]; in CalculateSha1()
|