The existing prototype (https://github.com/flihp/tpm2-tss/tree/libtss2-tctildr) uses a very simple default TCTI selection logic: if no 'name' is provided it tries to load libtss2-tcti-default.so.0. To get it to load some other TCTI the name must be provided, in which case it will try to load a library with name first, an then libtss2-tcti-name.so.0 if name alone fails.
My initial plan was to merge the code in this state as a way to get the process started. Unfortunately there is significant duplication with the code in the esys_tcti_default module. Given the overlap in functionality and the eventual need to deconflict the defalt TCTI selection logic the current tctildr branch must be updated to use the existing code from the esys_tcti_default module including the default TCTI selection logic.
The existing prototype (https://github.com/flihp/tpm2-tss/tree/libtss2-tctildr) uses a very simple default TCTI selection logic: if no 'name' is provided it tries to load
libtss2-tcti-default.so.0
. To get it to load some other TCTI the name must be provided, in which case it will try to load a library withname
first, an thenlibtss2-tcti-name.so.0
ifname
alone fails.My initial plan was to merge the code in this state as a way to get the process started. Unfortunately there is significant duplication with the code in the
esys_tcti_default
module. Given the overlap in functionality and the eventual need to deconflict the defalt TCTI selection logic the currenttctildr
branch must be updated to use the existing code from theesys_tcti_default
module including the default TCTI selection logic.