aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-17 20:41:14 +0000
committerFranklin Wei <me@fwei.tk>2018-07-17 20:41:14 +0000
commit86a17a23b849ddedbb37c8030020c5aeee83ee1d (patch)
treebd6f6684d5c18625e6130e135ef7411ff9b9c6af
parentccc71dcb739f6b04740e251cd762ce1628862ae8 (diff)
downloadcsaa-86a17a23b849ddedbb37c8030020c5aeee83ee1d.zip
csaa-86a17a23b849ddedbb37c8030020c5aeee83ee1d.tar.gz
csaa-86a17a23b849ddedbb37c8030020c5aeee83ee1d.tar.bz2
csaa-86a17a23b849ddedbb37c8030020c5aeee83ee1d.tar.xz
Add dot diagram
-rw-r--r--diagram.dot56
1 files changed, 56 insertions, 0 deletions
diff --git a/diagram.dot b/diagram.dot
new file mode 100644
index 0000000..85d9085
--- /dev/null
+++ b/diagram.dot
@@ -0,0 +1,56 @@
+digraph {
+concentrate=true;
+overlap=scale;
+splines=true;
+
+subgraph cluster_iomt {
+root [label=<&xi;>];
+
+node [shape = plaintext];
+
+node1 [label=< <table border="0" cellborder="1" cellspacing="0"> <tr> <td port="idx">IDX<sub>1</sub> </td> <td> CTR<sub>1</sub> </td> <td port="nextidx"> NEXT_IDX </td> </tr> </table> >];
+node2 [label=< <table border="0" cellborder="1" cellspacing="0"> <tr> <td port="idx">IDX<sub>2</sub> </td> <td> CTR<sub>2</sub> </td> <td port="nextidx"> NEXT_IDX </td> </tr> </table> >];
+noden [label=< <table border="0" cellborder="1" cellspacing="0"> <tr> <td port="idx">IDX<sub>n</sub> </td> <td> CTR<sub>n</sub> </td> <td port="nextidx"> NEXT_IDX </td> </tr> </table> >];
+
+root -> { node1, node2, noden };
+
+subgraph {
+rank=same;
+node1:nextidx -> node2:idx;
+node2:nextidx -> noden:idx;
+noden:nextidx -> node1:idx;
+}
+
+label="Main IOMT";
+}
+
+subgraph cluster_filerecords {
+node [shape = plaintext];
+
+table1 [
+label=<<table border="0" cellborder="1" cellspacing="0">
+<tr> <td>Index</td> <td>Counter</td> <td>Version</td> <td>FR Certificate</td> <td>Certificate HMAC</td> <td>ACL root</td> </tr>
+<tr> <td port="idx1">IDX<sub>1</sub></td> <td port="ctr1">CTR<sub>1</sub></td> <td>VER<sub>1</sub></td> <td>FRCert<sub>1</sub></td> <td>HMAC(FRCert<sub>1</sub>, &chi;)</td> <td>&alpha;<sub>1</sub></td></tr>
+<tr> <td port="idx2">IDX<sub>2</sub></td> <td port="ctr2">CTR<sub>2</sub></td> <td>VER<sub>2</sub></td> <td>FRCert<sub>2</sub></td> <td>HMAC(FRCert<sub>2</sub>, &chi;)</td> <td>&alpha;<sub>2</sub></td></tr>
+</table>>];
+
+label="FileRecords";
+}
+
+subgraph cluster_module {
+moduleroot [label=<IOMT root<br />&xi;>];
+modulesecret [label=<Module secret<br />&chi;>];
+userkeys[label=<Shared secrets<br /> &kappa;<sub>1</sub> ... &kappa;<sub>n</sub>>];
+
+label=<Trusted module <b>T</b>>;
+};
+
+/*
+node1:idx -> table1:idx1 [ ltail=cluster_iomt, lhead=cluster_filerecords ];
+
+node2:idx -> table1:idx2 [ ltail=cluster_iomt, lhead=cluster_filerecords ];
+
+root -> moduleroot [ltail=cluster_iomt, lhead=cluster_module];
+*/
+
+} \ No newline at end of file