Hi Ken,
We already have SW TPM1.2 integrated in our platform and now looking forward for integrating SW TPM2.0.
Is there any soft of doc available describing the global interface functions I supposed to be using from my platform?
I could see,
_TPM_Init : I assume its an equivalent of TPM_MainInit (TPM1.2)
ExecCommand : TPM_ProcessA (TPM1.2)
Is my understanding correct?
Is there any guide for migrating from TPM1.2 to TPM2.0 available? I am looking for startup sequence to initiate at power on
Thanks
/Supa
Last edit: Suresh Panara 2019-06-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Ken,
We already have SW TPM1.2 integrated in our platform and now looking forward for integrating SW TPM2.0.
Is there any soft of doc available describing the global interface functions I supposed to be using from my platform?
I could see,
_TPM_Init : I assume its an equivalent of TPM_MainInit (TPM1.2)
ExecCommand : TPM_ProcessA (TPM1.2)
Is my understanding correct?
Is there any guide for migrating from TPM1.2 to TPM2.0 available? I am looking for startup sequence to initiate at power on
Thanks
/Supa
Last edit: Suresh Panara 2019-06-21
The TPM 2.0 code (which this project got from the TPM spec) was not designed to be callable directly. It was designed for a socket interface.
It you need direct calls, rpcSendCommand() seems like a good entry. For initialization, perhaps rpcSignalPowerOn()?
I have not tested this.
Perhaps this will also give you some clues. https://github.com/stefanberger/libtpms/blob/master/src/tpm_tpm2_interface.c
Last edit: Ken Goldman 2019-06-21
Thanks Ken,
I will check on the link you provided.
/Supa