This PR adds needed examples for remote attestation.
In nutshell, to perform remote attestation, we need a way to establish initial trust between the client and attestation server. For this purpose, the TPM2_MakeCredential and TPM2_ActivateCredential commands exist. This PR adds examples for both of them.
Next step would be the addition of TLS1.3 client/server example performing the challenge* and response**.
challenge created using examples/make_credential
response created using examples/activate_credential
The actual transport layer used to transfer the challenge-response sequence is up to the developer.
This PR adds needed examples for remote attestation.
In nutshell, to perform remote attestation, we need a way to establish initial trust between the client and attestation server. For this purpose, the TPM2_MakeCredential and TPM2_ActivateCredential commands exist. This PR adds examples for both of them.
Next step would be the addition of TLS1.3 client/server example performing the challenge* and response**.
The actual transport layer used to transfer the challenge-response sequence is up to the developer.