wolfSSL / wolfTPM

wolfTPM is a highly portable TPM 2.0 library, designed for embedded use.
https://www.wolfssl.com
GNU General Public License v2.0
244 stars 60 forks source link

Added unit test for TPM2_CertifyCreation #169

Closed tomoveu closed 3 years ago

tomoveu commented 3 years ago

Ready for review

Based on wolfSSL forum inquiry - https://www.wolfssl.com/forums/topic1746-certify-creation-of-a-key.html

Developer's note, as part of the commit message:

In a real-life use case, signHandle and objectHandle would point to different objects. For unit testing, signHandle and objectHandle can be the same object, because wolfTPM performs the TPM2_CertifyCreation command the same.

Signed-off-by: Dimitar Tomov dimi@wolfssl.com