Skip to content

Commit

Permalink
Merge pull request #146 from keystone-enclave/improved_enclave_lifecycle
Browse files Browse the repository at this point in the history
Improved enclave lifecycle
  • Loading branch information
dayeol committed Feb 25, 2020
2 parents 8f5fa40 + 776346e commit 65073d3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/source/Security-Monitor/enclave_lifecycle.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
digraph G {
node [color=gray]
Invalid -> Allocated [color=blue,label="allocate_eid\n(create_enclave)"];
node [color=orange]
Allocated -> Fresh [color=orange,label="create_enclave\nafter\nvalidate and hash"];
node [color=red]
Allocated -> Destroying [color=red,label="destory_enclave\n(first step)"];
node [color=green]
Fresh -> Running [color=green,label="run_enclave"];
Fresh -> Destroying [color=red,label="destory_enclave\n(first step)"];
Running -> Stopped [color=yellow1,label="exit/stop_enclave"];
Stopped -> Running [color=green,label="resume_enclave"];
Stopped -> Destroying [color=red,label="destory_enclave\n(first step)"];
Destroying -> Invalid [color=gray,label="free_eid\n(destory_enclave\nlast step)"];
}
5 changes: 5 additions & 0 deletions docs/source/Security-Monitor/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,8 @@ Side-Channel Defense
-------------------------------------

The :doc:`FU540<FU540>` module supports cache side-channel defenses.

Current Enclave Lifecycle
-------------------------------------

.. graphviz:: enclave_lifecycle.dot
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sys, os

sys.path.append(os.path.abspath('sphinxext'))

extensions = ['sphinx.ext.graphviz']

# -- Project information -----------------------------------------------------

Expand Down

0 comments on commit 65073d3

Please sign in to comment.