1NVDEFINESPACE(1) User Commands NVDEFINESPACE(1)
2
3
4
6 nvdefinespace - Runs TPM2 nvdefinespace
7
9 nvdefinespace
10
11 Runs TPM2_NV_DefineSpace
12
13 -ha NV index handle 01xxxxxx
14
15 -hi authorizing hierarchy (o, p) o owner, p platform p sets PLAT‐
16 FORMCREATE
17
18 [-pwdp password for hierarchy (default empty)]
19
20 [-hia hierarchy authorization (o, p)(default index authorization)]
21
22 default
23 AUTHWRITE, AUTHREAD
24
25 o sets OWNERWRITE, OWNERREAD
26
27 p sets PPWRITE, PPREAD (platform)
28
29 [-pwdn password for NV index (default empty)] sets AUTHWRITE (if not
30 PIN index), AUTHREAD
31
32 [-nalg name algorithm (sha1, sha256, sha384 sha512) (default sha256)]
33
34 [-sz data size in decimal (default 0)] Ignored for other than ordi‐
35 nary index
36
37 [-ty index type (o, c, b, e, p, f) (default ordinary)] ordinary,
38 counter, bits, extend, pin pass, pin fail
39
40 [-pol policy file (default empty)] sets POLICYWRITE, POLICYREAD
41
42 [+at attributes to add (may be specified more than once)]
43
44 ppw (PPWRITE) ppr (PPREAD)
45
46 ow (OWNERWRITE) or (OWNERREAD)
47
48 aw (AUTHWRITE) ar (AUTHREAD)
49
50 wd (WRITEDEFINE) gl (GLOBALLOCK)
51
52 rst (READ_STCLEAR) wst (WRITE_STCLEAR)
53
54 wa (WRITEALL) ody (ORDERLY)
55
56 pold (POLICY_DELETE) stc (CLEAR_STCLEAR)
57
58 [-at attributes to delete (may be specified more than once)]
59
60 ppw (PPWRITE) ppr (PPREAD)
61
62 ow (OWNERWRITE) or (OWNERREAD)
63
64 aw (AUTHWRITE) ar (AUTHREAD)
65
66 pw (POLICYWRITE) pr (POLICYREAD)
67
68 da (NO_DA) (default set)
69
70 -se[0-2] session handle / attributes (default PWAP)
71
72 01 continue
73
74 20 command decrypt
75
76
77
78nvdefinespace 1308 August 2018 NVDEFINESPACE(1)