Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvboot_firmware_tests.c24 static VbKeyBlockHeader vblock[2]; variable
53 fparams.verification_block_A = vblock; in ResetMocks()
55 fparams.verification_block_B = vblock + 1; in ResetMocks()
58 Memset(vblock, 0, sizeof(vblock)); in ResetMocks()
62 vblock[i].key_block_flags = 0x0F; in ResetMocks()
63 vblock[i].data_key.key_version = 2; in ResetMocks()
65 vblock[i].key_block_size = in ResetMocks()
66 (uint8_t*)(mpreamble + i) - (uint8_t*)(vblock + i); in ResetMocks()
117 TEST_NEQ(block==vblock || block==vblock+1, 0, " Verify a valid key block"); in KeyBlockVerify()
170 digest_expect_ptr = (uint8_t*)(vblock + hash_fw_index) + 5; in VbExHashFirmwareBody()
[all …]
Dvb2_firmware_tests.sh46 --vblock vblock.test \
56 ${BUILD_RUN}/tests/vb20_verify_fw gbb.test vblock.test body.test
Dgen_fuzz_test_cases.sh44 --vblock ${TESTCASE_DIR}/firmware.vblock \
55 --pack ${TESTCASE_DIR}/kernel.vblock.image \
Dgen_preamble_testdata.sh67 vbutil_firmware --vblock "${V2DIR}/fw_${d}_${r}.vblock" \
Drun_vbutil_kernel_arg_tests.sh68 for v in ${TMPDIR}/kern_*.vblock; do
/external/vboot_reference/tests/futility/
Dtest_sign_fw_main.sh18 ${FUTILITY} vbutil_firmware --vblock ${TMP}.vblock.old \
27 ${FUTILITY} vbutil_firmware --verify ${TMP}.vblock.old \
39 ${TMP}.vblock.new
42 cmp ${TMP}.vblock.old ${TMP}.vblock.new
/external/vboot_reference/futility/
Dcmd_sign.c87 VbKeyBlockHeader *vblock; in futil_cb_sign_pubkey() local
92 vblock = KeyBlockCreate_external( in futil_cb_sign_pubkey()
106 vblock = KeyBlockCreate(data_key, option.signprivate, in futil_cb_sign_pubkey()
111 vblock = KeyBlockCreate(data_key, option.signprivate, in futil_cb_sign_pubkey()
117 vblock, vblock->key_block_size, in futil_cb_sign_pubkey()
380 static int write_new_preamble(struct cb_area_s *vblock, in write_new_preamble() argument
407 memcpy(vblock->buf, keyblock, more); in write_new_preamble()
409 memcpy(vblock->buf + more, preamble, preamble->preamble_size); in write_new_preamble()
417 static int write_loem(const char *ab, struct cb_area_s *vblock) in write_loem() argument
436 if (1 != fwrite(vblock->buf, vblock->len, 1, fp)) { in write_loem()
/external/vboot_reference/scripts/image_signing/
Dconvert_recovery_to_full_ssd.sh65 sudo cp ${stateful_dir}/vmlinuz_hd.vblock ${tmp_vblock}
Dconvert_recovery_to_ssd.sh73 sudo cp ${stateful_dir}/vmlinuz_hd.vblock ${tmp_vblock}
/external/vboot_reference/
DREADME78 futility vbutil_firmware Create a .vblock with signature info for a