aboutsummaryrefslogtreecommitdiff
path: root/service_provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'service_provider.c')
-rw-r--r--service_provider.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/service_provider.c b/service_provider.c
new file mode 100644
index 0000000..420d526
--- /dev/null
+++ b/service_provider.c
@@ -0,0 +1,17 @@
+/* implementation of a basic service provider for use with the trusted
+ * module */
+
+#include "service_provider.h"
+#include "trusted_module.h"
+#include "crypto.h"
+
+struct iomt_node {
+ int idx, next_idx; /* idx cannot be zero */
+ hash_t value; /* all zero indicates placeholder */
+};
+
+struct service_provider {
+ struct trusted_module *tm;
+
+
+};