Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
pedersen.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5// =====================
6
7#pragma once
12
13#include "../../primitives/circuit_builders/circuit_builders.hpp"
14
15namespace bb::stdlib {
16
38
39} // namespace bb::stdlib
Implements boolean logic in-circuit.
Definition bool.hpp:59
Represents a dynamic array of bytes in-circuit.
cycle_group represents a group Element of the proving system's embedded curve i.e....
typename Builder::EmbeddedCurve Curve
stdlib class that evaluates in-circuit pedersen hashes, consistent with behavior in crypto::pedersen_...
Definition pedersen.hpp:23
static field_ct hash_buffer(const stdlib::byte_array< Builder > &input, GeneratorContext context={})
Hash a byte_array.
Definition pedersen.cpp:67
static field_ct hash_skip_field_validation(const std::vector< field_ct > &in, GeneratorContext context={})
Definition pedersen.cpp:37
typename cycle_group< Builder >::Curve EmbeddedCurve
Definition pedersen.hpp:28
static field_ct hash(const std::vector< field_ct > &in, GeneratorContext context={})
Definition pedersen.cpp:15
crypto::GeneratorContext< EmbeddedCurve > GeneratorContext
Definition pedersen.hpp:29
StrictMock< MockContext > context
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13