|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/common/assert.hpp"#include "barretenberg/common/bb_bench.hpp"#include "barretenberg/common/thread.hpp"#include "barretenberg/ecc/groups/element.hpp"#include <cstdint>Go to the source code of this file.
Classes | |
| struct | bb::group_elements::detail::EndomorphismWnaf< Element, NUM_ROUNDS > |
Handles the WNAF computation for scalars that are split using an endomorphism, achieved through split_into_endomorphism_scalars. It facilitates efficient computation of elliptic curve point multiplication by optimizing the representation of these scalars. More... | |
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
| namespace | bb::group_elements |
| namespace | bb::group_elements::detail |
Typedefs | |
| using | bb::group_elements::detail::EndoScalars = std::pair< std::array< uint64_t, 2 >, std::array< uint64_t, 2 > > |
Functions | |
| template<typename AffineElement , typename Fq > | |
| bb::group_elements::__attribute__ ((always_inline)) inline void batch_affine_add_impl(const AffineElement *lhs | |
| Batch affine addition for parallel arrays: (lhs[i], rhs[i]) → rhs[i]. | |
| bb::group_elements::for (size_t i=0;i< num_pairs;++i) | |
| bb::group_elements::if (batch_inversion_accumulator==Fq::zero()) | |
| bb::group_elements::for (size_t i_plus_1=num_points;i_plus_1 > 0;--i_plus_1) | |
Variables | |
| AffineElement * | bb::group_elements::rhs |
| AffineElement const size_t | bb::group_elements::num_pairs |
| AffineElement const size_t Fq *scratch_space | bb::group_elements::noexcept |
| bb::group_elements::batch_inversion_accumulator = batch_inversion_accumulator.invert() | |
| const size_t | bb::group_elements::num_points |
| Fq | bb::group_elements::temp_x |