/external/vboot_reference/host/lib/ |
D | host_common.c | 20 const VbSignature *body_signature, in CreateFirmwarePreamble() argument 27 body_signature->sig_size); in CreateFirmwarePreamble() 42 block_sig_dest = body_sig_dest + body_signature->sig_size; in CreateFirmwarePreamble() 56 SignatureInit(&h->body_signature, body_sig_dest, in CreateFirmwarePreamble() 57 body_signature->sig_size, 0); in CreateFirmwarePreamble() 58 SignatureCopy(&h->body_signature, body_signature); in CreateFirmwarePreamble() 78 const VbSignature *body_signature, in CreateKernelPreamble() argument 87 body_signature->sig_size); in CreateKernelPreamble() 104 block_sig_dest = body_sig_dest + body_signature->sig_size; in CreateKernelPreamble() 118 SignatureInit(&h->body_signature, body_sig_dest, in CreateKernelPreamble() [all …]
|
D | extract_vmlinuz.c | 37 kblob_size = preamble->body_signature.data_size; in ExtractVmlinuz()
|
/external/vboot_reference/tests/ |
D | vboot_firmware_tests.c | 72 (uint8_t*)&mpreamble[i].body_signature, 20); in ResetMocks() 74 mpreamble[i].body_signature.data_size = 20000 + 1000 * i; in ResetMocks() 173 mpreamble[hash_fw_index].body_signature.data_size - 1024); in VbExHashFirmwareBody() 177 if (42 == mpreamble[hash_fw_index].body_signature.sig_offset) { in VbExHashFirmwareBody() 183 return mpreamble[hash_fw_index].body_signature.sig_offset; in VbExHashFirmwareBody() 190 TEST_PTR_EQ(sig, &mpreamble[hash_fw_index].body_signature, "Verifying sig"); in VerifyDigest() 337 mpreamble[0].body_signature.sig_size = 1; in LoadFirmwareTest() 400 TEST_EQ(digest_size, mpreamble[0].body_signature.data_size, in LoadFirmwareTest() 405 mpreamble[0].body_signature.sig_offset = VBERROR_UNKNOWN; in LoadFirmwareTest() 416 mpreamble[0].body_signature.sig_offset = 42; /* Mock hashing wrong amount */ in LoadFirmwareTest() [all …]
|
D | vboot_common2_tests.c | 186 GetSignatureData(&h->body_signature)[0] ^= 0x34; in VerifyKernelPreambleTest() 193 h->body_signature.sig_offset = 0; in VerifyKernelPreambleTest() 194 h->body_signature.sig_size = 0; in VerifyKernelPreambleTest() 200 h->body_signature.sig_offset = hsize; in VerifyKernelPreambleTest()
|
D | vb20_api_tests.c | 81 pre->body_signature.data_size = mock_body_size; in reset_common_data() 82 pre->body_signature.sig_size = mock_sig_size; in reset_common_data() 382 pre->body_signature.sig_size++; in check_hash_tests()
|
D | vboot_common3_tests.c | 244 h->body_signature.sig_offset = 0; in VerifyFirmwarePreambleTest() 245 h->body_signature.sig_size = 0; in VerifyFirmwarePreambleTest() 257 h->body_signature.sig_offset = hsize; in VerifyFirmwarePreambleTest()
|
D | vb20_common3_tests.c | 276 h->body_signature.sig_offset = 0; in test_verify_fw_preamble() 277 h->body_signature.sig_size = 0; in test_verify_fw_preamble() 291 h->body_signature.sig_offset = hsize; in test_verify_fw_preamble()
|
D | vboot_kernel_tests.c | 170 kph.body_signature.data_size = 70144; in ResetMocks() 751 kph.body_signature.data_size = 8192; in LoadKernelTest()
|
/external/vboot_reference/firmware/lib20/ |
D | api.c | 98 sd->hash_remaining_size = pre->body_signature.data_size; in vb2api_init_hash() 101 *size = pre->body_signature.data_size; in vb2api_init_hash() 105 pre->body_signature.data_size); in vb2api_init_hash() 190 rv = vb2_verify_digest(&key, &pre->body_signature, digest, &wb); in vb2api_check_hash()
|
D | common.c | 258 &preamble->body_signature)) { in vb2_verify_fw_preamble()
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 123 VbSignature body_signature; member 165 VbSignature body_signature; member 215 VbSignature body_signature; member 252 VbSignature body_signature; member
|
/external/vboot_reference/host/lib/include/ |
D | host_common.h | 36 const VbSignature *body_signature, 52 const VbSignature *body_signature,
|
/external/vboot_reference/firmware/lib/ |
D | vboot_firmware.c | 247 preamble->body_signature.data_size) { in LoadFirmware() 250 (int)preamble->body_signature.data_size)); in LoadFirmware() 259 &preamble->body_signature, in LoadFirmware()
|
D | vboot_kernel.c | 358 preamble->body_signature.data_size; in LoadKernel() 359 } else if (preamble->body_signature.data_size > in LoadKernel() 373 body_toread = preamble->body_signature.data_size; in LoadKernel() 407 &preamble->body_signature, data_key)) { in LoadKernel()
|
D | vboot_common.c | 354 &preamble->body_signature)) { in VerifyFirmwarePreamble() 433 &preamble->body_signature)) { in VerifyKernelPreamble()
|
/external/vboot_reference/futility/ |
D | vb1_helper.c | 350 preamble->body_signature.data_size); in UnpackKPart() 376 g_kernel_blob_size = preamble->body_signature.data_size; in UnpackKPart() 379 if (g_kernel_blob_size < preamble->body_signature.data_size) in UnpackKPart() 581 g_preamble->body_signature.data_size); in VerifyKernelBlob() 615 &g_preamble->body_signature, rsa)) { in VerifyKernelBlob()
|
D | cmd_vbutil_firmware.c | 272 preamble->body_signature.data_size); in Verify() 284 VerifyData(fv_data, fv_size, &preamble->body_signature, in Verify()
|
D | cmd_show.c | 364 preamble->body_signature.data_size); in futil_cb_show_fw_preamble() 388 VerifyData(fv_data, fv_size, &preamble->body_signature, rsa)) { in futil_cb_show_fw_preamble() 467 preamble->body_signature.data_size); in futil_cb_show_kernel_preamble() 509 &preamble->body_signature, rsa)) { in futil_cb_show_kernel_preamble()
|
D | cmd_sign.c | 165 uint32_t fw_size = preamble->body_signature.data_size; in futil_cb_sign_fw_vblock()
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_struct.h | 165 struct vb2_signature body_signature; member
|