Home
last modified time | relevance | path

Searched refs:rollback_index_location (Results 1 – 19 of 19) sorted by relevance

/external/avb/test/
Dfake_avb_ops.cc294 uint32_t rollback_index_location = in validate_public_key_for_partition() local
302 *out_rollback_index_location = rollback_index_location; in validate_public_key_for_partition()
308 size_t rollback_index_location, in read_rollback_index() argument
310 if (stored_rollback_indexes_.count(rollback_index_location) == 0) { in read_rollback_index()
313 rollback_index_location, in read_rollback_index()
317 *out_rollback_index = stored_rollback_indexes_[rollback_index_location]; in read_rollback_index()
322 size_t rollback_index_location, in write_rollback_index() argument
324 if (stored_rollback_indexes_.count(rollback_index_location) == 0) { in write_rollback_index()
327 rollback_index_location, in write_rollback_index()
331 stored_rollback_indexes_[rollback_index_location] = rollback_index; in write_rollback_index()
[all …]
Dfake_avb_ops.h114 virtual void set_key_version(size_t rollback_index_location,
166 uint32_t rollback_index_location) { in set_expected_public_key_for_partition() argument
170 rollback_index_location; in set_expected_public_key_for_partition()
247 size_t rollback_index_location,
251 size_t rollback_index_location,
291 void set_key_version(size_t rollback_index_location,
446 void set_key_version(size_t rollback_index_location, in set_key_version() argument
448 ops_.set_key_version(rollback_index_location, key_version); in set_key_version()
Davb_atx_slot_verify_unittest.cc90 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()
Davb_util_unittest.cc296 h.rollback_index_location = htobe32(42); in TEST_F()
304 EXPECT_EQ(42UL, s.rollback_index_location); in TEST_F()
315 bad.rollback_index_location = htobe32(0); in TEST_F()
Davbtool_unittest.cc327 EXPECT_EQ(expected_rollback_index_location, h.rollback_index_location); in TEST_F()
333 uint32_t rollback_index_location = 42; in TEST_F() local
339 rollback_index_location)); in TEST_F()
345 EXPECT_EQ(rollback_index_location, h.rollback_index_location); in TEST_F()
Davb_atx_validate_unittest.cc211 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()
Davb_slot_verify_unittest.cc472 uint32_t rollback_index_location = AVB_MAX_NUMBER_OF_ROLLBACK_INDEX_LOCATIONS; in TEST_F() local
478 rollback_index_location)); in TEST_F()
/external/avb/libavb/
Davb_chain_partition_descriptor.c43 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()
Davb_ops.h216 size_t rollback_index_location,
229 size_t rollback_index_location,
Davb_chain_partition_descriptor.h53 uint32_t rollback_index_location; member
Davb_vbmeta_image.c276 dest->rollback_index_location = avb_be32toh(dest->rollback_index_location); in avb_vbmeta_image_header_to_host_byte_order()
Davb_vbmeta_image.h184 uint32_t rollback_index_location; member
Davb_slot_verify.c564 uint32_t rollback_index_location, in load_and_verify_vbmeta() argument
600 if (rollback_index_location == 0) { in load_and_verify_vbmeta()
793 uint32_t rollback_index_location_to_use = rollback_index_location; in load_and_verify_vbmeta()
795 rollback_index_location_to_use = vbmeta_header.rollback_index_location; in load_and_verify_vbmeta()
1005 if (chain_desc.rollback_index_location == 0) { in load_and_verify_vbmeta()
1025 chain_desc.rollback_index_location, in load_and_verify_vbmeta()
/external/avb/examples/things/
Davb_atx_slot_verify.c61 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/
Davbtool.py1823 (tag, num_bytes_following, self.rollback_index_location,
1843 self.rollback_index_location = 0
1856 self.rollback_index_location))
1873 self.rollback_index_location,
1902 rollback_index_location, pk_blob = value
1904 if self.rollback_index_location != rollback_index_location:
1907 format(rollback_index_location,
1908 self.rollback_index_location,
2103 self.rollback_index_location,
2131 self.rollback_index_location = 0
[all …]
Davbtool1823 (tag, num_bytes_following, self.rollback_index_location,
1843 self.rollback_index_location = 0
1856 self.rollback_index_location))
1873 self.rollback_index_location,
1902 rollback_index_location, pk_blob = value
1904 if self.rollback_index_location != rollback_index_location:
1907 format(rollback_index_location,
1908 self.rollback_index_location,
2103 self.rollback_index_location,
2131 self.rollback_index_location = 0
[all …]
DREADME.md377 [--rollback_index NUMBER] [--rollback_index_location NUMBER] \
380 [--chain_partition part_name:rollback_index_location:/path/to/key1.bin] \
394 [--rollback_index NUMBER] [--rollback_index_location NUMBER] \
418 [--rollback_index NUMBER] [--rollback_index_location NUMBER] \
1115 Version 1.2 adds support for the `rollback_index_location` field of the main vbmeta header.
/external/avb/libavb_atx/
Davb_atx_ops.h67 size_t rollback_index_location,
/external/avb/libavb_user/
Davb_ops_user.cpp247 size_t rollback_index_location, in read_rollback_index() argument
256 size_t rollback_index_location, in write_rollback_index() argument