Lines Matching refs:nvAttributes
363 TPMA_NV nvAttributes; in IsAuthValueAvailable() local
367 nvAttributes = nvIndex->publicArea.attributes; in IsAuthValueAvailable()
372 if(IS_ATTRIBUTE(nvAttributes, TPMA_NV, AUTHWRITE)) in IsAuthValueAvailable()
380 if(IsNvPinFailIndex(nvAttributes) in IsAuthValueAvailable()
381 || IsNvPinPassIndex(nvAttributes)) in IsAuthValueAvailable()
384 if(!IS_ATTRIBUTE(nvAttributes, TPMA_NV, WRITTEN)) in IsAuthValueAvailable()
392 else if(IS_ATTRIBUTE(nvAttributes, TPMA_NV, AUTHREAD)) in IsAuthValueAvailable()
483 TPMA_NV nvAttributes = nvIndex->publicArea.attributes; in IsAuthPolicyAvailable() local
496 if(IS_ATTRIBUTE(nvAttributes, TPMA_NV, POLICYWRITE)) in IsAuthPolicyAvailable()
501 if(IS_ATTRIBUTE(nvAttributes, TPMA_NV, POLICYREAD)) in IsAuthPolicyAvailable()
1458 TPMA_NV nvAttributes; in CheckAuthSession() local
1461 nvAttributes = nvIndex->publicArea.attributes; in CheckAuthSession()
1464 if(IsNvPinFailIndex(nvAttributes) in CheckAuthSession()
1465 && IS_ATTRIBUTE(nvAttributes, TPMA_NV, WRITTEN)) in CheckAuthSession()
1479 else if(IsNvPinPassIndex(nvAttributes) in CheckAuthSession()
1480 && IS_ATTRIBUTE(nvAttributes, TPMA_NV, WRITTEN) in CheckAuthSession()