Home
last modified time | relevance | path

Searched refs:Memcpy (Results 1 – 25 of 58) sorted by relevance

123

/external/vboot_reference/tests/
Dvb20_common3_tests.c59 Memcpy(h, hdr, hsize); in test_verify_keyblock()
63 Memcpy(h, hdr, hsize); in test_verify_keyblock()
68 Memcpy(h, hdr, hsize); in test_verify_keyblock()
72 Memcpy(h, hdr, hsize); in test_verify_keyblock()
78 Memcpy(h, hdr, hsize); in test_verify_keyblock()
85 Memcpy(h, hdr, hsize); in test_verify_keyblock()
92 Memcpy(h, hdr, hsize); in test_verify_keyblock()
98 Memcpy(h, hdr, hsize); in test_verify_keyblock()
105 Memcpy(h, hdr, hsize); in test_verify_keyblock()
112 Memcpy(h, hdr, hsize); in test_verify_keyblock()
[all …]
Dvboot_common3_tests.c25 Memcpy(GetSignatureData(&h->key_block_checksum), newchk, in ReChecksumKeyBlock()
57 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
63 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
69 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
75 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
81 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
88 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
94 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
100 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
106 Memcpy(h, hdr, hsize); in KeyBlockVerifyTest()
[all …]
Dvb20_rsa_padding_tests.c55 Memcpy(sig, signatures[0], sizeof(sig)); in test_signatures()
62 Memcpy(sig, signatures[i], sizeof(sig)); in test_signatures()
86 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest()
90 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest()
98 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest()
105 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest()
112 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest()
117 Memcpy(sig, signatures[0], sizeof(sig)); in test_verify_digest()
Dvboot_common2_tests.c148 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
154 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
160 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
166 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
173 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
179 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
185 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
191 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
199 Memcpy(h, hdr, hsize); in VerifyKernelPreambleTest()
Dcgptlib_test.c64 Memcpy(dest, &g, sizeof(Guid)); in SetGuid()
163 Memcpy(header->signature, GPT_HEADER_SIGNATURE, in BuildTestGptData()
176 Memcpy(&entries[0].type, &chromeos_kernel, sizeof(chromeos_kernel)); in BuildTestGptData()
180 Memcpy(&entries[1].type, &chromeos_rootfs, sizeof(chromeos_rootfs)); in BuildTestGptData()
184 Memcpy(&entries[2].type, &chromeos_rootfs, sizeof(chromeos_rootfs)); in BuildTestGptData()
188 Memcpy(&entries[3].type, &chromeos_kernel, sizeof(chromeos_kernel)); in BuildTestGptData()
196 Memcpy(header2, header, sizeof(GptHeader)); in BuildTestGptData()
197 Memcpy(entries2, entries, PARTITION_ENTRIES_SIZE); in BuildTestGptData()
305 Memcpy(&h3, h2, sizeof(h3)); in HeaderSameTest()
309 Memcpy(&h3, h2, sizeof(h3)); in HeaderSameTest()
[all …]
Drsa_padding_test.c53 Memcpy(sig, signatures[0], RSA1024NUMBYTES); in TestRSAVerify()
58 Memcpy(sig, signatures[0], RSA1024NUMBYTES); in TestRSAVerify()
Drollback_index2_tests.c132 Memcpy(data, &mock_rsf, length); in TlclRead()
136 Memcpy(data, &mock_rsk, length); in TlclRead()
152 Memcpy(&mock_rsf, data, length); in TlclWrite()
156 Memcpy(&mock_rsk, data, length); in TlclWrite()
185 Memcpy(pflags, &mock_pflags, sizeof(mock_pflags)); in TlclGetPermanentFlags()
Dvboot_api_kernel4_tests.c70 Memcpy(buf, vnc.raw, sizeof(vnc.raw)); in VbExNvStorageRead()
76 Memcpy(vnc.raw, buf, sizeof(vnc.raw)); in VbExNvStorageWrite()
Dvboot_api_devmode_tests.c190 Memcpy(buf, vnc.raw, sizeof(vnc.raw)); in VbExNvStorageRead()
195 Memcpy(vnc.raw, buf, sizeof(vnc.raw)); in VbExNvStorageWrite()
Dvboot_api_firmware_tests.c83 Memcpy(buf, vnc.raw, sizeof(vnc.raw)); in VbExNvStorageRead()
89 Memcpy(vnc.raw, buf, sizeof(vnc.raw)); in VbExNvStorageWrite()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_string.cc19 TEST(ThreadSanitizer, Memcpy) { in TEST() argument
22 MainThread().Memcpy(data+1, data0+1, 5); in TEST()
45 t1.Memcpy(data, data1, 10); in TEST()
46 t2.Memcpy(data, data2, 10, true); in TEST()
54 t1.Memcpy(data+5, data1, 1); in TEST()
55 t2.Memcpy(data+3, data2, 4, true); in TEST()
63 t1.Memcpy(data, data1, 10); in TEST()
64 t2.Memcpy(data1, data2, 10, true); in TEST()
71 t1.Memcpy(data, data1, 10); in TEST()
72 t2.Memcpy(data, data1, 10, true); in TEST()
/external/vboot_reference/firmware/lib/tpm_lite/
Dtlcl.c186 Memcpy(&cmd, &tpm_nv_definespace_cmd, sizeof(cmd)); in TlclDefineSpace()
200 Memcpy(&cmd, &tpm_nv_write_cmd, sizeof(cmd)); in TlclWrite()
206 Memcpy(cmd.buffer + tpm_nv_write_cmd.data, data, length); in TlclWrite()
218 Memcpy(&cmd, &tpm_nv_read_cmd, sizeof(cmd)); in TlclRead()
227 Memcpy(data, nv_read_cursor, result_length); in TlclRead()
242 Memcpy(&cmd, &tpm_pcr_read_cmd, sizeof(cmd)); in TlclPCRRead()
248 Memcpy(data, pcr_read_cursor, kPcrDigestLength); in TlclPCRRead()
320 Memcpy(&cmd, &tpm_physicalsetdeactivated_cmd, sizeof(cmd)); in TlclSetDeactivated()
336 Memcpy(pflags, in TlclGetPermanentFlags()
354 Memcpy(vflags, in TlclGetSTClearFlags()
[all …]
/external/vboot_reference/firmware/lib/
Drollback_index.c308 Memcpy(rsf, &rsf_init, sizeof(RollbackSpaceFirmware)); in OneTimeInitializeTPM()
309 Memcpy(rsk, &rsk_init, sizeof(RollbackSpaceKernel)); in OneTimeInitializeTPM()
435 Memcpy(&versions, &rsf->fw_versions, sizeof(versions)); in SetupTPM()
585 Memcpy(version, &rsf.fw_versions, sizeof(*version)); in RollbackFirmwareSetup()
597 Memcpy(&old_version, &rsf.fw_versions, sizeof(old_version)); in RollbackFirmwareWrite()
600 Memcpy(&rsf.fw_versions, &version, sizeof(version)); in RollbackFirmwareWrite()
624 Memcpy(&uid, &rsk.uid, sizeof(uid)); in RollbackKernelRead()
628 Memcpy(version, &rsk.kernel_versions, sizeof(*version)); in RollbackKernelRead()
638 Memcpy(&old_version, &rsk.kernel_versions, sizeof(old_version)); in RollbackKernelWrite()
641 Memcpy(&rsk.kernel_versions, &version, sizeof(version)); in RollbackKernelWrite()
Dmocked_rollback_index.c76 Memcpy(raw, rollback_backup, BACKUP_NV_SIZE); in RollbackBackupRead()
82 Memcpy(rollback_backup, raw, BACKUP_NV_SIZE); in RollbackBackupWrite()
Dstateful_util.c41 Memcpy(dst, state->remaining_buf, len); in StatefulMemcpy()
55 Memcpy(state->remaining_buf, src, len); in StatefulMemcpy_r()
/external/vboot_reference/host/lib/
Dhost_signature.c49 Memcpy(GetSignatureData(dest), GetSignatureDataC(src), src->sig_size); in SignatureCopy()
73 Memcpy(GetSignatureData(sig), header_checksum, SHA512_DIGEST_SIZE); in CalculateChecksum()
97 Memcpy(GetSignatureData(sig), digest, digest_size); in CalculateHash()
131 Memcpy(signature_digest, digestinfo, digestinfo_size); in CalculateSignature()
132 Memcpy(signature_digest + digestinfo_size, digest, digest_size); in CalculateSignature()
276 Memcpy(signature_digest, digestinfo, digestinfo_size); in CalculateSignature_external()
277 Memcpy(signature_digest + digestinfo_size, digest, digest_size); in CalculateSignature_external()
Dsignature_digest.c22 Memcpy(p, digestinfo, digestinfo_size); in PrependDigestInfo()
23 Memcpy(p + digestinfo_size, digest, digest_size); in PrependDigestInfo()
Dhost_keyblock.c37 Memcpy(h->magic, KEY_BLOCK_MAGIC, KEY_BLOCK_MAGIC_SIZE); in KeyBlockCreate()
100 Memcpy(h->magic, KEY_BLOCK_MAGIC, KEY_BLOCK_MAGIC_SIZE); in KeyBlockCreate_external()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp306 if (MemCpyInst *Memcpy = dyn_cast<MemCpyInst>(MemCall)) { in runOnFunction() local
307 convertMemCpyToLoop(/* ConvertedInst */ Memcpy, in runOnFunction()
308 /* SrcAddr */ Memcpy->getRawSource(), in runOnFunction()
309 /* DstAddr */ Memcpy->getRawDest(), in runOnFunction()
310 /* CopyLen */ Memcpy->getLength(), in runOnFunction()
311 /* SrcIsVolatile */ Memcpy->isVolatile(), in runOnFunction()
312 /* DstIsVolatile */ Memcpy->isVolatile(), in runOnFunction()
/external/vboot_reference/firmware/lib/cryptolib/
Dsha_utility.c60 Memcpy(digest, SHA1_final(ctx->sha1_ctx), SHA1_DIGEST_SIZE); in DigestFinal()
66 Memcpy(digest, SHA256_final(ctx->sha256_ctx), SHA256_DIGEST_SIZE); in DigestFinal()
72 Memcpy(digest, SHA512_final(ctx->sha512_ctx), SHA512_DIGEST_SIZE); in DigestFinal()
/external/vboot_reference/futility/
Dvb1_helper.c178 Memcpy(&(params->setup_sects), &(lh->setup_sects), in PickApartVmlinuz()
210 Memcpy(g_kernel_data, kernel_buf + kernel32_start, in PickApartVmlinuz()
291 Memcpy(g_config_data, config_data, config_size); in UpdateKernelBlobConfig()
436 Memcpy(outbuf, keyblock, keyblock->key_block_size); in SignKernelBlob()
437 Memcpy(outbuf + keyblock->key_block_size, in SignKernelBlob()
705 Memcpy(g_config_data, config_data, config_size); in CreateKernelBlob()
706 Memcpy(g_bootloader_data, bootloader_data, bootloader_size); in CreateKernelBlob()
708 Memcpy(g_vmlinuz_header_data, in CreateKernelBlob()
/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c330 Memcpy(header2, header1, sizeof(GptHeader)); in GptRepair()
339 Memcpy(header1, header2, sizeof(GptHeader)); in GptRepair()
354 Memcpy(entries2, entries1, entries_size); in GptRepair()
359 Memcpy(entries1, entries2, entries_size); in GptRepair()
410 Memcpy(dest, &e->unique, sizeof(Guid)); in GetCurrentKernelUniqueGuid()
/external/libhevc/common/arm/
Dihevc_mem_fns.s84 @ Memcpy 8 bytes
113 @ Memcpy 8 bytes
185 @ Memcpy 8 bytes
/external/libavc/common/arm/
Dih264_mem_fns_neon.s86 @ Memcpy 8 bytes
114 @ Memcpy 8 bytes
183 @ Memcpy 8 bytes
/external/vboot_reference/firmware/stub/
Dutility_stub.c25 void *Memcpy(void *dest, const void *src, uint64_t n) in Memcpy() function

123