carta
tpmnv_defindex(8)

tpmnv_defindex8

Define an index in tpm nv storage

Usage

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

Overview

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.

From tboot 1.9.12+hg20200718-1+b1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.