|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "multi_scalar_mul.hpp"#include "acir_format.hpp"#include "barretenberg/dsl/acir_format/test_class_predicate.hpp"#include "barretenberg/dsl/acir_format/utils.hpp"#include "barretenberg/stdlib/primitives/group/cycle_group.hpp"#include <gtest/gtest.h>#include <vector>Go to the source code of this file.
Classes | |
| class | MultiScalarMulTestingFunctions< Builder_, Constancy > |
| Testing functions to generate the MultiScalarMul test suite. Constancy specifies which inputs to the constraints should be constant. More... | |
| class | MultiScalarMulTestingFunctions< Builder_, Constancy >::InvalidWitness |
| class | MultiScalarMulTestsNoneConstant< Builder > |
| class | MultiScalarMulTestsPointsConstant< Builder > |
| class | MultiScalarMulTestsScalarsConstant< Builder > |
| class | MultiScalarMulTestsBothConstant< Builder > |
| struct | MsmAcirPoint |
| struct | MsmScalar |
| class | MsmSingleTermFixture< Builder > |
| class | MultiScalarMulInfinityTests< Builder > |
| class | MultiScalarMulScalarBoundsTests< Builder > |
Typedefs | |
| using | BuilderTypes = testing::Types< UltraCircuitBuilder, MegaCircuitBuilder > |
| using | MsmGrumpkinPoint = bb::grumpkin::g1::affine_element |
| using | MsmFF = bb::fr |
Enumerations | |
| enum class | InputConstancy : uint8_t { None , Input1 , Input2 , Both , None , Input1 , Input2 , Both , None , Points , Scalars , Both } |
| using BuilderTypes = testing::Types<UltraCircuitBuilder, MegaCircuitBuilder> |
Definition at line 189 of file multi_scalar_mul.test.cpp.
Definition at line 322 of file multi_scalar_mul.test.cpp.
Definition at line 321 of file multi_scalar_mul.test.cpp.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Input1 | |
| Input2 | |
| Both | |
| None | |
| Input1 | |
| Input2 | |
| Both | |
| None | |
| Points | |
| Scalars | |
| Both | |
Definition at line 12 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulInfinityTests | , |
| ForgedFiniteFlagOnInfinityResultFails | |||
| ) |
Definition at line 444 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulInfinityTests | , |
| ForgedInfinityFlagOnFiniteResultFails | |||
| ) |
Definition at line 424 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulInfinityTests | , |
| ResultIsInfinity | |||
| ) |
Definition at line 412 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulScalarBoundsTests | , |
| AddingGrumpkinModulusDoesNotReproveSameOutput | |||
| ) |
Definition at line 563 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulScalarBoundsTests | , |
| MaxRepresentableScalarFails | |||
| ) |
Definition at line 532 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulScalarBoundsTests | , |
| ScalarEqualToModulusFails | |||
| ) |
Definition at line 488 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulScalarBoundsTests | , |
| ScalarModulusMinusOneProves | |||
| ) |
Definition at line 514 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulScalarBoundsTests | , |
| ScalarModulusPlusOneFails | |||
| ) |
Definition at line 501 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulScalarBoundsTests | , |
| ScalarWithOversizedHiLimbFails | |||
| ) |
Definition at line 547 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsBothConstant | , |
| ConstantTrue | |||
| ) |
Definition at line 292 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsBothConstant | , |
| GenerateVKFromConstraints | |||
| ) |
Definition at line 286 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsBothConstant | , |
| InvalidWitnesses | |||
| ) |
Definition at line 310 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsBothConstant | , |
| WitnessFalseSlow | |||
| ) |
Definition at line 304 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsBothConstant | , |
| WitnessTrue | |||
| ) |
Definition at line 298 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsNoneConstant | , |
| ConstantTrue | |||
| ) |
Definition at line 202 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsNoneConstant | , |
| GenerateVKFromConstraints | |||
| ) |
Definition at line 196 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsNoneConstant | , |
| InvalidWitnesses | |||
| ) |
Definition at line 220 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsNoneConstant | , |
| WitnessFalseSlow | |||
| ) |
Definition at line 214 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsNoneConstant | , |
| WitnessTrue | |||
| ) |
Definition at line 208 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsPointsConstant | , |
| ConstantTrue | |||
| ) |
Definition at line 232 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsPointsConstant | , |
| GenerateVKFromConstraints | |||
| ) |
Definition at line 226 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsPointsConstant | , |
| InvalidWitnesses | |||
| ) |
Definition at line 250 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsPointsConstant | , |
| WitnessFalseSlow | |||
| ) |
Definition at line 244 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsPointsConstant | , |
| WitnessTrue | |||
| ) |
Definition at line 238 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsScalarsConstant | , |
| ConstantTrue | |||
| ) |
Definition at line 262 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsScalarsConstant | , |
| GenerateVKFromConstraints | |||
| ) |
Definition at line 256 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsScalarsConstant | , |
| InvalidWitnesses | |||
| ) |
Definition at line 280 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsScalarsConstant | , |
| WitnessFalseSlow | |||
| ) |
Definition at line 274 of file multi_scalar_mul.test.cpp.
| TYPED_TEST | ( | MultiScalarMulTestsScalarsConstant | , |
| WitnessTrue | |||
| ) |
Definition at line 268 of file multi_scalar_mul.test.cpp.
| TYPED_TEST_SUITE | ( | MultiScalarMulInfinityTests | , |
| BuilderTypes | |||
| ) |
| TYPED_TEST_SUITE | ( | MultiScalarMulScalarBoundsTests | , |
| BuilderTypes | |||
| ) |
| TYPED_TEST_SUITE | ( | MultiScalarMulTestsBothConstant | , |
| BuilderTypes | |||
| ) |
| TYPED_TEST_SUITE | ( | MultiScalarMulTestsNoneConstant | , |
| BuilderTypes | |||
| ) |
| TYPED_TEST_SUITE | ( | MultiScalarMulTestsPointsConstant | , |
| BuilderTypes | |||
| ) |
| TYPED_TEST_SUITE | ( | MultiScalarMulTestsScalarsConstant | , |
| BuilderTypes | |||
| ) |