Lines Matching refs:pcrData
445 BYTE *pcrData = GetPcrPointer(hash, pcrHandle); in PcrDrtm() local
446 if(pcrData != NULL) in PcrDrtm()
449 MemorySet(pcrData, 0, digest->t.size); in PcrDrtm()
453 pcrData[digest->t.size - 1] = 4; in PcrDrtm()
493 BYTE *pcrData = GetPcrPointer(hash, pcr); in PCRStartup() local
495 if(pcrData != NULL) in PCRStartup()
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()
558 BYTE *pcrData; in PCRStateSave() local
560 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[j].hash, pcr); in PCRStateSave()
561 if(pcrData != NULL) in PCRStateSave()
572 MemoryCopy(pcrSavedData, pcrData, pcrSize, pcrSize); in PCRStateSave()
700 BYTE *pcrData; in PCRExtend() local
703 pcrData = GetPcrPointer(hash, pcr); in PCRExtend()
705 if(pcrData != NULL) in PCRExtend()
709 CryptUpdateDigest(&hashState, pcrSize, pcrData); in PCRExtend()
711 CryptCompleteHash(&hashState, pcrSize, pcrData); in PCRExtend()
736 BYTE *pcrData; // will point to a digest in PCRComputeCurrentDigest() local
757 pcrData = GetPcrPointer(selection->pcrSelections[i].hash, pcr); in PCRComputeCurrentDigest()
758 pAssert(pcrData != NULL); in PCRComputeCurrentDigest()
759 CryptUpdateDigest(&hashState, pcrSize, pcrData); // add to digest in PCRComputeCurrentDigest()
784 BYTE *pcrData; // will point to a digest in PCRRead() local
818 pcrData = GetPcrPointer(selection->pcrSelections[i].hash, pcr); in PCRRead()
819 pAssert(pcrData != NULL); in PCRRead()
822 pcrData, in PCRRead()
859 BYTE *pcrData; in PcrWrite() local
861 pcrData = GetPcrPointer(hash, pcr); in PcrWrite()
862 if(pcrData != NULL) in PcrWrite()
864 MemoryCopy(pcrData, digest->t.buffer, digest->t.size, digest->t.size); ; in PcrWrite()
985 BYTE *pcrData; in PCRSetValue() local
994 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[i].hash, pcr); in PCRSetValue()
996 if(pcrData != NULL) in PCRSetValue()
1001 pcrData[digestSize - 1] = initialValue; in PCRSetValue()
1004 MemorySet(pcrData, 0, digestSize - 1); in PCRSetValue()
1006 MemorySet(pcrData, -1, digestSize - 1); in PCRSetValue()
1028 BYTE *pcrData; in PCRResetDynamics() local
1030 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[i].hash, pcr); in PCRResetDynamics()
1031 if(pcrData != NULL) in PCRResetDynamics()
1038 MemorySet(pcrData, 0, pcrSize); in PCRResetDynamics()