mirror of
https://github.com/tpm2dev/tpm.dev.tutorials.git
synced 2024-11-15 03:02:10 +00:00
12 lines
477 B
Markdown
12 lines
477 B
Markdown
# `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()`](TPM2_ActivateCredential.md) side.
|
|
|
|
Together with [`TPM2_ActivateCredential()`](TPM2_ActivateCredential.md),
|
|
this function can be used to implement attestation protocols.
|