Home
last modified time | relevance | path

Searched refs:MemorySet (Results 1 – 23 of 23) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Hierarchy/
DClear.c77 MemorySet(&gp.ownerAuth, 0, sizeof(gp.ownerAuth)); in TPM2_Clear()
78 MemorySet(&gp.endorsementAuth, 0, sizeof(gp.endorsementAuth)); in TPM2_Clear()
79 MemorySet(&gp.lockoutAuth, 0, sizeof(gp.lockoutAuth)); in TPM2_Clear()
83 MemorySet(&gp.ownerPolicy, 0, sizeof(gp.ownerPolicy)); in TPM2_Clear()
84 MemorySet(&gp.endorsementPolicy, 0, sizeof(gp.endorsementPolicy)); in TPM2_Clear()
85 MemorySet(&gp.lockoutPolicy, 0, sizeof(gp.lockoutPolicy)); in TPM2_Clear()
DChangeEPS.c68 MemorySet(gp.endorsementAuth.t.buffer, 0, gp.endorsementAuth.t.size); in TPM2_ChangeEPS()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DNvReserved.c178 MemorySet(s_indexOrderlyRam, 0, RAM_INDEX_SPACE); in NvManufacture()
250 MemorySet((&gp) + offset, 0, size); in NvClearPersistent()
DPCR.c444 MemorySet(pcrData, 0, digest->t.size); in PcrDrtm()
544 MemorySet(pcrData, 0xFF, pcrSize); in PCRStartup()
547 MemorySet(pcrData, 0, pcrSize); in PCRStartup()
857 MemorySet(selection->pcrSelections[i].pcrSelect, 0, in PCRRead()
1014 MemorySet(pcrData, 0, digestSize - 1); in PCRSetValue()
1016 MemorySet(pcrData, -1, digestSize - 1); in PCRSetValue()
1050 MemorySet(pcrData, 0, pcrSize); in PCRResetDynamics()
1111 MemorySet(select->pcrSelect, 0, select->sizeofSelect); in PCRGetProperty()
DSession.c500 MemorySet(session, 0, sizeof(SESSION)); in SessionCreate()
809 MemorySet(&bind->t.name[bind->t.size], 0, sizeof(bind->t.name) - bind->t.size); in SessionComputeBoundEntity()
851 MemorySet(&session->commandLocality, 0, sizeof(session->commandLocality)); in SessionResetPolicyData()
863 MemorySet(&session->u2.policyDigest.t.buffer, 0, in SessionResetPolicyData()
867 MemorySet(&session->attributes, 0, sizeof(SESSION_ATTRIBUTES)); in SessionResetPolicyData()
DPP.c62 MemorySet(&gp.ppList, 0, sizeof(gp.ppList)); in PhysicalPresencePreInstall_Init()
DCommandAudit.c57 MemorySet(gp.auditCommands, 0x00, sizeof(gp.auditCommands)); in CommandAuditPreInstall_Init()
DObject.c278 MemorySet(&object->attributes, 0, sizeof(OBJECT_ATTRIBUTES)); in FindEmptyObjectSlot()
495 MemorySet(&object->objectAttributes, 0, sizeof(TPMA_OBJECT)); in AllocateSequenceSlot()
687 MemorySet((BYTE*)&(s_objects[index].attributes), in FlushObject()
DNvDynamic.c529 MemorySet(end + sizeof(NV_RAM_HEADER), 0, index->dataSize); in NvAddRAM()
536 MemorySet(end, 0, sizeof(UINT32)); in NvAddRAM()
577 MemorySet(lastUsed - size, 0, size); in NvDeleteRAM()
1127 MemorySet(s_cachedNvRamRef + sizeof(NV_RAM_HEADER), in NvWriteIndexData()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DMemory.c158 MemorySet( in MemorySet() function
175 MemorySet(&b->buffer[b->size], 0, newSize - b->size); in MemoryPad2B()
DLocality.c51 MemorySet(&locality_attributes, 0, sizeof(TPMA_LOCALITY)); in LocalityGetAttributes()
DAlgorithmCap.c228 MemorySet(implemented, 0, sizeof(ALGORITHM_VECTOR)); in AlgorithmGetImplementedVector()
DMathOnByteBuffers.c239 MemorySet(num->buffer, 0, requestedSize- num->size); in AdjustNumberB()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DMemory_fp.h112 MemorySet(
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyOR.c76 MemorySet(session->u2.policyDigest.t.buffer, 0, in TPM2_PolicyOR()
DPolicy_spt.c213 MemorySet(session->u2.policyDigest.t.buffer, 0, in PolicyDigestClear()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/
DNV_Extend.c90 MemorySet(oldDigest.t.buffer, 0, oldDigest.t.size); in TPM2_NV_Extend()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptSmac.c90 MemorySet(state, 0, sizeof(HMAC_STATE)); in CryptMacStart()
DCryptRsa.c364 MemorySet(&pp[hLen], 0, padLen); in OaepEncode()
DCryptUtil.c470 MemorySet(gr.commitArray, 0, sizeof(gr.commitArray)); in CryptStartup()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DExecCommand.c311 MemorySet(*response + *responseSize, 0, maxResponse - *responseSize); in ExecuteCommand()
DSessionProcess.c1772 MemorySet(&session->u2.auditDigest.t.buffer, in InitAuditSession()
1844 MemorySet(gr.commandAuditDigest.t.buffer, in CommandAudit()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c1544 MemorySet(tOut, 0, sizeof(TPMT_PUBLIC)); in UnmarshalToPublic()