|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/vm2/common/to_radix.hpp"#include "barretenberg/common/assert.hpp"#include "barretenberg/numeric/uint256/uint256.hpp"#include "barretenberg/vm2/common/field.hpp"Go to the source code of this file.
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
| namespace | bb::avm2 |
Functions | |
| const std::array< std::vector< uint8_t >, 257 > & | bb::avm2::get_p_limbs_per_radix () |
| Gets the p limbs per radix array. Each element is a vector containing the little endian decompositions of Fr modulus into limbs for each radix. Radix goes up to 256 so we need 257 decompositions. | |
| size_t | bb::avm2::get_p_limbs_per_radix_size (size_t radix) |
| Gets the number of limbs that the modulus, p, decomposes into for a given radix. | |