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
#include "
barretenberg/common/wasm_export.hpp
"
2
#include "
barretenberg/ecc/curves/bn254/fr.hpp
"
3
#include <cstddef>
4
#include <cstdint>
5
6
extern
"C"
{
7
8
using namespace
bb
;
9
10
WASM_EXPORT
void
blake2s
(uint8_t
const
*
data
,
out_buf32
r);
11
12
WASM_EXPORT
void
blake2s_to_field_
(uint8_t
const
*
data
,
fr::out_buf
r);
13
}
data
const std::vector< MemoryValue > data
Definition
data_copy.test.cpp:70
blake2s_to_field_
WASM_EXPORT void blake2s_to_field_(uint8_t const *data, fr::out_buf r)
Definition
c_bind.cpp:24
blake2s
WASM_EXPORT void blake2s(uint8_t const *data, out_buf32 r)
Definition
c_bind.cpp:7
fr.hpp
bb
Entry point for Barretenberg command-line interface.
Definition
api.hpp:5
out_buf32
uint8_t * out_buf32
Definition
serialize.hpp:473
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