Home
last modified time | relevance | path

Searched refs:metadata_signature_size (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_signer.cc105 uint32_t metadata_signature_size = in AddSignatureBlobToPayload() local
115 payload.begin() + metadata_size + metadata_signature_size); in AddSignatureBlobToPayload()
119 metadata_signature_size = metadata_signature.size(); in AddSignatureBlobToPayload()
120 LOG(INFO) << "Metadata signature size: " << metadata_signature_size; in AddSignatureBlobToPayload()
142 payload.size() - metadata_size - metadata_signature_size, in AddSignatureBlobToPayload()
165 metadata_size + metadata_signature_size + manifest.signatures_offset(); in AddSignatureBlobToPayload()
174 *out_metadata_signature_size = metadata_signature_size; in AddSignatureBlobToPayload()
185 const uint32_t metadata_signature_size, in CalculateHashFromPayload() argument
200 metadata_size + metadata_signature_size); in CalculateHashFromPayload()
202 payload.data() + metadata_size + metadata_signature_size, in CalculateHashFromPayload()
[all …]
Dpayload_file.cc225 uint32_t metadata_signature_size = htobe32(signature_blob_length); in WritePayload() local
227 writer.Write(&metadata_signature_size, sizeof(metadata_signature_size))); in WritePayload()
228 metadata_size += sizeof(metadata_signature_size); in WritePayload()
230 metadata_signature_size = signature_blob_length; in WritePayload()
274 metadata_signature_size, in WritePayload()
275 metadata_size + metadata_signature_size + manifest_.signatures_offset(), in WritePayload()
Dpayload_signer.h70 const uint32_t metadata_signature_size,
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc839 uint32_t metadata_signature_size = rand_r(&seed) % 256; in TEST_F() local
846 manifest_size + metadata_signature_size + 1; in TEST_F()
852 uint32_t metadata_signature_size_be = htobe32(metadata_signature_size); in TEST_F()
862 EXPECT_EQ(metadata_signature_size, performer_.metadata_signature_size_); in TEST_F()
878 uint32_t metadata_signature_size = rand_r(&seed) % 256; in TEST_F() local
882 payload_.size = manifest_offset + metadata_signature_size + 1; in TEST_F()
887 uint32_t metadata_signature_size_be = htobe32(metadata_signature_size); in TEST_F()
908 uint32_t metadata_signature_size = UINT32_MAX - 600; in TEST_F() local
918 uint32_t metadata_signature_size_be = htobe32(metadata_signature_size); in TEST_F()
Ddelta_performer_integration_test.cc93 uint32_t metadata_signature_size; member
651 state->metadata_signature_size = in ApplyDeltaFile()
653 LOG(INFO) << "Metadata signature size: " << state->metadata_signature_size; in ApplyDeltaFile()
665 &state->delta[state->metadata_size + state->metadata_signature_size + in ApplyDeltaFile()
745 SetInt64(kPrefsManifestSignatureSize, state->metadata_signature_size)) in ApplyDeltaFile()
763 testing::SizeIs(state->metadata_signature_size + in ApplyDeltaFile()
/system/update_engine/
Dupdate_metadata.proto28 // uint32 metadata_signature_size;
36 // char metadata_signature_message[metadata_signature_size];
/system/update_engine/update_engine/
Dupdate_metadata.proto28 // uint32 metadata_signature_size;
36 // char metadata_signature_message[metadata_signature_size];