Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
multi_scalar_mul.test.cpp File Reference
#include "multi_scalar_mul.hpp"
#include "acir_format.hpp"
#include "acir_format_mocks.hpp"
#include "acir_to_constraint_buf.hpp"
#include "barretenberg/common/assert.hpp"
#include "barretenberg/numeric/uint256/uint256.hpp"
#include <cstdint>
#include <gtest/gtest.h>
#include <vector>

Go to the source code of this file.

Classes

class  acir_format::tests::MSMTests
 

Namespaces

namespace  acir_format
 
namespace  acir_format::tests
 

Typedefs

using acir_format::tests::fr = field< Bn254FrParams >
 

Functions

MultiScalarMul acir_format::tests::generate_msm (bool constant_point, bool constant_scalar)
 
 acir_format::tests::TEST_F (MSMTests, TestMSMConstantPredicate)
 Create a circuit testing the a simple scalar mul with a constant generator and a false predicate.
 
 acir_format::tests::TEST_F (MSMTests, TestMSMConstant)
 Create a circuit testing the a simple scalar mul with a constant generator and a true predicate.
 
 acir_format::tests::TEST_F (MSMTests, TestMSMWitnessPredicate)
 
 acir_format::tests::TEST_F (MSMTests, TestMSMWitness)
 
 acir_format::tests::TEST_F (MSMTests, TestMSMConstantBad)
 
 acir_format::tests::TEST_F (MSMTests, TestMSMConstantPredicateBad)
 
 acir_format::tests::TEST_F (MSMTests, TestMSMWitnessPredicateBad)
 
 acir_format::tests::TEST_F (MSMTests, TestMSMWitnessBad)