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
#include "
barretenberg/common/wasm_export.hpp
"
8
#include "
barretenberg/ecc/curves/bn254/fr.hpp
"
9
#include <cstddef>
10
#include <cstdint>
11
12
extern
"C"
{
13
14
using namespace
bb
;
15
16
WASM_EXPORT
void
blake2s
(uint8_t
const
*
data
,
out_buf32
r);
17
18
WASM_EXPORT
void
blake2s_to_field_
(uint8_t
const
*
data
,
fr::out_buf
r);
19
}
data
const std::vector< FF > data
Definition
data_copy.test.cpp:61
blake2s_to_field_
WASM_EXPORT void blake2s_to_field_(uint8_t const *data, fr::out_buf r)
Definition
c_bind.cpp:30
blake2s
WASM_EXPORT void blake2s(uint8_t const *data, out_buf32 r)
Definition
c_bind.cpp:13
fr.hpp
bb
Entry point for Barretenberg command-line interface.
Definition
acir_format_getters.cpp:6
out_buf32
uint8_t * out_buf32
Definition
serialize.hpp:485
bb::field::out_buf
uint8_t * out_buf
Definition
field_declarations.hpp:43
wasm_export.hpp
WASM_EXPORT
#define WASM_EXPORT
Definition
wasm_export.hpp:8
src
barretenberg
crypto
blake2s
c_bind.hpp
Generated by
1.9.8