Skip to content

Commit

Permalink
manual: updated for usage of tpm2_loadexternal
Browse files Browse the repository at this point in the history
  • Loading branch information
Gang Wei committed May 17, 2016
1 parent f9b943a commit a9552f0
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions manual
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ where:
-L/--oldLockPasswd <password> old Lockout authorization (string,optional,default:NULL).

example:
Set ownerAuth, endorsementAuth and lockoutAuth to emptyAuth:
tpm2_takeownership -c
Set ownerAuth, endorsementAuth and lockoutAuth to a newAuth:
tpm2_takeownership -o new -e new -l new -O old -E Old -L old
Set ownerAuth, endorsementAuth and lockoutAuth to emptyAuth:
tpm2_takeownership -c
Set ownerAuth, endorsementAuth and lockoutAuth to a newAuth:
tpm2_takeownership -o new -e new -l new -O old -E Old -L old

* tpm2_getpubek
Generate TCG profile compliant endorsement key(endorsement hierarchy primary
Expand Down Expand Up @@ -493,7 +493,7 @@ example:

* tpm2_loadexternal
load an object that is not a Protected Object into the TPM. The command allows
loading of a public area or both a public and sensitive area.
loading of a public area or both a public and a sensitive area.

Usage:
-H, --hierarchy <e|o|p|n> Hierarchy with which the object area is associated
Expand All @@ -506,7 +506,11 @@ Usage:
-C, --context <filename> The file to save the object context, optional

example:
tpm2_loadexternal -H <e|o|p|n> -u <pubKeyFileName> -r <privKeyFileName> -C object.context
Load a public area generated by tpm2_create, tpm2_readpublic or manually
tpm2_loadexternal -H <e|o|p|n> -u <pubKeyFileName> -C object.context
Load a key with sensitive area. Both the public & the senstive areas shall
be generated externally. *DON'T* use the areas generated by tpm2_create.
tpm2_loadexternal -H n -u <pubKeyFileName> -r <privKeyFileName> -C object.context


Subset 4: Encryption tools
Expand Down

0 comments on commit a9552f0

Please sign in to comment.