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
11
12extern "C" {
13
14using namespace bb;
15
16WASM_EXPORT void pedersen_hash(fr::vec_in_buf inputs_buffer, uint32_t const* hash_index, fr::out_buf output);
17WASM_EXPORT void pedersen_hashes(fr::vec_in_buf inputs_buffer, uint32_t const* hash_index, fr::out_buf output);
18WASM_EXPORT void pedersen_hash_buffer(uint8_t const* input_buffer, uint32_t const* hash_index, fr::out_buf output);
19}
WASM_EXPORT void pedersen_hash(fr::vec_in_buf inputs_buffer, uint32_t const *hash_index, fr::out_buf output)
Definition c_bind.cpp:14
WASM_EXPORT void pedersen_hashes(fr::vec_in_buf inputs_buffer, uint32_t const *hash_index, fr::out_buf output)
Definition c_bind.cpp:24
WASM_EXPORT void pedersen_hash_buffer(uint8_t const *input_buffer, uint32_t const *hash_index, fr::out_buf output)
Definition c_bind.cpp:41
Entry point for Barretenberg command-line interface.
const uint8_t * vec_in_buf
#define WASM_EXPORT