Home
last modified time | relevance | path

Searched refs:verity_writer_ (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_consumer/
Dverity_writer_android_unittest.cc45 VerityWriterAndroid verity_writer_; member in chromeos_update_engine::VerityWriterAndroidTest
54 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F()
55 ASSERT_TRUE(verity_writer_.Update(0, part_data.data(), 4096)); in TEST_F()
56 ASSERT_TRUE(verity_writer_.Update(4096, part_data.data() + 4096, 4096)); in TEST_F()
58 verity_writer_.Finalize(partition_fd_.get(), partition_fd_.get())); in TEST_F()
74 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F()
75 ASSERT_TRUE(verity_writer_.Update(0, part_data.data(), part_data.size())); in TEST_F()
76 ASSERT_TRUE(verity_writer_.Update(4096, part_data.data(), part_data.size())); in TEST_F()
77 ASSERT_TRUE(verity_writer_.Update(8192, part_data.data(), part_data.size())); in TEST_F()
84 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F()
[all …]
Dfilesystem_verifier_action.h65 : verity_writer_(verity_writer::CreateVerityWriter()), in FilesystemVerifierAction()
154 std::unique_ptr<VerityWriterInterface> verity_writer_; variable
Dfilesystem_verifier_action.cc234 if (verity_writer_->FECFinished()) { in WriteVerityData()
247 if (!verity_writer_->IncrementalFinalize(fd, fd)) { in WriteVerityData()
252 verity_writer_->GetProgress() * kEncodeFECPercent); in WriteVerityData()
291 if (!verity_writer_->Update( in WriteVerityAndHashPartition()
430 if (!verity_writer_->Init(partition)) { in StartPartitionHashing()