Re: How to execute Tpm2CommandClear with Physical Presence?


joseph@...
 

Using Tpm2DeviceLibTcg2 instead of Tpm2DeviceLibDTpm changed the error content.

Tpm2ClearControl - Device Error
ClearControl: Response Code error! 0x00000185
The contents of the error are the same even as execute the below code.
How can I use Platform Authentication?
Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction(TCG2_PHYSICAL_PRESENCE_CLEAR, 0);
Tcg2PhysicalPresenceLibProcessRequest(NULL);

Join discuss@edk2.groups.io to automatically receive all group messages.