/external/vboot_reference/host/lib/ |
D | host_keyblock.c | 15 VbKeyBlockHeader* KeyBlockCreate(const VbPublicKey* data_key, in KeyBlockCreate() 19 VbKeyBlockHeader* h; in KeyBlockCreate() 20 uint64_t signed_size = sizeof(VbKeyBlockHeader) + data_key->key_size; in KeyBlockCreate() 30 h = (VbKeyBlockHeader*)malloc(block_size); in KeyBlockCreate() 75 VbKeyBlockHeader* KeyBlockCreate_external(const VbPublicKey* data_key, in KeyBlockCreate_external() 80 VbKeyBlockHeader* h; in KeyBlockCreate_external() 81 uint64_t signed_size = sizeof(VbKeyBlockHeader) + data_key->key_size; in KeyBlockCreate_external() 90 h = (VbKeyBlockHeader*)malloc(block_size); in KeyBlockCreate_external() 136 VbKeyBlockHeader* KeyBlockRead(const char* filename) { in KeyBlockRead() 138 VbKeyBlockHeader* block; in KeyBlockRead() [all …]
|
D | extract_vmlinuz.c | 17 VbKeyBlockHeader *keyblock = NULL; in ExtractVmlinuz() 26 keyblock = (VbKeyBlockHeader *)kpart_data; in ExtractVmlinuz()
|
/external/vboot_reference/host/lib/include/ |
D | host_keyblock.h | 21 VbKeyBlockHeader* KeyBlockCreate_external(const VbPublicKey* data_key, 30 VbKeyBlockHeader* KeyBlockCreate(const VbPublicKey* data_key, 39 VbKeyBlockHeader* KeyBlockRead(const char* filename); 43 int KeyBlockWrite(const char* filename, const VbKeyBlockHeader* key_block);
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_firmware.c | 88 VbKeyBlockHeader *key_block; in Vblock() 110 (VbKeyBlockHeader *) ReadFile(keyblock_file, &key_block_size); in Vblock() 176 VbKeyBlockHeader *key_block; in Verify() 216 key_block = (VbKeyBlockHeader *) blob; in Verify()
|
D | vb1_helper.h | 20 VbKeyBlockHeader *keyblock, VbPrivateKey *signpriv_key, 29 VbKeyBlockHeader **keyblock_ptr,
|
D | cmd_show.c | 58 static void show_keyblock(VbKeyBlockHeader *key_block, const char *name, in show_keyblock() 227 VbKeyBlockHeader *block = (VbKeyBlockHeader *)state->my_area->buf; in futil_cb_show_keyblock() 278 VbKeyBlockHeader *key_block = (VbKeyBlockHeader *)state->my_area->buf; in futil_cb_show_fw_preamble() 413 VbKeyBlockHeader *key_block = (VbKeyBlockHeader *)state->my_area->buf; in futil_cb_show_kernel_preamble()
|
D | vb1_helper.c | 33 static VbKeyBlockHeader *g_keyblock; 299 VbKeyBlockHeader **keyblock_ptr, in UnpackKPart() 303 VbKeyBlockHeader *keyblock; in UnpackKPart() 311 keyblock = (VbKeyBlockHeader *)kpart_data; in UnpackKPart() 400 VbKeyBlockHeader *keyblock, VbPrivateKey *signpriv_key, in SignKernelBlob() 720 VbKeyBlockHeader *key_block = (VbKeyBlockHeader *)buf; in recognize_vblock1()
|
D | cmd_sign.c | 40 VbKeyBlockHeader *keyblock; 43 VbKeyBlockHeader *devkeyblock; 87 VbKeyBlockHeader *vblock; in futil_cb_sign_pubkey() 140 VbKeyBlockHeader *key_block = (VbKeyBlockHeader *)state->my_area->buf; in futil_cb_sign_fw_vblock() 253 VbKeyBlockHeader *keyblock = NULL; in futil_cb_resign_kernel_part() 383 VbKeyBlockHeader *keyblock) in write_new_preamble()
|
D | cmd_vbutil_kernel.c | 239 VbKeyBlockHeader *keyblock = NULL; in do_vbutil_kernel() 240 VbKeyBlockHeader *t_keyblock = NULL; in do_vbutil_kernel() 395 t_keyblock = (VbKeyBlockHeader *)ReadFile(keyblock_file, 0); in do_vbutil_kernel() 518 (VbKeyBlockHeader *)ReadFile(keyblock_file, 0); in do_vbutil_kernel()
|
D | cmd_vbutil_keyblock.c | 87 VbKeyBlockHeader *block; in Pack() 158 VbKeyBlockHeader *block; in Unpack()
|
D | dump_kernel_config_lib.c | 75 VbKeyBlockHeader key_block; in FindKernelConfigFromStream()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_firmware.c | 92 VbKeyBlockHeader *key_block; in LoadFirmware() 104 key_block = (VbKeyBlockHeader *) in LoadFirmware() 109 key_block = (VbKeyBlockHeader *) in LoadFirmware()
|
D | vboot_common.c | 187 int KeyBlockVerify(const VbKeyBlockHeader *block, uint64_t size, in KeyBlockVerify() 193 if(size < sizeof(VbKeyBlockHeader)) { in KeyBlockVerify() 288 if (sig->data_size < sizeof(VbKeyBlockHeader)) { in KeyBlockVerify()
|
D | vboot_kernel.c | 145 VbKeyBlockHeader *key_block; in LoadKernel() 192 key_block = (VbKeyBlockHeader*)kbuf; in LoadKernel()
|
/external/vboot_reference/tests/ |
D | vboot_common3_tests.c | 20 static void ReChecksumKeyBlock(VbKeyBlockHeader *h) in ReChecksumKeyBlock() 34 VbKeyBlockHeader *hdr; in KeyBlockVerifyTest() 35 VbKeyBlockHeader *h; in KeyBlockVerifyTest() 43 h = (VbKeyBlockHeader *)malloc(hsize + 1024); in KeyBlockVerifyTest()
|
D | vboot_firmware_tests.c | 24 static VbKeyBlockHeader vblock[2]; 54 fparams.verification_size_A = sizeof(VbKeyBlockHeader); in ResetMocks() 56 fparams.verification_size_B = sizeof(VbKeyBlockHeader); in ResetMocks() 106 int KeyBlockVerify(const VbKeyBlockHeader* block, uint64_t size, in KeyBlockVerify()
|
D | vboot_common_tests.c | 26 TEST_EQ(EXPECTED_VBKEYBLOCKHEADER_SIZE, sizeof(VbKeyBlockHeader), in StructPackingTest()
|
D | vboot_kernel_tests.c | 62 static VbKeyBlockHeader kbh; 239 int KeyBlockVerify(const VbKeyBlockHeader *block, uint64_t size, in KeyBlockVerify()
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 62 typedef struct VbKeyBlockHeader { struct 88 } __attribute__((packed)) VbKeyBlockHeader; argument
|
/external/vboot_reference/firmware/lib/include/ |
D | vboot_common.h | 121 int KeyBlockVerify(const VbKeyBlockHeader *block, uint64_t size,
|