Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/2lib/include/
D2misc.h22 static __inline struct vb2_shared_data *vb2_get_sd(struct vb2_context *ctx) { in vb2_get_sd()
42 void vb2_workbuf_from_ctx(struct vb2_context *ctx, struct vb2_workbuf *wb);
51 int vb2_read_gbb_header(struct vb2_context *ctx, struct vb2_gbb_header *gbb);
65 void vb2_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode);
77 int vb2_init_context(struct vb2_context *ctx);
90 void vb2_check_recovery(struct vb2_context *ctx);
98 int vb2_fw_parse_gbb(struct vb2_context *ctx);
106 int vb2_check_dev_switch(struct vb2_context *ctx);
114 int vb2_check_tpm_clear(struct vb2_context *ctx);
122 int vb2_select_fw_slot(struct vb2_context *ctx);
[all …]
D2api.h97 struct vb2_context { struct
246 int vb2api_secdata_check(const struct vb2_context *ctx);
261 int vb2api_secdata_create(struct vb2_context *ctx);
275 void vb2api_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode);
286 int vb2api_fw_phase1(struct vb2_context *ctx);
297 int vb2api_fw_phase2(struct vb2_context *ctx);
311 int vb2api_fw_phase3(struct vb2_context *ctx);
322 int vb2api_init_hash(struct vb2_context *ctx, uint32_t tag, uint32_t *size);
327 int vb2api_init_hash2(struct vb2_context *ctx,
341 int vb2api_extend_hash(struct vb2_context *ctx,
[all …]
D2secdata.h69 int vb2_secdata_check_crc(const struct vb2_context *ctx);
81 int vb2_secdata_create(struct vb2_context *ctx);
91 int vb2_secdata_init(struct vb2_context *ctx);
101 int vb2_secdata_get(struct vb2_context *ctx,
113 int vb2_secdata_set(struct vb2_context *ctx,
D2nvstorage.h109 int vb2_nv_check_crc(const struct vb2_context *ctx);
116 void vb2_nv_init(struct vb2_context *ctx);
126 uint32_t vb2_nv_get(struct vb2_context *ctx, enum vb2_nv_param param);
137 void vb2_nv_set(struct vb2_context *ctx,
D2tpm_bootmode.h19 const uint8_t *vb2_get_boot_state_digest(struct vb2_context *ctx);
/external/vboot_reference/firmware/2lib/
D2api.c19 int vb2api_secdata_check(const struct vb2_context *ctx) in vb2api_secdata_check()
24 int vb2api_secdata_create(struct vb2_context *ctx) in vb2api_secdata_create()
29 void vb2api_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode) in vb2api_fail()
37 int vb2api_fw_phase1(struct vb2_context *ctx) in vb2api_fw_phase1()
79 int vb2api_fw_phase2(struct vb2_context *ctx) in vb2api_fw_phase2()
104 int vb2api_extend_hash(struct vb2_context *ctx, in vb2api_extend_hash()
128 int vb2api_get_pcr_digest(struct vb2_context *ctx, in vb2api_get_pcr_digest()
D2misc.c28 void vb2_workbuf_from_ctx(struct vb2_context *ctx, struct vb2_workbuf *wb) in vb2_workbuf_from_ctx()
34 int vb2_read_gbb_header(struct vb2_context *ctx, struct vb2_gbb_header *gbb) in vb2_read_gbb_header()
66 void vb2_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode) in vb2_fail()
115 int vb2_init_context(struct vb2_context *ctx) in vb2_init_context()
139 void vb2_check_recovery(struct vb2_context *ctx) in vb2_check_recovery()
177 int vb2_fw_parse_gbb(struct vb2_context *ctx) in vb2_fw_parse_gbb()
204 int vb2_check_dev_switch(struct vb2_context *ctx) in vb2_check_dev_switch()
287 int vb2_check_tpm_clear(struct vb2_context *ctx) in vb2_check_tpm_clear()
315 int vb2_select_fw_slot(struct vb2_context *ctx) in vb2_select_fw_slot()
D2secdata.c14 int vb2_secdata_check_crc(const struct vb2_context *ctx) in vb2_secdata_check_crc()
26 int vb2_secdata_create(struct vb2_context *ctx) in vb2_secdata_create()
42 int vb2_secdata_init(struct vb2_context *ctx) in vb2_secdata_init()
64 int vb2_secdata_get(struct vb2_context *ctx, in vb2_secdata_get()
87 int vb2_secdata_set(struct vb2_context *ctx, in vb2_secdata_set()
D2nvstorage.c15 static void vb2_nv_regen_crc(struct vb2_context *ctx) in vb2_nv_regen_crc()
32 int vb2_nv_check_crc(const struct vb2_context *ctx) in vb2_nv_check_crc()
48 void vb2_nv_init(struct vb2_context *ctx) in vb2_nv_init()
75 uint32_t vb2_nv_get(struct vb2_context *ctx, enum vb2_nv_param param) in vb2_nv_get()
167 void vb2_nv_set(struct vb2_context *ctx, in vb2_nv_set()
D2stub.c25 int vb2ex_tpm_clear_owner(struct vb2_context *ctx) in vb2ex_tpm_clear_owner()
31 int vb2ex_read_resource(struct vb2_context *ctx, in vb2ex_read_resource()
D2tpm_bootmode.c48 const uint8_t *vb2_get_boot_state_digest(struct vb2_context *ctx) in vb2_get_boot_state_digest()
/external/vboot_reference/tests/
Dvb20_verify_fw.c23 int vb2ex_read_resource(struct vb2_context *ctx, in vb2ex_read_resource()
63 int vb2ex_tpm_clear_owner(struct vb2_context *ctx) in vb2ex_tpm_clear_owner()
72 static void save_if_needed(struct vb2_context *ctx) in save_if_needed()
89 static int hash_body(struct vb2_context *ctx) in hash_body()
141 struct vb2_context ctx; in main()
Dvb2_api_tests.c22 static struct vb2_context cc;
75 int vb2_fw_parse_gbb(struct vb2_context *ctx) in vb2_fw_parse_gbb()
80 int vb2_check_dev_switch(struct vb2_context *ctx) in vb2_check_dev_switch()
85 int vb2_check_tpm_clear(struct vb2_context *ctx) in vb2_check_tpm_clear()
90 int vb2_select_fw_slot(struct vb2_context *ctx) in vb2_select_fw_slot()
Dvb2_secdata_tests.c21 static void test_changed(struct vb2_context *ctx, int changed, const char *why) in test_changed()
35 struct vb2_context c = { in secdata_test()
Dvb2_misc_tests.c20 static struct vb2_context cc;
53 int vb2ex_read_resource(struct vb2_context *ctx, in vb2ex_read_resource()
69 int vb2ex_tpm_clear_owner(struct vb2_context *ctx) in vb2ex_tpm_clear_owner()
81 struct vb2_context c = { in init_context_tests()
Dvb21_api_tests.c28 static struct vb2_context ctx;
127 int vb2_load_fw_keyblock(struct vb2_context *ctx) in vb2_load_fw_keyblock()
132 int vb2_load_fw_preamble(struct vb2_context *ctx) in vb2_load_fw_preamble()
Dvb2_nvstorage_tests.c54 static void test_changed(struct vb2_context *ctx, int changed, const char *why) in test_changed()
68 struct vb2_context c = { in nv_storage_test()
Dvb20_api_tests.c22 static struct vb2_context cc;
105 int vb2_load_fw_keyblock(struct vb2_context *ctx) in vb2_load_fw_keyblock()
110 int vb2_load_fw_preamble(struct vb2_context *ctx) in vb2_load_fw_preamble()
Dvb20_misc_tests.c22 static struct vb2_context cc;
116 int vb2ex_read_resource(struct vb2_context *ctx, in vb2ex_read_resource()
Dvb21_misc_tests.c24 static struct vb2_context ctx;
122 int vb2ex_read_resource(struct vb2_context *ctx, in vb2ex_read_resource()
/external/vboot_reference/firmware/lib21/
Dapi.c19 int vb2api_fw_phase3(struct vb2_context *ctx) in vb2api_fw_phase3()
40 int vb2api_init_hash2(struct vb2_context *ctx, in vb2api_init_hash2()
116 int vb2api_check_hash(struct vb2_context *ctx) in vb2api_check_hash()
Dmisc.c31 int vb2_read_resource_object(struct vb2_context *ctx, in vb2_read_resource_object()
65 int vb2_load_fw_keyblock(struct vb2_context *ctx) in vb2_load_fw_keyblock()
153 int vb2_load_fw_preamble(struct vb2_context *ctx) in vb2_load_fw_preamble()
/external/vboot_reference/firmware/lib20/
Dapi.c18 int vb2api_fw_phase3(struct vb2_context *ctx) in vb2api_fw_phase3()
39 int vb2api_init_hash(struct vb2_context *ctx, uint32_t tag, uint32_t *size) in vb2api_init_hash()
124 int vb2api_check_hash(struct vb2_context *ctx) in vb2api_check_hash()
Dmisc.c17 int vb2_load_fw_keyblock(struct vb2_context *ctx) in vb2_load_fw_keyblock()
130 int vb2_load_fw_preamble(struct vb2_context *ctx) in vb2_load_fw_preamble()