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

📄 tspi.h

📁 可信计算 TPM 很重要的应用底层接口封装中间层 IBM资深人员开发
💻 H
📖 第 1 页 / 共 2 页
字号:
 TSS_HTPM         hTPM,               // in TSS_HKEY         hMaintenanceKey,    // in TSS_VALIDATION*  pValidationData     // in, out);TSPICALL Tspi_TPM_CheckMaintenancePubKey( TSS_HTPM         hTPM,              // in TSS_HKEY         hMaintenanceKey,   // in TSS_VALIDATION*  pValidationData    // in, out);TSPICALL Tspi_TPM_GetRandom( TSS_HTPM         hTPM,                  // in UINT32           ulRandomDataLength,    // in BYTE**           prgbRandomData         // out);TSPICALL Tspi_TPM_StirRandom( TSS_HTPM         hTPM,                  // in UINT32           ulEntropyDataLength,   // in BYTE*            rgbEntropyData         // in);TSPICALL Tspi_TPM_AuthorizeMigrationTicket( TSS_HTPM            hTPM,                // in TSS_HKEY            hMigrationKey,       // in TSS_MIGRATE_SCHEME  migrationScheme,     // in UINT32*             pulMigTicketLength,  // out BYTE**              prgbMigTicket        // out);TSPICALL Tspi_TPM_GetEvent( TSS_HTPM         hTPM,            // in UINT32           ulPcrIndex,      // in UINT32           ulEventNumber,   // in TSS_PCR_EVENT*   pPcrEvent        // out);TSPICALL Tspi_TPM_GetEvents( TSS_HTPM         hTPM,             // in UINT32           ulPcrIndex,       // in UINT32           ulStartNumber,    // in UINT32*          pulEventNumber,   // in, out TSS_PCR_EVENT**  prgPcrEvents      // out);TSPICALL Tspi_TPM_GetEventLog( TSS_HTPM         hTPM,               // in UINT32*          pulEventNumber,     // out TSS_PCR_EVENT**  prgPcrEvents        // out);TSPICALL Tspi_TPM_Quote( TSS_HTPM         hTPM,               // in TSS_HKEY         hIdentKey,          // in TSS_HPCRS        hPcrComposite,      // in TSS_VALIDATION*  pValidationData     // in, out);TSPICALL Tspi_TPM_PcrExtend( TSS_HTPM	hTPM,			// in UINT32		ulPcrIndex,		// in UINT32		ulPcrDataLength,	// in BYTE*		pbPcrData,		// in TSS_PCR_EVENT*	pPcrEvent,		// in UINT32*	pulPcrValueLength,	// out BYTE**		prgbPcrValue		// out);TSPICALL Tspi_TPM_PcrRead( TSS_HTPM         hTPM,                // in UINT32           ulPcrIndex,          // in UINT32*          pulPcrValueLength,   // out BYTE**           prgbPcrValue         // out);TSPICALL Tspi_TPM_DirWrite( TSS_HTPM         hTPM,              // in UINT32           ulDirIndex,        // in UINT32           ulDirDataLength,   // in BYTE*            rgbDirData         // in);TSPICALL Tspi_TPM_DirRead( TSS_HTPM         hTPM,               // in UINT32           ulDirIndex,         // in UINT32*          pulDirDataLength,   // out BYTE**           prgbDirData         // out);TSPICALL Tspi_Key_LoadKey( TSS_HKEY         hKey,            // in TSS_HKEY         hUnwrappingKey   // in);TSPICALL Tspi_Key_UnloadKey( TSS_HKEY         hKey            // in);TSPICALL Tspi_Key_GetPubKey( TSS_HKEY         hKey,             // in UINT32*          pulPubKeyLength,  // out BYTE**           prgbPubKey        // out);TSPICALL Tspi_Key_CertifyKey( TSS_HKEY         hKey,             // in TSS_HKEY         hCertifyingKey,   // in TSS_VALIDATION*  pValidationData   // in, out);TSPICALL Tspi_Key_CreateKey( TSS_HKEY         hKey,           // in TSS_HKEY         hWrappingKey,   // in TSS_HPCRS        hPcrComposite   // in, may be NULL);TSPICALL Tspi_Key_WrapKey( TSS_HKEY         hKey,           // in TSS_HKEY         hWrappingKey,   // in TSS_HPCRS        hPcrComposite   // in, may be NULL);TSPICALL Tspi_Key_CreateMigrationBlob( TSS_HKEY         hKeyToMigrate,            // in TSS_HKEY         hParentKey,               // in UINT32           ulMigTicketLength,        // in BYTE*            rgbMigTicket   ,          // in UINT32*          pulRandomLength,          // out BYTE**           prgbRandom,               // out UINT32*          pulMigrationBlobLength,   // out BYTE**           prgbMigrationBlob         // out);TSPICALL Tspi_Key_ConvertMigrationBlob( TSS_HKEY         hKeyToMigrate,           // in TSS_HKEY         hParentKey,              // in UINT32           ulRandomLength,          // in BYTE*            rgbRandom,               // in UINT32           ulMigrationBlobLength,   // in BYTE*            rgbMigrationBlob         // in);TSPICALL Tspi_Hash_Sign( TSS_HHASH        hHash,                // in TSS_HKEY         hKey,                 // in UINT32*          pulSignatureLength,   // out BYTE**           prgbSignature         // out);TSPICALL Tspi_Hash_VerifySignature( TSS_HHASH        hHash,               // in TSS_HKEY         hKey,                // in UINT32           ulSignatureLength,   // in BYTE*            rgbSignature         // in);TSPICALL Tspi_Hash_SetHashValue( TSS_HHASH        hHash,               // in UINT32           ulHashValueLength,   // in BYTE*            rgbHashValue         // in);TSPICALL Tspi_Hash_GetHashValue( TSS_HHASH        hHash,                // in UINT32*          pulHashValueLength,   // out BYTE**           prgbHashValue         // out);TSPICALL Tspi_Hash_UpdateHashValue( TSS_HHASH        hHash,          // in UINT32           ulDataLength,   // in BYTE*            rgbData         // in);TSPICALL Tspi_Data_Bind( TSS_HENCDATA     hEncData,       // in TSS_HKEY         hEncKey,        // in UINT32           ulDataLength,   // in BYTE*            rgbDataToBind   // in);TSPICALL Tspi_Data_Unbind( TSS_HENCDATA     hEncData,               // in TSS_HKEY         hKey,                   // in UINT32*          pulUnboundDataLength,   // out BYTE**           prgbUnboundData         // out);TSPICALL Tspi_Data_Seal( TSS_HENCDATA     hEncData,        // in TSS_HKEY         hEncKey,         // in UINT32           ulDataLength,    // in BYTE*            rgbDataToSeal,   // in TSS_HPCRS        hPcrComposite    // in);TSPICALL Tspi_Data_Unseal( TSS_HENCDATA     hEncData,                // in TSS_HKEY         hKey,                    // in UINT32*          pulUnsealedDataLength,   // out BYTE**           prgbUnsealedData         // out);TSPICALL Tspi_PcrComposite_SelectPcrIndex( TSS_HPCRS        hPcrComposite,   // in UINT32           ulPcrIndex       // in);TSPICALL Tspi_PcrComposite_SetPcrValue( TSS_HPCRS        hPcrComposite,      // in UINT32           ulPcrIndex,         // in UINT32           ulPcrValueLength,   // in BYTE*            rgbPcrValue         // in);TSPICALL Tspi_PcrComposite_GetPcrValue( TSS_HPCRS        hPcrComposite,       // in UINT32           ulPcrIndex,          // in UINT32*          pulPcrValueLength,   // out BYTE**           prgbPcrValue         // out);/******/TSPICALL Tspicb_CallbackHMACAuth( PVOID            lpAppData,          // in TSS_HOBJECT      hAuthorizedObject,  // in TSS_BOOL         ReturnOrVerify,     // in UINT32           ulPendingFunction,  // in TSS_BOOL         ContinueUse,        // in UINT32           ulSizeNonces,       // in BYTE*            rgbNonceEven,       // in BYTE*            rgbNonceOdd,        // in BYTE*            rgbNonceEvenOSAP,   // in BYTE*            rgbNonceOddOSAP,    // in UINT32           ulSizeDigestHmac,   // in BYTE*            rgbParamDigest,     // in BYTE*            rgbHmacData         // in, out);TSPICALL Tspicb_CallbackXorEnc( PVOID            lpAppData,            // in TSS_HOBJECT      hOSAPObject,          // in TSS_HOBJECT      hObject,              // in TSS_FLAG         PurposeSecret,        // in UINT32           ulSizeNonces,         // in BYTE*            rgbNonceEven,         // in BYTE*            rgbNonceOdd,          // in BYTE*            rgbNonceEvenOSAP,     // in BYTE*            rgbNonceOddOSAP,      // in UINT32           ulSizeEncAuth,        // in BYTE*            rgbEncAuthUsage,      // out BYTE*            rgbEncAuthMigration   // out);TSPICALL Tspicb_CallbackTakeOwnership( PVOID            lpAppData,         // in TSS_HOBJECT      hObject,           // in TSS_HKEY         hObjectPubKey,     // in UINT32           ulSizeEncAuth,     // in BYTE*            rgbEncAuth	     // out);TSPICALL Tspicb_CallbackChangeAuthAsym( PVOID            lpAppData,        // in TSS_HOBJECT      hObject,          // in TSS_HKEY         hObjectPubKey,    // in UINT32           ulSizeEncAuth,    // in UINT32           ulSizeAuthLink,   // in BYTE*            rgbEncAuth,       // out BYTE*            rgbAuthLink       // out);TSPICALL Tspicb_CollateIdentity( PVOID			lpAppData,			  // in UINT32			ulTCPAPlainIdentityProofLength,   // in BYTE*			rgbTCPAPlainIdentityProof,	  // in TSS_ALGORITHM_ID	algID,				  // in UINT32			ulSessionKeyLength,		  // out BYTE*			rgbSessionKey,			  // out UINT32*		pulTCPAIdentityProofLength,	  // out BYTE*			rgbTCPAIdentityProof		  // out);TSPICALL Tspicb_ActivateIdentity( PVOID            lpAppData,                    // in UINT32           ulSessionKeyLength,           // in BYTE*            rgbSessionKey,                // in UINT32           ulSymCAAttestationBlobLength, // in BYTE*            rgbSymCAAttestationBlob,      // in UINT32*          pulCredentialLength,          // out BYTE*            rgbCredential                 // out);#endif //_TSPI_H_

⌨️ 快捷键说明

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