sys: add map file for system API
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
diff --git a/Makefile.am b/Makefile.am
index a05d99a..5edc3ed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -253,9 +253,11 @@
pkgconfig_DATA += lib/tss2-sys.pc
src_tss2_sys_libtss2_sys_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/src/tss2-sys
-src_tss2_sys_libtss2_sys_la_LDFLAGS = $(AM_LDFLAGS) $(LIBSOCKET_LDFLAGS)
+src_tss2_sys_libtss2_sys_la_LDFLAGS = $(AM_LDFLAGS) $(LIBSOCKET_LDFLAGS) \
+ -Wl,--version-script=$(srcdir)/lib/tss2-sys.map
src_tss2_sys_libtss2_sys_la_LIBADD = $(libtss2_mu) $(libutil)
src_tss2_sys_libtss2_sys_la_SOURCES = $(TSS2_SYS_SRC)
+EXTRA_DIST += lib/tss2-sys.map
### TCG TSS ESAPI spec library ###
if ESAPI
diff --git a/lib/tss2-sys.map b/lib/tss2-sys.map
new file mode 100644
index 0000000..3660b4f
--- /dev/null
+++ b/lib/tss2-sys.map
@@ -0,0 +1,369 @@
+{
+ global:
+ Tss2_Sys_AC_GetCapability_Prepare;
+ Tss2_Sys_AC_GetCapability_Complete;
+ Tss2_Sys_AC_GetCapability;
+ Tss2_Sys_AC_Send_Prepare;
+ Tss2_Sys_AC_Send_Complete;
+ Tss2_Sys_AC_Send;
+ Tss2_Sys_ActivateCredential_Prepare;
+ Tss2_Sys_ActivateCredential_Complete;
+ Tss2_Sys_ActivateCredential;
+ Tss2_Sys_Certify_Prepare;
+ Tss2_Sys_Certify_Complete;
+ Tss2_Sys_Certify;
+ Tss2_Sys_CertifyCreation_Prepare;
+ Tss2_Sys_CertifyCreation_Complete;
+ Tss2_Sys_CertifyCreation;
+ Tss2_Sys_ChangeEPS_Prepare;
+ Tss2_Sys_ChangeEPS_Complete;
+ Tss2_Sys_ChangeEPS;
+ Tss2_Sys_ChangePPS_Prepare;
+ Tss2_Sys_ChangePPS_Complete;
+ Tss2_Sys_ChangePPS;
+ Tss2_Sys_Clear_Prepare;
+ Tss2_Sys_Clear_Complete;
+ Tss2_Sys_Clear;
+ Tss2_Sys_ClearControl_Prepare;
+ Tss2_Sys_ClearControl_Complete;
+ Tss2_Sys_ClearControl;
+ Tss2_Sys_ClockRateAdjust_Prepare;
+ Tss2_Sys_ClockRateAdjust_Complete;
+ Tss2_Sys_ClockRateAdjust;
+ Tss2_Sys_ClockSet_Prepare;
+ Tss2_Sys_ClockSet_Complete;
+ Tss2_Sys_ClockSet;
+ Tss2_Sys_Commit_Prepare;
+ Tss2_Sys_Commit_Complete;
+ Tss2_Sys_Commit;
+ Tss2_Sys_ContextLoad_Prepare;
+ Tss2_Sys_ContextLoad_Complete;
+ Tss2_Sys_ContextLoad;
+ Tss2_Sys_ContextSave_Prepare;
+ Tss2_Sys_ContextSave_Complete;
+ Tss2_Sys_ContextSave;
+ Tss2_Sys_Create_Prepare;
+ Tss2_Sys_Create_Complete;
+ Tss2_Sys_Create;
+ Tss2_Sys_CreateLoaded_Prepare;
+ Tss2_Sys_CreateLoaded_Complete;
+ Tss2_Sys_CreateLoaded;
+ Tss2_Sys_CreatePrimary_Prepare;
+ Tss2_Sys_CreatePrimary_Complete;
+ Tss2_Sys_CreatePrimary;
+ Tss2_Sys_DictionaryAttackLockReset_Prepare;
+ Tss2_Sys_DictionaryAttackLockReset_Complete;
+ Tss2_Sys_DictionaryAttackLockReset;
+ Tss2_Sys_DictionaryAttackParameters_Prepare;
+ Tss2_Sys_DictionaryAttackParameters_Complete;
+ Tss2_Sys_DictionaryAttackParameters;
+ Tss2_Sys_Duplicate_Prepare;
+ Tss2_Sys_Duplicate_Complete;
+ Tss2_Sys_Duplicate;
+ Tss2_Sys_ECC_Parameters_Prepare;
+ Tss2_Sys_ECC_Parameters_Complete;
+ Tss2_Sys_ECC_Parameters;
+ Tss2_Sys_ECDH_KeyGen_Prepare;
+ Tss2_Sys_ECDH_KeyGen_Complete;
+ Tss2_Sys_ECDH_KeyGen;
+ Tss2_Sys_ECDH_ZGen_Prepare;
+ Tss2_Sys_ECDH_ZGen_Complete;
+ Tss2_Sys_ECDH_ZGen;
+ Tss2_Sys_EC_Ephemeral_Prepare;
+ Tss2_Sys_EC_Ephemeral_Complete;
+ Tss2_Sys_EC_Ephemeral;
+ Tss2_Sys_EncryptDecrypt2_Prepare;
+ Tss2_Sys_EncryptDecrypt2_Complete;
+ Tss2_Sys_EncryptDecrypt2;
+ Tss2_Sys_EncryptDecrypt_Prepare;
+ Tss2_Sys_EncryptDecrypt_Complete;
+ Tss2_Sys_EncryptDecrypt;
+ Tss2_Sys_EventSequenceComplete_Prepare;
+ Tss2_Sys_EventSequenceComplete_Complete;
+ Tss2_Sys_EventSequenceComplete;
+ Tss2_Sys_EvictControl_Prepare;
+ Tss2_Sys_EvictControl_Complete;
+ Tss2_Sys_EvictControl;
+ Tss2_Sys_ExecuteAsync;
+ Tss2_Sys_ExecuteFinish;
+ Tss2_Sys_Execute;
+ Tss2_Sys_FieldUpgradeData_Prepare;
+ Tss2_Sys_FieldUpgradeData_Complete;
+ Tss2_Sys_FieldUpgradeData;
+ Tss2_Sys_FieldUpgradeStart_Prepare;
+ Tss2_Sys_FieldUpgradeStart_Complete;
+ Tss2_Sys_FieldUpgradeStart;
+ Tss2_Sys_Finalize;
+ Tss2_Sys_FirmwareRead_Prepare;
+ Tss2_Sys_FirmwareRead_Complete;
+ Tss2_Sys_FirmwareRead;
+ Tss2_Sys_FlushContext_Prepare;
+ Tss2_Sys_FlushContext_Complete;
+ Tss2_Sys_FlushContext;
+ Tss2_Sys_GetCapability_Prepare;
+ Tss2_Sys_GetCapability_Complete;
+ Tss2_Sys_GetCapability;
+ Tss2_Sys_GetCommandAuditDigest_Prepare;
+ Tss2_Sys_GetCommandAuditDigest_Complete;
+ Tss2_Sys_GetCommandAuditDigest;
+ Tss2_Sys_GetCommandCode;
+ Tss2_Sys_GetContextSize;
+ Tss2_Sys_GetCpBuffer;
+ Tss2_Sys_GetDecryptParam;
+ Tss2_Sys_GetEncryptParam;
+ Tss2_Sys_GetRandom_Prepare;
+ Tss2_Sys_GetRandom_Complete;
+ Tss2_Sys_GetRandom;
+ Tss2_Sys_GetRpBuffer;
+ Tss2_Sys_GetRspAuths;
+ Tss2_Sys_GetSessionAuditDigest_Prepare;
+ Tss2_Sys_GetSessionAuditDigest_Complete;
+ Tss2_Sys_GetSessionAuditDigest;
+ Tss2_Sys_GetTctiContext;
+ Tss2_Sys_GetTestResult_Prepare;
+ Tss2_Sys_GetTestResult_Complete;
+ Tss2_Sys_GetTestResult;
+ Tss2_Sys_GetTime_Prepare;
+ Tss2_Sys_GetTime_Complete;
+ Tss2_Sys_GetTime;
+ Tss2_Sys_Hash_Prepare;
+ Tss2_Sys_Hash_Complete;
+ Tss2_Sys_Hash;
+ Tss2_Sys_HashSequenceStart_Prepare;
+ Tss2_Sys_HashSequenceStart_Complete;
+ Tss2_Sys_HashSequenceStart;
+ Tss2_Sys_HierarchyChangeAuth_Prepare;
+ Tss2_Sys_HierarchyChangeAuth_Complete;
+ Tss2_Sys_HierarchyChangeAuth;
+ Tss2_Sys_HierarchyControl_Prepare;
+ Tss2_Sys_HierarchyControl_Complete;
+ Tss2_Sys_HierarchyControl;
+ Tss2_Sys_HMAC_Prepare;
+ Tss2_Sys_HMAC_Complete;
+ Tss2_Sys_HMAC;
+ Tss2_Sys_HMAC_Start_Prepare;
+ Tss2_Sys_HMAC_Start_Complete;
+ Tss2_Sys_HMAC_Start;
+ Tss2_Sys_Import_Prepare;
+ Tss2_Sys_Import_Complete;
+ Tss2_Sys_Import;
+ Tss2_Sys_IncrementalSelfTest_Prepare;
+ Tss2_Sys_IncrementalSelfTest_Complete;
+ Tss2_Sys_IncrementalSelfTest;
+ Tss2_Sys_Initialize;
+ Tss2_Sys_Load_Prepare;
+ Tss2_Sys_Load_Complete;
+ Tss2_Sys_Load;
+ Tss2_Sys_LoadExternal_Prepare;
+ Tss2_Sys_LoadExternal_Complete;
+ Tss2_Sys_LoadExternal;
+ Tss2_Sys_MakeCredential_Prepare;
+ Tss2_Sys_MakeCredential_Complete;
+ Tss2_Sys_MakeCredential;
+ Tss2_Sys_NV_Certify_Prepare;
+ Tss2_Sys_NV_Certify_Complete;
+ Tss2_Sys_NV_Certify;
+ Tss2_Sys_NV_ChangeAuth_Prepare;
+ Tss2_Sys_NV_ChangeAuth_Complete;
+ Tss2_Sys_NV_ChangeAuth;
+ Tss2_Sys_NV_DefineSpace_Prepare;
+ Tss2_Sys_NV_DefineSpace_Complete;
+ Tss2_Sys_NV_DefineSpace;
+ Tss2_Sys_NV_Extend_Prepare;
+ Tss2_Sys_NV_Extend_Complete;
+ Tss2_Sys_NV_Extend;
+ Tss2_Sys_NV_GlobalWriteLock_Prepare;
+ Tss2_Sys_NV_GlobalWriteLock_Complete;
+ Tss2_Sys_NV_GlobalWriteLock;
+ Tss2_Sys_NV_Increment_Prepare;
+ Tss2_Sys_NV_Increment_Complete;
+ Tss2_Sys_NV_Increment;
+ Tss2_Sys_NV_Read_Prepare;
+ Tss2_Sys_NV_Read_Complete;
+ Tss2_Sys_NV_Read;
+ Tss2_Sys_NV_ReadLock_Prepare;
+ Tss2_Sys_NV_ReadLock_Complete;
+ Tss2_Sys_NV_ReadLock;
+ Tss2_Sys_NV_ReadPublic_Prepare;
+ Tss2_Sys_NV_ReadPublic_Complete;
+ Tss2_Sys_NV_ReadPublic;
+ Tss2_Sys_NV_SetBits_Prepare;
+ Tss2_Sys_NV_SetBits_Complete;
+ Tss2_Sys_NV_SetBits;
+ Tss2_Sys_NV_UndefineSpace_Prepare;
+ Tss2_Sys_NV_UndefineSpace_Complete;
+ Tss2_Sys_NV_UndefineSpace;
+ Tss2_Sys_NV_UndefineSpaceSpecial_Prepare;
+ Tss2_Sys_NV_UndefineSpaceSpecial_Complete;
+ Tss2_Sys_NV_UndefineSpaceSpecial;
+ Tss2_Sys_NV_Write_Prepare;
+ Tss2_Sys_NV_Write_Complete;
+ Tss2_Sys_NV_Write;
+ Tss2_Sys_NV_WriteLock_Prepare;
+ Tss2_Sys_NV_WriteLock_Complete;
+ Tss2_Sys_NV_WriteLock;
+ Tss2_Sys_ObjectChangeAuth_Prepare;
+ Tss2_Sys_ObjectChangeAuth_Complete;
+ Tss2_Sys_ObjectChangeAuth;
+ Tss2_Sys_PCR_Allocate_Prepare;
+ Tss2_Sys_PCR_Allocate_Complete;
+ Tss2_Sys_PCR_Allocate;
+ Tss2_Sys_PCR_Event_Prepare;
+ Tss2_Sys_PCR_Event_Complete;
+ Tss2_Sys_PCR_Event;
+ Tss2_Sys_PCR_Extend_Prepare;
+ Tss2_Sys_PCR_Extend_Complete;
+ Tss2_Sys_PCR_Extend;
+ Tss2_Sys_PCR_Read_Prepare;
+ Tss2_Sys_PCR_Read_Complete;
+ Tss2_Sys_PCR_Read;
+ Tss2_Sys_PCR_Reset_Prepare;
+ Tss2_Sys_PCR_Reset_Complete;
+ Tss2_Sys_PCR_Reset;
+ Tss2_Sys_PCR_SetAuthPolicy_Prepare;
+ Tss2_Sys_PCR_SetAuthPolicy_Complete;
+ Tss2_Sys_PCR_SetAuthPolicy;
+ Tss2_Sys_PCR_SetAuthValue_Prepare;
+ Tss2_Sys_PCR_SetAuthValue_Complete;
+ Tss2_Sys_PCR_SetAuthValue;
+ Tss2_Sys_Policy_AC_SendSelect_Prepare;
+ Tss2_Sys_Policy_AC_SendSelect_Complete;
+ Tss2_Sys_Policy_AC_SendSelect;
+ Tss2_Sys_PolicyAuthorize_Prepare;
+ Tss2_Sys_PolicyAuthorize_Complete;
+ Tss2_Sys_PolicyAuthorize;
+ Tss2_Sys_PolicyAuthorizeNV_Prepare;
+ Tss2_Sys_PolicyAuthorizeNV_Complete;
+ Tss2_Sys_PolicyAuthorizeNV;
+ Tss2_Sys_PolicyAuthValue_Prepare;
+ Tss2_Sys_PolicyAuthValue_Complete;
+ Tss2_Sys_PolicyAuthValue;
+ Tss2_Sys_PolicyCommandCode_Prepare;
+ Tss2_Sys_PolicyCommandCode_Complete;
+ Tss2_Sys_PolicyCommandCode;
+ Tss2_Sys_PolicyCounterTimer_Prepare;
+ Tss2_Sys_PolicyCounterTimer_Complete;
+ Tss2_Sys_PolicyCounterTimer;
+ Tss2_Sys_PolicyCpHash_Prepare;
+ Tss2_Sys_PolicyCpHash_Complete;
+ Tss2_Sys_PolicyCpHash;
+ Tss2_Sys_PolicyDuplicationSelect_Prepare;
+ Tss2_Sys_PolicyDuplicationSelect_Complete;
+ Tss2_Sys_PolicyDuplicationSelect;
+ Tss2_Sys_PolicyGetDigest_Prepare;
+ Tss2_Sys_PolicyGetDigest_Complete;
+ Tss2_Sys_PolicyGetDigest;
+ Tss2_Sys_PolicyLocality_Prepare;
+ Tss2_Sys_PolicyLocality_Complete;
+ Tss2_Sys_PolicyLocality;
+ Tss2_Sys_PolicyNameHash_Prepare;
+ Tss2_Sys_PolicyNameHash_Complete;
+ Tss2_Sys_PolicyNameHash;
+ Tss2_Sys_PolicyNV_Prepare;
+ Tss2_Sys_PolicyNV_Complete;
+ Tss2_Sys_PolicyNV;
+ Tss2_Sys_PolicyNvWritten_Prepare;
+ Tss2_Sys_PolicyNvWritten_Complete;
+ Tss2_Sys_PolicyNvWritten;
+ Tss2_Sys_PolicyOR_Prepare;
+ Tss2_Sys_PolicyOR_Complete;
+ Tss2_Sys_PolicyOR;
+ Tss2_Sys_PolicyPassword_Prepare;
+ Tss2_Sys_PolicyPassword_Complete;
+ Tss2_Sys_PolicyPassword;
+ Tss2_Sys_PolicyPCR_Prepare;
+ Tss2_Sys_PolicyPCR_Complete;
+ Tss2_Sys_PolicyPCR;
+ Tss2_Sys_PolicyPhysicalPresence_Prepare;
+ Tss2_Sys_PolicyPhysicalPresence_Complete;
+ Tss2_Sys_PolicyPhysicalPresence;
+ Tss2_Sys_PolicyRestart_Prepare;
+ Tss2_Sys_PolicyRestart_Complete;
+ Tss2_Sys_PolicyRestart;
+ Tss2_Sys_PolicySecret_Prepare;
+ Tss2_Sys_PolicySecret_Complete;
+ Tss2_Sys_PolicySecret;
+ Tss2_Sys_PolicySigned_Prepare;
+ Tss2_Sys_PolicySigned_Complete;
+ Tss2_Sys_PolicySigned;
+ Tss2_Sys_PolicyTemplate_Prepare;
+ Tss2_Sys_PolicyTemplate_Complete;
+ Tss2_Sys_PolicyTemplate;
+ Tss2_Sys_PolicyTicket_Prepare;
+ Tss2_Sys_PolicyTicket_Complete;
+ Tss2_Sys_PolicyTicket;
+ Tss2_Sys_PP_Commands_Prepare;
+ Tss2_Sys_PP_Commands_Complete;
+ Tss2_Sys_PP_Commands;
+ Tss2_Sys_Quote_Prepare;
+ Tss2_Sys_Quote_Complete;
+ Tss2_Sys_Quote;
+ Tss2_Sys_ReadClock_Prepare;
+ Tss2_Sys_ReadClock_Complete;
+ Tss2_Sys_ReadClock;
+ Tss2_Sys_ReadPublic_Prepare;
+ Tss2_Sys_ReadPublic_Complete;
+ Tss2_Sys_ReadPublic;
+ Tss2_Sys_Rewrap_Prepare;
+ Tss2_Sys_Rewrap_Complete;
+ Tss2_Sys_Rewrap;
+ Tss2_Sys_RSA_Decrypt_Prepare;
+ Tss2_Sys_RSA_Decrypt_Complete;
+ Tss2_Sys_RSA_Decrypt;
+ Tss2_Sys_RSA_Encrypt_Prepare;
+ Tss2_Sys_RSA_Encrypt_Complete;
+ Tss2_Sys_RSA_Encrypt;
+ Tss2_Sys_SelfTest_Prepare;
+ Tss2_Sys_SelfTest_Complete;
+ Tss2_Sys_SelfTest;
+ Tss2_Sys_SequenceComplete_Prepare;
+ Tss2_Sys_SequenceComplete_Complete;
+ Tss2_Sys_SequenceComplete;
+ Tss2_Sys_SequenceUpdate_Prepare;
+ Tss2_Sys_SequenceUpdate_Complete;
+ Tss2_Sys_SequenceUpdate;
+ Tss2_Sys_SetAlgorithmSet_Prepare;
+ Tss2_Sys_SetAlgorithmSet_Complete;
+ Tss2_Sys_SetAlgorithmSet;
+ Tss2_Sys_SetCmdAuths;
+ Tss2_Sys_SetCommandCodeAuditStatus_Prepare;
+ Tss2_Sys_SetCommandCodeAuditStatus_Complete;
+ Tss2_Sys_SetCommandCodeAuditStatus;
+ Tss2_Sys_SetDecryptParam;
+ Tss2_Sys_SetEncryptParam;
+ Tss2_Sys_SetPrimaryPolicy_Prepare;
+ Tss2_Sys_SetPrimaryPolicy_Complete;
+ Tss2_Sys_SetPrimaryPolicy;
+ Tss2_Sys_Shutdown_Prepare;
+ Tss2_Sys_Shutdown_Complete;
+ Tss2_Sys_Shutdown;
+ Tss2_Sys_Sign_Prepare;
+ Tss2_Sys_Sign_Complete;
+ Tss2_Sys_Sign;
+ Tss2_Sys_StartAuthSession_Prepare;
+ Tss2_Sys_StartAuthSession_Complete;
+ Tss2_Sys_StartAuthSession;
+ Tss2_Sys_Startup_Prepare;
+ Tss2_Sys_Startup_Complete;
+ Tss2_Sys_Startup;
+ Tss2_Sys_StirRandom_Prepare;
+ Tss2_Sys_StirRandom_Complete;
+ Tss2_Sys_StirRandom;
+ Tss2_Sys_TestParms_Prepare;
+ Tss2_Sys_TestParms_Complete;
+ Tss2_Sys_TestParms;
+ Tss2_Sys_Unseal_Prepare;
+ Tss2_Sys_Unseal_Complete;
+ Tss2_Sys_Unseal;
+ Tss2_Sys_Vendor_TCG_Test_Prepare;
+ Tss2_Sys_Vendor_TCG_Test_Complete;
+ Tss2_Sys_Vendor_TCG_Test;
+ Tss2_Sys_VerifySignature_Prepare;
+ Tss2_Sys_VerifySignature_Complete;
+ Tss2_Sys_VerifySignature;
+ Tss2_Sys_ZGen_2Phase_Prepare;
+ Tss2_Sys_ZGen_2Phase_Complete;
+ Tss2_Sys_ZGen_2Phase;
+ local:
+ *;
+};