Lines Matching refs:publicArea
909 attributes = nvIndex.publicArea.attributes; in NvEntityStartup()
935 memcpy(&publicAreaAttributesValue, &nvIndex.publicArea.attributes, in NvEntityStartup()
939 nvIndex.publicArea.attributes = attributes; in NvEntityStartup()
957 nvIndex.publicArea.attributes.TPMA_NV_ORDERLY = CLEAR; in NvEntityStartup()
959 nvIndex.publicArea.attributes.TPMA_NV_ORDERLY = SET; in NvEntityStartup()
1046 if(nvIndex.publicArea.attributes.TPMA_NV_PLATFORMCREATE == CLEAR) in NvIndexIsAccessible()
1065 if( nvIndex.publicArea.attributes.TPMA_NV_WRITELOCKED in NvIndexIsAccessible()
1074 if( nvIndex.publicArea.attributes.TPMA_NV_READLOCKED in NvIndexIsAccessible()
1134 result = TPMT_PUBLIC_Unmarshal(&o->publicArea, buf, size); in NvUnmarshalObject()
1268 if( nvIndex.publicArea.attributes.TPMA_NV_COUNTER == SET in NvInitialCounter()
1269 && nvIndex.publicArea.attributes.TPMA_NV_WRITTEN == SET) in NvInitialCounter()
1309 pAssert(nvIndex->publicArea.attributes.TPMA_NV_WRITTEN == SET); in NvGetIndexData()
1310 if( nvIndex->publicArea.attributes.TPMA_NV_BITS == SET in NvGetIndexData()
1311 || nvIndex->publicArea.attributes.TPMA_NV_COUNTER == SET) in NvGetIndexData()
1320 if(nvIndex->publicArea.attributes.TPMA_NV_ORDERLY == SET) in NvGetIndexData()
1355 pAssert( nvIndex->publicArea.attributes.TPMA_NV_WRITTEN == SET in NvGetIntIndexData()
1356 && ( nvIndex->publicArea.attributes.TPMA_NV_BITS == SET in NvGetIntIndexData()
1357 || nvIndex->publicArea.attributes.TPMA_NV_COUNTER == SET in NvGetIntIndexData()
1362 if(nvIndex->publicArea.attributes.TPMA_NV_ORDERLY == SET) in NvGetIntIndexData()
1442 pAssert(nvIndex->publicArea.dataSize >= offset + size); in NvWriteIndexData()
1444 if(nvIndex->publicArea.attributes.TPMA_NV_WRITTEN == CLEAR) in NvWriteIndexData()
1446 nvIndex->publicArea.attributes.TPMA_NV_WRITTEN = SET; in NvWriteIndexData()
1452 if(nvIndex->publicArea.attributes.TPMA_NV_ORDERLY == SET) in NvWriteIndexData()
1468 if(g_updateNV || nvIndex->publicArea.attributes.TPMA_NV_ORDERLY == CLEAR) in NvWriteIndexData()
1515 dataSize = TPMS_NV_PUBLIC_Marshal(&nvIndex.publicArea, &buffer, &bufferSize); in NvGetName()
1517 digestSize = CryptStartHash(nvIndex.publicArea.nameAlg, &hashState); in NvGetName()
1522 UINT16_TO_BYTE_ARRAY(nvIndex.publicArea.nameAlg, (BYTE *)name); in NvGetName()
1539 TPMS_NV_PUBLIC *publicArea, // IN: A template for an area to create. in NvDefineIndex() argument
1548 entrySize = sizeof(TPM_HANDLE) + sizeof(NV_INDEX) + publicArea->dataSize; in NvDefineIndex()
1556 if(publicArea->attributes.TPMA_NV_ORDERLY == SET in NvDefineIndex()
1557 && !NvTestRAMSpace(publicArea->dataSize)) in NvDefineIndex()
1561 memcpy(nvBuffer, &publicArea->nvIndex, sizeof(TPM_HANDLE)); in NvDefineIndex()
1564 nvIndex->publicArea = *publicArea; in NvDefineIndex()
1569 if(publicArea->attributes.TPMA_NV_ORDERLY == SET) in NvDefineIndex()
1570 NvAddRAM(publicArea->nvIndex, publicArea->dataSize); in NvDefineIndex()
1603 marshaledSize += TPMT_PUBLIC_Marshal(&o->publicArea, buf, size); in NvMarshalObject()
1693 if(nvIndex.publicArea.attributes.TPMA_NV_COUNTER == SET in NvDeleteEntity()
1694 && nvIndex.publicArea.attributes.TPMA_NV_WRITTEN == SET) in NvDeleteEntity()
1704 if(nvIndex.publicArea.attributes.TPMA_NV_ORDERLY == SET) in NvDeleteEntity()
1740 if( nvIndex.publicArea.attributes.TPMA_NV_PLATFORMCREATE == CLEAR) in NvFlushHierarchy()
1747 if(nvIndex.publicArea.attributes.TPMA_NV_ORDERLY == SET) in NvFlushHierarchy()
1800 if(nvIndex.publicArea.attributes.TPMA_NV_GLOBALLOCK == SET) in NvSetGlobalLock()
1803 nvIndex.publicArea.attributes.TPMA_NV_WRITELOCKED = SET; in NvSetGlobalLock()
2032 if(nvIndex.publicArea.attributes.TPMA_NV_COUNTER == SET) num++; in NvCapGetCounterNumber()