Home
last modified time | relevance | path

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

/external/avb/examples/things/
Davb_atx_slot_verify.c77 const AvbAtxOps* existing_ops, AvbAtxOpsWithContext* ops_with_context) { in setup_ops_with_context() argument
78 avb_memset(ops_with_context, 0, sizeof(AvbAtxOpsWithContext)); in setup_ops_with_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()
137 AvbAtxOpsWithContext ops_with_context; in avb_atx_slot_verify() local
139 atx_ops = setup_ops_with_context(atx_ops, &ops_with_context); in avb_atx_slot_verify()
177 ops_with_context.context.key_version_location[i]; in avb_atx_slot_verify()
179 ops_with_context.context.key_version_value[i]; in avb_atx_slot_verify()