Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvb20_misc_tests.c181 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()
Dvb20_api_tests.c75 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()
Dvb21_misc_tests.c188 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()
Dvb21_api_tests.c94 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()
Dvb2_misc_tests.c89 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()
Dvb20_verify_fw.c208 printf("Workbuf used = %d bytes\n", ctx.workbuf_used); in main()
/external/vboot_reference/firmware/2lib/
D2misc.c30 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/lib21/
Dmisc.c147 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()
Dapi.c87 ctx->workbuf_used = sd->workbuf_hash_offset + dig_size; in vb2api_init_hash2()
/external/vboot_reference/firmware/lib20/
Dmisc.c124 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()
Dapi.c76 ctx->workbuf_used = sd->workbuf_hash_offset + dig_size; in vb2api_init_hash()
/external/vboot_reference/firmware/2lib/include/
D2api.h150 uint32_t workbuf_used; member