tpm-tests.h 739 B

1234567891011121314151617181920212223242526
  1. /*
  2. * QTest TPM commont test code
  3. *
  4. * Copyright (c) 2018 IBM Corporation
  5. *
  6. * Authors:
  7. * Stefan Berger <stefanb@linux.vnet.ibm.com>
  8. *
  9. * This work is licensed under the terms of the GNU GPL, version 2 or later.
  10. * See the COPYING file in the top-level directory.
  11. */
  12. #ifndef TESTS_TPM_TESTS_H
  13. #define TESTS_TPM_TESTS_H
  14. #include "tpm-util.h"
  15. void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx,
  16. const char *ifmodel);
  17. void tpm_test_swtpm_migration_test(const char *src_tpm_path,
  18. const char *dst_tpm_path,
  19. const char *uri, tx_func *tx,
  20. const char *ifmodel);
  21. #endif /* TESTS_TPM_TESTS_H */