TPMNV_DEFINDEX(8)

NAME
tpmnv_defindex - define an index in TPM NV storage

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

DESCRIPTION
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.

OPTIONS

-i index
    NV index to use. You can specify an integer or use the following symbolic names: default (0x50000001), owner (0x40000001) or aux (0x50000002).

-s size
    Size of the NV storage in bytes.

-pv permission_value
    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).

-p password
    Owner password for the index.

-av authentication_value
    Authentication value for the index. Used as a password with AUTHREAD/AUTHWRITE.

-wl write_locality
    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.

-rl read_locality
    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.

-h  Print the help text.

SEE ALSO
tpm_nvdefine(8)