diff options
author | Philip Tricca <philip.b.tricca@intel.com> | 2017-12-06 14:23:52 -0800 |
---|---|---|
committer | Tadeusz Struk <tadeusz.struk@intel.com> | 2018-01-08 10:24:58 -0800 |
commit | 6d4ae3efa892fa2e4c4e64469b046492986a286f (patch) | |
tree | f335a49cfab293fa6e5aea4407a5d2f94e960244 /include | |
parent | 58b34e8f3b1e6a6dd0afc99c79f8fe45d68f5eee (diff) | |
download | tpm2-tss-6d4ae3efa892fa2e4c4e64469b046492986a286f.tar.gz |
tcti-device: Implement common Info and Init function.
These are implementations of the common discovery / initialization
mechanisms. Using dlopen, dlsym and the types / structures / constants
from the tss2_tcti.h header this allows for the device TCTI to be
initialized and configured dynamically.
Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tcti/tcti_device.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tcti/tcti_device.h b/include/tcti/tcti_device.h index 97d57b0e..d280aa41 100644 --- a/include/tcti/tcti_device.h +++ b/include/tcti/tcti_device.h @@ -45,6 +45,12 @@ TSS2_RC InitDeviceTcti ( const TCTI_DEVICE_CONF *config // IN ); +TSS2_RC Tss2_Tcti_Device_Init ( + TSS2_TCTI_CONTEXT *tctiContext, + size_t *size, + const char *conf + ); + #ifdef __cplusplus } #endif |