Skip to content

OP-TEE integration for the MS TPM 2.0 Reference Implementation (fTPM)

License

Notifications You must be signed in to change notification settings

OP-TEE/optee_ftpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OP-TEE integration for the MS TPM 2.0 Reference Implementation (fTPM)

fTPM TA

The fTPM Trusted Application (TA) provides a secure firmware implementation of a TPM using the MS reference implementation.

The platform specific integration code is kept in this repository.

This is a fork from the the MS reference implementation sample ARM32-FirmwareTPM maintained to work with OP-TEE.

Building the TA

This TA is built as described in Trusted Applications section in the OP-TEE documentation with the addition of CFG_MS_TPM_20_REF which must hold the path to a checked out copy of the MS TPM 2.0 Reference Implementation.

Measured Boot support

The fTPM Trusted Application includes support for Measured Boot. This feature allows the TA to read a TPM Event Log compatible with the specification in Section 5 of the TCG EFI Protocol Specification. The event log is read and extended during the TA initialization.

Measure Boot support requires OP-TEE System Call PTA_SYSTEM_GET_TPM_EVENT_LOG.

Flags related to Measured Boot support:

CFG_TA_MEASURED_BOOT: Controls whether Measured Boot is enabled (CFG_TA_MEASURED_BOOT=y) or disabled (by default). CFG_TA_EVENT_LOG_SIZE: Maximum size in bytes allowed for the Event Log. Defaults to 1024 bytes.

About

OP-TEE integration for the MS TPM 2.0 Reference Implementation (fTPM)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published