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
32
include/dpf/iknp_graphs.hpp
Normal file
32
include/dpf/iknp_graphs.hpp
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/// @file dpf/iknp_graphs.hpp
|
||||
/// @brief IKNP setup as `schedule_round` lists (pulls Asio; keep out of app_plans).
|
||||
#ifndef LIBDPF_INCLUDE_DPF_IKNP_GRAPHS_HPP__
|
||||
#define LIBDPF_INCLUDE_DPF_IKNP_GRAPHS_HPP__
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "dpf/iknp.hpp"
|
||||
#include "dpf/pad_graphs.hpp"
|
||||
#include "dpf/protocol.hpp"
|
||||
|
||||
namespace dpf
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
|
||||
/// @brief IKNP `sample` wire frames as schedule rounds (count from setup_rounds).
|
||||
inline std::vector<schedule_round> iknp_setup_graph(std::size_t nblock,
|
||||
std::size_t nbit, std::size_t nb2a, std::size_t ncw,
|
||||
const std::shared_ptr<std::vector<std::uint8_t>> & tape)
|
||||
{
|
||||
return make_pad_rounds(iknp::setup_rounds(nblock, nbit, nb2a, ncw), 16, tape,
|
||||
edge_channel::peer);
|
||||
}
|
||||
|
||||
} // namespace protocol
|
||||
} // namespace dpf
|
||||
|
||||
#endif // LIBDPF_INCLUDE_DPF_IKNP_GRAPHS_HPP__
|
||||
Loading…
Add table
Add a link
Reference in a new issue