Home
last modified time | relevance | path

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

/external/avb/test/
Dfake_avb_ops.cc266 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 …]
Dfake_avb_ops.h104 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()
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.cc297 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()
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()
/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.h212 size_t rollback_index_location,
225 size_t rollback_index_location,
Davb_chain_partition_descriptor.h53 uint32_t rollback_index_location; member
Davb_slot_verify.c555 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/
Davb_chain_partition_descriptor.c24 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()
Davb_ops.h192 size_t rollback_index_location,
205 size_t rollback_index_location,
Davb_slot_verify.c446 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()
Davb_chain_partition_descriptor.h34 uint32_t rollback_index_location; member
/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/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
/external/avb/
Davbtool1688 (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 …]
DREADME.md359 [--chain_partition part_name:rollback_index_location:/path/to/key1.bin] \