pcrs.h

来自「IBM开发的TPM的驱动, 有少量的例子可以供参考」· C头文件 代码 · 共 19 行

H
19
字号
/****************************************************************************//*                                                                          *//*  PCRS.H  29 Mar 2003                                                     *//*                                                                          *//*                           Copyright (C) 2004 IBM                         *//*                                                                          *//****************************************************************************/#ifndef PCRS_H#define PCRS_H#define TPM_PCR_NUM       16	/* number of PCR registers supported */#define TPM_PCR_MASK_SIZE  2	/* size in bytes of PCR bit mask     */uint32_t TPM_PcrRead(uint32_t pcrindex, unsigned char *pcrvalue);uint32_t TSS_GenPCRInfo(uint32_t pcrmap, unsigned char *pcrinfo,			unsigned int *len);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?