Searched refs:header_blob (Results 1 – 3 of 3) sorted by relevance
69 brillo::Blob header_blob; in CreateFromFile() local70 if (!utils::ReadFileChunk(filename, 0, header_size, &header_blob)) { in CreateFromFile()77 auto hdr_v0 = reinterpret_cast<boot_img_hdr_v0*>(header_blob.data()); in CreateFromFile()84 auto hdr_v3 = reinterpret_cast<boot_img_hdr_v3*>(header_blob.data()); in CreateFromFile()
79 std::string header_blob = in SerializeMetadata() local81 return header_blob + tables; in SerializeMetadata()
97 Blob header_blob; in TEST_F() local98 ASSERT_EQ(storage::Status::kSuccess, storage::LoadHeader(&header_blob)); in TEST_F()99 ASSERT_TRUE(header_blob.Resize(header_blob.size() + 10)); in TEST_F()100 ASSERT_EQ(storage::Status::kSuccess, storage::StoreHeader(header_blob)); in TEST_F()