% tss2_nvsetbits(1) tpm2-tools | General Commands Manual % % APRIL 2019
tss2_nvsetbits(1) -
tss2_nvsetbits [OPTIONS]
tss2_nvsetbits(1) - This command sets bits in an NV Index that was created as a bit field. Any number of bits from 0 to 64 may be set. The contents of bitmap are ORed with the current contents of the NV Index.
These are the availabe options:
-
-i, --bitmap=BITS:
A mask indicating which bits to set in the NV space.
-
-p, --nvPath=STRING:
Identifies the NV space to write.
tss2_nvsetbits --nvPath=/nv/Owner/NvBitmap --bitmap=0x0102030405060608
0 on success or 1 on failure.