Commits on Feb 8, 2018

  1. gitignore: ignore dist tarball

    Add an ignore rule to ignore the generated dist tarball.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    94622fd View commit details
    Browse the repository at this point in the history
  2. liberror: introduce a new error decoding library

    Introduce an error decoding interface similair to C's
    strerror(3).
    
    Add unit tests.
    
    The tools will be consuming this for the 4.0 release under
    ticket #769:
      - #769
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    3a218c1 View commit details
    Browse the repository at this point in the history
  3. log: add LOG_PERR macro

    Add a macro that prints an error message from Tss2_Sys calls.
    The PERR name is a nod to C's perror routine, although
    this macro takes the function that caused the error and the
    return value.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    7d85b4d View commit details
    Browse the repository at this point in the history
  4. lib: drop error macros

    Use the tpm2_error interface instead, since it
    already has the same features.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    91e5b2c View commit details
    Browse the repository at this point in the history
  5. tpm2_activatecredential: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    3a02897 View commit details
    Browse the repository at this point in the history
  6. tpm2_certify: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    40faf54 View commit details
    Browse the repository at this point in the history
  7. tpm2_changeauth: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    19ab8ec View commit details
    Browse the repository at this point in the history
  8. tpm2_clear: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    00dbf8a View commit details
    Browse the repository at this point in the history
  9. tpm2_clearlock: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    0ea4dcf View commit details
    Browse the repository at this point in the history
  10. tpm2_create: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    c70f9dd View commit details
    Browse the repository at this point in the history
  11. tpm2_createprimary: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    ab71163 View commit details
    Browse the repository at this point in the history
  12. tpm2_dictionarylockout: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    d3b048c View commit details
    Browse the repository at this point in the history
  13. tpm2_encryptdecrypt: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    efeddfe View commit details
    Browse the repository at this point in the history
  14. tpm2_evictcontrol: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    f0a1755 View commit details
    Browse the repository at this point in the history
  15. tpm2_flushcontext: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    f9b6c86 View commit details
    Browse the repository at this point in the history
  16. tpm2_getcap: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    abdd26d View commit details
    Browse the repository at this point in the history
  17. tpm2_getmanufec: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    771c1a5 View commit details
    Browse the repository at this point in the history
  18. tpm2_getpubak: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    9538e51 View commit details
    Browse the repository at this point in the history
  19. tpm2_getpubek: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    eb3e71a View commit details
    Browse the repository at this point in the history
  20. tpm2_getrandom: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    1d571f4 View commit details
    Browse the repository at this point in the history
  21. tpm2_hmac: update error output

    Update the tool to use the tpm2_error interfaces to
    print nice, human readable errors.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    33ef154 View commit details
    Browse the repository at this point in the history
  22. [REVERTME] tests: disable extended-sessions

    An issue in abrmd appears to have broken extended sessions.
    We still wish to run the tests, but report them as passing
    until the bug can be root-caused and corrected.
    
    See:
    tpm2-software/tpm2-abrmd#317
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 8, 2018
    Copy the full SHA
    3b3e42c View commit details
    Browse the repository at this point in the history