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

Function create_enclave

operators.py:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected