summaryrefslogtreecommitdiff
path: root/include/tpm-v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tpm-v2.h')
-rw-r--r--include/tpm-v2.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/tpm-v2.h b/include/tpm-v2.h
index a9c604dd52..29422ee11b 100644
--- a/include/tpm-v2.h
+++ b/include/tpm-v2.h
@@ -134,4 +134,13 @@ enum tpm2_algorithms {
*/
u32 tpm2_startup(enum tpm2_startup_types mode);
+/**
+ * Issue a TPM2_SelfTest command.
+ *
+ * @full_test Asking to perform all tests or only the untested ones
+ *
+ * @return code of the operation
+ */
+u32 tpm2_self_test(enum tpm2_yes_no full_test);
+
#endif /* __TPM_V2_H */