Introduction to the TPM protocol stack and tools (1)

tags: TPM software architecture  TPM tools  TPM

1. TPM related projects, there are several open source projects
Address:https://github.com/tpm2-software

2. Tpm2-software contains a total of four projects
 tpm2-tools tpm2-tss tpm2-abrmd tpm2-tss-engine
3. tpm2-tools
This project provides users with several commands for using TPM resources, such as:
tpm2_create : Create a key
tpm2_sign : startup TPM, relative to initializing the TPM
tpm2_listpcrs: Print out all the pcrs values ​​in the TPM
tpm2_send_command: can send byte stream commands
tpm2_hash    : hash
etc.
4.tpm2-tss
This part of the TPM protocol stack is divided into two layers, one for the upper layer developer to provide and encapsulate a unified call interface, and the other for the upper layer to provide access to the underlying hardware resource interface.

5.tpm2-abrmd
pm2-abrmd is a background process, mainly for TPM hardware resource management. For example: when we are on the upper level
When applying the load key, don't worry, there is still a free key slot in the TPM, because the tpm2-abrmd background process will help us to do it. If the key slot in the TPM is not enough, then Will be swapped out without the key, and then used by the currently accessed process.

6. tpm2-tss-engine
This is an encryption-related engine that is not currently used and needs to be used with openssl.

7. The following figure looks at the architecture of the entire software layer

8. Compile dependencies must look at the INSTALL file

9. Download the matching versions of each version as follows:

Intelligent Recommendation

Bluetooth 4.0BLE protocol stack introduction

This article is reproduced from:http://www.maiziedu.com/wiki/bluetooth/stack/For study only, please inform if there is any infringement.   Question: What is the BLE protocol stack? What is the re...

Introduction to the TCP/IP protocol stack

The Internet consists of a set of protocols that can be divided into the following four layers from top to bottom: Application The application layer protocol encapsulates packets for network communica...

Introduction to lwip protocol stack analysisOne

This is the first chapter of the introductory chapter of lwip officially started. Because of the summary of my own learning, many embedded aspects involved in the middle, such as mcu, rtos, and comput...

Introduction to ZigBee Protocol Stack Zstack

The protocol stack described in the article is based on ZigBee2006\Zstack-1.4.3-1.2.1 1. The architecture of the ZSTACK protocol stack The ZigBee protocol stack is to gather the protocols defined by e...

Introduction to ELK Log Protocol Stack

1. Centralized log system A complete centralized log system is inseparable from the following main features. • Collection-can collect log data from multiple sources • Transmission-able to st...

More Recommendation

BLE protocol stack composition introduction

block diagram:   1. The protocol consists of Host layer and the Controller layer; 2, Controller layer: PHY: Baseband Physical Layer, Related concepts: frequency band, modulation, radio frequency ...

AUTOSAR protocol stack - Function introduction

AUTOSAR_CAN function overview Communication part functions Diagnostic function Some network management functions Communication part functions The AUTOSAR communication stack mainly processes and compl...

Introduction to the ZigBee protocol (1)

Introduction to the ZigBee protocol (1) Note: Do not attempt to change these network parameters without a firm grasp. This is a blog written in the class, it is more messy. Article directory Introduct...

Introduction to the ICMP Protocol (1)

Introduction to the ICMP Protocol (1) 1. Introduction to ICMP There are two things to note when architecting an IP network: 1. Confirm that the network is working properly 2. Diagnose problems when en...

1.http protocol introduction

1.http protocol (short connection): The application communication layer protocol between the client browser or other programs and the web server. 2. The default port of the http protocol: 80 www.baidu...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top