Home
last modified time | relevance | path

Searched refs:kblob_size (Results 1 – 7 of 7) sorted by relevance

/external/vboot_reference/host/lib/
Dextract_vmlinuz.c20 uint64_t kblob_size = 0; in ExtractVmlinuz() local
37 kblob_size = preamble->body_signature.data_size; in ExtractVmlinuz()
39 if (!kblob_data || (now + kblob_size) > kpart_size) in ExtractVmlinuz()
61 vmlinuz = malloc(vmlinuz_header_size + kblob_size); in ExtractVmlinuz()
68 memcpy(vmlinuz + vmlinuz_header_size, kblob_data, kblob_size); in ExtractVmlinuz()
71 *vmlinuz_size = vmlinuz_header_size + kblob_size; in ExtractVmlinuz()
/external/vboot_reference/futility/
Dcmd_vbutil_kernel.c256 uint64_t kblob_size = 0; in do_vbutil_kernel() local
442 &kblob_size); in do_vbutil_kernel()
446 Debug("kblob_size = 0x%" PRIx64 "\n", kblob_size); in do_vbutil_kernel()
448 vblock_data = SignKernelBlob(kblob_data, kblob_size, opt_pad, in do_vbutil_kernel()
464 kblob_data, kblob_size); in do_vbutil_kernel()
490 &keyblock, &preamble, &kblob_size); in do_vbutil_kernel()
505 kblob_data, kblob_size, in do_vbutil_kernel()
524 vblock_data = SignKernelBlob(kblob_data, kblob_size, opt_pad, in do_vbutil_kernel()
538 kblob_data, kblob_size); in do_vbutil_kernel()
557 0, 0, &kblob_size); in do_vbutil_kernel()
[all …]
Dcmd_sign.c201 uint64_t vmlinuz_size, kblob_size, vblock_size; in futil_cb_create_kernel_part() local
212 &kblob_size); in futil_cb_create_kernel_part()
217 Debug("kblob_size = 0x%" PRIx64 "\n", kblob_size); in futil_cb_create_kernel_part()
219 vblock_data = SignKernelBlob(kblob_data, kblob_size, option.padding, in futil_cb_create_kernel_part()
242 kblob_data, kblob_size); in futil_cb_create_kernel_part()
252 uint64_t kpart_size, kblob_size, vblock_size; in futil_cb_resign_kernel_part() local
262 &keyblock, &preamble, &kblob_size); in futil_cb_resign_kernel_part()
280 0 != UpdateKernelBlobConfig(kblob_data, kblob_size, in futil_cb_resign_kernel_part()
302 vblock_data = SignKernelBlob(kblob_data, kblob_size, option.padding, in futil_cb_resign_kernel_part()
321 kblob_data, kblob_size); in futil_cb_resign_kernel_part()
Dvb1_helper.h33 int UpdateKernelBlobConfig(uint8_t *kblob_data, uint64_t kblob_size,
Dvb1_helper.c279 int UpdateKernelBlobConfig(uint8_t *kblob_data, uint64_t kblob_size, in UpdateKernelBlobConfig() argument
285 kblob_size != g_kernel_blob_size) { in UpdateKernelBlobConfig()
/external/vboot_reference/firmware/lib/
Dvboot_common.c487 int VerifyVmlinuzInsideKBlob(uint64_t kblob, uint64_t kblob_size, in VerifyVmlinuzInsideKBlob() argument
491 if (end > kblob_size) in VerifyVmlinuzInsideKBlob()
495 if (end + header_size > kblob_size) in VerifyVmlinuzInsideKBlob()
/external/vboot_reference/firmware/lib/include/
Dvboot_common.h179 int VerifyVmlinuzInsideKBlob(uint64_t kblob, uint64_t kblob_size,