Searched refs:metadata_hash (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/payload_consumer/ |
D | payload_metadata.cc | 188 brillo::Blob metadata_hash; in ValidateMetadataSignature() local 190 payload.data(), metadata_size_, &metadata_hash)) { in ValidateMetadataSignature() 195 if (metadata_hash.size() != kSHA256Size) { in ValidateMetadataSignature() 197 << metadata_hash.size(); in ValidateMetadataSignature() 204 metadata_signature_blob, metadata_hash, &decrypted_signature)) { in ValidateMetadataSignature() 208 utils::HexDumpVector(metadata_hash); in ValidateMetadataSignature() 213 metadata_hash)) { in ValidateMetadataSignature()
|
D | delta_performer_integration_test.cc | 234 brillo::Blob metadata_hash, payload_hash; in SignGeneratedPayload() local 236 payload_path, {signature_size}, &payload_hash, &metadata_hash)); in SignGeneratedPayload() 241 metadata_hash, private_key_path, &metadata_signature)); in SignGeneratedPayload() 291 brillo::Blob metadata_hash, metadata_signature; in SignGeneratedShellPayloadWithKeys() local 292 ASSERT_TRUE(utils::ReadFile(metadata_hash_file.path(), &metadata_hash)); in SignGeneratedShellPayloadWithKeys() 294 PayloadSigner::SignHash(metadata_hash, key_path, &metadata_signature)); in SignGeneratedShellPayloadWithKeys()
|
/system/update_engine/payload_generator/ |
D | payload_properties.cc | 94 brillo::Blob metadata_hash; in LoadFromPayload() local 96 payload_path_, metadata_size_, &metadata_hash) == in LoadFromPayload() 98 metadata_hash_ = brillo::data_encoding::Base64Encode(metadata_hash); in LoadFromPayload()
|
D | payload_signer.cc | 263 brillo::Blob payload_hash, metadata_hash; in VerifySignedPayload() local 269 &metadata_hash)); in VerifySignedPayload() 283 TEST_AND_RETURN_FALSE(metadata_hash.size() == kSHA256Size); in VerifySignedPayload() 285 payload_verifier->VerifySignature(signature, metadata_hash)); in VerifySignedPayload() 485 brillo::Blob metadata_hash; in GetMetadataSignature() local 487 HashCalculator::RawHashOfBytes(metadata, metadata_size, &metadata_hash)); in GetMetadataSignature() 490 TEST_AND_RETURN_FALSE(SignHash(metadata_hash, private_key_path, &signature)); in GetMetadataSignature()
|
D | payload_file.cc | 240 brillo::Blob metadata_hash; in WritePayload() local 242 payload_file, metadata_size, &metadata_hash)); in WritePayload() 245 metadata_hash, {private_key_path}, &metadata_signature)); in WritePayload()
|
D | generate_delta_main.cc | 88 brillo::Blob payload_hash, metadata_hash; in CalculateHashForSigning() local 90 in_file, sizes, &payload_hash, &metadata_hash)); in CalculateHashForSigning() 95 metadata_hash.data(), in CalculateHashForSigning() 96 metadata_hash.size())); in CalculateHashForSigning()
|