Lines Matching refs:attributes
29 TPMA_NV attributes; in TPM2_NV_DefineSpace() local
48 attributes = in->publicInfo.t.nvPublic.attributes; in TPM2_NV_DefineSpace()
52 if ( (attributes.TPMA_NV_COUNTER == SET || attributes.TPMA_NV_BITS == SET) in TPM2_NV_DefineSpace()
68 if( attributes.TPMA_NV_WRITTEN == SET in TPM2_NV_DefineSpace()
69 || attributes.TPMA_NV_WRITELOCKED == SET in TPM2_NV_DefineSpace()
70 || attributes.TPMA_NV_READLOCKED == SET) in TPM2_NV_DefineSpace()
74 if( attributes.TPMA_NV_OWNERREAD == CLEAR in TPM2_NV_DefineSpace()
75 && attributes.TPMA_NV_PPREAD == CLEAR in TPM2_NV_DefineSpace()
76 && attributes.TPMA_NV_AUTHREAD == CLEAR in TPM2_NV_DefineSpace()
77 && attributes.TPMA_NV_POLICYREAD == CLEAR) in TPM2_NV_DefineSpace()
81 if( attributes.TPMA_NV_OWNERWRITE == CLEAR in TPM2_NV_DefineSpace()
82 && attributes.TPMA_NV_PPWRITE == CLEAR in TPM2_NV_DefineSpace()
83 && attributes.TPMA_NV_AUTHWRITE == CLEAR in TPM2_NV_DefineSpace()
84 && attributes.TPMA_NV_POLICYWRITE == CLEAR) in TPM2_NV_DefineSpace()
90 if( attributes.TPMA_NV_COUNTER == SET) in TPM2_NV_DefineSpace()
94 if( attributes.TPMA_NV_BITS == SET) in TPM2_NV_DefineSpace()
98 if( attributes.TPMA_NV_EXTEND == SET) in TPM2_NV_DefineSpace()
102 if( attributes.TPMA_NV_POLICY_DELETE == SET) in TPM2_NV_DefineSpace()
107 if( attributes.TPMA_NV_COUNTER == SET in TPM2_NV_DefineSpace()
108 && attributes.TPMA_NV_BITS == SET) in TPM2_NV_DefineSpace()
110 if( attributes.TPMA_NV_COUNTER == SET in TPM2_NV_DefineSpace()
111 && attributes.TPMA_NV_EXTEND == SET) in TPM2_NV_DefineSpace()
113 if( attributes.TPMA_NV_BITS == SET in TPM2_NV_DefineSpace()
114 && attributes.TPMA_NV_EXTEND == SET) in TPM2_NV_DefineSpace()
119 if( attributes.TPMA_NV_CLEAR_STCLEAR == SET in TPM2_NV_DefineSpace()
120 && ( attributes.TPMA_NV_COUNTER == SET in TPM2_NV_DefineSpace()
121 || attributes.TPMA_NV_WRITEDEFINE == SET) in TPM2_NV_DefineSpace()
126 if( ( in->publicInfo.t.nvPublic.attributes.TPMA_NV_PLATFORMCREATE == SET in TPM2_NV_DefineSpace()
129 || ( in->publicInfo.t.nvPublic.attributes.TPMA_NV_PLATFORMCREATE == CLEAR in TPM2_NV_DefineSpace()
137 if( in->publicInfo.t.nvPublic.attributes.TPMA_NV_POLICY_DELETE == SET in TPM2_NV_DefineSpace()
144 if( in->publicInfo.t.nvPublic.attributes.TPMA_NV_EXTEND == SET in TPM2_NV_DefineSpace()