没有合适的资源?快使用搜索试试~ 我知道了~
TSS_Overview_Common_v1_r10_pub09232021.pdf
需积分: 1 0 下载量 76 浏览量
2023-07-21
06:35:34
上传
评论
收藏 699KB PDF 举报
温馨提示
试读
60页
TPM 软件栈技术规范
资源推荐
资源详情
资源评论
Copyright © TCG 2021 TCG TSS 2.0 Overview and Common Structures
Version 1.0, Revision 10 Page 2 of 60 September 23, 2021
Disclaimers, Notices, and License Terms
Copyright Licenses:
• Trusted Computing Group (TCG) grants to the user of the source code in this
specification (the “Source Code”) a worldwide, irrevocable, nonexclusive, royalty free,
copyright license to reproduce, create derivative works, distribute, display and perform
the Source Code and derivative works thereof, and to grant others the rights granted
herein.
• The TCG grants to the user of the other parts of the specification (other than the Source
Code) the rights to reproduce, distribute, display, and perform the specification solely for
the purpose of developing products based on such documents.
Source Code Distribution Conditions:
• Redistributions of Source Code must retain the above copyright licenses, this list of
conditions and the following disclaimers.
• Redistributions in binary form must reproduce the above copyright licenses, this list of
conditions and the following disclaimers in the documentation and/or other materials
provided with the distribution.
Disclaimers:
• THE COPYRIGHT LICENSES SET FORTH ABOVE DO NOT REPRESENT ANY FORM
OF LICENSE OR WAIVER, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE,
WITH RESPECT TO PATENT RIGHTS HELD BY TCG MEMBERS (OR OTHER THIRD
PARTIES) THAT MAY BE NECESSARY TO IMPLEMENT THIS SPECIFICATION OR
OTHERWISE. Contact TCG Administration (admin@trustedcomputinggroup.org) for
information on specification licensing rights available through TCG membership
agreements.
• THIS SPECIFICATION IS PROVIDED "AS IS" WITH NO EXPRESS OR IMPLIED
WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ACCURACY,
COMPLETENESS, OR NONINFRINGEMENT OF INTELLECTUAL PROPERTY
RIGHTS, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL,
SPECIFICATION OR SAMPLE.
• Without limitation, TCG and its members and licensors disclaim all liability, including
liability for infringement of any proprietary rights, relating to use of information in this
specification and to the implementation of this specification, and TCG disclaims all liability
for cost of procurement of substitute goods or services, lost profits, loss of use, loss of
data or any incidental, consequential, direct, indirect, or special damages, whether under
contract, tort, warranty or otherwise, arising in any way out of use or reliance upon this
specification or any information herein.
Any marks and brands contained herein are the property of their respective owners.
Copyright © TCG 2021 TCG TSS 2.0 Overview and Common Structures
Version 1.0, Revision 10 Page 3 of 60 September 23, 2021
Corrections and Comments
Please send comments and corrections to admin@trustedcomputinggroup.org.
Normative-Informative Language
“SHALL,” “SHALL NOT”, “SHOULD”, ”SHOULD NOT”, “RECOMMENDED”, “MAY” and “OPTIONAL” in
this document are normative statements. They are to be interpreted as described in [RFC-2119].
Acknowledgements
TCG and the TSS Work Group would like to thank the following people for their work on this specification.
• Will Arthur Raytheon
• Brenda Baggaley Security Innovation (OnBoard Security)
• Dave Challener Johns Hopkins University
• Mike Cox Security Innovation (OnBoard Security)
• Andreas Fuchs Fraunhofer SIT
• Ken Goldman IBM
• Jürgen Repp Fraunhofer SIT
• Philip Tricca Intel
• Tadeusz Struk Intel
• William Roberts Intel
• Lee Wilson Security Innovation (OnBoard Security)
Copyright © TCG 2021 TCG TSS 2.0 Overview and Common Structures
Version 1.0, Revision 10 Page 4 of 60 September 23, 2021
Table of Contents
1 Definitions and References .................................................................................................................... 5
Acronyms .................................................................................................................................... 5
TCG Software Stack 2.0 (TSS 2.0) Specification Library Structure ........................................... 6
References .................................................................................................................................. 7
TPM Specification Level Addressed by This Specification Version and Revision ...................... 9
2 TSS Overview ....................................................................................................................................... 10
TPM Device Driver .................................................................................................................... 11
TAB and Resource Manager ..................................................................................................... 11
TPM Command Transmission Interface (TCTI) ........................................................................ 11
Marshaling/Unmarshaling (MUAPI) .......................................................................................... 12
System API (SAPI) .................................................................................................................... 12
Enhanced System API (ESAPI) ................................................................................................ 12
Feature API (FAPI) .................................................................................................................... 13
3 Common Header File ........................................................................................................................... 14
tss2_common.h Prelude ........................................................................................................... 14
tss2_common.h DLL Export Macros ......................................................................................... 14
tss2_common.h Application Binary Interface (ABI) Negotiation ............................................... 14
tss2_common.h Common Return Codes .................................................................................. 15
tss2_common.h Base Return Codes ........................................................................................ 15
tss2_common.h TCTI Response Codes ................................................................................... 17
tss2_common.h SAPI (SYS) Error Codes ................................................................................ 18
tss2_common.h MUAPI Error Codes ........................................................................................ 18
tss2_common.h ESAPI Error Codes......................................................................................... 19
tss2_common.h FAPI Error Codes ........................................................................................... 20
tss2_common.h Postlude .......................................................................................................... 21
4 TPM 2 Types Header File ..................................................................................................................... 22
tss2_tpm2_types.h Prelude ...................................................................................................... 22
tss2_tpm2_types.h ABI Constants ............................................................................................ 22
tss2_tpm2_types.h Definition of Types and Associated Constants .......................................... 23
tss2_tpm2_types.h Postlude ..................................................................................................... 59
Copyright © TCG 2021 TCG TSS 2.0 Overview and Common Structures
Version 1.0, Revision 10 Page 5 of 60 September 23, 2021
1 Definitions and References
.
Acronyms
Term or Acronym
Definition
Application Binary
Interface (ABI)
The ABI is the byte-wise layout of data types and function parameters in RAM
as well as symbol definitions used to communicate between applications,
shared objects and the kernel.
Application
Programming
Interface (API)
The API is the software interface defined by the functions and structures in a
high-level programming language used to communicate between layers in the
software stack.
Caller
The caller is the software that invokes a function call or that sends a TCTI
command to the TAB/RM.
Connection
A “connection” to the TAB/RM corresponds to a TCTI context from the SAPI to
the TAB/RM.
ESAPI
TSS 2.0 Enhanced System API. This layer is intended to sit on top of the
System API providing enhanced context management and cryptography.
FAPI
TSS 2.0 Feature API. This layer sits above the ESAPI and provides a high-
level interface including a policy definition language and key store.
Implementation
An implementation is the source code and binary code that embodies a
specification or parts of a specification.
Marshal
To marshal data is to convert data from C structures to marshaled data.
Marshalled Data
Marshaled data is the representation of data used to communicate with the
TPM. In order to optimize data communication to and from the TPM, the
smallest amount of data possible is sent to the TPM. For instance, if a structure
starts with a size field and that field is set to 0, none of the other fields in the
structure are sent to the TPM. Another example: if an input structure consists
of a union of data structures, the marshalled representation of the union data
structure will be the size of just the data structure selected from the union
(actually the marshalled version of that structure itself). Also, the marshalled
data must be in big-endian format since this is what the TPM expects.
NV
Non-volatile means that data is not lost when the system is powered down.
PCR
Platform Configuration Register (see TPM 2.0 Library Specification)
RM
The “Resource Manager” is software executing on a system with a TPM that
ensures that the resources necessary to execute TPM commands are present
in the TPM.
SAPI
TSS 2.0 System API. This layer is intended to sit on top of the TCTI providing
marshaling/unmarshalling for TPM commands and responses.
TAB
The TPM Access Broker is software executing on a system with a TPM
managing concurrent access from multiple applications.
TPM Command
Transmission
Interface (TCTI)
The TCTI is an IPC abstraction layer used to send commands to and receive
responses from the TPM or the TAB/RM.
剩余59页未读,继续阅读
资源评论
书香度年华
- 粉丝: 1w+
- 资源: 383
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 王姿.html
- 51单片机学习(1)-软件keil下载
- 历届(第1-21届)希望杯数学竞赛初一试题及答案(最新整理).doc全国数学邀请赛(264页资料)
- 水滴.psd
- TokenPocket_V2.1.2_release.apk
- Apache-druid-kafka-rce.yaml
- 基于C#的ASP.NET数据库原理及应用技术课程指导平台的开发
- 基于ROS的智能车轨迹跟踪算法的仿真与设计源码运用PID跟踪算法.zip.zip
- Bug Bounty Tip - i春秋Self-XSS变废为宝的奇思妙想
- 1991-2015年全国初中化学竞赛复赛试题汇编(212页)(24年竞赛复赛真题).docx天原杯
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功