/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 308 int VerifyFirmwarePreamble(const VbFirmwarePreambleHeader *preamble, in VerifyFirmwarePreamble() argument 311 const VbSignature *sig = &preamble->preamble_signature; in VerifyFirmwarePreamble() 319 if (preamble->header_version_major != in VerifyFirmwarePreamble() 324 if (size < preamble->preamble_size) { in VerifyFirmwarePreamble() 330 if (VerifySignatureInside(preamble, preamble->preamble_size, sig)) { in VerifyFirmwarePreamble() 336 if (preamble->preamble_size < sig->data_size) { in VerifyFirmwarePreamble() 341 if (VerifyData((const uint8_t *)preamble, size, sig, key)) { in VerifyFirmwarePreamble() 353 if (VerifySignatureInside(preamble, sig->data_size, in VerifyFirmwarePreamble() 354 &preamble->body_signature)) { in VerifyFirmwarePreamble() 360 if (VerifyPublicKeyInside(preamble, sig->data_size, in VerifyFirmwarePreamble() [all …]
|
D | vboot_kernel.c | 146 VbKernelPreambleHeader *preamble; in LoadKernel() local 280 preamble = (VbKernelPreambleHeader *) in LoadKernel() 283 preamble, in LoadKernel() 297 (preamble->kernel_version & 0xFFFF)); in LoadKernel() 337 preamble->preamble_size; in LoadKernel() 356 (void *)((long)preamble->body_load_address); in LoadKernel() 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() [all …]
|
D | vboot_firmware.c | 94 VbFirmwarePreambleHeader *preamble; in LoadFirmware() local 172 preamble = (VbFirmwarePreambleHeader *) in LoadFirmware() 175 preamble, in LoadFirmware() 186 (preamble->firmware_version & 0xFFFF)); in LoadFirmware() 213 VBDEBUG(("Preamble flags %#x\n", VbGetFirmwarePreambleFlags(preamble))); in LoadFirmware() 214 if (VbGetFirmwarePreambleFlags(preamble) & in LoadFirmware() 247 preamble->body_signature.data_size) { in LoadFirmware() 250 (int)preamble->body_signature.data_size)); in LoadFirmware() 259 &preamble->body_signature, in LoadFirmware() 279 shared, &preamble->kernel_subkey)) { in LoadFirmware()
|
/external/clang/test/Index/ |
D | getcursor-preamble.m | 1 #include "getcursor-preamble.h" 4 // RUN: -cursor-at=%S/getcursor-preamble.h:2:10 \ 5 // RUN: -cursor-at=%S/getcursor-preamble.h:3:9 \ 6 // RUN: -cursor-at=%S/getcursor-preamble.h:4:6 \ 7 // RUN: -cursor-at=%S/getcursor-preamble.h:5:8 \ 8 // RUN: -cursor-at=%S/getcursor-preamble.h:7:7 \ 12 // RUN: -cursor-at=%S/getcursor-preamble.h:2:10 \ 13 // RUN: -cursor-at=%S/getcursor-preamble.h:3:9 \ 14 // RUN: -cursor-at=%S/getcursor-preamble.h:4:6 \ 15 // RUN: -cursor-at=%S/getcursor-preamble.h:5:8 \ [all …]
|
D | preamble-reparse-import.m | 8 #import "preamble-reparse-import.m-1.h" 11 #import "preamble-reparse-import.m-2.h" 12 #import "preamble-reparse-import.m-1.h"
|
D | preamble-reparse-with-BOM.m | 8 // CHECK: preamble-reparse-with-BOM.m:2:12: ObjCInterfaceDecl=I2:2:12 Extent=[2:1 - 3:5]
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_firmware.c | 87 VbFirmwarePreambleHeader *preamble; in Vblock() local 144 preamble = CreateFirmwarePreamble(version, in Vblock() 148 if (!preamble) { in Vblock() 160 (1 != fwrite(preamble, preamble->preamble_size, 1, f))); in Vblock() 177 VbFirmwarePreambleHeader *preamble; in Verify() local 246 preamble = (VbFirmwarePreambleHeader *) (blob + now); in Verify() 247 if (0 != VerifyFirmwarePreamble(preamble, blob_size - now, rsa)) { in Verify() 251 now += preamble->preamble_size; in Verify() 253 flags = VbGetFirmwarePreambleFlags(preamble); in Verify() 256 preamble->preamble_size); in Verify() [all …]
|
D | dump_kernel_config_lib.c | 76 VbKernelPreambleHeader preamble; in FindKernelConfigFromStream() local 93 if (read_fn(ctx, &preamble, sizeof(preamble)) != sizeof(preamble)) { in FindKernelConfigFromStream() 97 to_skip = preamble.preamble_size - sizeof(preamble); in FindKernelConfigFromStream() 102 now += preamble.preamble_size; in FindKernelConfigFromStream() 107 kernel_body_load_address = preamble.body_load_address; in FindKernelConfigFromStream() 112 offset = preamble.bootloader_address - in FindKernelConfigFromStream()
|
D | cmd_show.c | 334 VbFirmwarePreambleHeader *preamble = in futil_cb_show_fw_preamble() local 337 if (VBOOT_SUCCESS != VerifyFirmwarePreamble(preamble, in futil_cb_show_fw_preamble() 343 uint32_t flags = VbGetFirmwarePreambleFlags(preamble); in futil_cb_show_fw_preamble() 346 preamble->preamble_size); in futil_cb_show_fw_preamble() 348 preamble->header_version_major, preamble->header_version_minor); in futil_cb_show_fw_preamble() 350 preamble->firmware_version); in futil_cb_show_fw_preamble() 351 VbPublicKey *kernel_subkey = &preamble->kernel_subkey; in futil_cb_show_fw_preamble() 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() 447 VbKernelPreambleHeader *preamble = in futil_cb_show_kernel_preamble() local [all …]
|
D | vb1_helper.c | 122 uint64_t KernelCmdLineOffset(VbKernelPreambleHeader *preamble) in KernelCmdLineOffset() argument 124 return preamble->bootloader_address - preamble->body_load_address - in KernelCmdLineOffset() 304 VbKernelPreambleHeader *preamble; in UnpackKPart() local 331 preamble = (VbKernelPreambleHeader *)(kpart_data + now); in UnpackKPart() 332 Debug("Preamble is 0x%" PRIx64 " bytes\n", preamble->preamble_size); in UnpackKPart() 333 now += preamble->preamble_size; in UnpackKPart() 345 Debug(" kernel_version = %d\n", preamble->kernel_version); in UnpackKPart() 347 preamble->bootloader_address); in UnpackKPart() 348 Debug(" bootloader_size = 0x%" PRIx64 "\n", preamble->bootloader_size); in UnpackKPart() 350 preamble->body_signature.data_size); in UnpackKPart() [all …]
|
D | cmd_sign.c | 163 VbFirmwarePreambleHeader *preamble = in futil_cb_sign_fw_vblock() local 165 uint32_t fw_size = preamble->body_signature.data_size; in futil_cb_sign_fw_vblock() 173 option.flags = preamble->flags; in futil_cb_sign_fw_vblock() 254 VbKernelPreambleHeader *preamble = NULL; in futil_cb_resign_kernel_part() local 262 &keyblock, &preamble, &kblob_size); in futil_cb_resign_kernel_part() 276 option.kloadaddr = preamble->body_load_address; in futil_cb_resign_kernel_part() 289 option.version = preamble->kernel_version; in futil_cb_resign_kernel_part() 292 if (VbKernelHasFlags(preamble) == VBOOT_SUCCESS) { in futil_cb_resign_kernel_part() 294 option.flags = preamble->flags; in futil_cb_resign_kernel_part() 337 VbFirmwarePreambleHeader *preamble; in futil_cb_sign_raw_firmware() local [all …]
|
D | cmd_vbutil_kernel.c | 254 VbKernelPreambleHeader *preamble = NULL; in do_vbutil_kernel() local 490 &keyblock, &preamble, &kblob_size); in do_vbutil_kernel() 495 kernel_body_load_address = preamble->body_load_address; in do_vbutil_kernel() 511 version = preamble->kernel_version; in do_vbutil_kernel() 513 if (VbKernelHasFlags(preamble) == VBOOT_SUCCESS) in do_vbutil_kernel() 514 flags = preamble->flags; in do_vbutil_kernel() 579 &keyblock, &preamble, &kblob_size); in do_vbutil_kernel() 593 if (VbGetKernelVmlinuzHeader(preamble, in do_vbutil_kernel() 604 if (VerifyVmlinuzInsideKBlob(preamble->body_load_address, in do_vbutil_kernel() 618 preamble->body_load_address + in do_vbutil_kernel() [all …]
|
D | vb1_helper.h | 42 uint64_t KernelCmdLineOffset(VbKernelPreambleHeader *preamble);
|
/external/vboot_reference/host/lib/ |
D | extract_vmlinuz.c | 18 VbKernelPreambleHeader *preamble = NULL; in ExtractVmlinuz() local 31 preamble = (VbKernelPreambleHeader *)(kpart_data + now); in ExtractVmlinuz() 32 now += preamble->preamble_size; in ExtractVmlinuz() 37 kblob_size = preamble->body_signature.data_size; in ExtractVmlinuz() 42 if (preamble->header_version_minor > 0) { in ExtractVmlinuz() 43 vmlinuz_header_address = preamble->vmlinuz_header_address; in ExtractVmlinuz() 44 vmlinuz_header_size = preamble->vmlinuz_header_size; in ExtractVmlinuz() 57 preamble->body_load_address + in ExtractVmlinuz() 59 preamble->preamble_size; in ExtractVmlinuz()
|
/external/vboot_reference/firmware/lib20/ |
D | common.c | 202 int vb2_verify_fw_preamble(struct vb2_fw_preamble *preamble, in vb2_verify_fw_preamble() argument 207 struct vb2_signature *sig = &preamble->preamble_signature; in vb2_verify_fw_preamble() 212 if(size < sizeof(*preamble)) { in vb2_verify_fw_preamble() 216 if (preamble->header_version_major != in vb2_verify_fw_preamble() 222 if (preamble->header_version_minor < 1) { in vb2_verify_fw_preamble() 227 if (size < preamble->preamble_size) { in vb2_verify_fw_preamble() 233 if (vb2_verify_signature_inside(preamble, preamble->preamble_size, in vb2_verify_fw_preamble() 240 if (preamble->preamble_size < sig->data_size) { in vb2_verify_fw_preamble() 245 if (vb2_verify_data((const uint8_t *)preamble, size, sig, key, wb)) { in vb2_verify_fw_preamble() 257 if (vb2_verify_signature_inside(preamble, sig->data_size, in vb2_verify_fw_preamble() [all …]
|
/external/vboot_reference/firmware/lib21/ |
D | common.c | 376 int vb2_verify_fw_preamble(struct vb2_fw_preamble *preamble, in vb2_verify_fw_preamble() argument 386 if (preamble->c.magic != VB2_MAGIC_FW_PREAMBLE) in vb2_verify_fw_preamble() 390 rv = vb2_verify_common_header(preamble, size); in vb2_verify_fw_preamble() 399 if (preamble->c.struct_version_major != VB2_FW_PREAMBLE_VERSION_MAJOR) in vb2_verify_fw_preamble() 403 if (preamble->c.fixed_size < sizeof(*preamble)) in vb2_verify_fw_preamble() 407 hash_offset = preamble->hash_offset; in vb2_verify_fw_preamble() 408 for (i = 0; i < preamble->hash_count; i++, hash_offset = min_offset) { in vb2_verify_fw_preamble() 410 rv = vb2_verify_common_subobject(preamble, &min_offset, in vb2_verify_fw_preamble() 416 ((uint8_t *)preamble + hash_offset); in vb2_verify_fw_preamble() 420 sig, preamble->c.total_size - hash_offset); in vb2_verify_fw_preamble() [all …]
|
/external/mesa3d/src/gallium/auxiliary/indices/ |
D | u_indices_gen.py | 152 def preamble(intype, outtype, inpv, outpv, prim): function 170 preamble(intype, outtype, inpv, outpv, prim='points') 177 preamble(intype, outtype, inpv, outpv, prim='lines') 184 preamble(intype, outtype, inpv, outpv, prim='linestrip') 191 preamble(intype, outtype, inpv, outpv, prim='lineloop') 199 preamble(intype, outtype, inpv, outpv, prim='tris') 207 preamble(intype, outtype, inpv, outpv, prim='tristrip') 218 preamble(intype, outtype, inpv, outpv, prim='trifan') 227 preamble(intype, outtype, inpv, outpv, prim='polygon') 238 preamble(intype, outtype, inpv, outpv, prim='quads') [all …]
|
D | u_unfilled_gen.py | 126 def preamble(intype, outtype, prim): function 144 preamble(intype, outtype, prim='tris') 152 preamble(intype, outtype, prim='tristrip') 160 preamble(intype, outtype, prim='trifan') 169 preamble(intype, outtype, prim='polygon') 177 preamble(intype, outtype, prim='quads') 185 preamble(intype, outtype, prim='quadstrip')
|
/external/vboot_reference/firmware/lib/include/ |
D | vboot_common.h | 131 int VerifyFirmwarePreamble(const VbFirmwarePreambleHeader *preamble, 141 uint32_t VbGetFirmwarePreambleFlags(const VbFirmwarePreambleHeader *preamble); 149 int VerifyKernelPreamble(const VbKernelPreambleHeader *preamble, 161 int VbGetKernelVmlinuzHeader(const VbKernelPreambleHeader *preamble, 172 int VbKernelHasFlags(const VbKernelPreambleHeader *preamble);
|
/external/vboot_reference/tests/ |
D | vboot_firmware_tests.c | 123 int VerifyFirmwarePreamble(const VbFirmwarePreambleHeader* preamble, in VerifyFirmwarePreamble() argument 126 TEST_NEQ(preamble==mpreamble || preamble==mpreamble+1, 0, in VerifyFirmwarePreamble() 130 return preamble->header_version_major; in VerifyFirmwarePreamble()
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | glX_proto_send.py | 993 preamble = '\n /* %3u. %s */\n' % (int(number), name) 995 preamble = '\n /* %s */\n' % (name) 999 if preamble: 1000 print preamble 1001 preamble = None
|
/external/boringssl/src/crypto/chacha/ |
D | chacha_vec_arm_generate.go | 51 output.WriteString(preamble) 108 const preamble = `# Copyright (c) 2014, Google Inc. const
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_common.h | 154 int vb2_verify_fw_preamble(struct vb2_fw_preamble *preamble,
|
/external/vboot_reference/firmware/lib21/include/ |
D | vb2_common.h | 174 int vb2_verify_fw_preamble(struct vb2_fw_preamble *preamble,
|
/external/valgrind/mpi/ |
D | libmpiwrap.c | 170 static const char* preamble = "valgrind MPI wrappers"; variable 205 preamble, my_pid, my_pid); in before() 231 fprintf(stderr, "%s %5d: exiting now\n", preamble, my_pid ); in before() 237 preamble, my_pid); in before() 241 fprintf(stderr, "%s %5d: enter PMPI_%s\n", preamble, my_pid, fnname ); in before() 248 preamble, my_pid, fnname, err ); in after() 253 fprintf(stderr, "%s %5d: fatal: %s\n", preamble, my_pid, msg); in barf() 254 fprintf(stderr, "%s %5d: exiting now\n", preamble, my_pid ); in barf() 868 preamble, my_pid, (long)ty); in walk_type() 873 preamble, my_pid, (long)tycon); in walk_type() [all …]
|