Home
last modified time | relevance | path

Searched refs:KeyBlockVerify (Results 1 – 14 of 14) sorted by relevance

/external/vboot_reference/tests/
Dvboot_common3_tests.c45 TEST_EQ(KeyBlockVerify(hdr, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
47 TEST_EQ(KeyBlockVerify(hdr, hsize, public_key, 0), 0, in KeyBlockVerifyTest()
49 TEST_NEQ(KeyBlockVerify(hdr, hsize, NULL, 0), 0, in KeyBlockVerifyTest()
52 TEST_NEQ(KeyBlockVerify(hdr, hsize - 1, NULL, 1), 0, in KeyBlockVerifyTest()
54 TEST_EQ(KeyBlockVerify(hdr, hsize + 1, NULL, 1), 0, in KeyBlockVerifyTest()
59 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
66 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
72 TEST_NEQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
78 TEST_EQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
84 TEST_EQ(KeyBlockVerify(h, hsize, NULL, 1), 0, in KeyBlockVerifyTest()
[all …]
Dvboot_firmware_tests.c106 int KeyBlockVerify(const VbKeyBlockHeader* block, uint64_t size, in KeyBlockVerify() function
Dvboot_kernel_tests.c239 int KeyBlockVerify(const VbKeyBlockHeader *block, uint64_t size, in KeyBlockVerify() function
/external/vboot_reference/futility/
Dcmd_show.c233 if (0 != KeyBlockVerify(block, state->my_area->len, NULL, 1)) { in futil_cb_show_keyblock()
240 KeyBlockVerify(block, state->my_area->len, sign_key, 0)) in futil_cb_show_keyblock()
288 if (VBOOT_SUCCESS != KeyBlockVerify(key_block, len, NULL, 1)) { in futil_cb_show_fw_preamble()
317 KeyBlockVerify(key_block, len, sign_key, 0)) in futil_cb_show_fw_preamble()
425 if (VBOOT_SUCCESS != KeyBlockVerify(key_block, len, NULL, 1)) { in futil_cb_show_kernel_preamble()
432 KeyBlockVerify(key_block, len, sign_key, 0)) in futil_cb_show_kernel_preamble()
Dcmd_vbutil_keyblock.c181 KeyBlockVerify(block, block->key_block_size, sign_key, 0)) { in Unpack()
Dcmd_vbutil_firmware.c217 if (0 != KeyBlockVerify(key_block, blob_size, sign_key, 0)) { in Verify()
Dvb1_helper.c502 if (0 != KeyBlockVerify(g_keyblock, g_keyblock->key_block_size, in VerifyKernelBlob()
726 if (VBOOT_SUCCESS == KeyBlockVerify(key_block, len, NULL, 1)) { in recognize_vblock1()
Dcmd_sign.c148 if (VBOOT_SUCCESS != KeyBlockVerify(key_block, len, NULL, 1)) { in futil_cb_sign_fw_vblock()
/external/vboot_reference/firmware/linktest/
Dmain.c86 KeyBlockVerify(0, 0, 0, 0); in main()
/external/vboot_reference/firmware/lib/include/
Dvboot_common.h121 int KeyBlockVerify(const VbKeyBlockHeader *block, uint64_t size,
/external/vboot_reference/firmware/lib/
Dvboot_kernel.c193 if (0 != KeyBlockVerify(key_block, KBUF_SIZE, in LoadKernel()
218 if (0 != KeyBlockVerify(key_block, KBUF_SIZE, in LoadKernel()
Dvboot_firmware.c136 if ((0 != KeyBlockVerify(key_block, vblock_size, in LoadFirmware()
Dvboot_common.c187 int KeyBlockVerify(const VbKeyBlockHeader *block, uint64_t size, in KeyBlockVerify() function
/external/vboot_reference/host/lib/
Dhost_keyblock.c149 if (0 != KeyBlockVerify(block, file_size, NULL, 1)) { in KeyBlockRead()