gitignore: ignore dist tarball
Add an ignore rule to ignore the generated dist tarball. Signed-off-by: William Roberts <william.c.roberts@intel.com>
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>
Use the tpm2_error interface instead, since it already has the same features. Signed-off-by: William Roberts <william.c.roberts@intel.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
[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>