|
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/booth_recode.hpp"#include "barretenberg/ecc/groups/element.hpp"#include <cstdint>Go to the source code of this file.
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()) | |
| template<typename AffineElement , typename Fq , typename T > | |
| bb::group_elements::__attribute__ ((always_inline)) inline void batch_affine_double_impl(AffineElement *points | |
| Batch affine point doubling using Montgomery's trick. | |
| bb::group_elements::for (size_t i_plus_1=num_points;i_plus_1 > 0;--i_plus_1) | |
| bb::group_elements::if (batch_inv_acc==Fq::zero()) | |
| bb::group_elements::for (size_t k=num_pairs;k-- > 0;) | |