Home
last modified time | relevance | path

Searched refs:MemoryCopy (Results 1 – 19 of 19) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Context/
DContext_spt.c84 MemoryCopy(sequence2B.t.buffer, &contextBlob->sequence, sequence2B.t.size); in ComputeContextProtectionKey()
89 MemoryCopy(handle2B.t.buffer, &contextBlob->savedHandle, handle2B.t.size); in ComputeContextProtectionKey()
104 MemoryCopy(symKey->t.buffer, kdfResult, symKey->t.size); in ComputeContextProtectionKey()
108 MemoryCopy(iv->t.buffer, &kdfResult[symKey->t.size], iv->t.size); in ComputeContextProtectionKey()
DContextSave.c125 MemoryCopy(outObject, object, objectSize); in TPM2_ContextSave()
174 MemoryCopy(out->context.contextBlob.t.buffer + integritySize in TPM2_ContextSave()
203 MemoryCopy(out->context.contextBlob.t.buffer + integritySize, in TPM2_ContextSave()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DMemory.c55 MemoryCopy( in MemoryCopy() function
108 MemoryCopy(dest->buffer, source->buffer, source->size); in MemoryCopy2B()
127 MemoryCopy(&aInOut->buffer[aInOut->size], &bIn->buffer, bIn->size); in MemoryConcat2B()
DMathOnByteBuffers.c232 MemoryCopy(num->buffer, from, i); in AdjustNumberB()
238 MemoryCopy(&num->buffer[requestedSize - num->size], num->buffer, num->size); in AdjustNumberB()
DHandle.c188 MemoryCopy(&policyList->policies[policyList->count].policyHash.digest, in PermanentHandleGetPolicy()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptSelfTest.c104 MemoryCopy(g_toTest, in CryptSelfTest()
176 MemoryCopy(g_toTest, g_implementedAlgorithms, sizeof(g_toTest)); in CryptInitializeToTest()
DCryptCmac.c183 MemoryCopy(outBuffer, cState->iv.t.buffer, i); in CryptCmacEnd()
DCryptUtil.c243 MemoryCopy(iv.t.buffer, &symParmString[keySize], iv.t.size); in ParmDecryptSym()
293 MemoryCopy(iv.t.buffer, &symParmString[keySize], iv.t.size); in ParmEncryptSym()
796 MemoryCopy(iv.t.buffer, nonceCaller->t.buffer, iv.t.size); in CryptSecretDecrypt()
802 MemoryCopy(iv.b.buffer, nonceCaller->t.buffer, in CryptSecretDecrypt()
DCryptRand.c805 MemoryCopy(random, in DRBG_Generate()
DCryptRsa.c815 MemoryCopy(buffer, info->OID, oidSize); in MakeDerTag()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DNvDynamic.c267 MemoryCopy(&listEndMarker[sizeof(UINT32)], &maxCount, sizeof(UINT64)); in NvWriteNvListEnd()
420 MemoryCopy(&header, currentAddr, sizeof(NV_RAM_HEADER)); in NvRamNext()
521 MemoryCopy(&header.attributes, &index->attributes, sizeof(TPMA_NV)); in NvAddRAM()
526 MemoryCopy(end, &header, sizeof(NV_RAM_HEADER)); in NvAddRAM()
568 MemoryCopy(&size, nodeAddress, sizeof(size)); in NvDeleteRAM()
574 MemoryCopy(nodeAddress, nextNode, (int)(lastUsed - nextNode)); in NvDeleteRAM()
695 MemoryCopy(&attributes, ref + offsetof(NV_RAM_HEADER, attributes), in NvReadRamIndexAttributes()
725 MemoryCopy(ref + offsetof(NV_RAM_HEADER, attributes), &attributes, in NvWriteRamIndexAttributes()
898 MemoryCopy(data, ramAddr + sizeof(NV_RAM_HEADER) + offset, size); in NvGetIndexData()
1116 MemoryCopy(s_cachedNvRamRef + offsetof(NV_RAM_HEADER, attributes), in NvWriteIndexData()
[all …]
DNvReserved.c236 MemoryCopy(&gp + offset, buffer, size); in NvUpdatePersistent()
DPCR.c535 MemoryCopy(pcrData, pcrSavedData, pcrSize); in PCRStartup()
601 MemoryCopy(pcrSavedData, pcrData, pcrSize); in PCRStateSave()
845 MemoryCopy(digest->digests[digest->count].t.buffer, in PCRRead()
DObject.c657 MemoryCopy(newObject, object, offsetof(HASH_OBJECT, state)); in ObjectContextLoad()
668 MemoryCopy(newObject, object, sizeof(OBJECT)); in ObjectContextLoad()
DSession.c715 MemoryCopy(&s_sessions[slotIndex].session, session, sizeof(SESSION)); in SessionContextLoad()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Duplication/
DRewrap.c103 MemoryCopy(privateBlob.t.buffer, in->inDuplicate.t.buffer + hashSize, in TPM2_Rewrap()
140 MemoryCopy(out->outDuplicate.t.buffer + hashSize, privateBlob.t.buffer, in TPM2_Rewrap()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DMemory_fp.h48 MemoryCopy(
/external/ms-tpm-20-ref/TPMCmd/tpm/src/X509/
DTpmASN1.c294 MemoryCopy(ctx->buffer, ctx->buffer + ctx->offset, ctx->end - ctx->offset); in ASN1EndMarshalContext()
361 MemoryCopy(&ctx->buffer[ctx->offset], buffer, count); in ASN1PushBytes()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/
DCertifyX509.c257 MemoryCopy(fill, certTBS[j].buf, certTBS[j].len); in TPM2_CertifyX509()
269 MemoryCopy(out->addedToCertificate.t.buffer, ctxOut.buffer + ctxOut.offset, in TPM2_CertifyX509()