|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/crypto/blake3s/blake3s.hpp"#include "barretenberg/circuit_checker/circuit_checker.hpp"#include "barretenberg/common/assert.hpp"#include "barretenberg/common/streams.hpp"#include "blake3s.hpp"#include <gtest/gtest.h>Go to the source code of this file.
Typedefs | |
| using | byte_array_ct = stdlib::byte_array< bb::UltraCircuitBuilder > |
| using | UltraBuilder = UltraCircuitBuilder |
Functions | |
| TEST (stdlib_blake3s, test_single_block) | |
| TEST (stdlib_blake3s, test_double_block) | |
| TEST (stdlib_blake3s, test_too_large_input) | |
| TEST (stdlib_blake3s, test_witness_and_constant) | |
| TEST (stdlib_blake3s, test_constant_only) | |
| TEST (stdlib_blake3s, test_multiple_sized_blocks) | |
| TEST (stdlib_blake3s, test_edge_case_addition_overflow) | |
Variables | |
| std::vector< std::string > | test_vectors |
Definition at line 10 of file blake3s.test.cpp.
| using UltraBuilder = UltraCircuitBuilder |
Definition at line 11 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_constant_only | |||
| ) |
Definition at line 116 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_double_block | |||
| ) |
Definition at line 47 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_edge_case_addition_overflow | |||
| ) |
Definition at line 172 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_multiple_sized_blocks | |||
| ) |
Definition at line 144 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_single_block | |||
| ) |
Definition at line 28 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_too_large_input | |||
| ) |
Definition at line 66 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_witness_and_constant | |||
| ) |
Definition at line 77 of file blake3s.test.cpp.
| std::vector<std::string> test_vectors |
Definition at line 13 of file blake3s.test.cpp.