Checkpoint the party/runtime stack before share-program and malicious-mode work.
Ship the TLS mesh, composer, Beaver/Yao/leaf MPC, prep/online paths, apps, and docs so the tree is pushable before elevating share_expr, security_mode, and prep resume. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
695f8e84f7
commit
0d22946a0e
1835 changed files with 170291 additions and 2849 deletions
28
include/dpf/net/mesh_rendezvous.hpp
Normal file
28
include/dpf/net/mesh_rendezvous.hpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/// @file dpf/net/mesh_rendezvous.hpp
|
||||
/// @brief Shared in-process port table for party clique joins.
|
||||
#ifndef LIBDPF_INCLUDE_DPF_NET_MESH_RENDEZVOUS_HPP__
|
||||
#define LIBDPF_INCLUDE_DPF_NET_MESH_RENDEZVOUS_HPP__
|
||||
|
||||
#include <atomic>
|
||||
#include <vector>
|
||||
|
||||
namespace dpf
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
|
||||
/// @brief Shared port table: `ports[i]` is party `i`'s listen port (0 until bound).
|
||||
using mesh_ports = std::vector<std::atomic<unsigned short>>;
|
||||
|
||||
inline mesh_ports make_mesh_ports(unsigned n)
|
||||
{
|
||||
mesh_ports ports(n);
|
||||
for (auto & p : ports)
|
||||
p.store(0);
|
||||
return ports;
|
||||
}
|
||||
|
||||
} // namespace net
|
||||
} // namespace dpf
|
||||
|
||||
#endif // LIBDPF_INCLUDE_DPF_NET_MESH_RENDEZVOUS_HPP__
|
||||
Loading…
Add table
Add a link
Reference in a new issue