⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tpm_unbind.3

📁 IBM开发的TPM的驱动, 有少量的例子可以供参考
💻 3
字号:
.\" Copyright 2004 IBM (Jeff Kravitz).\".\" Written Feb 11 2004, Jeff Kravitz.\".TH "TPM_Unbind" 3  2004-02-11 "IBM" "TPM Library".SH NAMETPM_Unbind.SH SYNOPSIS.nf.B #include <tpmfunc.h>.sp.BR "uint32_t TPM_UnBind" "(uint32_t keyhandle,"             unsigned char *keyauth,             unsigned char *data, unsigned int datalen,             unsigned char *blob, unsigned int *bloblen).fi.SH DESCRIPTIONThe \fBTPM_Unbind()\fP function performs a private key decryption operationusing a TPM loaded key..SH ARGUMENTSThe arguments include....TP 10.B keyhandleThe handle of the key used to decrypt the data. This is usually obtainedfrom \fBTPM_LoadKey()\fP. This key must be a binding (encryption) key, or alegacy key..TP 10.B keyauthA pointer to the authorization data for the key(a 20 byte value which is usually calculated as the hash of a password).If NULL, it will be assumed that no password is required..TP 10.B dataA pointer to the data to be decrypted..TP 10.B datalenAn integer containing the length of the data to be decrypted..TP 10.B blobA pointer to an area to receive the decrypted data..TP 10.B bloblenA pointer to an integer which will receive the length of the decrypted data..SH NOTESThe \fBTPM_Unbind\fP functiondoes not perform blocking of data.Blocking and unblockingmust be performed by the calling program..PThe area receiving the decrypted data must be the size of the maximum key modulus,as no buffer overflow checking is performed.  For current TPM usage, a lengthof 256 bytes is the maximum..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 TSS_Bind(3) , TPM_LoadKey(3) , TPM_GetErrMsg(3) ..SH AUTHORJeff Kravitz, IBM T.J. Watson Research Center

⌨️ 快捷键说明

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