Skip to content

2.0.0

Compare
Choose a tag to compare
@flihp flihp released this 21 Jun 13:14
· 1513 commits to master since this release

Added

  • Implementation of the Marshal/Unmarshal library (libtss2-mu)
  • Implementation of the Enhanced System API (libtss2-esys aka ESAPI)
  • New implemetation of the TPM Command Transmission Interface (TCTI) for:
    • communication with Linux TPM2 device driver: libtss2-tcti-device
    • communication with Microsoft software simulator: libtss2-tcti-mssim
  • New directory layout (API break)
  • Updated documentation with new doxygen and updated man pages
  • Support for Windows build with Visual Studio and clang, currently limited to libtss2-mu and libtss2-sys
  • Implementation of the new Attached Component (AC) commands
  • Implementation of the new TPM2_PolicyAuthorizeNV command
  • Implementation of the new TPM2_CreateLoaded command
  • Implementation of the new TPM2_PolicyTemplate command
  • Addition of _Complete functions to all TPM commands
  • New logging framework
  • Added const qualifiers to API input pointers (API break)
  • Cleaned up headers and remove implementation.h and tpm2.h (API break)

Changed

  • Converted all cpp files to c, removed dependency on C++ compiler.
  • Cleaned out a number of marshaling functions from the SAPI code.
  • Update Linux / Unix OS detection to use non-obsolete macros.
  • Changed TCTI macros to CamelCase (API break)
  • Changed TPMA_types to unsigned int with defines instead of bitfield structs (API/ABI break)
  • Changed Get/SetCmd/RspAuths to new parameter types (API/ABI break)
  • Fixed order of parameters in AC commands: Input command authorizations now come after the input handles, but still before the command parameters.

Removed

  • Removed all sysapi/sysapi_utils/arshal_TPM.c files

Fixed

  • Updated invalid number of handles in TPM2_PolicyNvWritten and TPM2_TestParms
  • Updated PlatformCommand function from libtss2-tcti-mssim to no longer send CANCEL_OFF before every command.
  • Expanded TPM2B macros and removed TPM2B_TYPE1 and TPM2B_TYPE2 macros
  • Fixed wrong return type for Tss2_Sys_Finalize (API break).