2018-05-30 18:30:26 +02:00
|
|
|
/*
|
|
|
|
* QTest TPM commont test code
|
|
|
|
*
|
|
|
|
* Copyright (c) 2018 IBM Corporation
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Stefan Berger <stefanb@linux.vnet.ibm.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
|
|
* See the COPYING file in the top-level directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TESTS_TPM_TESTS_H
|
|
|
|
#define TESTS_TPM_TESTS_H
|
|
|
|
|
|
|
|
#include "tpm-util.h"
|
|
|
|
|
2018-05-30 20:31:12 +02:00
|
|
|
void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx,
|
2020-03-05 17:51:47 +01:00
|
|
|
const char *ifmodel, const char *machine_options);
|
2018-05-30 18:30:26 +02:00
|
|
|
|
|
|
|
void tpm_test_swtpm_migration_test(const char *src_tpm_path,
|
|
|
|
const char *dst_tpm_path,
|
2018-05-30 20:31:12 +02:00
|
|
|
const char *uri, tx_func *tx,
|
2020-03-05 17:51:47 +01:00
|
|
|
const char *ifmodel,
|
|
|
|
const char *machine_options);
|
2018-05-30 18:30:26 +02:00
|
|
|
|
|
|
|
#endif /* TESTS_TPM_TESTS_H */
|