|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Static Public Member Functions | |
| static void | SetUpTestSuite () |
| template<typename Curve > | |
| static std::vector< PairingPoints< Curve > > | create_valid_pairing_points (typename Curve::Builder *builder, size_t count) |
| Create N distinct valid pairing points as circuit witnesses from SRS points. | |
Definition at line 13 of file pairing_points.test.cpp.
|
inlinestatic |
Create N distinct valid pairing points as circuit witnesses from SRS points.
The pairing check verifies e(P0, [1]_2) * e(P1, [x]_2) == 1. Using SRS points srs[i] = [x^i]_1, the pair (srs[i], -srs[i-1]) satisfies this. Each element uses a different SRS index for distinctness.
Definition at line 23 of file pairing_points.test.cpp.
|
inlinestatic |
Definition at line 15 of file pairing_points.test.cpp.