diff options
| author | Stefan Berger <stefanb@linux.ibm.com> | 2023-03-31 13:30:50 -0400 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2023-04-20 11:25:32 +0200 |
| commit | f8d64616932805c5a5efea1a6a5bfee630d0096b (patch) | |
| tree | bcb3cfd9d46e8ba282e9164d8fc44f6a1b92a240 /tests/qtest/tpm-util.h | |
| parent | a3ebb580a21c89d22ac5f52bd70814c997f28893 (diff) | |
| download | focaccia-qemu-f8d64616932805c5a5efea1a6a5bfee630d0096b.tar.gz focaccia-qemu-f8d64616932805c5a5efea1a6a5bfee630d0096b.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> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to '')
| -rw-r--r-- | tests/qtest/tpm-util.h | 3 |
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); |