|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/crypto/blake2s/blake2s.hpp"#include "barretenberg/circuit_checker/circuit_checker.hpp"#include "barretenberg/flavor/ultra_flavor.hpp"#include "barretenberg/numeric/uint256/uint256.hpp"#include "barretenberg/ultra_honk/prover_instance.hpp"#include "blake2s.hpp"#include <gtest/gtest.h>Go to the source code of this file.
Typedefs | |
| using | Builder = UltraCircuitBuilder |
| using | field_ct = field_t< Builder > |
| using | witness_ct = witness_t< Builder > |
| using | byte_array_ct = byte_array< Builder > |
| using | public_witness_t = public_witness_t< Builder > |
Functions | |
| TEST (stdlib_blake2s, test_single_block) | |
| TEST (stdlib_blake2s, test_double_block) | |
| TEST (stdlib_blake2s, test_witness_and_constant) | |
| TEST (stdlib_blake2s, test_constant_only) | |
| TEST (stdlib_blake2s, test_multiple_sized_blocks) | |
| TEST (stdlib_blake2s, test_edge_case_addition_overflow) | |
Variables | |
| std::vector< std::string > | test_vectors |
| using Builder = UltraCircuitBuilder |
Definition at line 12 of file blake2s.test.cpp.
| using byte_array_ct = byte_array<Builder> |
Definition at line 16 of file blake2s.test.cpp.
Definition at line 14 of file blake2s.test.cpp.
| using public_witness_t = public_witness_t<Builder> |
Definition at line 17 of file blake2s.test.cpp.
| using witness_ct = witness_t<Builder> |
Definition at line 15 of file blake2s.test.cpp.
| TEST | ( | stdlib_blake2s | , |
| test_constant_only | |||
| ) |
Definition at line 111 of file blake2s.test.cpp.
| TEST | ( | stdlib_blake2s | , |
| test_double_block | |||
| ) |
Definition at line 53 of file blake2s.test.cpp.
| TEST | ( | stdlib_blake2s | , |
| test_edge_case_addition_overflow | |||
| ) |
Definition at line 168 of file blake2s.test.cpp.
| TEST | ( | stdlib_blake2s | , |
| test_multiple_sized_blocks | |||
| ) |
Definition at line 139 of file blake2s.test.cpp.
| TEST | ( | stdlib_blake2s | , |
| test_single_block | |||
| ) |
Definition at line 34 of file blake2s.test.cpp.
| TEST | ( | stdlib_blake2s | , |
| test_witness_and_constant | |||
| ) |
Definition at line 72 of file blake2s.test.cpp.
| std::vector<std::string> test_vectors |
Definition at line 19 of file blake2s.test.cpp.