Document the new DPF surfaces in one command set, and test the field, half-tree, and multipoint edges.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0d8a5a8131
commit
0dff6df8ed
250 changed files with 12199 additions and 1981 deletions
|
|
@ -26,8 +26,8 @@ namespace dpf
|
|||
namespace prg
|
||||
{
|
||||
|
||||
/// LowMCv3, 128-bit block and key, 10 S-boxes, 32 rounds, all-zero key.
|
||||
/// `eval(seed, pos)` is `E(seed ⊕ pos) ⊕ seed`, with `pos` in the low lane.
|
||||
/// @brief LowMCv3, 128-bit block and key, 10 S-boxes, 32 rounds, all-zero key.
|
||||
/// @details `eval(seed, pos)` is `E(seed ⊕ pos) ⊕ seed`, with `pos` in the low lane.
|
||||
struct lowmc128 final
|
||||
{
|
||||
using block_type = simde__m128i;
|
||||
|
|
@ -104,7 +104,13 @@ HEDLEY_PRAGMA(GCC diagnostic pop)
|
|||
}
|
||||
}
|
||||
|
||||
/// Raw-bit subtractive share of `T` for party `Party` (see `prg.hpp`).
|
||||
/// @brief Raw-bit subtractive share of `T` for party `Party` (see `prg.hpp`).
|
||||
/// @tparam T value type
|
||||
/// @tparam Party party index, `0` or `1`
|
||||
/// @param seed the PRG seed
|
||||
/// @param pos the 0-based index
|
||||
/// @return Raw-bit subtractive share of `T` for party `Party` (see `prg.hpp`)
|
||||
/// @see `prg.hpp`
|
||||
template <typename T, std::size_t Party>
|
||||
HEDLEY_NO_THROW
|
||||
static auto expand(block_type seed, psnip_uint32_t pos = 0) noexcept;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue