Lines Matching refs:pcrData

439     BYTE        *pcrData = GetPcrPointer(hash, pcrHandle);  in PcrDrtm()  local
441 if(pcrData != NULL) in PcrDrtm()
444 MemorySet(pcrData, 0, digest->t.size); in PcrDrtm()
449 pcrData[digest->t.size - 1] = 4; in PcrDrtm()
520 BYTE *pcrData = GetPcrPointer(hash, pcr); in PCRStartup() local
523 if(pcrData != NULL) in PCRStartup()
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()
584 BYTE *pcrData; in PCRStateSave() local
587 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[j].hash, pcr); in PCRStateSave()
589 if(pcrData != NULL) in PCRStateSave()
601 MemoryCopy(pcrSavedData, pcrData, pcrSize); in PCRStateSave()
716 BYTE *pcrData; in PCRExtend() local
720 pcrData = GetPcrPointer(hash, handle - PCR_FIRST); in PCRExtend()
723 if(pcrData != NULL) in PCRExtend()
727 CryptDigestUpdate(&hashState, pcrSize, pcrData); in PCRExtend()
729 CryptHashEnd(&hashState, pcrSize, pcrData); in PCRExtend()
753 BYTE *pcrData; // will point to a digest in PCRComputeCurrentDigest() local
778 pcrData = GetPcrPointer(selection->pcrSelections[i].hash, pcr); in PCRComputeCurrentDigest()
779 pAssert(pcrData != NULL); in PCRComputeCurrentDigest()
780 CryptDigestUpdate(&hashState, pcrSize, pcrData); // add to digest in PCRComputeCurrentDigest()
804 BYTE *pcrData; // will point to a digest in PCRRead() local
842 pcrData = GetPcrPointer(selection->pcrSelections[i].hash, pcr); in PCRRead()
843 pAssert(pcrData != NULL); in PCRRead()
846 pcrData, in PCRRead()
990 BYTE *pcrData; in PCRSetValue() local
1001 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[i].hash, pcr); in PCRSetValue()
1004 if(pcrData != NULL) in PCRSetValue()
1010 pcrData[digestSize - 1] = initialValue; in PCRSetValue()
1014 MemorySet(pcrData, 0, digestSize - 1); in PCRSetValue()
1016 MemorySet(pcrData, -1, digestSize - 1); in PCRSetValue()
1037 BYTE *pcrData; in PCRResetDynamics() local
1040 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[i].hash, pcr); in PCRResetDynamics()
1042 if(pcrData != NULL) in PCRResetDynamics()
1050 MemorySet(pcrData, 0, pcrSize); in PCRResetDynamics()