I want to reset TPM ,so for that which application I have to use between these two 1] clear and 2] shutdown?
What is a difference betwenn these two commands:TPM_Shutdown and TPM_Clear command?
Where I can get a details for all comands which are defined in Implementation.h file?
Last edit: sam 2019-09-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"Reset the TPM" is imprecise. What exactly do you want to do?
TPM2_Shutdown prepares the TPM for a power cycle (e.g., power down, suspend, hibernate). TPM2_Clear is use to remove all end user state (but not the platform OEM or TPM vendor state).
All the commands are described in the TPM spec Part 3. However, they are like man pages. I recommend reading Part 1 for a broader understanding of the TPM and its uses.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to reset TPM ,so for that which application I have to use between these two 1] clear and 2] shutdown?
What is a difference betwenn these two commands:TPM_Shutdown and TPM_Clear command?
Where I can get a details for all comands which are defined in Implementation.h file?
Last edit: sam 2019-09-06
"Reset the TPM" is imprecise. What exactly do you want to do?
TPM2_Shutdown prepares the TPM for a power cycle (e.g., power down, suspend, hibernate). TPM2_Clear is use to remove all end user state (but not the platform OEM or TPM vendor state).
All the commands are described in the TPM spec Part 3. However, they are like man pages. I recommend reading Part 1 for a broader understanding of the TPM and its uses.
Ok thanks @kagoldman