diff options
author | Stefan Berger | 2020-01-21 16:29:30 +0100 |
---|---|---|
committer | David Gibson | 2020-02-02 04:07:57 +0100 |
commit | 3688d73b6e2b7b3fb71ed9fb6e38fd05d39de05b (patch) | |
tree | 450e09bcea258c48610a813c63150e52e90090d8 /hw/tpm/tpm_util.h | |
parent | ppc/pnv: Add support for "hostboot" mode (diff) | |
download | qemu-3688d73b6e2b7b3fb71ed9fb6e38fd05d39de05b.tar.gz qemu-3688d73b6e2b7b3fb71ed9fb6e38fd05d39de05b.tar.xz qemu-3688d73b6e2b7b3fb71ed9fb6e38fd05d39de05b.zip |
tpm: Move tpm_tis_show_buffer to tpm_util.c
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20200121152935.649898-2-stefanb@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/tpm/tpm_util.h')
-rw-r--r-- | hw/tpm/tpm_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/tpm/tpm_util.h b/hw/tpm/tpm_util.h index f397ac21b8..7889081fba 100644 --- a/hw/tpm/tpm_util.h +++ b/hw/tpm/tpm_util.h @@ -79,4 +79,7 @@ typedef struct TPMSizedBuffer { void tpm_sized_buffer_reset(TPMSizedBuffer *tsb); +void tpm_util_show_buffer(const unsigned char *buffer, + size_t buffer_size, const char *string); + #endif /* TPM_TPM_UTIL_H */ |