aboutsummaryrefslogtreecommitdiff
path: root/trusted_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'trusted_module.h')
-rw-r--r--trusted_module.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/trusted_module.h b/trusted_module.h
new file mode 100644
index 0000000..b99246a
--- /dev/null
+++ b/trusted_module.h
@@ -0,0 +1,10 @@
+/* interface to the trusted module */
+
+#include <stddef.h>
+
+struct trusted_module;
+
+/* dynamically allocated */
+struct trusted_module *tm_new(const char *key, size_t keylen);
+void tm_free(struct trusted_module *tm);
+void tm_test(void);