MCPcopy Create free account
hub / github.com/conflow-dev/ConFlow / create_enclave

Function create_enclave

model_demo/DeepCrossing/operators.py:83–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def create_enclave():
84 sgx_lib = cdll.LoadLibrary(os.path.join(new_path + "/sgx_tf_ops/", "sgx.so"))
85 sgx_lib.initialize_enclave.restype = c_ulong
86 global eid
87 eid = sgx_lib.initialize_enclave()
88 return eid,times
89
90def destroy():
91 global eid

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected