Home
last modified time | relevance | path

Searched refs:payload_hash (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/payload_generator/
Dgenerate_delta_main.cc116 brillo::Blob payload_hash, metadata_hash; in CalculateHashForSigning() local
117 CHECK(PayloadSigner::HashPayloadForSigning(in_file, sizes, &payload_hash, in CalculateHashForSigning()
119 CHECK(utils::WriteFile(out_hash_file.c_str(), payload_hash.data(), in CalculateHashForSigning()
120 payload_hash.size())); in CalculateHashForSigning()
Dpayload_signer.cc322 brillo::Blob payload_hash, metadata_hash; in VerifySignedPayload() local
327 &payload_hash, in VerifySignedPayload()
331 TEST_AND_RETURN_FALSE(PayloadVerifier::PadRSA2048SHA256Hash(&payload_hash)); in VerifySignedPayload()
333 signature_blob, public_key_path, payload_hash)); in VerifySignedPayload()
/system/update_engine/common/
Dutils.h56 std::string CalculateP2PFileId(const brillo::Blob& payload_hash,
Dutils.cc953 string CalculateP2PFileId(const brillo::Blob& payload_hash, in CalculateP2PFileId() argument
956 brillo::data_encoding::Base64Encode(payload_hash)); in CalculateP2PFileId()