DOKK / manpages / debian 11 / tboot / tpmnv_defindex.8.en
TPMNV_DEFINDEX(8) User Manuals TPMNV_DEFINDEX(8)

tpmnv_defindex - define an index in TPM NV storage

tpmnv_defindex -i index [-s size] [-pv permission_value] [-p password] [-av authentication_value] [-wl write_locality] [-rl read_locality] [-h]

tpmnv_defindex is used to define an index in TPM NV storage. You can use this to store data in the TPM so that it can be only accessed when certain conditions are met.

NV index to use. You can specify an integer or use the following symbolic names: default (0x50000001), owner (0x40000001) or aux (0x50000002).
Size of the NV storage in bytes.
Permission value to use for the storage. This is mandatory unless you specify an index that has a default value: default (0x00002000), owner (0x00000002) or aux (0x00000000).
Owner password for the index.
Authentication value for the index. Used as a password with AUTHREAD/AUTHWRITE.
Write locality value. There are 5 localities: 0-4. For example the locality value is 0x18 if you want to allow localities 3 or 4.
Read locality value. There are 5 localities: 0-4. For example the locality value is 0x18 if you want to allow localities 3 or 4.
Print the help text.

tpm_nvdefine(8)

2020-05-10 tboot