|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Go to the source code of this file.
Functions | |
| WASM_EXPORT void | srs_init_srs (uint8_t const *points_buf, uint32_t const *num_points) |
| WASM_EXPORT void | srs_init_grumpkin_srs (uint8_t const *points_buf, uint32_t const *num_points) |
| WASM_EXPORT void srs_init_grumpkin_srs | ( | uint8_t const * | points_buf, |
| uint32_t const * | num_points | ||
| ) |
WARNING: The SRS is not encoded the same way as all the read/write methods encode. Have to use the old school io functions to parse the buffers.
Definition at line 34 of file c_bind.cpp.
| WASM_EXPORT void srs_init_srs | ( | uint8_t const * | points_buf, |
| uint32_t const * | num_points_buf | ||
| ) |
We are not passed a vector (length prefixed), but the buffer and num points independently. Saves on having the generate the vector awkwardly calling side after downloading crs.
Definition at line 19 of file c_bind.cpp.