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.cc277 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in VerifySignedPayload() local
278 TEST_AND_RETURN_FALSE(payload_verifier != nullptr); in VerifySignedPayload()
281 payload_verifier->VerifySignature(signature, payload_hash)); in VerifySignedPayload()
287 payload_verifier->VerifySignature(signature, metadata_hash)); in VerifySignedPayload()
/system/update_engine/payload_consumer/
Dpayload_metadata.cc136 const PayloadVerifier& payload_verifier) const { in ValidateMetadataSignature()
180 if (!payload_verifier.VerifyRawSignature( in ValidateMetadataSignature()
189 if (!payload_verifier.VerifySignature(metadata_signature_protobuf, in ValidateMetadataSignature()
Dpayload_metadata.h72 const PayloadVerifier& payload_verifier) const;
Ddelta_performer.cc507 auto [payload_verifier, perform_verification] = CreatePayloadVerifier(); in ParsePayloadMetadata()
508 if (!payload_verifier) { in ParsePayloadMetadata()
518 payload, payload_->metadata_signature, *payload_verifier); in ParsePayloadMetadata()
1747 auto [payload_verifier, perform_verification] = CreatePayloadVerifier(); in VerifyPayload()
1752 if (!payload_verifier) { in VerifyPayload()
1756 if (!payload_verifier->VerifySignature(signatures_message_data_, hash_data)) { in VerifyPayload()
/system/update_engine/
Dupdate_attempter_android.cc451 auto payload_verifier = PayloadVerifier::CreateInstanceFromZipPath( in VerifyPayloadParseManifest() local
453 if (!payload_verifier) { in VerifyPayloadParseManifest()
460 metadata, "", *payload_verifier); in VerifyPayloadParseManifest()
DBUILD.gn162 "payload_consumer/payload_verifier.cc",
DAndroid.bp180 "payload_consumer/payload_verifier.cc",