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.cc142 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F() local
143 EXPECT_TRUE(payload_verifier != nullptr); in TEST_F()
144 EXPECT_TRUE(payload_verifier->VerifySignature(signature, hash_data_)); in TEST_F()
155 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F() local
156 EXPECT_TRUE(payload_verifier != nullptr); in TEST_F()
157 EXPECT_TRUE(payload_verifier->VerifySignature(signature, hash_data_)); in TEST_F()
163 payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F()
164 EXPECT_TRUE(payload_verifier != nullptr); in TEST_F()
165 EXPECT_FALSE(payload_verifier->VerifySignature(signature, hash_data_)); in TEST_F()
Dpayload_signer.cc293 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in VerifySignedPayload() local
294 TEST_AND_RETURN_FALSE(payload_verifier != nullptr); in VerifySignedPayload()
297 payload_verifier->VerifySignature(signature, payload_hash)); in VerifySignedPayload()
303 payload_verifier->VerifySignature(signature, metadata_hash)); in VerifySignedPayload()
/system/update_engine/payload_consumer/
Dpayload_metadata.cc162 const PayloadVerifier& payload_verifier) const { in ValidateMetadataSignature()
206 if (!payload_verifier.VerifyRawSignature( in ValidateMetadataSignature()
215 if (!payload_verifier.VerifySignature(metadata_signature_protobuf, in ValidateMetadataSignature()
Dpayload_metadata.h72 const PayloadVerifier& payload_verifier) const;
Ddelta_performer.cc530 auto [payload_verifier, perform_verification] = CreatePayloadVerifier(); in ParsePayloadMetadata()
531 if (!payload_verifier) { in ParsePayloadMetadata()
541 payload, payload_->metadata_signature, *payload_verifier); in ParsePayloadMetadata()
1896 auto [payload_verifier, perform_verification] = CreatePayloadVerifier(); in VerifyPayload()
1901 if (!payload_verifier) { in VerifyPayload()
1905 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()
Dupdate_engine.gyp186 'payload_consumer/payload_verifier.cc',
DAndroid.bp182 "payload_consumer/payload_verifier.cc",