|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Per-window precomputed slice parameters for the carry-less signed-Booth window recoding. Read out by the per-(point, window) hot loop as two i32 loads + a fixed bit-twiddle (no branches, no per-iter address arithmetic). More...
#include <booth_recode.hpp>
Public Attributes | |
| uint32_t | lo_mask |
| uint32_t | hi_mask |
| uint32_t | lo_limb |
| uint32_t | hi_limb |
| uint32_t | lo_off |
| uint32_t | lo_bits |
| bool | slice_localised_to_one_u64 |
Per-window precomputed slice parameters for the carry-less signed-Booth window recoding. Read out by the per-(point, window) hot loop as two i32 loads + a fixed bit-twiddle (no branches, no per-iter address arithmetic).
slice_localised_to_one_u64: true iff every bit of the (c+1)-bit window lives inside a single uint64 limb. Callers that have a single-load fast path branch on this; callers that don't can ignore it (the field is one bool — zero cost).
Definition at line 27 of file booth_recode.hpp.
| uint32_t bb::ecc::booth::BoothSliceParams::hi_limb |
Definition at line 31 of file booth_recode.hpp.
| uint32_t bb::ecc::booth::BoothSliceParams::hi_mask |
Definition at line 29 of file booth_recode.hpp.
| uint32_t bb::ecc::booth::BoothSliceParams::lo_bits |
Definition at line 33 of file booth_recode.hpp.
| uint32_t bb::ecc::booth::BoothSliceParams::lo_limb |
Definition at line 30 of file booth_recode.hpp.
| uint32_t bb::ecc::booth::BoothSliceParams::lo_mask |
Definition at line 28 of file booth_recode.hpp.
| uint32_t bb::ecc::booth::BoothSliceParams::lo_off |
Definition at line 32 of file booth_recode.hpp.
| bool bb::ecc::booth::BoothSliceParams::slice_localised_to_one_u64 |
Definition at line 34 of file booth_recode.hpp.