HOME
Proof of Concept (PoC):
Complete code for provisioning a key from the CC on the TRM machine can be downloaded from here.
This PoC exercises the TPM's CertifyKey functionality to attest to
CC that the certified key is usable on the TRM platform only under a
trustworthy platform state as indicated by the PCR value to which the
certified key is wrapped at key creation time.
The TRM component of the project comprises of: trm.c, trm_helper.c, quote.c, trm_helper.h and quote.h.
The CC component of the project comprises of: cc.c, cc_helper.c, quote_verify.c, cc_helper.h and quote_verify.h.
Explanation of why this works and the code design can be found here.