Lines Matching refs:pcr

12707 211        UINT32               pcr,               // IN: The number of the PCR
12714 218 if(pcr < IMPLEMENTATION_PCR)
12721 225 if(((gp.pcrAllocated.pcrSelections[i].pcrSelect[pcr/8])
12722 226 & (1 << (pcr % 8))) != 0)
12755 242 static BYTE *pcr = NULL;
12764 251 pcr = s_pcrs[pcrNumber].sha1Pcr;
12769 256 pcr = s_pcrs[pcrNumber].sha256Pcr;
12774 261 pcr = s_pcrs[pcrNumber].sha384Pcr;
12779 266 pcr = s_pcrs[pcrNumber].sha512Pcr;
12784 271 pcr = s_pcrs[pcrNumber].sm3_256Pcr;
12792 279 return pcr;
12813 283 UINT32 pcr, // IN: The number of the PCR
12818 288 if( pcr < IMPLEMENTATION_PCR
12819 289 && ((selection->pcrSelect[pcr/8]) & (1 << (pcr % 8))) != 0)
12912 359 UINT32 pcr, j;
12924 371 for(pcr = 0; pcr < IMPLEMENTATION_PCR; pcr++)
12928 375 (type == SU_RESUME && s_initAttributes[pcr].stateSave == SET) ? 1 : 0;
12932 379 if(pcr == HCRTM_PCR && type != SU_RESUME && g_DrtmPreStartup == TRUE)
12944 386 BYTE *pcrData = GetPcrPointer(hash, pcr);
12965 407 if((s_initAttributes[pcr].resetLocality & 0x10) != 0)
12970 412 if(pcr == HCRTM_PCR)
13000 436 UINT32 pcr, j;
13013 443 for(pcr = 0; pcr < IMPLEMENTATION_PCR; pcr++)
13015 445 UINT32 stateSaved = (s_initAttributes[pcr].stateSave == SET) ? 1 : 0;
13023 453 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[j].hash, pcr);
13063 481 UINT32 pcr = handle - PCR_FIRST;
13065 483 if(s_initAttributes[pcr].stateSave == SET)
13095 495 UINT32 pcr = handle - PCR_FIRST;
13107 507 if((localityBits & s_initAttributes[pcr].resetLocality) == 0)
13157 530 UINT32 pcr = handle - PCR_FIRST;
13162 535 if((localityBits & s_initAttributes[pcr].extendLocality) == 0)
13182 549 UINT32 pcr = handle - PCR_FIRST;
13187 554 pcrData = GetPcrPointer(hash, pcr);
13230 584 UINT32 pcr;
13248 602 for(pcr = 0; pcr < IMPLEMENTATION_PCR; pcr++)
13250 604 if(IsPcrSelected(pcr, select)) // Is this PCR selected
13253 607 pcrData = GetPcrPointer(selection->pcrSelections[i].hash, pcr);
13287 629 UINT32 pcr;
13300 642 for (pcr = 0; pcr < IMPLEMENTATION_PCR; pcr++)
13302 644 if(IsPcrSelected(pcr, select)) // Is this PCR selected
13308 650 while( pcr < IMPLEMENTATION_PCR
13310 652 && (pcr / 8) < select->sizeofSelect)
13313 655 select->pcrSelect[pcr/8] &= (BYTE) ~(1 << (pcr % 8));
13314 656 pcr++;
13324 666 pcrData = GetPcrPointer(selection->pcrSelections[i].hash, pcr);
13335 677 if(digest->count > 7 && pcr < IMPLEMENTATION_PCR)
13371 702 UINT32 pcr = handle - PCR_FIRST;
13375 706 pcrData = GetPcrPointer(hash, pcr);
13516 818 UINT32 pcr = handle - PCR_FIRST;
13530 832 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[i].hash, pcr);
13565 856 UINT32 pcr, i;
13568 859 for(pcr = 0; pcr < IMPLEMENTATION_PCR; pcr++)
13576 867 pcrData = GetPcrPointer(gp.pcrAllocated.pcrSelections[i].hash, pcr);
13585 876 if((s_initAttributes[pcr].resetLocality & 0x10) != 0)
13633 902 UINT32 pcr, // IN: PCR number
13637 906 bitmap[pcr / 8] |= (1 << (pcr % 8));
13657 915 UINT32 pcr;
13668 926 for(pcr = 0; pcr < IMPLEMENTATION_PCR; pcr++)
13673 931 if(s_initAttributes[pcr].stateSave == SET)
13674 932 PCRSetSelectBit(pcr, select->pcrSelect);
13677 935 if((s_initAttributes[pcr].extendLocality & 0x01) != 0)
13678 936 PCRSetSelectBit(pcr, select->pcrSelect);
13681 939 if((s_initAttributes[pcr].resetLocality & 0x01) != 0)
13682 940 PCRSetSelectBit(pcr, select->pcrSelect);
13685 943 if((s_initAttributes[pcr].extendLocality & 0x02) != 0)
13686 944 PCRSetSelectBit(pcr, select->pcrSelect);
13689 947 if((s_initAttributes[pcr].resetLocality & 0x02) != 0)
13690 948 PCRSetSelectBit(pcr, select->pcrSelect);
13693 951 if((s_initAttributes[pcr].extendLocality & 0x04) != 0)
13694 952 PCRSetSelectBit(pcr, select->pcrSelect);
13703 955 if((s_initAttributes[pcr].resetLocality & 0x04) != 0)
13704 956 PCRSetSelectBit(pcr, select->pcrSelect);
13707 959 if((s_initAttributes[pcr].extendLocality & 0x08) != 0)
13708 960 PCRSetSelectBit(pcr, select->pcrSelect);
13711 963 if((s_initAttributes[pcr].resetLocality & 0x08) != 0)
13712 964 PCRSetSelectBit(pcr, select->pcrSelect);
13715 967 if((s_initAttributes[pcr].extendLocality & 0x10) != 0)
13716 968 PCRSetSelectBit(pcr, select->pcrSelect);
13719 971 if((s_initAttributes[pcr].resetLocality & 0x10) != 0)
13720 972 PCRSetSelectBit(pcr, select->pcrSelect);
13724 976 if((s_initAttributes[pcr].resetLocality & 0x10) != 0)
13725 977 PCRSetSelectBit(pcr, select->pcrSelect);
13729 981 if(PCRBelongsPolicyGroup(pcr + PCR_FIRST, &groupIndex))
13730 982 PCRSetSelectBit(pcr, select->pcrSelect);
13735 987 if(PCRBelongsAuthGroup(pcr + PCR_FIRST, &groupIndex))
13736 988 PCRSetSelectBit(pcr, select->pcrSelect);
13741 993 if(PCRBelongsTCBGroup(pcr + PCR_FIRST))
13742 994 PCRSetSelectBit(pcr, select->pcrSelect);