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()
57 ASSERT_TRUE(verity_writer_.Finalize(partition_fd_, partition_fd_)); in TEST_F()
73 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F()
74 ASSERT_TRUE(verity_writer_.Update(0, part_data.data(), part_data.size())); in TEST_F()
75 ASSERT_TRUE(verity_writer_.Update(4096, part_data.data(), part_data.size())); in TEST_F()
76 ASSERT_TRUE(verity_writer_.Update(8192, part_data.data(), part_data.size())); in TEST_F()
83 ASSERT_TRUE(verity_writer_.Init(partition_)); in TEST_F()
[all …]
Dfilesystem_verifier_action.h65 : verity_writer_(verity_writer::CreateVerityWriter()), in FilesystemVerifierAction()
152 std::unique_ptr<VerityWriterInterface> verity_writer_; variable
Dfilesystem_verifier_action.cc210 if (!verity_writer_->Finalize(fd, fd)) { in WriteVerityAndHashPartition()
241 if (!verity_writer_->Update( in WriteVerityAndHashPartition()
372 if (!verity_writer_->Init(partition)) { in StartPartitionHashing()