Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ecc_events.hpp
Go to the documentation of this file.
1#pragma once
2
5
6namespace bb::avm2::simulation {
7
8struct EccException : public std::runtime_error {
9 EccException(const std::string& message)
10 : std::runtime_error("EccException: " + message)
11 {}
12};
13
19
28
30 /* Accumulated result on this bit of the scalar */
32 /* 2**(bit_idx) * point */
34 /* current bit of the scalar */
35 bool bit;
36
37 bool operator==(const ScalarMulIntermediateState& other) const = default;
38};
39
48
49} // namespace bb::avm2::simulation
uint32_t MemoryAddress
AvmFlavorSettings::FF FF
Definition field.hpp:10
STL namespace.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
EccException(const std::string &message)
Definition ecc_events.hpp:9
bool operator==(const ScalarMulEvent &other) const =default
std::vector< ScalarMulIntermediateState > intermediate_states
bool operator==(const ScalarMulIntermediateState &other) const =default