• Home
  • Raw
  • Download

Lines Matching refs:manifest

117   DeltaArchiveManifest manifest;  in AddSignatureBlobToPayload()  local
118 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in AddSignatureBlobToPayload()
121 if (manifest.has_signatures_size()) { in AddSignatureBlobToPayload()
126 if (manifest.signatures_size() != payload_signature.size()) { in AddSignatureBlobToPayload()
128 << "(current:" << manifest.signatures_size() in AddSignatureBlobToPayload()
140 &manifest); in AddSignatureBlobToPayload()
144 TEST_AND_RETURN_FALSE(manifest.AppendToString(&serialized_manifest)); in AddSignatureBlobToPayload()
161 metadata_size + metadata_signature_size + manifest.signatures_offset(); in AddSignatureBlobToPayload()
211 DeltaArchiveManifest* manifest) { in AddSignatureToManifest() argument
213 manifest->set_signatures_offset(signature_blob_offset); in AddSignatureToManifest()
214 LOG(INFO) << "set? " << manifest->has_signatures_offset(); in AddSignatureToManifest()
215 manifest->set_signatures_offset(signature_blob_offset); in AddSignatureToManifest()
216 manifest->set_signatures_size(signature_blob_length); in AddSignatureToManifest()
219 InstallOperation* dummy_op = manifest->add_kernel_install_operations(); in AddSignatureToManifest()
237 DeltaArchiveManifest manifest; in VerifySignedPayload() local
238 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in VerifySignedPayload()
239 TEST_AND_RETURN_FALSE(manifest.has_signatures_offset() && in VerifySignedPayload()
240 manifest.has_signatures_size()); in VerifySignedPayload()
245 metadata_size + metadata_signature_size + manifest.signatures_offset(); in VerifySignedPayload()
246 CHECK_EQ(payload.size(), signatures_offset + manifest.signatures_size()); in VerifySignedPayload()