Home
last modified time | relevance | path

Searched refs:AvbOps (Results 1 – 23 of 23) sorted by relevance

/external/avb/libavb/
Davb_ops.h63 struct AvbOps;
64 typedef struct AvbOps AvbOps; typedef
79 struct AvbOps { struct
113 AvbIOResult (*read_from_partition)(AvbOps* ops, argument
136 AvbIOResult (*write_to_partition)(AvbOps* ops, argument
158 AvbIOResult (*validate_vbmeta_public_key)(AvbOps* ops, argument
174 AvbIOResult (*read_rollback_index)(AvbOps* ops, argument
187 AvbIOResult (*write_rollback_index)(AvbOps* ops, argument
196 AvbIOResult (*read_is_device_unlocked)(AvbOps* ops, bool* out_is_unlocked); argument
208 AvbIOResult (*get_unique_guid_for_partition)(AvbOps* ops, argument
[all …]
Davb_slot_verify.h335 AvbSlotVerifyResult avb_slot_verify(AvbOps* ops,
Davb_slot_verify.c73 AvbOps* ops, in load_and_verify_hash_partition()
248 AvbOps* ops, in load_requested_partitions()
341 AvbOps* ops, in load_and_verify_vbmeta()
895 static char* sub_cmdline(AvbOps* ops, in sub_cmdline()
1072 AvbOps* ops, in append_options()
1233 AvbSlotVerifyResult avb_slot_verify(AvbOps* ops, in avb_slot_verify()
/external/avb/test/
Dfake_avb_ops.h55 AvbOps* ops,
62 virtual AvbIOResult read_rollback_index(AvbOps* ops,
66 virtual AvbIOResult write_rollback_index(AvbOps* ops,
70 virtual AvbIOResult read_is_device_unlocked(AvbOps* ops,
73 virtual AvbIOResult get_unique_guid_for_partition(AvbOps* ops,
78 virtual AvbIOResult get_size_of_partition(AvbOps* ops,
96 static FakeAvbOps* GetInstanceFromAvbOps(AvbOps* ops) { in GetInstanceFromAvbOps()
103 AvbOps* avb_ops() { in avb_ops()
174 AvbIOResult validate_vbmeta_public_key(AvbOps* ops,
181 AvbIOResult read_rollback_index(AvbOps* ops,
[all …]
Dfake_avb_ops.cc166 AvbOps* ops, in validate_vbmeta_public_key()
187 AvbIOResult FakeAvbOps::read_rollback_index(AvbOps* ops, in read_rollback_index()
201 AvbIOResult FakeAvbOps::write_rollback_index(AvbOps* ops, in write_rollback_index()
215 AvbIOResult FakeAvbOps::read_is_device_unlocked(AvbOps* ops, in read_is_device_unlocked()
221 AvbIOResult FakeAvbOps::get_unique_guid_for_partition(AvbOps* ops, in get_unique_guid_for_partition()
232 AvbIOResult FakeAvbOps::get_size_of_partition(AvbOps* ops, in get_size_of_partition()
267 static AvbIOResult my_ops_read_from_partition(AvbOps* ops, in my_ops_read_from_partition()
278 static AvbIOResult my_ops_write_to_partition(AvbOps* ops, in my_ops_write_to_partition()
288 AvbOps* ops, in my_ops_validate_vbmeta_public_key()
304 static AvbIOResult my_ops_read_rollback_index(AvbOps* ops, in my_ops_read_rollback_index()
[all …]
Davb_atx_validate_unittest.cc115 AvbIOResult validate_vbmeta_public_key(AvbOps* ops, in validate_vbmeta_public_key()
125 AvbIOResult read_rollback_index(AvbOps* ops, in read_rollback_index()
138 AvbIOResult write_rollback_index(AvbOps* ops, in write_rollback_index()
145 AvbIOResult read_is_device_unlocked(AvbOps* ops, in read_is_device_unlocked()
151 AvbIOResult get_unique_guid_for_partition(AvbOps* ops, in get_unique_guid_for_partition()
159 AvbIOResult get_size_of_partition(AvbOps* ops, in get_size_of_partition()
572 AvbIOResult validate_vbmeta_public_key(AvbOps* ops, in validate_vbmeta_public_key()
588 AvbIOResult read_rollback_index(AvbOps* ops, in read_rollback_index()
595 AvbIOResult write_rollback_index(AvbOps* ops, in write_rollback_index()
601 AvbIOResult read_is_device_unlocked(AvbOps* ops, in read_is_device_unlocked()
[all …]
/external/avb/libavb_user/
Davb_ops_user.c112 static AvbIOResult read_from_partition(AvbOps* ops, in read_from_partition()
176 static AvbIOResult write_to_partition(AvbOps* ops, in write_to_partition()
225 AvbOps* ops, in validate_vbmeta_public_key()
237 static AvbIOResult read_rollback_index(AvbOps* ops, in read_rollback_index()
246 static AvbIOResult write_rollback_index(AvbOps* ops, in write_rollback_index()
252 static AvbIOResult read_is_device_unlocked(AvbOps* ops, bool* out_is_unlocked) { in read_is_device_unlocked()
259 static AvbIOResult get_size_of_partition(AvbOps* ops, in get_size_of_partition()
292 static AvbIOResult get_unique_guid_for_partition(AvbOps* ops, in get_unique_guid_for_partition()
302 AvbOps* avb_ops_user_new(void) { in avb_ops_user_new()
303 AvbOps* ops; in avb_ops_user_new()
[all …]
Davb_ops_user.h60 AvbOps* avb_ops_user_new(void);
63 void avb_ops_user_free(AvbOps* ops);
Davb_user_verification.h43 bool avb_user_verification_set(AvbOps* ops,
55 bool avb_user_verification_get(AvbOps* ops,
Davb_user_verity.h43 bool avb_user_verity_set(AvbOps* ops,
55 bool avb_user_verity_get(AvbOps* ops,
Davb_user_verity.c41 AvbOps* ops, in load_top_level_vbmeta_header()
129 bool avb_user_verity_get(AvbOps* ops, in avb_user_verity_get()
165 bool avb_user_verity_set(AvbOps* ops, in avb_user_verity_set()
Davb_user_verification.c41 AvbOps* ops, in load_top_level_vbmeta_header()
129 bool avb_user_verification_get(AvbOps* ops, in avb_user_verification_get()
166 bool avb_user_verification_set(AvbOps* ops, in avb_user_verification_set()
/external/avb/examples/uefi/
Duefi_avb_ops.h33 AvbOps ops;
43 AvbOps* uefi_avb_ops_new(EFI_HANDLE app_image);
46 void uefi_avb_ops_free(AvbOps* ops);
Duefi_avb_ops.c176 static AvbIOResult read_from_partition(AvbOps* ops, in read_from_partition()
238 static AvbIOResult write_to_partition(AvbOps* ops, in write_to_partition()
298 static AvbIOResult get_size_of_partition(AvbOps* ops, in get_size_of_partition()
515 AvbOps* ops, in validate_vbmeta_public_key()
529 static AvbIOResult read_rollback_index(AvbOps* ops, in read_rollback_index()
540 static AvbIOResult write_rollback_index(AvbOps* ops, in write_rollback_index()
548 static AvbIOResult read_is_device_unlocked(AvbOps* ops, bool* out_is_unlocked) { in read_is_device_unlocked()
561 static AvbIOResult get_unique_guid_for_partition(AvbOps* ops, in get_unique_guid_for_partition()
611 AvbOps* uefi_avb_ops_new(EFI_HANDLE app_image) { in uefi_avb_ops_new()
658 void uefi_avb_ops_free(AvbOps* ops) { in uefi_avb_ops_free()
Dmain.c35 AvbOps* ops; in efi_main()
/external/avb/tools/avbctl/
Davbctl.cc65 int do_set_verification(AvbOps* ops, in do_set_verification()
107 int do_get_verification(AvbOps* ops, const std::string& ab_suffix) { in do_get_verification()
130 int do_set_verity(AvbOps* ops, in do_set_verity()
170 int do_get_verity(AvbOps* ops, const std::string& ab_suffix) { in do_get_verity()
211 AvbOps* ops = nullptr; in main()
/external/avb/libavb_atx/
Davb_atx_validate.h66 AvbOps* ops,
Davb_atx_ops.h47 AvbOps* ops;
Davb_atx_validate.c158 AvbOps* ops, in avb_atx_validate_vbmeta_public_key()
/external/avb/libavb_ab/
Davb_ab_ops.h49 AvbOps* ops;
Davb_ab_flow.c84 AvbOps* ops = ab_ops->ops; in avb_ab_data_read()
115 AvbOps* ops = ab_ops->ops; in avb_ab_data_write()
210 AvbOps* ops = ab_ops->ops; in avb_ab_flow()
/external/avb/boot_control/
Dboot_control_avb.c34 static AvbOps* ops = NULL;
/external/avb/
DREADME.md183 + Contains an `AvbOps` implementation suitable for use in Android
571 loader through the supplied `AvbOps` struct. This includes operations
627 `AvbOps` operation should fail by e.g. returning
649 bool update_stored_rollback_indexes_for_slot(AvbOps* ops,