/external/avb/test/ |
D | fake_avb_ops.cc | 266 size_t rollback_index_location, in read_rollback_index() argument 268 if (stored_rollback_indexes_.count(rollback_index_location) == 0) { in read_rollback_index() 271 rollback_index_location, in read_rollback_index() 275 *out_rollback_index = stored_rollback_indexes_[rollback_index_location]; in read_rollback_index() 280 size_t rollback_index_location, in write_rollback_index() argument 282 if (stored_rollback_indexes_.count(rollback_index_location) == 0) { in write_rollback_index() 285 rollback_index_location, in write_rollback_index() 289 stored_rollback_indexes_[rollback_index_location] = rollback_index; in write_rollback_index() 378 void FakeAvbOps::set_key_version(size_t rollback_index_location, in set_key_version() argument 380 verified_rollback_indexes_[rollback_index_location] = key_version; in set_key_version() [all …]
|
D | fake_avb_ops.h | 104 virtual void set_key_version(size_t rollback_index_location, 223 size_t rollback_index_location, 227 size_t rollback_index_location, 257 void set_key_version(size_t rollback_index_location, 387 void set_key_version(size_t rollback_index_location, in set_key_version() argument 389 ops_.set_key_version(rollback_index_location, key_version); in set_key_version()
|
D | avb_atx_slot_verify_unittest.cc | 90 void set_key_version(size_t rollback_index_location, in set_key_version() argument 93 return ops_.set_key_version(rollback_index_location, key_version); in set_key_version()
|
D | avb_util_unittest.cc | 297 h.rollback_index_location = htobe32(42); in TEST_F() 305 EXPECT_EQ(42UL, s.rollback_index_location); in TEST_F() 316 bad.rollback_index_location = htobe32(0); in TEST_F()
|
D | avb_atx_validate_unittest.cc | 211 void set_key_version(size_t rollback_index_location, in set_key_version() argument 213 ops_.set_key_version(rollback_index_location, key_version); in set_key_version()
|
/external/avb/libavb/ |
D | avb_chain_partition_descriptor.c | 43 dest->rollback_index_location = avb_be32toh(dest->rollback_index_location); in avb_chain_partition_descriptor_validate_and_byteswap() 47 if (dest->rollback_index_location < 1) { in avb_chain_partition_descriptor_validate_and_byteswap()
|
D | avb_ops.h | 212 size_t rollback_index_location, 225 size_t rollback_index_location,
|
D | avb_chain_partition_descriptor.h | 53 uint32_t rollback_index_location; member
|
D | avb_slot_verify.c | 555 int rollback_index_location, in load_and_verify_vbmeta() argument 590 is_main_vbmeta = (rollback_index_location == 0); in load_and_verify_vbmeta() 825 ops, rollback_index_location, &stored_rollback_index); in load_and_verify_vbmeta() 958 if (chain_desc.rollback_index_location == 0) { in load_and_verify_vbmeta() 977 chain_desc.rollback_index_location, in load_and_verify_vbmeta() 1163 if (rollback_index_location >= AVB_MAX_NUMBER_OF_ROLLBACK_INDEX_LOCATIONS) { in load_and_verify_vbmeta() 1170 slot_data->rollback_indexes[rollback_index_location] = in load_and_verify_vbmeta()
|
/external/u-boot/lib/libavb/ |
D | avb_chain_partition_descriptor.c | 24 dest->rollback_index_location = avb_be32toh(dest->rollback_index_location); in avb_chain_partition_descriptor_validate_and_byteswap() 28 if (dest->rollback_index_location < 1) { in avb_chain_partition_descriptor_validate_and_byteswap()
|
D | avb_ops.h | 192 size_t rollback_index_location, 205 size_t rollback_index_location,
|
D | avb_slot_verify.c | 446 int rollback_index_location, in load_and_verify_vbmeta() argument 481 is_main_vbmeta = (rollback_index_location == 0); in load_and_verify_vbmeta() 712 ops, rollback_index_location, &stored_rollback_index); in load_and_verify_vbmeta() 845 if (chain_desc.rollback_index_location == 0) { in load_and_verify_vbmeta() 864 chain_desc.rollback_index_location, in load_and_verify_vbmeta() 1046 if (rollback_index_location >= AVB_MAX_NUMBER_OF_ROLLBACK_INDEX_LOCATIONS) { in load_and_verify_vbmeta() 1053 slot_data->rollback_indexes[rollback_index_location] = in load_and_verify_vbmeta()
|
D | avb_chain_partition_descriptor.h | 34 uint32_t rollback_index_location; member
|
/external/avb/examples/things/ |
D | avb_atx_slot_verify.c | 61 size_t rollback_index_location, in save_key_version_to_context() argument 66 context->key_version_location[offset] = rollback_index_location; in save_key_version_to_context() 176 size_t rollback_index_location = in avb_atx_slot_verify() local 182 atx_ops->ops, rollback_index_location, rollback_index_value); in avb_atx_slot_verify()
|
/external/avb/libavb_atx/ |
D | avb_atx_ops.h | 67 size_t rollback_index_location,
|
/external/avb/libavb_user/ |
D | avb_ops_user.cpp | 247 size_t rollback_index_location, in read_rollback_index() argument 256 size_t rollback_index_location, in write_rollback_index() argument
|
/external/avb/ |
D | avbtool | 1688 (tag, num_bytes_following, self.rollback_index_location, 1705 self.rollback_index_location = 0 1718 self.rollback_index_location)) 1735 self.rollback_index_location, len(encoded_name), 1762 rollback_index_location, pk_blob = value 1764 if self.rollback_index_location != rollback_index_location: 1767 format(rollback_index_location, 1768 self.rollback_index_location, 2241 rollback_index_location = int(cp_tokens[1]) 2244 expected_chain_partitions_map[partition_name] = (rollback_index_location, pk_blob) [all …]
|
D | README.md | 359 [--chain_partition part_name:rollback_index_location:/path/to/key1.bin] \
|