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.cc204 uint32_t metadata_signature_size = htobe32(signature_blob_length); in WritePayload() local
206 writer.Write(&metadata_signature_size, sizeof(metadata_signature_size))); in WritePayload()
207 metadata_size += sizeof(metadata_signature_size); in WritePayload()
209 metadata_signature_size = signature_blob_length; in WritePayload()
253 metadata_signature_size, in WritePayload()
254 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.cc911 uint32_t metadata_signature_size = rand_r(&seed) % 256; in TEST_F() local
918 manifest_size + metadata_signature_size + 1; in TEST_F()
924 uint32_t metadata_signature_size_be = htobe32(metadata_signature_size); in TEST_F()
934 EXPECT_EQ(metadata_signature_size, performer_.metadata_signature_size_); in TEST_F()
950 uint32_t metadata_signature_size = rand_r(&seed) % 256; in TEST_F() local
954 payload_.size = manifest_offset + metadata_signature_size + 1; in TEST_F()
959 uint32_t metadata_signature_size_be = htobe32(metadata_signature_size); in TEST_F()
980 uint32_t metadata_signature_size = UINT32_MAX - 600; in TEST_F() local
990 uint32_t metadata_signature_size_be = htobe32(metadata_signature_size); in TEST_F()
Ddelta_performer_integration_test.cc83 uint32_t metadata_signature_size; member
634 state->metadata_signature_size = in ApplyDeltaFile()
636 LOG(INFO) << "Metadata signature size: " << state->metadata_signature_size; in ApplyDeltaFile()
648 &state->delta[state->metadata_size + state->metadata_signature_size + in ApplyDeltaFile()
727 SetInt64(kPrefsManifestSignatureSize, state->metadata_signature_size)) in ApplyDeltaFile()
745 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];