Selection t - getCapability_versionVal
The
TPM_GetCapability command returns current information regarding the TPM. The demo
version of
TPM_GetCapability has a TPM_CAPABILITY_AREA of TPM_CAP_VERSION_VAL
and returns a
TPM_CAP_VERSION_INFO structure.
A successful execution of
TPM_GetCapability (TPM_CAP_VERSION_VAL) returns a
TPM_SUCCESS return code of 0x00000000, along with the TPM_CAP_VERSION_INFO structure.
Selection u - TPM_Reset (Clears authSessions)
The
TPM_Reset command releases all resources associated with existing authorization sessions.
A successful execution of
TPM_Reset returns a TPM_SUCCESS return code of 0x00000000, along
with releasing all authorization session resources.
If another command sequence returns an error code of
0x000015, which indicates that all of the
authorization sessions are active, this command must be executed to clear those existing authorization
sessions.
Selection v - TPM_FlushSpecific (keyHandle)
The
TPM_FlushSpecific command flushes a specific handle from the TPM, releasing the
associated resources. The demo command,
TPM_FlushSpecific, is limited to the flushing of key
handles:
1. If no keys are loaded on the TPM, the
TPM_FlushSpecific command will abort with the
failure message flushKey failed!. If keys are loaded on the TPM, then choose the key that needs
to be flush.
Make the selection at the prompt:
known keyHandles:
0: XX XX XX XX
1: XX XX XX XX
X: XX XX XX XX
pick a key to flush:
2. A successful execution of
TPM_FlushSpecific flushes the selected key and returns a
TPM_SUCCESS return code of 0x00000000.
Selection w - TPM_ForceClear (Sequence)
The
TPM_ForceClear command performs the Clear operation under physical presence. All TPM
state information will be cleared. The demo command,
TPM_ForceClear, is a sequence comprised
of the following:
1. Assert Physical Presence by executing the
TSC_PhysicalPresence command, setting
TPM_STCLEAR_FLAGS.physicalPresence to TRUE.
2. Execute the
TPM_ForceClear command, clearing the TPM.
3. A successful execution of
TPM_ForceClear returns a TPM_DISABLED return code of
0x00000007, along with clearing the TPM, disabling the TPM, and requesting deactivation of
the TPM at the next reset.