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#pragma once
2
5
6extern "C" {
7
8using namespace bb;
9
10WASM_EXPORT void pedersen_hash(fr::vec_in_buf inputs_buffer, uint32_t const* hash_index, fr::out_buf output);
11WASM_EXPORT void pedersen_hashes(fr::vec_in_buf inputs_buffer, uint32_t const* hash_index, fr::out_buf output);
12WASM_EXPORT void pedersen_hash_buffer(uint8_t const* input_buffer, uint32_t const* hash_index, fr::out_buf output);
13}
WASM_EXPORT void pedersen_hash(fr::vec_in_buf inputs_buffer, uint32_t const *hash_index, fr::out_buf output)
Definition c_bind.cpp:8
WASM_EXPORT void pedersen_hashes(fr::vec_in_buf inputs_buffer, uint32_t const *hash_index, fr::out_buf output)
Definition c_bind.cpp:18
WASM_EXPORT void pedersen_hash_buffer(uint8_t const *input_buffer, uint32_t const *hash_index, fr::out_buf output)
Definition c_bind.cpp:35
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
const uint8_t * vec_in_buf
#define WASM_EXPORT