tpm_ownerclear.3
来自「IBM开发的TPM的驱动, 有少量的例子可以供参考」· 3 代码 · 共 39 行
3
39 行
.\" Copyright 2004 IBM (Jeff Kravitz).\".\" Written Feb 10 2004, Jeff Kravitz.\".TH "TPM_OwnerClear" 3 2004-02-10 "IBM" "TPM Library".SH NAMETPM_OwnerClear.SH SYNOPSIS.nf.B #include <tpmfunc.h>.sp.BR "uint32_t TPM_OwnerClear" "(unsigned char *ownauth)".fi.SH DESCRIPTIONThe \fBTPM_OwnerClear()\fP function performs the function of removingthe existing \fIowner authorization data\fP,\fIstorage root key\fP,and \fIstorage root key authorization data\fP from a TPM..SH ARGUMENTSThe argument is a pointer to the owner authorization data(a 20 byte value which is usually calculated as the hash of a password)..SH NOTES.PThis function cannot be performed unless the TPM currently has an owner.This function can be permanently disabled by a TPM operation \fBDisable Owner Clear\fP.This function will require some kind of physical presence at thecomputer itself, i.e. an owner can not be removed remotely..PThe authorization data argument consists ofa 20 byte value which is usually calculated as the hash of a realpassword..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 + -
显示快捷键?