microsoft / ms-tpm-20-ref

Reference implementation of the TCG Trusted Platform Module 2.0 specification.
Other
343 stars 133 forks source link

fTPM: add enum to ta flags #97

Closed muvarov closed 8 months ago

muvarov commented 1 year ago

If we compile this TA into OPTEE-OS we need to define a flag that this TA can be discovered on the optee bus.


move https://github.com/microsoft/MSRSec/pull/34 here.

jan-kiszka commented 8 months ago

Ping to the maintainers. This should be an easy take.

bradlitterell commented 8 months ago

The Samples are untested and unmaintained and therefore are about to be removed from this repo. The focus of this repo is the core TPM implementation library that is suitable for inclusion as a submodule into another project. In other words, specific implementations (such as OP-TEE) will need to be maintained in separate repositories.

jan-kiszka commented 8 months ago

OK - where will they go to? This is critical for us.

bradlitterell commented 8 months ago

This change represents the reality that this repo is not a full TPM implementation. It has always been necessary to provide both a custom platform, (usually) custom crypto libraries, plus an outer interface for a particular implementation to create a "complete" TPM. Hence, it's best to keep those platforms and outer layers in their own repositories.

https://github.com/microsoft/MSRSec is one such repo, though I don't know the intention of those maintainers, if any.

The sample code here and at MSRSec are available to be forked/copied under the license agreement(s) of the appropriate repo (or the license agreement in the header of individual files, as the case may be).

Our recommendation is for users who want to use them to create their own fork of MSRSec, or separate repositories for their custom TPM platforms, and include the core library from here as a submodule (like MSRsec does).

The next release comes with CMake project files and can be incorporated into either larger CMake build systems, or other custom build systems.

The last commit containing the existing Samples code here will be tagged and continue to be available for reference.