/external/vboot_reference/firmware/2lib/include/ |
D | 2misc.h | 22 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 …]
|
D | 2api.h | 97 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 …]
|
D | 2secdata.h | 69 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,
|
D | 2nvstorage.h | 109 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,
|
D | 2tpm_bootmode.h | 19 const uint8_t *vb2_get_boot_state_digest(struct vb2_context *ctx);
|
/external/vboot_reference/firmware/2lib/ |
D | 2api.c | 19 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()
|
D | 2misc.c | 28 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()
|
D | 2secdata.c | 14 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()
|
D | 2nvstorage.c | 15 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()
|
D | 2stub.c | 25 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()
|
D | 2tpm_bootmode.c | 48 const uint8_t *vb2_get_boot_state_digest(struct vb2_context *ctx) in vb2_get_boot_state_digest()
|
/external/vboot_reference/tests/ |
D | vb20_verify_fw.c | 23 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()
|
D | vb2_api_tests.c | 22 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()
|
D | vb2_secdata_tests.c | 21 static void test_changed(struct vb2_context *ctx, int changed, const char *why) in test_changed() 35 struct vb2_context c = { in secdata_test()
|
D | vb2_misc_tests.c | 20 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()
|
D | vb21_api_tests.c | 28 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()
|
D | vb2_nvstorage_tests.c | 54 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()
|
D | vb20_api_tests.c | 22 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()
|
D | vb20_misc_tests.c | 22 static struct vb2_context cc; 116 int vb2ex_read_resource(struct vb2_context *ctx, in vb2ex_read_resource()
|
D | vb21_misc_tests.c | 24 static struct vb2_context ctx; 122 int vb2ex_read_resource(struct vb2_context *ctx, in vb2ex_read_resource()
|
/external/vboot_reference/firmware/lib21/ |
D | api.c | 19 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()
|
D | misc.c | 31 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/ |
D | api.c | 18 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()
|
D | misc.c | 17 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()
|