|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/avm_fuzzer/mutations/basic_types/field.hpp"#include <algorithm>#include <array>#include <functional>#include <random>#include <vector>#include "barretenberg/avm_fuzzer/common/weighted_selection.hpp"#include "barretenberg/avm_fuzzer/mutations/basic_types/uint128_t.hpp"#include "barretenberg/avm_fuzzer/mutations/configuration.hpp"#include "barretenberg/numeric/random/engine.hpp"#include "barretenberg/vm2/common/field.hpp"Go to the source code of this file.
Classes | |
| struct | RandomSelection |
| Randomly select a new field value. More... | |
| struct | IncrementBy1 |
| Increment by 1. More... | |
| struct | DecrementBy1 |
| Decrement by 1. More... | |
| struct | AddRandomValue |
| Add a random value. More... | |
Typedefs | |
| using | FF = bb::field< bb::Bn254FrParams > |
Functions | |
| FF | generate_random_field (std::mt19937_64 &rng) |
| void | mutate_field (bb::avm2::FF &value, std::mt19937_64 &rng, const FieldMutationConfig &config) |
| using FF = bb::field<bb::Bn254FrParams> |
| FF generate_random_field | ( | std::mt19937_64 & | rng | ) |
| void mutate_field | ( | bb::avm2::FF & | value, |
| std::mt19937_64 & | rng, | ||
| const FieldMutationConfig & | config | ||
| ) |