diff options
author | Franklin Wei <me@fwei.tk> | 2018-05-28 14:41:23 -0400 |
---|---|---|
committer | Franklin Wei <me@fwei.tk> | 2018-05-28 14:41:23 -0400 |
commit | 0d615a7c97bceddcb295cad7c01c4927cc76d4a3 (patch) | |
tree | 07923ea8cf16b2d61a556222681f5c0d7886f15c /service_provider.c | |
download | csaa-0d615a7c97bceddcb295cad7c01c4927cc76d4a3.zip csaa-0d615a7c97bceddcb295cad7c01c4927cc76d4a3.tar.gz csaa-0d615a7c97bceddcb295cad7c01c4927cc76d4a3.tar.bz2 csaa-0d615a7c97bceddcb295cad7c01c4927cc76d4a3.tar.xz |
initial commit
Diffstat (limited to 'service_provider.c')
-rw-r--r-- | service_provider.c | 17 |
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; + + +}; |