Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include "blake3s.hpp"
Go to the source code of this file.
Namespaces | |
namespace | blake3_full |
Macros | |
#define | BLAKE3_IMPL_H |
#define | INLINE static inline __attribute__((always_inline)) |
#define | MAX_SIMD_DEGREE 1 |
#define | MAX_SIMD_DEGREE_OR_2 (MAX_SIMD_DEGREE > 2 ? MAX_SIMD_DEGREE : 2) |
Functions | |
size_t | blake3_full::blake3_simd_degree (void) |
INLINE unsigned int | blake3_full::popcnt (uint64_t x) |
INLINE uint32_t | blake3_full::rotr32 (uint32_t w, uint32_t c) |
INLINE uint64_t | blake3_full::round_down_to_power_of_2 (uint64_t x) |
INLINE uint32_t | blake3_full::counter_low (uint64_t counter) |
INLINE uint32_t | blake3_full::counter_high (uint64_t counter) |
INLINE uint32_t | blake3_full::load32 (const void *src) |
INLINE void | blake3_full::load_key_words (const uint8_t key[BLAKE3_KEY_LEN], uint32_t key_words[8]) |
INLINE void | blake3_full::store32 (void *dst, uint32_t w) |
INLINE void | blake3_full::store_cv_words (uint8_t bytes_out[32], uint32_t cv_words[8]) |
#define BLAKE3_IMPL_H |
Definition at line 28 of file blake3-impl.hpp.
#define INLINE static inline __attribute__((always_inline)) |
Definition at line 45 of file blake3-impl.hpp.
#define MAX_SIMD_DEGREE 1 |
Definition at line 70 of file blake3-impl.hpp.
#define MAX_SIMD_DEGREE_OR_2 (MAX_SIMD_DEGREE > 2 ? MAX_SIMD_DEGREE : 2) |
Definition at line 75 of file blake3-impl.hpp.