Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sapi header cleanup #29

Merged
merged 2 commits into from
Feb 18, 2016
Merged

Conversation

flihp
Copy link
Contributor

@flihp flihp commented Feb 18, 2016

Update tpm2.0-tools to account for latest changes in the TPM2.0-TSS headers. IMHO this is the "right way" to resolve issue #125 in the TPM2.0-TSS project.

Most of this is just updating paths. There are however two significant
changes:
* The loss of the tss2_sysapi_util.h header. This isn't part of the spec
  and is now no longer exported by TPM2.0-TSS. This means that we lose
  access to the TSS2_TCTI_DRIVER_INFO structure. This is a minor
  inconvenience as we were only mymicing a pattern used in the tests
  from the TSS repo. Instead we can use the init/finalize functions
  directly. Also we can no longer access the guts of the
  TSS2_TCTI_CONTEXT_INTEL structure to get access to the debug
  information.
* The addition of the changeEndian.(c|h) files. Previously we were
  consuming them from the sapi library but they never should have been
  exported. The symbols are still leaking there but the header is gone
  so we need to copy the implementation here.

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Philip Tricca <flihp@twobit.us>
@flihp flihp added the bug label Feb 18, 2016
gwei3 pushed a commit that referenced this pull request Feb 18, 2016
@gwei3 gwei3 merged commit e6c68b1 into tpm2-software:master Feb 18, 2016
@flihp flihp deleted the sapi_header_cleanup branch February 8, 2017 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants