diff options
Diffstat (limited to 'firmware/include/tlcl.h')
-rw-r--r-- | firmware/include/tlcl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/include/tlcl.h b/firmware/include/tlcl.h index 685925f4..acb65309 100644 --- a/firmware/include/tlcl.h +++ b/firmware/include/tlcl.h @@ -240,6 +240,15 @@ uint32_t TlclReadPubek(uint32_t* public_exponent, uint8_t* modulus, uint32_t* modulus_size); +/** + * Takes ownership of the TPM. [enc_owner_auth] and [enc_srk_auth] are the owner + * and SRK authorization secrets encrypted under the endorsement key. The clear + * text [owner_auth] needs to be passed as well for command auth. + */ +uint32_t TlclTakeOwnership(uint8_t enc_owner_auth[TPM_RSA_2048_LEN], + uint8_t enc_srk_auth[TPM_RSA_2048_LEN], + uint8_t owner_auth[TPM_AUTH_DATA_LEN]); + #endif /* TPM2_MODE */ #endif /* CHROMEOS_ENVIRONMENT */ |