Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_signer.cc98 uint32_t metadata_signature_size = in AddSignatureBlobToPayload() local
109 payload.begin() + metadata_size + metadata_signature_size); in AddSignatureBlobToPayload()
113 metadata_signature_size = metadata_signature.size(); in AddSignatureBlobToPayload()
114 LOG(INFO) << "Metadata signature size: " << metadata_signature_size; in AddSignatureBlobToPayload()
137 payload.size() - metadata_size - metadata_signature_size, in AddSignatureBlobToPayload()
161 metadata_size + metadata_signature_size + manifest.signatures_offset(); in AddSignatureBlobToPayload()
170 *out_metadata_signature_size = metadata_signature_size; in AddSignatureBlobToPayload()
181 const uint32_t metadata_signature_size, in CalculateHashFromPayload() argument
196 metadata_size + metadata_signature_size); in CalculateHashFromPayload()
198 payload.data() + metadata_size + metadata_signature_size, in CalculateHashFromPayload()
[all …]
Dpayload_file.cc233 uint32_t metadata_signature_size = 0; in WritePayload() local
237 uint32_t metadata_signature_size = htobe32(signature_blob_length); in WritePayload() local
238 TEST_AND_RETURN_FALSE_ERRNO(writer.Write(&metadata_signature_size, in WritePayload()
239 sizeof(metadata_signature_size))); in WritePayload()
240 metadata_size += sizeof(metadata_signature_size); in WritePayload()
242 metadata_signature_size = signature_blob_length; in WritePayload()
288 metadata_signature_size, in WritePayload()
289 metadata_size + metadata_signature_size + manifest_.signatures_offset(), in WritePayload()
Dpayload_signer.h73 const uint32_t metadata_signature_size,
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc907 uint32_t metadata_signature_size = rand_r(&seed) % 256; in TEST_F() local
908 uint32_t metadata_signature_size_be = htobe32(metadata_signature_size); in TEST_F()
916 EXPECT_EQ(metadata_signature_size, performer_.metadata_signature_size_); in TEST_F()
/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];