针对目前可信软件栈(TSS)规范的应用兼容性问题,提出了TSS命令改进方案,使之能够支持多种密码算法的可信平台模块.通过对TSS体系结构和组成的分析,重点描述了可信服务提供层(TSP)和可信核心服务层(TCS)的功能和接口特点,并以典型的可信平台模块(TPM)命令为例,通过句柄映射和函数输入输出参数的调整,增加TCS命令解释功能,改进TSS兼容性,使得TSS在不修改上层应用的情况下能兼容多种密码方案,达到应用兼容的目标.
In order to address the capability problem of TCG software stack(TSS),an improved scheme of TSS was proposed that can support not only trusted platform module(TPM) but also modules based on other cryptographs.The analysis on the architecture and composing of TSS,emphasized on describing of the functions and interfaces of TSS service provider layer(TSP) and TSS core services layer(TCS).By modifying some commands of trusted platform module(TPM),such as with handle mapping,changing the input and output parameters of about the function,adding the interpretation function of TCS,the compatibility of the TCG software stack was improved.