mirror of
https://github.com/tpm2dev/tpm.dev.tutorials.git
synced 2024-11-14 18:52:11 +00:00
477 B
477 B
TPM2_MakeCredential()
TPM2_MakeCredential()
takes an EKpub, the name of an object in a TPM
identified by that EKpub, and a small secret, and it encrypts {name, secret}
to the EKpub.
Nothing terribly interesting happens here. All the interesting
semantics are on the
TPM2_ActivateCredential()
side.
Together with TPM2_ActivateCredential()
,
this function can be used to implement attestation protocols.