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
|
|
@ -18,7 +18,13 @@ auto recon(const A & a, const B & b)
|
|||
&& dpf::is_secret_share_v<std::decay_t<B>>)
|
||||
return dpf::reconstruct(a, b);
|
||||
else
|
||||
return a - b;
|
||||
{
|
||||
using T = std::common_type_t<std::decay_t<A>, std::decay_t<B>>;
|
||||
if constexpr (std::is_integral_v<T> && std::is_unsigned_v<T>)
|
||||
return static_cast<T>(a - b);
|
||||
else
|
||||
return a - b;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
@ -711,6 +717,13 @@ using Types = testing::Types
|
|||
test_type<uint16_t, dpf::bitstring<150>>,
|
||||
test_type<uint16_t, dpf::xor_wrapper<int64_t>>,
|
||||
test_type<uint16_t, dpf::xor_wrapper<uint64_t>>,
|
||||
test_type<uint16_t, dpf::gf2>,
|
||||
test_type<uint16_t, dpf::gf22>,
|
||||
test_type<uint16_t, dpf::gf24>,
|
||||
test_type<uint16_t, dpf::gf28>,
|
||||
test_type<uint16_t, dpf::gf216>,
|
||||
test_type<uint16_t, dpf::gf232>,
|
||||
test_type<uint16_t, dpf::gf264>,
|
||||
|
||||
// custom types
|
||||
test_type<custom_input_type, uint64_t>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue