Home
last modified time | relevance | path

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

/external/tpm2/
D_TPM_Hash_End.c21 TPMI_DH_PCR pcrHandle; in _TPM_Hash_End() local
41 pcrHandle = PCR_FIRST + DRTM_PCR; in _TPM_Hash_End()
48 pcrHandle = PCR_FIRST + HCRTM_PCR; in _TPM_Hash_End()
58 if(PcrIsAllocated(pcrHandle, in _TPM_Hash_End()
65 PcrDrtm(pcrHandle, hash, &digest); in _TPM_Hash_End()
DPCR_Event.c31 if(in->pcrHandle != TPM_RH_NULL) in TPM2_PCR_Event()
34 if(!PCRIsExtendAllowed(in->pcrHandle)) in TPM2_PCR_Event()
39 if(PCRIsStateSaved(in->pcrHandle) && gp.orderlyState != SHUTDOWN_NONE) in TPM2_PCR_Event()
60 if(in->pcrHandle != TPM_RH_NULL) in TPM2_PCR_Event()
61 PCRExtend(in->pcrHandle, hash, size, in TPM2_PCR_Event()
DPCR_Reset.c27 if(!PCRIsResetAllowed(in->pcrHandle)) in TPM2_PCR_Reset()
32 if(PCRIsStateSaved(in->pcrHandle) && gp.orderlyState != SHUTDOWN_NONE) in TPM2_PCR_Reset()
43 PCRSetValue(in->pcrHandle, 0); in TPM2_PCR_Reset()
47 PCRChanged(in->pcrHandle); in TPM2_PCR_Reset()
DEventSequenceComplete.c38 if(in->pcrHandle != TPM_RH_NULL) in TPM2_EventSequenceComplete()
41 if(!PCRIsExtendAllowed(in->pcrHandle)) in TPM2_EventSequenceComplete()
53 if(gp.orderlyState != SHUTDOWN_NONE && PCRIsStateSaved(in->pcrHandle)) in TPM2_EventSequenceComplete()
77 if(in->pcrHandle != TPM_RH_NULL) in TPM2_EventSequenceComplete()
78 PCRExtend(in->pcrHandle, hashAlg, in TPM2_EventSequenceComplete()
DPCR_Extend.c36 if(in->pcrHandle == TPM_RH_NULL) in TPM2_PCR_Extend()
40 if(!PCRIsExtendAllowed(in->pcrHandle)) in TPM2_PCR_Extend()
45 if(PCRIsStateSaved(in->pcrHandle) && gp.orderlyState != SHUTDOWN_NONE) in TPM2_PCR_Extend()
57 PCRExtend(in->pcrHandle, in->digests.digests[i].hashAlg, in TPM2_PCR_Extend()
D_TPM_Hash_Data.c22 TPMI_DH_PCR pcrHandle = TPMIsStarted() in _TPM_Hash_Data() local
39 if(PcrIsAllocated(pcrHandle, in _TPM_Hash_Data()
DPCR_fp.h33 void PCRChanged(TPM_HANDLE pcrHandle // IN: the handle of the PCR that changed.
63 const TPMI_DH_PCR pcrHandle, // IN: the index of the PCR to be modified
DPCR_SetAuthValue.c28 if(!PCRBelongsAuthGroup(in->pcrHandle, &groupIndex)) in TPM2_PCR_SetAuthValue()
DPCR_Reset_fp.h12 typedef struct { TPMI_DH_PCR pcrHandle; } PCR_Reset_In; member
DPCR_Extend_fp.h13 TPMI_DH_PCR pcrHandle; member
DPCR_SetAuthValue_fp.h13 TPMI_DH_PCR pcrHandle; member
DPCR_Event_fp.h13 TPMI_DH_PCR pcrHandle; member
DEventSequenceComplete_fp.h13 TPMI_DH_PCR pcrHandle; member
DPCR.c439 const TPMI_DH_PCR pcrHandle, // IN: the index of the PCR to be in PcrDrtm() argument
445 BYTE *pcrData = GetPcrPointer(hash, pcrHandle); in PcrDrtm()
456 PCRExtend(pcrHandle, hash, digest->t.size, (BYTE *)digest->t.buffer); in PcrDrtm()
646 TPM_HANDLE pcrHandle // IN: the handle of the PCR that changed. in PCRChanged() argument
651 if(!PCRBelongsTCBGroup(pcrHandle)) in PCRChanged()
DMarshal_PCR_Reset.c16 target->pcrHandle = request_handles[0]; in PCR_Reset_In_Unmarshal()
DMarshal_PCR_SetAuthValue.c16 target->pcrHandle = request_handles[0]; in PCR_SetAuthValue_In_Unmarshal()
DMarshal_PCR_Extend.c16 target->pcrHandle = request_handles[0]; in PCR_Extend_In_Unmarshal()
DMarshal_EventSequenceComplete.c43 target->pcrHandle = request_handles[0]; in EventSequenceComplete_In_Unmarshal()
DMarshal_PCR_Event.c43 target->pcrHandle = request_handles[0]; in PCR_Event_In_Unmarshal()