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
|
|
@ -26,6 +26,8 @@
|
|||
#include "simde/simde/x86/avx2.h"
|
||||
#include "portable-snippets/exact-int/exact-int.h"
|
||||
|
||||
#include "dpf/prg_count.hpp"
|
||||
|
||||
namespace dpf
|
||||
{
|
||||
|
||||
|
|
@ -284,10 +286,16 @@ struct chacha final
|
|||
using block_type = simde__m128i;
|
||||
static constexpr unsigned rounds = Rounds;
|
||||
|
||||
/// @brief One 128-bit lane of a ChaCha block.
|
||||
/// @param seed the PRG seed
|
||||
/// @param pos lane index; the block counter is `pos >> 2`
|
||||
/// @return that lane
|
||||
/// \complexity One ChaCha block: `Rounds/2` double-rounds, eight quarter-rounds each (`chacha_detail::block`).
|
||||
HEDLEY_NO_THROW
|
||||
HEDLEY_ALWAYS_INLINE
|
||||
static block_type eval(block_type seed, psnip_uint32_t pos) noexcept
|
||||
{
|
||||
note_eval(1, primitive::chacha);
|
||||
std::uint32_t key[8];
|
||||
chacha_detail::seed_key(seed, key);
|
||||
std::uint8_t buf[64];
|
||||
|
|
@ -303,6 +311,7 @@ struct chacha final
|
|||
HEDLEY_ALWAYS_INLINE
|
||||
static auto eval01(block_type seed) noexcept
|
||||
{
|
||||
note_eval(2, primitive::chacha);
|
||||
std::uint32_t key[8];
|
||||
chacha_detail::seed_key(seed, key);
|
||||
std::uint8_t buf[64];
|
||||
|
|
@ -348,6 +357,7 @@ HEDLEY_PRAGMA(GCC diagnostic pop)
|
|||
return;
|
||||
}
|
||||
|
||||
note_eval(count, primitive::chacha);
|
||||
std::uint32_t key[8];
|
||||
chacha_detail::seed_key(seed, key);
|
||||
psnip_uint32_t i = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue