Searched refs:workbuf_used (Results 1 – 12 of 12) sorted by relevance
/external/vboot_reference/tests/ |
D | vb20_misc_tests.c | 181 wb_used_before = cc.workbuf_used; in verify_keyblock_tests() 190 TEST_EQ(cc.workbuf_used, in verify_keyblock_tests() 204 TEST_EQ(cc.workbuf_used, in verify_keyblock_tests() 210 cc.workbuf_used = cc.workbuf_size - sd->gbb_rootkey_size + 8; in verify_keyblock_tests() 228 cc.workbuf_used = cc.workbuf_size - sd->gbb_rootkey_size - 8; in verify_keyblock_tests() 240 cc.workbuf_used = cc.workbuf_size - sd->gbb_rootkey_size in verify_keyblock_tests() 279 wb_used_before = cc.workbuf_used; in verify_preamble_tests() 287 TEST_EQ(cc.workbuf_used, in verify_preamble_tests() 305 cc.workbuf_used = cc.workbuf_size - sizeof(struct vb2_fw_preamble) + 8; in verify_preamble_tests() 317 cc.workbuf_used = cc.workbuf_size - sizeof(mock_vblock.p) + 8; in verify_preamble_tests()
|
D | vb20_api_tests.c | 75 sd->workbuf_preamble_offset = cc.workbuf_used; in reset_common_data() 77 cc.workbuf_used = sd->workbuf_preamble_offset in reset_common_data() 88 sd->workbuf_data_key_offset = cc.workbuf_used; in reset_common_data() 90 cc.workbuf_used = sd->workbuf_data_key_offset + in reset_common_data() 241 wb_used_before = cc.workbuf_used; in init_hash_tests() 250 TEST_EQ(cc.workbuf_used, in init_hash_tests() 256 wb_used_before = cc.workbuf_used; in init_hash_tests() 259 TEST_EQ(cc.workbuf_used, wb_used_before, "init hash reuses context"); in init_hash_tests() 275 cc.workbuf_used = in init_hash_tests() 356 cc.workbuf_used = cc.workbuf_size; in check_hash_tests()
|
D | vb21_misc_tests.c | 188 wb_used_before = ctx.workbuf_used; in load_keyblock_tests() 197 TEST_EQ(ctx.workbuf_used, in load_keyblock_tests() 212 TEST_EQ(ctx.workbuf_used, in load_keyblock_tests() 218 ctx.workbuf_used = ctx.workbuf_size - sd->gbb_rootkey_size + 8; in load_keyblock_tests() 236 ctx.workbuf_used = ctx.workbuf_size - sd->gbb_rootkey_size - 8; in load_keyblock_tests() 248 ctx.workbuf_used = ctx.workbuf_size - sd->gbb_rootkey_size in load_keyblock_tests() 293 TEST_EQ(ctx.workbuf_used, in load_preamble_tests() 313 ctx.workbuf_used = ctx.workbuf_size in load_preamble_tests() 326 ctx.workbuf_used = ctx.workbuf_size - sizeof(mock_vblock.p) + 8; in load_preamble_tests()
|
D | vb21_api_tests.c | 94 sd->workbuf_preamble_offset = ctx.workbuf_used; in reset_common_data() 115 ctx.workbuf_used = sd->workbuf_preamble_offset in reset_common_data() 210 wb_used_before = ctx.workbuf_used; in init_hash_tests() 219 TEST_EQ(ctx.workbuf_used, in init_hash_tests() 227 wb_used_before = ctx.workbuf_used; in init_hash_tests() 230 TEST_EQ(ctx.workbuf_used, wb_used_before, "init hash reuses context"); in init_hash_tests() 246 ctx.workbuf_used = in init_hash_tests() 336 ctx.workbuf_used = ctx.workbuf_size; in check_hash_tests()
|
D | vb2_misc_tests.c | 89 TEST_EQ(c.workbuf_used, sizeof(struct vb2_shared_data), in init_context_tests() 93 c.workbuf_used = 200; in init_context_tests() 95 TEST_EQ(c.workbuf_used, 200, "Didn't re-init"); in init_context_tests() 98 c.workbuf_used = 0; in init_context_tests() 115 cc.workbuf_used = 16; in misc_tests() 191 cc.workbuf_used = cc.workbuf_size - 4; in gbb_tests()
|
D | vb20_verify_fw.c | 208 printf("Workbuf used = %d bytes\n", ctx.workbuf_used); in main()
|
/external/vboot_reference/firmware/2lib/ |
D | 2misc.c | 30 vb2_workbuf_init(wb, ctx->workbuf + ctx->workbuf_used, in vb2_workbuf_from_ctx() 31 ctx->workbuf_size - ctx->workbuf_used); in vb2_workbuf_from_ctx() 120 if (ctx->workbuf_used) in vb2_init_context() 135 ctx->workbuf_used = sizeof(*sd); in vb2_init_context()
|
/external/vboot_reference/firmware/lib20/ |
D | misc.c | 124 ctx->workbuf_used = sd->workbuf_data_key_offset + in vb2_load_fw_keyblock() 223 ctx->workbuf_used = sd->workbuf_preamble_offset + pre_size; in vb2_load_fw_preamble()
|
D | api.c | 76 ctx->workbuf_used = sd->workbuf_hash_offset + dig_size; in vb2api_init_hash()
|
/external/vboot_reference/firmware/lib21/ |
D | misc.c | 147 ctx->workbuf_used = sd->workbuf_data_key_offset + in vb2_load_fw_keyblock() 235 ctx->workbuf_used = sd->workbuf_preamble_offset + in vb2_load_fw_preamble()
|
D | api.c | 87 ctx->workbuf_used = sd->workbuf_hash_offset + dig_size; in vb2api_init_hash2()
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2api.h | 150 uint32_t workbuf_used; member
|