How secertcrypto/dynamic-secure-graph works
Graphiti is a C++ secure graph-computation protocol. Its documented user-facing workload is multi-party message passing; the repository also includes GraphSC evaluation, graph-oriented circuit workloads, shuffle functionality, and cryptographic backends. The source excerpts show online gate evaluation using circuit definitions and network communication, and Spiral client operations using polynomial routines. Several documented capabilities lack their runtime entry points in the supplied tree, so those branches are shown without inferred call chains; dashed links mark unverified integration.
Main entry points: online_evaluator_load_balanced.cpp Online Evaluator · client.cpp Spiral Client · backend.h SFSS Backend · preproc.h Preprocessing
Components 19
Graph Workloads
- Message Passing
src - Darkpool
src/utils/darkpool.h - Liquidity Matching
src/utils/liquidity_matching.h - Neural Network
src/utils/neural_network.h - Scatter Workload
src/utils/scatter.h
GraphSC Protocol
- Offline Evaluator
src/graphsc/offline_evaluator.cpp - Online Evaluator
src/graphsc/online_evaluator_load_balanced.cpp - Circuit Engine
src/utils/circuit.h - Additive Sharing
src/graphsc/sharing.h - Preprocessing
src/graphsc/preproc.h - Random Pool
src/graphsc/rand_gen_pool.h
Cryptographic Backends
- DPF
src/sfssgen/dpf.cpp - SFSS Backend
src/sfssgen/backend.h - LWR Key PRF
src/sfssgen/lwr_khprf.h - Spiral Client
src/spiral/src/client.cpp - Polynomial Operations
src/spiral/src/poly.cpp - Spiral Core
src/spiral/src/core.cpp
Protocol Support
- Party Network
src/io/netmp.h
Other components
- Protocol Participant
Connections 15
- Protocol Participant → Message Passing: runs workload
README.md - Protocol Participant → Darkpool: uses workload
- Protocol Participant → Liquidity Matching: uses workload
- Protocol Participant → Neural Network: uses workload
- Protocol Participant → Scatter Workload: uses workload
- Online Evaluator → Circuit Engine: evaluates gates
src/graphsc/online_evaluator_load_balanced.cpp - Online Evaluator → Party Network: sends data
src/graphsc/online_evaluator_load_balanced.cpp - Online Evaluator → Preprocessing: uses preprocessing
- Online Evaluator → Random Pool: uses randomness
- Online Evaluator → Additive Sharing: uses shares
- Offline Evaluator → Preprocessing: prepares data
- DPF → SFSS Backend: uses backend
- SFSS Backend → LWR Key PRF: uses PRF
src/sfssgen/backend.h - Spiral Client → Polynomial Operations: uses operations
src/spiral/src/client.cpp - Spiral Client → Spiral Core: uses primitives