Lines Matching refs:pcrAllocated
215 for(gp.pcrAllocated.count = 0; gp.pcrAllocated.count < HASH_COUNT; in PCRSimStart()
216 gp.pcrAllocated.count++) in PCRSimStart()
218 gp.pcrAllocated.pcrSelections[gp.pcrAllocated.count].hash in PCRSimStart()
219 = CryptGetHashAlgByIndex(gp.pcrAllocated.count); in PCRSimStart()
220 gp.pcrAllocated.pcrSelections[gp.pcrAllocated.count].sizeofSelect in PCRSimStart()
223 gp.pcrAllocated.pcrSelections[gp.pcrAllocated.count].pcrSelect[i] in PCRSimStart()
228 NvWriteReserved(NV_PCR_ALLOCATED, &gp.pcrAllocated); in PCRSimStart()
301 for(i = 0; i < gp.pcrAllocated.count; i++) in PcrIsAllocated()
303 if(gp.pcrAllocated.pcrSelections[i].hash == hashAlg) in PcrIsAllocated()
305 if(((gp.pcrAllocated.pcrSelections[i].pcrSelect[pcr/8]) in PcrIsAllocated()
411 for(i = 0; i < gp.pcrAllocated.count; i++) in FilterPcr()
413 if(gp.pcrAllocated.pcrSelections[i].hash == selection->hash) in FilterPcr()
415 allocated = &gp.pcrAllocated.pcrSelections[i]; in FilterPcr()
490 for(j = 0; j < gp.pcrAllocated.count; j++) in PCRStartup()
492 TPMI_ALG_HASH hash = gp.pcrAllocated.pcrSelections[j].hash; in PCRStartup()
503 gp.pcrAllocated.pcrSelections[j].hash, in PCRStartup()
556 for(j = 0; j < gp.pcrAllocated.count; j++) in PCRStateSave()
560 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[j].hash, pcr); in PCRStateSave()
564 = CryptGetHashDigestSize(gp.pcrAllocated.pcrSelections[j].hash); in PCRStateSave()
570 = GetSavedPcrPointer(gp.pcrAllocated.pcrSelections[j].hash, in PCRStateSave()
899 newAllocate = gp.pcrAllocated; in PCRAllocate()
994 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[i].hash, pcr); in PCRSetValue()
1026 for(i = 0; i < gp.pcrAllocated.count; i++) in PCRResetDynamics()
1030 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[i].hash, pcr); in PCRResetDynamics()
1034 CryptGetHashDigestSize(gp.pcrAllocated.pcrSelections[i].hash); in PCRResetDynamics()
1068 *pcrSelection = gp.pcrAllocated; in PCRCapGetAllocation()