Home
last modified time | relevance | path

Searched refs:hash_data (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/payload_consumer/
Dpayload_verifier.cc214 brillo::Blob hash_data(keysize); in GetRawHashFromSignature() local
216 sig_data.size(), sig_data.data(), hash_data.data(), rsa, RSA_NO_PADDING); in GetRawHashFromSignature()
218 decrypt_size <= static_cast<int>(hash_data.size())); in GetRawHashFromSignature()
219 hash_data.resize(decrypt_size); in GetRawHashFromSignature()
220 out_hash_data->swap(hash_data); in GetRawHashFromSignature()
Ddelta_performer.cc1296 brillo::Blob hash_data = signed_hash_calculator_.raw_hash(); in VerifyPayload() local
1298 hash_data.size() == kSHA256Size); in VerifyPayload()
1300 if (!payload_verifier->VerifySignature(signatures_message_data_, hash_data)) { in VerifyPayload()
/system/extras/libfec/
Dfec_read.cpp90 if (hashtree.hash_data.empty() || unlikely(offset >= f->data_size)) { in is_zero()
97 hashtree.hash_data.size() - SHA256_DIGEST_LENGTH)) { in is_zero()
101 return !memcmp(hashtree.zero_hash.data(), &hashtree.hash_data[hash_offset], in is_zero()
122 check(!use_erasures || !f->hashtree().hash_data.empty()); in __ecc_read()
183 } else if (f->hashtree().hash_data.empty()) { in __ecc_read()
292 check(!f->hashtree().hash_data.empty()); in verity_read()
310 (f->hashtree().hash_data.size() - SHA256_DIGEST_LENGTH) / in verity_read()
527 if (!f->hashtree().hash_data.empty()) { in fec_pread()
Dfec_verity.cpp175 const uint8_t *expected = &hash_data[index * padded_digest_length_]; in check_block_hash_with_index()
328 this->hash_data = std::move(data_hashes); in verify_tree()
460 check(!v->hashtree.hash_data.empty()); in parse_table()
Dfec_private.h85 std::vector<uint8_t> hash_data; member
/system/update_engine/payload_generator/
Dpayload_signer.cc359 bool PayloadSigner::SignHashWithKeys(const brillo::Blob& hash_data, in SignHashWithKeys() argument
366 TEST_AND_RETURN_FALSE(SignHash(hash_data, path, &signature)); in SignHashWithKeys()
387 brillo::Blob hash_data; in SignPayload() local
392 &hash_data, in SignPayload()
395 SignHashWithKeys(hash_data, private_key_paths, out_serialized_signature)); in SignPayload()
Dpayload_signer.h56 const brillo::Blob& hash_data,
/system/extras/libfec/test/
Dfec_unittest.cpp151 handle->hashtree().hash_data); in TEST_F()
240 handle->hashtree().hash_data); in TEST_F()
295 handle->hashtree().hash_data); in TEST_F()