Home
last modified time | relevance | path

Searched refs:atx_ops (Results 1 – 5 of 5) sorted by relevance

/external/avb/examples/things/
Davb_atx_slot_verify.c46 AvbAtxOps atx_ops; member
53 static AvbAtxOpsContext* get_ops_context(AvbAtxOps* atx_ops) { in get_ops_context() argument
54 return &((AvbAtxOpsWithContext*)atx_ops)->context; in get_ops_context()
60 static void save_key_version_to_context(AvbAtxOps* atx_ops, in save_key_version_to_context() argument
63 AvbAtxOpsContext* context = get_ops_context(atx_ops); in save_key_version_to_context()
79 ops_with_context->atx_ops = *existing_ops; in setup_ops_with_context()
81 ops_with_context->atx_ops.ops->atx_ops = &ops_with_context->atx_ops; in setup_ops_with_context()
82 ops_with_context->atx_ops.set_key_version = save_key_version_to_context; in setup_ops_with_context()
83 return &ops_with_context->atx_ops; in setup_ops_with_context()
126 AvbAtxOps* atx_ops, in avb_atx_slot_verify() argument
[all …]
/external/avb/libavb_atx/
Davb_atx_validate.c175 result = ops->atx_ops->read_permanent_attributes(ops->atx_ops, in avb_atx_validate_vbmeta_public_key()
181 result = ops->atx_ops->read_permanent_attributes_hash( in avb_atx_validate_vbmeta_public_key()
182 ops->atx_ops, permanent_attributes_hash); in avb_atx_validate_vbmeta_public_key()
245 ops->atx_ops->set_key_version( in avb_atx_validate_vbmeta_public_key()
246 ops->atx_ops, in avb_atx_validate_vbmeta_public_key()
249 ops->atx_ops->set_key_version( in avb_atx_validate_vbmeta_public_key()
250 ops->atx_ops, in avb_atx_validate_vbmeta_public_key()
Davb_atx_ops.h54 AvbAtxOps* atx_ops, AvbAtxPermanentAttributes* attributes);
61 AvbAtxOps* atx_ops, uint8_t hash[AVB_SHA256_DIGEST_SIZE]);
66 void (*set_key_version)(AvbAtxOps* atx_ops,
/external/avb/test/
Dfake_avb_ops.cc475 AvbAtxOps* atx_ops, AvbAtxPermanentAttributes* attributes) { in my_ops_read_permanent_attributes() argument
476 return FakeAvbOps::GetInstanceFromAvbOps(atx_ops->ops) in my_ops_read_permanent_attributes()
482 AvbAtxOps* atx_ops, uint8_t hash[AVB_SHA256_DIGEST_SIZE]) { in my_ops_read_permanent_attributes_hash() argument
483 return FakeAvbOps::GetInstanceFromAvbOps(atx_ops->ops) in my_ops_read_permanent_attributes_hash()
488 static void my_ops_set_key_version(AvbAtxOps* atx_ops, in my_ops_set_key_version() argument
491 return FakeAvbOps::GetInstanceFromAvbOps(atx_ops->ops) in my_ops_set_key_version()
499 avb_ops_.atx_ops = &avb_atx_ops_; in FakeAvbOps()
/external/avb/libavb/
Davb_ops.h109 struct AvbAtxOps* atx_ops; member