Commits on Feb 10, 2018

  1. tpm2_import: 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 10, 2018
    Copy the full SHA
    fc8618e View commit details
    Browse the repository at this point in the history
  2. tpm2_listpersistent: 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 10, 2018
    Copy the full SHA
    a8ec5f6 View commit details
    Browse the repository at this point in the history
  3. tpm2_load: 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 10, 2018
    Copy the full SHA
    cf3dae6 View commit details
    Browse the repository at this point in the history
  4. tpm2_loadexternal: 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 10, 2018
    Copy the full SHA
    3638b1f View commit details
    Browse the repository at this point in the history
  5. tpm2_makecredential: 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 10, 2018
    Copy the full SHA
    884f609 View commit details
    Browse the repository at this point in the history
  6. tpm2_nvdefine: 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 10, 2018
    Copy the full SHA
    7190b7c View commit details
    Browse the repository at this point in the history
  7. tpm2_nvlist: 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 10, 2018
    Copy the full SHA
    b384b1a View commit details
    Browse the repository at this point in the history
  8. tpm2_nvread: 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 10, 2018
    Copy the full SHA
    edf5b63 View commit details
    Browse the repository at this point in the history
  9. tpm2_nvreadlock: 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 10, 2018
    Copy the full SHA
    e5662e7 View commit details
    Browse the repository at this point in the history
  10. tpm2_nvrelease: 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 10, 2018
    Copy the full SHA
    8d94858 View commit details
    Browse the repository at this point in the history
  11. tpm2_nvwrite: 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 10, 2018
    Copy the full SHA
    7a0cc16 View commit details
    Browse the repository at this point in the history
  12. tpm2_pcrevent: 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 10, 2018
    Copy the full SHA
    c8c27e0 View commit details
    Browse the repository at this point in the history
  13. tpm2_pcrextend: 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 10, 2018
    Copy the full SHA
    dbb85af View commit details
    Browse the repository at this point in the history
  14. tpm2_pcrlist: 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 10, 2018
    Copy the full SHA
    9feafc5 View commit details
    Browse the repository at this point in the history
  15. tpm2_quote: 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 10, 2018
    Copy the full SHA
    688e895 View commit details
    Browse the repository at this point in the history
  16. tpm2_readpublic: 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 10, 2018
    Copy the full SHA
    b38af37 View commit details
    Browse the repository at this point in the history
  17. tpm2_rsaencrypt: 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 10, 2018
    Copy the full SHA
    81694a3 View commit details
    Browse the repository at this point in the history
  18. tpm2_send: 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 10, 2018
    Copy the full SHA
    9ed4491 View commit details
    Browse the repository at this point in the history
  19. tpm2_sign: 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 10, 2018
    Copy the full SHA
    bb5c076 View commit details
    Browse the repository at this point in the history
  20. tpm2_startup: 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 10, 2018
    Copy the full SHA
    bb51337 View commit details
    Browse the repository at this point in the history
  21. tpm2_tool: 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 10, 2018
    Copy the full SHA
    bc0175d View commit details
    Browse the repository at this point in the history
  22. tpm2_unseal: 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 10, 2018
    Copy the full SHA
    18966b0 View commit details
    Browse the repository at this point in the history
  23. tpm2_verifysignature: 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 10, 2018
    Copy the full SHA
    451b963 View commit details
    Browse the repository at this point in the history
  24. lib/files: 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 10, 2018
    Copy the full SHA
    27b303b View commit details
    Browse the repository at this point in the history
  25. lib/pcr: remove dead code

    get_max_supported_pcrs() was unused and untested, remove.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    6456d39 View commit details
    Browse the repository at this point in the history
  26. lib/hash: drop dead code

    tpm_hash_sequence was unused, remove it.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    c69f552 View commit details
    Browse the repository at this point in the history
  27. lib/hash: update error codes

    Update the error messages, and bring message handing into the
    lib hash routines. Thus, ubdate the return to bool and fixup
    the call sights to reflect this.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    cdffeb6 View commit details
    Browse the repository at this point in the history
  28. lib/hash: update names to coding standard

    lib files should be tpm2_<function>, so update tpm_hash
    to tpm2_hash and update external functions to have the
    tpm2_ prefix.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    48b9c18 View commit details
    Browse the repository at this point in the history
  29. tpm_hmac: remove dead code

    tpm_hmac was unused, delete it.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    5202870 View commit details
    Browse the repository at this point in the history
  30. tpm2_nv_util: add proper error code support

    Update the utility header to have proper error string
    support from failed TPM commands.
    
    Also,
    Wrap them in retry macros, add doxygen comments
    and update the interface to return bool.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    11e46ab View commit details
    Browse the repository at this point in the history
  31. lib/tpm2_policy: update error handling output

    Update the TPM calls to use the new tpm error string
    library.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    77848b7 View commit details
    Browse the repository at this point in the history
  32. lib/tpm2_session: update error handling output

    Add error string decoding output to failed TPM
    commands.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    f5ae785 View commit details
    Browse the repository at this point in the history
  33. tpm2_encryptdecrypt: remove unused header file

    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    8de573f View commit details
    Browse the repository at this point in the history
  34. tpm2_rc_decode: update to new error library

    Remove all of the unit tests and support code for the old
    rc decoding library and use the new error strings as output.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    01fe086 View commit details
    Browse the repository at this point in the history
  35. lib: remove future test

    This accidentally slipped through code review and should
    have never been commited.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    f503ddc View commit details
    Browse the repository at this point in the history
  36. tests: add aux directory to PATH for tests

    tools, like tpm2_rc_decode will live in aux, thus for testing,
    aux needs to be on PATH.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    5c4935a View commit details
    Browse the repository at this point in the history
  37. tpm2_rc_decode: move to aux directory

    Since tpm2_rc_decode doesn't actually talk with the TPM,
    move it to the aux directory.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    0d6aa27 View commit details
    Browse the repository at this point in the history
  38. travis: add aux to path for tests

    The travis scrit uses a variant directory for builds,
    and thus needs PATH set to point to both the tools and
    aux directories. It was missing the aux directory, which
    broke the travis build when tpm2_rc_decode was moved.
    
    Correct this by adding aux to path.
    
    Signed-off-by: William Roberts <william.c.roberts@intel.com>
    williamcroberts committed Feb 10, 2018
    Copy the full SHA
    0a14be2 View commit details
    Browse the repository at this point in the history