Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
c_bind.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
8
#include "
barretenberg/common/wasm_export.hpp
"
9
#include "
barretenberg/ecc/curves/bn254/fr.hpp
"
10
#include "
barretenberg/ecc/curves/grumpkin/grumpkin.hpp
"
11
12
extern
"C"
{
13
14
using namespace
bb
;
15
using
affine_element
=
grumpkin::g1::affine_element
;
16
17
WASM_EXPORT
void
pedersen_commit
(
fr::vec_in_buf
inputs_buffer,
18
uint32_t
const
* ctx_index,
19
affine_element::out_buf
output);
20
}
bb::group_elements::affine_element
Definition
affine_element.hpp:21
bb::group_elements::affine_element::out_buf
uint8_t * out_buf
Definition
affine_element.hpp:29
bb::group::affine_element
group_elements::affine_element< Fq, Fr, Params > affine_element
Definition
group.hpp:42
pedersen_commit
WASM_EXPORT void pedersen_commit(fr::vec_in_buf inputs_buffer, uint32_t const *ctx_index, affine_element::out_buf output)
grumpkin.hpp
fr.hpp
bb
Entry point for Barretenberg command-line interface.
Definition
acir_format_getters.cpp:6
bb::field::vec_in_buf
const uint8_t * vec_in_buf
Definition
field_declarations.hpp:42
wasm_export.hpp
WASM_EXPORT
#define WASM_EXPORT
Definition
wasm_export.hpp:8
src
barretenberg
crypto
pedersen_commitment
c_bind.hpp
Generated by
1.9.8