Home
last modified time | relevance | path

Searched refs:body_sig (Results 1 – 6 of 6) sorted by relevance

/external/vboot_reference/futility/
Dcmd_sign.c336 VbSignature *body_sig; in futil_cb_sign_raw_firmware() local
340 body_sig = CalculateSignature(state->my_area->buf, state->my_area->len, in futil_cb_sign_raw_firmware()
342 if (!body_sig) { in futil_cb_sign_raw_firmware()
349 body_sig, in futil_cb_sign_raw_firmware()
354 free(body_sig); in futil_cb_sign_raw_firmware()
363 free(body_sig); in futil_cb_sign_raw_firmware()
385 VbSignature *body_sig; in write_new_preamble() local
388 body_sig = CalculateSignature(fw_body->buf, fw_body->len, signkey); in write_new_preamble()
389 if (!body_sig) { in write_new_preamble()
396 body_sig, in write_new_preamble()
[all …]
Dcmd_vbutil_firmware.c86 VbSignature *body_sig; in Vblock() local
136 body_sig = CalculateSignature(fv_data, fv_size, signing_key); in Vblock()
137 if (!body_sig) { in Vblock()
146 body_sig, in Vblock()
Dvb1_helper.c403 VbSignature *body_sig; in SignKernelBlob() local
411 body_sig = CalculateSignature(kernel_blob, kernel_size, signpriv_key); in SignKernelBlob()
412 if (!body_sig) { in SignKernelBlob()
422 body_sig, in SignKernelBlob()
/external/vboot_reference/tests/
Dvboot_common2_tests.c127 VbSignature *body_sig = SignatureAlloc(56, 78); in VerifyKernelPreambleTest() local
130 hdr = CreateKernelPreamble(0x1234, 0x100000, 0x300000, 0x4000, body_sig, in VerifyKernelPreambleTest()
Dvboot_common3_tests.c176 VbSignature* body_sig = SignatureAlloc(56, 78); in VerifyFirmwarePreambleTest() local
179 hdr = CreateFirmwarePreamble(0x1234, kernel_subkey, body_sig, in VerifyFirmwarePreambleTest()
Dvb20_common3_tests.c187 VbSignature *body_sig = SignatureAlloc(56, 78); in test_verify_fw_preamble() local
194 CreateFirmwarePreamble(0x1234, kernel_subkey, body_sig, in test_verify_fw_preamble()