Searched refs:hash_data (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_consumer/ |
D | payload_verifier.cc | 214 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()
|
D | delta_performer.cc | 1296 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/ |
D | fec_read.cpp | 90 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()
|
D | fec_verity.cpp | 175 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()
|
D | fec_private.h | 85 std::vector<uint8_t> hash_data; member
|
/system/update_engine/payload_generator/ |
D | payload_signer.cc | 359 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()
|
D | payload_signer.h | 56 const brillo::Blob& hash_data,
|
/system/extras/libfec/test/ |
D | fec_unittest.cpp | 151 handle->hashtree().hash_data); in TEST_F() 240 handle->hashtree().hash_data); in TEST_F() 295 handle->hashtree().hash_data); in TEST_F()
|