tpm_pcrread.3
来自「IBM开发的TPM的驱动, 有少量的例子可以供参考」· 3 代码 · 共 35 行
3
35 行
.\" Copyright 2004 IBM (Jeff Kravitz).\".\" Written Mar 29 2004, Jeff Kravitz.\".TH "TPM_PcrRead" 3 2004-02-10 "IBM" "TPM Library".SH NAMETPM_PcrRead.SH SYNOPSIS.nf.B #include <tpmfunc.h>.sp.BR "uint32_t TPM_PcrRead" "(uint32_t pcrindex," unsigned char *pcrvalue).fi.SH DESCRIPTIONThe \fBTPM_PcrRead()\fP function returns thecurrent PCR register value, for a specified PCR register..SH ARGUMENTSThe arguments include....TP 10.B pcrindexA number that indicatesPCR register to be read..TP 10.B pcrvalueA pointer to a 20 byte area to receive the contents of the specifiedPCR register..SH "RETURN VALUE"0 if the operation is successful. non-zero otherwise.The non zero value can be converted to an error message via the function \fBTPM_GetErrMsg()\fP..SH "SEE ALSO".BR TPM_GetErrMsg(3) ..SH AUTHORJeff Kravitz, IBM T.J. Watson Research Center
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?