Home
last modified time | relevance | path

Searched refs:old_data (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/payload_generator/
Ddelta_diff_utils.cc728 brillo::Blob old_data; in ReadExtentsToDiff() local
732 utils::ReadExtents(old_part, src_extents, &old_data, in ReadExtentsToDiff()
734 if (old_data == new_data) { in ReadExtentsToDiff()
762 TEST_AND_RETURN_FALSE(0 == bsdiff::bsdiff(old_data.data(), in ReadExtentsToDiff()
763 old_data.size(), in ReadExtentsToDiff()
797 !memcmp(old_data.data() + src_in_bytes.offset, in ReadExtentsToDiff()
817 TEST_AND_RETURN_FALSE(puffin::PuffDiff(old_data, in ReadExtentsToDiff()
837 operation.set_src_length(old_data.size() - removed_bytes); in ReadExtentsToDiff()
850 operation.set_src_length(old_data.size()); in ReadExtentsToDiff()
/system/tpm/trunks/
Dtrunks_client_test.cc371 std::string old_data; in PCRTest() local
372 TPM_RC result = utility->ReadPCR(pcr_index, &old_data); in PCRTest()
390 crypto::SHA256HashString(old_data + hashed_extend_data); in PCRTest()