Home
last modified time | relevance | path

Searched refs:metadata_hash (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_signer.cc322 brillo::Blob payload_hash, metadata_hash; in VerifySignedPayload() local
328 &metadata_hash)); in VerifySignedPayload()
339 PayloadVerifier::PadRSA2048SHA256Hash(&metadata_hash)); in VerifySignedPayload()
341 signature_blob, public_key_path, metadata_hash)); in VerifySignedPayload()
506 brillo::Blob metadata_hash; in GetMetadataSignature() local
509 &metadata_hash)); in GetMetadataSignature()
512 TEST_AND_RETURN_FALSE(SignHash(metadata_hash, in GetMetadataSignature()
540 brillo::Blob file_hash, metadata_hash; in ExtractPayloadProperties() local
545 payload_metadata.data(), payload_metadata.size(), &metadata_hash)); in ExtractPayloadProperties()
550 brillo::data_encoding::Base64Encode(metadata_hash)); in ExtractPayloadProperties()
Dgenerate_delta_main.cc116 brillo::Blob payload_hash, metadata_hash; in CalculateHashForSigning() local
118 &metadata_hash)); in CalculateHashForSigning()
122 CHECK(utils::WriteFile(out_metadata_hash_file.c_str(), metadata_hash.data(), in CalculateHashForSigning()
123 metadata_hash.size())); in CalculateHashForSigning()
Dpayload_file.cc228 brillo::Blob metadata_hash, metadata_signature; in WritePayload() local
231 &metadata_hash)); in WritePayload()
233 PayloadSigner::SignHashWithKeys(metadata_hash, in WritePayload()