TPM

module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: BSD-2-Clause

README

Official TPM 2.0 Reference Implementation

Introduction

This is the official TCG reference implementation of the TPM 2.0 Specification. The project contains complete source code of the reference implementation with various Build Options.

This repository includes a TPM 2.0 simulator that emulates a TPM 2.0 device and can be accessed via a custom TCP based protocol. This allows experimentation and testing of the reference code. The simplest way to work with the simulator is to use a TSS library for the programming language of your choice - C#/.Net, C++, Java, Python, JavaScript/Node.js are currently supported. The C language TSS implementing the TCG's TSS API specification is available here.

Architecture Introduction

An explanation of the architecture for the TPM Reference Code.

See Architecture Intro

Build Instructions

The supported build environments are not guaranteed and subject to change.

See Build Intro

Directories

Path Synopsis
bindings
c
Package c handles compiling the C code in the TPMCmd/tpm/ directory.
Package c handles compiling the C code in the TPMCmd/tpm/ directory.
go/entrypoints
Package entrypoints contains bindings to the TPM's public interface.
Package entrypoints contains bindings to the TPM's public interface.
go/platform
Package platform allows Go code to implement the TPM 2.0 Platform Interface.
Package platform allows Go code to implement the TPM 2.0 Platform Interface.
go module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL