Home
last modified time | relevance | path

Searched refs:pcrSize (Results 1 – 2 of 2) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DPCR.c521 UINT16 pcrSize = CryptHashGetDigestSize(hash); in PCRStartup() local
535 MemoryCopy(pcrData, pcrSavedData, pcrSize); in PCRStartup()
544 MemorySet(pcrData, 0xFF, pcrSize); in PCRStartup()
547 MemorySet(pcrData, 0, pcrSize); in PCRStartup()
549 pcrData[pcrSize - 1] = locality; in PCRStartup()
585 UINT32 pcrSize; in PCRStateSave() local
591 pcrSize in PCRStateSave()
601 MemoryCopy(pcrSavedData, pcrData, pcrSize); in PCRStateSave()
718 UINT16 pcrSize; in PCRExtend() local
725 pcrSize = CryptHashGetDigestSize(hash); in PCRExtend()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyPCR.c56 UINT32 pcrSize; in TPM2_PolicyPCR() local
107 pcrSize = TPML_PCR_SELECTION_Marshal(&in->pcrs, &buffer, NULL); in TPM2_PolicyPCR()
108 CryptDigestUpdate(&hashState, pcrSize, pcrs); in TPM2_PolicyPCR()