Skip to content

Releases: tpm2-software/tpm2-tss

2.1.0

01 Oct 20:58
Compare
Choose a tag to compare

Fixed

  • Fixed handling of the default TCTI
  • Changed logging to be ISO-C99 compatible
  • Fixed leak of dlopen handle
  • Fixed logging of a response header tag in Tss2_Sys_Execute
  • Fixed marshaling of TPM2B parameters in SAPI commands
  • Fixed unnecessary warning in Esys_Startup
  • Fixed warnings in doxygen documentation

Added

  • Added Esys_Free wrapper function for systems using different C runtime libraries
  • Added Windows TBS TCTI
  • Added non-blocking mode of operation in tcti-device
  • Added tests for Esys_HMAC and Esys_Hash
  • Enabled integration tests on physical TPM device
  • Added openssl libcrypto backend
  • Added Doxygen documentation to integration tests

Changed

  • Refactored SetDecryptParam
  • Enabled OpenSSL crypto backend by default

2.0.1

10 Aug 21:32
Compare
Choose a tag to compare

Fixed

  • Fixed problems with doxygan failing make distcheck
  • Fixed conversion of gcrypt mpi numbers to binary data
  • Fixed an error in parsing socket address in MSSIM TCTI
  • Fixed compilation error with --disable-tcti-mssim
  • Added initialization function for gcrypt to suppress warning
  • Fixed invalid type base type while marshaling TPMI_ECC_CURVE in Tss2_Sys_ECC_Parameters
  • Fixed invalid RSA encryption with exponent equal to 0
  • Fixed checking of return codes in ESAPI commands
  • Added checks for programs required by the test harness @ configure time
  • Fixed warning on TPM2_RC_INITIALIZE rc after a Startup in Esys_Startup
  • Checked for 1.2 TPM type response
  • Changed constants values in esys header file to unsigned

2.0.0

21 Jun 13:14
Compare
Choose a tag to compare

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).

1.4.0

03 Mar 01:27
Compare
Choose a tag to compare

Added

  • Attached Component commands from the last public review spec.

Fixed

  • Essential files missing from release tarballs are now included.
  • Version string generation has been moved from configure.ac to the
    bootstrap script. It is now stored in a file named VERSION that is
    shipped in the release tarball.
  • We've stopped shipping the built man page for InitSocketTcti.3 and now
    ship the source.

Version 1.3.0

08 Dec 17:12
Compare
Choose a tag to compare

Added

  • Implementation of the EncryptDecrypt2 command.
  • Coding standard documentation.
  • Support for latest TPM2 simulator v974 (only changes in test harness).
  • Check cmocka version for compatibility with 1.0 API.

Fixed

  • Definition of HMAC_SESSION_LAST and POLICY_SESSION_LAST.
  • Drop cast from TPM_ALG_XXX definitions
  • Use mock functions with built-in cast to avoid compiler warnings from
    manual cast.
  • Free memory correctly on error condition return paths in InitSysContext
    & SockServer.

Version 1.2.0

25 Aug 20:13
Compare
Choose a tag to compare
version 1.2.0