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:
Ryan Henry 2026-09-28 05:59:19 -06:00
parent 695f8e84f7
commit 0d22946a0e
1835 changed files with 170291 additions and 2849 deletions

View file

@ -164,6 +164,7 @@ inline simde__m256i mul_low_nibbles(simde__m256i a, simde__m256i b) noexcept
} // namespace detail
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
template <typename NodeT>
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
@ -175,6 +176,7 @@ NodeT add_mod2(const NodeT & a, const NodeT & b) noexcept
});
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
template <typename NodeT>
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
@ -186,6 +188,7 @@ NodeT sub_mod2(const NodeT & a, const NodeT & b) noexcept
});
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
template <typename NodeT>
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
@ -198,6 +201,7 @@ NodeT mul_mod2(const NodeT & a, dpf::twobit k) noexcept
});
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
template <typename NodeT>
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
@ -209,6 +213,7 @@ NodeT mullo_mod2(const NodeT & a, const NodeT & b) noexcept
});
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
template <typename NodeT>
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
@ -220,6 +225,7 @@ NodeT add_mod4(const NodeT & a, const NodeT & b) noexcept
});
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
template <typename NodeT>
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
@ -231,6 +237,7 @@ NodeT sub_mod4(const NodeT & a, const NodeT & b) noexcept
});
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
template <typename NodeT>
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
@ -243,6 +250,7 @@ NodeT mul_mod4(const NodeT & a, dpf::nyble k) noexcept
});
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
template <typename NodeT>
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
@ -254,6 +262,7 @@ NodeT mullo_mod4(const NodeT & a, const NodeT & b) noexcept
});
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -270,6 +279,7 @@ simde__m128i add_epi2(simde__m128i a, simde__m128i b) noexcept
return simde_mm_or_si128(bit0, simde_mm_slli_epi16(bit1, 1));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -286,6 +296,7 @@ simde__m256i add_epi2(simde__m256i a, simde__m256i b) noexcept
return simde_mm256_or_si256(bit0, simde_mm256_slli_epi16(bit1, 1));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -302,6 +313,7 @@ simde__m128i sub_epi2(simde__m128i a, simde__m128i b) noexcept
return simde_mm_or_si128(bit0, simde_mm_slli_epi16(bit1, 1));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -318,6 +330,7 @@ simde__m256i sub_epi2(simde__m256i a, simde__m256i b) noexcept
return simde_mm256_or_si256(bit0, simde_mm256_slli_epi16(bit1, 1));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -334,6 +347,7 @@ simde__m128i mullo_epi2(simde__m128i a, simde__m128i b) noexcept
return simde_mm_or_si128(bit0, simde_mm_slli_epi16(bit1, 1));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -350,6 +364,7 @@ simde__m256i mullo_epi2(simde__m256i a, simde__m256i b) noexcept
return simde_mm256_or_si256(bit0, simde_mm256_slli_epi16(bit1, 1));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -360,6 +375,7 @@ simde__m128i mul_epi2(simde__m128i a, dpf::twobit k) noexcept
return detail::shuffle_nibbles(detail::nibble_lut(lut), a);
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -370,6 +386,7 @@ simde__m256i mul_epi2(simde__m256i a, dpf::twobit k) noexcept
return detail::shuffle_nibbles(detail::nibble_lut256(lut), a);
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -385,6 +402,7 @@ simde__m128i add_epi4(simde__m128i a, simde__m128i b) noexcept
simde_mm_and_si128(lo, lo_m), simde_mm_and_si128(hi, hi_m));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -400,6 +418,7 @@ simde__m256i add_epi4(simde__m256i a, simde__m256i b) noexcept
simde_mm256_and_si256(lo, lo_m), simde_mm256_and_si256(hi, hi_m));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -415,6 +434,7 @@ simde__m128i sub_epi4(simde__m128i a, simde__m128i b) noexcept
simde_mm_and_si128(lo, lo_m), simde_mm_and_si128(hi, hi_m));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -430,6 +450,7 @@ simde__m256i sub_epi4(simde__m256i a, simde__m256i b) noexcept
simde_mm256_and_si256(lo, lo_m), simde_mm256_and_si256(hi, hi_m));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -443,6 +464,7 @@ simde__m128i mullo_epi4(simde__m128i a, simde__m128i b) noexcept
return simde_mm_or_si128(lo, simde_mm_slli_epi16(hi, 4));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -456,6 +478,7 @@ simde__m256i mullo_epi4(simde__m256i a, simde__m256i b) noexcept
return simde_mm256_or_si256(lo, simde_mm256_slli_epi16(hi, 4));
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE
@ -466,6 +489,7 @@ simde__m128i mul_epi4(simde__m128i a, dpf::nyble k) noexcept
return detail::shuffle_nibbles(detail::nibble_lut(lut), a);
}
/// \complexity O(sizeof node / lane bits) packed operations. A carry stays inside the lane (`add_mod2` / `add_epi2` are 2-bit, `add_mod4` / `add_epi4` are nibbles).
HEDLEY_ALWAYS_INLINE
HEDLEY_NO_THROW
HEDLEY_PURE