libtpmtss: Support for TSS2 v2 libraries

This commit is contained in:
Andreas Steffen
2018-07-19 12:40:42 +02:00
parent 75214fabd8
commit e74e920bbc
12 changed files with 1323 additions and 29 deletions
+11 -3
View File
@@ -27,12 +27,20 @@
/**
* Described in header.
*/
void libtpmtss_init(void)
bool libtpmtss_init(void)
{
/* empty */
return tpm_tss_tss2_init();
}
typedef tpm_tss_t*(*tpm_tss_create)();
/**
* Described in header.
*/
void libtpmtss_deinit(void)
{
tpm_tss_tss2_deinit();
}
typedef tpm_tss_t*(*tpm_tss_create)(void);
/**
* See header.