Section 1 · User commands

tssnvdefinespace.1

Package: tss2

TSSNVDEFINESPACE

NAME
DESCRIPTION


NAME

tssnvdefinespace − Runs tssnvdefinespace

DESCRIPTION

tssnvdefinespace

Runs TPM2_NV_DefineSpace

−haNV index handle 01xxxxxx
−hiauthorizing hierarchy (o, p) o owner, p platform p sets PLATFORMCREATE
[−pwdppassword for hierarchy (default empty)]
[−hiahierarchy authorization (o, p)(default index authorization)]

default

AUTHWRITE, AUTHREAD

o setsOWNERWRITE, OWNERREAD
p setsPPWRITE, PPREAD (platform)
[−pwdnpassword for NV index (default empty)] sets AUTHWRITE (if not PIN index), AUTHREAD
[−nalgname algorithm (sha1, sha256, sha384 sha512) (default sha256)]
[−szdata size in decimal (default 0)] Ignored for other than ordinary index
[−tyindex type (o, c, b, e, p, f) (default ordinary)] ordinary, counter, bits, extend, pin pass, pin fail
[−polpolicy file (default empty)] sets POLICYWRITE, POLICYREAD
[+atattributes to add (may be specified more than once)]
ppw(PPWRITE) ppr (PPREAD)
ow(OWNERWRITE) or (OWNERREAD)
aw(AUTHWRITE) ar (AUTHREAD)
wd(WRITEDEFINE) gl (GLOBALLOCK)
rst(READ_STCLEAR) wst (WRITE_STCLEAR)
wa(WRITEALL) ody (ORDERLY)
pold(POLICY_DELETE) stc (CLEAR_STCLEAR)
[−atattributes to delete (may be specified more than once)]
ppw(PPWRITE) ppr (PPREAD)
ow(OWNERWRITE) or (OWNERREAD)
aw(AUTHWRITE) ar (AUTHREAD)
pw(POLICYWRITE) pr (POLICYREAD)
da(NO_DA) (default set)

−se[0−2] session handle / attributes (default PWAP)

01 continue

20 command decrypt

Depending on the build configuration, some hash algorithms may not be available.