|
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 16 of file blake3s.test.cpp.
| using UltraBuilder = UltraCircuitBuilder |
Definition at line 17 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_constant_only | |||
| ) |
Definition at line 122 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_double_block | |||
| ) |
Definition at line 53 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_edge_case_addition_overflow | |||
| ) |
Definition at line 178 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_multiple_sized_blocks | |||
| ) |
Definition at line 150 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_single_block | |||
| ) |
Definition at line 34 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_too_large_input | |||
| ) |
Definition at line 72 of file blake3s.test.cpp.
| TEST | ( | stdlib_blake3s | , |
| test_witness_and_constant | |||
| ) |
Definition at line 83 of file blake3s.test.cpp.
| std::vector<std::string> test_vectors |
Definition at line 19 of file blake3s.test.cpp.