Home
last modified time | relevance | path

Searched refs:pcrHandle (Results 1 – 25 of 28) sorted by relevance

12

/external/ms-tpm-20-ref/TPMCmd/tpm/src/events/
D_TPM_Hash_End.c46 TPMI_DH_PCR pcrHandle; in _TPM_Hash_End() local
66 pcrHandle = PCR_FIRST + DRTM_PCR; in _TPM_Hash_End()
73 pcrHandle = PCR_FIRST + HCRTM_PCR; in _TPM_Hash_End()
84 if(PcrIsAllocated(pcrHandle, in _TPM_Hash_End()
91 PcrDrtm(pcrHandle, hash, &digest); in _TPM_Hash_End()
D_TPM_Hash_Data.c46 TPMI_DH_PCR pcrHandle = TPMIsStarted() in _TPM_Hash_Data() local
63 if(PcrIsAllocated(pcrHandle, in _TPM_Hash_Data()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/PCR/
DPCR_Event.c59 if(in->pcrHandle != TPM_RH_NULL) in TPM2_PCR_Event()
62 if(!PCRIsExtendAllowed(in->pcrHandle)) in TPM2_PCR_Event()
67 if(PCRIsStateSaved(in->pcrHandle)) in TPM2_PCR_Event()
84 if(in->pcrHandle != TPM_RH_NULL) in TPM2_PCR_Event()
85 PCRExtend(in->pcrHandle, hash, size, in TPM2_PCR_Event()
DPCR_Reset.c54 if(!PCRIsResetAllowed(in->pcrHandle)) in TPM2_PCR_Reset()
59 if(PCRIsStateSaved(in->pcrHandle)) in TPM2_PCR_Reset()
65 PCRSetValue(in->pcrHandle, 0); in TPM2_PCR_Reset()
69 PCRChanged(in->pcrHandle); in TPM2_PCR_Reset()
DPCR_Extend.c64 if(in->pcrHandle == TPM_RH_NULL) in TPM2_PCR_Extend()
68 if(!PCRIsExtendAllowed(in->pcrHandle)) in TPM2_PCR_Extend()
73 if(PCRIsStateSaved(in->pcrHandle)) in TPM2_PCR_Extend()
81 PCRExtend(in->pcrHandle, in->digests.digests[i].hashAlg, in TPM2_PCR_Extend()
DPCR_SetAuthValue.c55 if(!PCRBelongsAuthGroup(in->pcrHandle, &groupIndex)) in TPM2_PCR_SetAuthValue()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/HashHMAC/
DEventSequenceComplete.c64 if(in->pcrHandle != TPM_RH_NULL) in TPM2_EventSequenceComplete()
67 if(!PCRIsExtendAllowed(in->pcrHandle)) in TPM2_EventSequenceComplete()
79 if(PCRIsStateSaved(in->pcrHandle)) in TPM2_EventSequenceComplete()
96 if(in->pcrHandle != TPM_RH_NULL) in TPM2_EventSequenceComplete()
97 PCRExtend(in->pcrHandle, hashAlg, in TPM2_EventSequenceComplete()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_PCR_Reset.c17 TPMI_DH_PCR pcrHandle) in Tss2_Sys_PCR_Reset_Prepare() argument
29 rval = Tss2_MU_UINT32_Marshal(pcrHandle, ctx->cmdBuffer, in Tss2_Sys_PCR_Reset_Prepare()
55 TPMI_DH_PCR pcrHandle, in Tss2_Sys_PCR_Reset() argument
62 rval = Tss2_Sys_PCR_Reset_Prepare(sysContext, pcrHandle); in Tss2_Sys_PCR_Reset()
DTss2_Sys_PCR_Extend.c17 TPMI_DH_PCR pcrHandle, in Tss2_Sys_PCR_Extend_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(pcrHandle, ctx->cmdBuffer, in Tss2_Sys_PCR_Extend_Prepare()
62 TPMI_DH_PCR pcrHandle, in Tss2_Sys_PCR_Extend() argument
73 rval = Tss2_Sys_PCR_Extend_Prepare(sysContext, pcrHandle, digests); in Tss2_Sys_PCR_Extend()
DTss2_Sys_PCR_SetAuthValue.c17 TPMI_DH_PCR pcrHandle, in Tss2_Sys_PCR_SetAuthValue_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(pcrHandle, ctx->cmdBuffer, in Tss2_Sys_PCR_SetAuthValue_Prepare()
71 TPMI_DH_PCR pcrHandle, in Tss2_Sys_PCR_SetAuthValue() argument
79 rval = Tss2_Sys_PCR_SetAuthValue_Prepare(sysContext, pcrHandle, auth); in Tss2_Sys_PCR_SetAuthValue()
DTss2_Sys_PCR_Event.c17 TPMI_DH_PCR pcrHandle, in Tss2_Sys_PCR_Event_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(pcrHandle, ctx->cmdBuffer, in Tss2_Sys_PCR_Event_Prepare()
80 TPMI_DH_PCR pcrHandle, in Tss2_Sys_PCR_Event() argument
89 rval = Tss2_Sys_PCR_Event_Prepare(sysContext, pcrHandle, eventData); in Tss2_Sys_PCR_Event()
DTss2_Sys_EventSequenceComplete.c17 TPMI_DH_PCR pcrHandle, in Tss2_Sys_EventSequenceComplete_Prepare() argument
31 rval = Tss2_MU_UINT32_Marshal(pcrHandle, ctx->cmdBuffer, in Tss2_Sys_EventSequenceComplete_Prepare()
86 TPMI_DH_PCR pcrHandle, in Tss2_Sys_EventSequenceComplete() argument
96 rval = Tss2_Sys_EventSequenceComplete_Prepare(sysContext, pcrHandle, in Tss2_Sys_EventSequenceComplete()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_PCR_Extend.c67 ESYS_TR pcrHandle, in Esys_PCR_Extend() argument
75 r = Esys_PCR_Extend_Async(esysContext, pcrHandle, shandle1, shandle2, in Esys_PCR_Extend()
143 ESYS_TR pcrHandle, in Esys_PCR_Extend_Async() argument
151 esysContext, pcrHandle, digests); in Esys_PCR_Extend_Async()
170 r = esys_GetResourceObject(esysContext, pcrHandle, &pcrHandleNode); in Esys_PCR_Extend_Async()
DEsys_PCR_Reset.c66 ESYS_TR pcrHandle, in Esys_PCR_Reset() argument
73 r = Esys_PCR_Reset_Async(esysContext, pcrHandle, shandle1, shandle2, in Esys_PCR_Reset()
140 ESYS_TR pcrHandle, in Esys_PCR_Reset_Async() argument
147 esysContext, pcrHandle); in Esys_PCR_Reset_Async()
166 r = esys_GetResourceObject(esysContext, pcrHandle, &pcrHandleNode); in Esys_PCR_Reset_Async()
DEsys_PCR_SetAuthValue.c65 ESYS_TR pcrHandle, in Esys_PCR_SetAuthValue() argument
73 r = Esys_PCR_SetAuthValue_Async(esysContext, pcrHandle, shandle1, shandle2, in Esys_PCR_SetAuthValue()
139 ESYS_TR pcrHandle, in Esys_PCR_SetAuthValue_Async() argument
147 esysContext, pcrHandle, auth); in Esys_PCR_SetAuthValue_Async()
166 r = esys_GetResourceObject(esysContext, pcrHandle, &pcrHandleNode); in Esys_PCR_SetAuthValue_Async()
DEsys_PCR_Event.c66 ESYS_TR pcrHandle, in Esys_PCR_Event() argument
75 r = Esys_PCR_Event_Async(esysContext, pcrHandle, shandle1, shandle2, in Esys_PCR_Event()
140 ESYS_TR pcrHandle, in Esys_PCR_Event_Async() argument
148 esysContext, pcrHandle, eventData); in Esys_PCR_Event_Async()
167 r = esys_GetResourceObject(esysContext, pcrHandle, &pcrHandleNode); in Esys_PCR_Event_Async()
DEsys_EventSequenceComplete.c67 ESYS_TR pcrHandle, in Esys_EventSequenceComplete() argument
77 r = Esys_EventSequenceComplete_Async(esysContext, pcrHandle, sequenceHandle, in Esys_EventSequenceComplete()
143 ESYS_TR pcrHandle, in Esys_EventSequenceComplete_Async() argument
153 esysContext, pcrHandle, sequenceHandle, buffer); in Esys_EventSequenceComplete_Async()
173 r = esys_GetResourceObject(esysContext, pcrHandle, &pcrHandleNode); in Esys_EventSequenceComplete_Async()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DPCR_fp.h134 const TPMI_DH_PCR pcrHandle, // IN: the index of the PCR to be
193 TPM_HANDLE pcrHandle // IN: the handle of the PCR that changed.
DPCR_Reset_fp.h47 TPMI_DH_PCR pcrHandle; member
DPCR_SetAuthValue_fp.h47 TPMI_DH_PCR pcrHandle; member
DPCR_Extend_fp.h47 TPMI_DH_PCR pcrHandle; member
DPCR_Event_fp.h47 TPMI_DH_PCR pcrHandle; member
DEventSequenceComplete_fp.h47 TPMI_DH_PCR pcrHandle; member
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DPCR.c433 const TPMI_DH_PCR pcrHandle, // IN: the index of the PCR to be in PcrDrtm() argument
439 BYTE *pcrData = GetPcrPointer(hash, pcrHandle); in PcrDrtm()
452 PCRExtend(pcrHandle, hash, digest->t.size, (BYTE *)digest->t.buffer); in PcrDrtm()
669 TPM_HANDLE pcrHandle // IN: the handle of the PCR that changed. in PCRChanged() argument
674 if((pcrHandle == 0) || !PCRBelongsTCBGroup(pcrHandle)) in PCRChanged()
/external/tpm2-tss/include/tss2/
Dtss2_sys.h776 TPMI_DH_PCR pcrHandle,
786 TPMI_DH_PCR pcrHandle,
1042 TPMI_DH_PCR pcrHandle,
1050 TPMI_DH_PCR pcrHandle,
1057 TPMI_DH_PCR pcrHandle,
1066 TPMI_DH_PCR pcrHandle,
1135 TPMI_DH_PCR pcrHandle,
1143 TPMI_DH_PCR pcrHandle,
1150 TPMI_DH_PCR pcrHandle);
1157 TPMI_DH_PCR pcrHandle,

12