Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <filesystem>
#include <fstream>
#include <iostream>
#include "barretenberg/api/file_io.hpp"
#include "barretenberg/common/net.hpp"
#include "barretenberg/common/thread.hpp"
#include "barretenberg/crypto/sha256/sha256.hpp"
#include "barretenberg/ecc/curves/grumpkin/grumpkin.hpp"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Generates a monomial basis Grumpkin SRS. | |
Variables | |
const std::string | protocol_name = "BARRETENBERG_GRUMPKIN_IPA_CRS" |
int main | ( | int | argc, |
char ** | argv | ||
) |
Generates a monomial basis Grumpkin SRS.
We only provide functionality to create a single transcript file. ! Note that, unlike the bn254 SRS, the first element of the Grumpkin SRS will not be equal to point one defined in grumpkin.hpp as this function finds Grumpkin points in an arbitrary order. As well, unlike the bn254 SRS, the Grumpkin SRS does not need a trusted setup and has no underlying secret generator.
Definition at line 22 of file grumpkin_srs_gen.cpp.
const std::string protocol_name = "BARRETENBERG_GRUMPKIN_IPA_CRS" |
Definition at line 13 of file grumpkin_srs_gen.cpp.