Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_signer_unittest.cc143 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F() local
144 EXPECT_TRUE(payload_verifier != nullptr); in TEST_F()
145 EXPECT_TRUE(payload_verifier->VerifySignature(signature, hash_data_)); in TEST_F()
156 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F() local
157 EXPECT_TRUE(payload_verifier != nullptr); in TEST_F()
158 EXPECT_TRUE(payload_verifier->VerifySignature(signature, hash_data_)); in TEST_F()
164 payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F()
165 EXPECT_TRUE(payload_verifier != nullptr); in TEST_F()
166 EXPECT_FALSE(payload_verifier->VerifySignature(signature, hash_data_)); in TEST_F()
Dpayload_signer.cc275 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in VerifySignedPayload() local
276 TEST_AND_RETURN_FALSE(payload_verifier != nullptr); in VerifySignedPayload()
279 payload_verifier->VerifySignature(signature, payload_hash)); in VerifySignedPayload()
285 payload_verifier->VerifySignature(signature, metadata_hash)); in VerifySignedPayload()
/system/update_engine/payload_consumer/
Dpayload_metadata.cc159 const PayloadVerifier& payload_verifier) const { in ValidateMetadataSignature()
203 if (!payload_verifier.VerifyRawSignature( in ValidateMetadataSignature()
212 if (!payload_verifier.VerifySignature(metadata_signature_protobuf, in ValidateMetadataSignature()
Dpayload_metadata.h75 const PayloadVerifier& payload_verifier) const;
Ddelta_performer.cc357 auto [payload_verifier, perform_verification] = CreatePayloadVerifier(); in ParsePayloadMetadata()
358 if (!payload_verifier) { in ParsePayloadMetadata()
368 payload, payload_->metadata_signature, *payload_verifier); in ParsePayloadMetadata()
1284 auto [payload_verifier, perform_verification] = CreatePayloadVerifier(); in VerifyPayload()
1289 if (!payload_verifier) { in VerifyPayload()
1300 if (!payload_verifier->VerifySignature(signatures_message_data_, hash_data)) { in VerifyPayload()
/system/update_engine/aosp/
Dupdate_attempter_android.cc475 auto payload_verifier = PayloadVerifier::CreateInstanceFromZipPath( in VerifyPayloadParseManifest() local
477 if (!payload_verifier) { in VerifyPayloadParseManifest()
484 metadata, "", *payload_verifier); in VerifyPayloadParseManifest()
/system/update_engine/
DBUILD.gn158 "payload_consumer/payload_verifier.cc",
DAndroid.bp239 "payload_consumer/payload_verifier.cc",