diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2018-05-30 13:44:41 -0400 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2018-06-06 15:44:12 -0400 |
commit | 70663851ed4242435676c0bc288efbc1bc4ccf87 (patch) | |
tree | 086c916e75bfdc13f9ae08764b8d98176b2ba42f /tests/tpm-util.h | |
parent | ea71a3369164685d4daeeeac9dfe85a64eeeb877 (diff) |
test: Add swtpm migration test for the TPM TIS interface
Add a test case for testing swtpm migration with the TPM TIS
interface.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'tests/tpm-util.h')
-rw-r--r-- | tests/tpm-util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tpm-util.h b/tests/tpm-util.h index bb128360dd..330b9657fe 100644 --- a/tests/tpm-util.h +++ b/tests/tpm-util.h @@ -23,6 +23,9 @@ typedef void (tx_func)(QTestState *s, void tpm_util_crb_transfer(QTestState *s, const unsigned char *req, size_t req_size, unsigned char *rsp, size_t rsp_size); +void tpm_util_tis_transfer(QTestState *s, + const unsigned char *req, size_t req_size, + unsigned char *rsp, size_t rsp_size); void tpm_util_startup(QTestState *s, tx_func *tx); void tpm_util_pcrextend(QTestState *s, tx_func *tx); |