summary refs log tree commit diff stats
path: root/tests/qtest/tpm-util.h
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2023-03-31 13:30:50 -0400
committerStefan Berger <stefanb@linux.ibm.com>2023-04-20 08:17:15 -0400
commitea5e73b6f52179416cdee9db18bec36fc00cf280 (patch)
tree57cecfe21a1a9566f0bb774695924e46446e2f88 /tests/qtest/tpm-util.h
parentf0de635677f264f79c8f85389e6203e32c423351 (diff)
downloadfocaccia-qemu-ea5e73b6f52179416cdee9db18bec36fc00cf280.tar.gz
focaccia-qemu-ea5e73b6f52179416cdee9db18bec36fc00cf280.zip
qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it
To be able to remove tpm_tis_base_addr from test cases that do not really
need it move the tpm_util_tis_transmit() function into tpm-tis-utils.c and
rename it to tpm_tis_transmit().

Fix a locality parameter in a test case on the way.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Ninad Palsule <ninad@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20230331173051.3857801-3-stefanb@linux.ibm.com
Diffstat (limited to '')
-rw-r--r--tests/qtest/tpm-util.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/qtest/tpm-util.h b/tests/qtest/tpm-util.h
index 80720afac0..0cb28dd6e5 100644
--- a/tests/qtest/tpm-util.h
+++ b/tests/qtest/tpm-util.h
@@ -27,9 +27,6 @@ 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);