% tpm2_ecephemeral(1) tpm2-tools | General Commands Manual
NAME
tpm2_ecephemeral(1) - Creates an ephemeral key for use in a two-phase key exchange protocol.
SYNOPSIS
tpm2_ecephemeral [OPTIONS]
DESCRIPTION
tpm2_ecephemeral(1) - Creates an ephemeral key for use in a two-phase key exchange protocol.
OPTIONS
-
ARGUMENT=ALGORITHM:
Specify the ECC curve. Example ecc521.
-
-u, --public=FILE
Specify the file path to save the ephemeral public point Q ≔ [r]G.
-
-t, --counter=FILE
Specify file path to save the least-significant 16 bits of commit count.
-
--cphash=FILE
File path to record the hash of the command parameters. This is commonly termed as cpHash. NOTE: When this option is selected, The tool will not actually execute the command, it simply returns a cpHash.
References
algorithm specifiers details the options for specifying cryptographic algorithms ALGORITHM.
common options collection of common options that provide information many users may expect.
common tcti options collection of options used to configure the various known TCTI modules.
EXAMPLES
tpm2_ecephemeral -u ecc.q -t ecc.ctr ecc256