mirror of
https://github.com/tpm2dev/tpm.dev.tutorials.git
synced 2024-11-10 01:12:10 +00:00
13 lines
477 B
Markdown
13 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.
|