Home
last modified time | relevance | path

Searched refs:verity_table (Results 1 – 2 of 2) sorted by relevance

/system/extras/verity/
Dbuild_verity_metadata.py41 def build_metadata_block(verity_table, signature, verity_disable=False): argument
42 table_len = len(verity_table)
45 block += verity_table
79 verity_table = build_verity_table(block_device, data_blocks, root_hash, salt)
81 signature = sign_verity_table(verity_table, signer_path, signing_key, signer_args)
83 metadata_block = build_metadata_block(verity_table, signature, verity_disable)
/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc176 auto verity_table = base::SplitString(verity_data.table, in LoadVerityConfig() local
180 TEST_AND_RETURN_FALSE(verity_table.size() == 10); in LoadVerityConfig()
183 base::StringToSizeT(verity_table[3], &data_block_size)); in LoadVerityConfig()
187 base::StringToSizeT(verity_table[4], &hash_block_size)); in LoadVerityConfig()
191 base::StringToUint64(verity_table[5], &num_data_blocks)); in LoadVerityConfig()
196 base::StringToUint64(verity_table[6], &hash_start_block)); in LoadVerityConfig()
197 part.verity.hash_tree_algorithm = verity_table[7]; in LoadVerityConfig()
199 verity_table[9], &part.verity.hash_tree_salt)); in LoadVerityConfig()