printtss.h File Reference

TPM log error prints. More...

#include <tss2/TPM_Types.h>
#include <tss2/tss.h>

Functions

void print_tpm2_response_code (char const *operation, TPM_RC rc)
 Print TPM 2.0 response code as human readable message. More...
 

Detailed Description

TPM log error prints.

Function Documentation

◆ print_tpm2_response_code()

void print_tpm2_response_code ( char const *  operation,
TPM_RC  rc 
)

Print TPM 2.0 response code as human readable message.

Parameters
[in]operationThe operation that returned the code
[in]rcThe response code