Home | History | Annotate | Download | only in tpm2

Lines Matching refs:nvIndex

15 //     TPM_RC_ATTRIBUTES                Index referenced by nvIndex has either TPMA_NV_BITS,
18 // not allowed to write to the Index referenced by nvIndex
19 // TPM_RC_NV_LOCKED Index referenced by nvIndex is write locked
21 // Index referenced by nvIndex; otherwise, the write extends beyond the
29 NV_INDEX nvIndex;
35 NvGetIndexInfo(in->nvIndex, &nvIndex);
39 result = NvWriteAccessChecks(in->authHandle, in->nvIndex);
45 if( nvIndex.publicArea.attributes.TPMA_NV_COUNTER == SET
46 || nvIndex.publicArea.attributes.TPMA_NV_BITS == SET
47 || nvIndex.publicArea.attributes.TPMA_NV_EXTEND == SET)
51 if((in->data.t.size + in->offset) > nvIndex.publicArea.dataSize)
56 if( nvIndex.publicArea.attributes.TPMA_NV_WRITEALL == SET
57 && in->data.t.size < nvIndex.publicArea.dataSize)
65 return NvWriteIndexData(in->nvIndex, &nvIndex, in->offset,