Home
last modified time | relevance | path

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

/external/tpm2/
DPCR.c494 UINT16 pcrSize = CryptGetHashDigestSize(hash); in PCRStartup() local
505 MemoryCopy(pcrData, pcrSavedData, pcrSize, pcrSize); in PCRStartup()
514 MemorySet(pcrData, 0xFF, pcrSize); in PCRStartup()
517 MemorySet(pcrData, 0, pcrSize); in PCRStartup()
519 pcrData[pcrSize-1] = locality; in PCRStartup()
559 UINT32 pcrSize; in PCRStateSave() local
563 pcrSize in PCRStateSave()
572 MemoryCopy(pcrSavedData, pcrData, pcrSize, pcrSize); in PCRStateSave()
702 UINT16 pcrSize; in PCRExtend() local
707 pcrSize = CryptGetHashDigestSize(hash); in PCRExtend()
[all …]
DPolicyPCR.c25 UINT32 pcrSize; in TPM2_PolicyPCR() local
76 pcrSize = TPML_PCR_SELECTION_Marshal(&in->pcrs, &buffer, &bufferSize); in TPM2_PolicyPCR()
77 CryptUpdateDigest(&hashState, pcrSize, pcrs); in TPM2_PolicyPCR()