LLVM 20.0.0git
|
Go to the source code of this file.
Functions | |
INLINE uint32_t | rotr32 (uint32_t w, uint32_t c) |
INLINE void | g (uint32_t *state, size_t a, size_t b, size_t c, size_t d, uint32_t x, uint32_t y) |
INLINE void | round_fn (uint32_t state[16], const uint32_t *msg, size_t round) |
INLINE void | compress_pre (uint32_t state[16], const uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags) |
void | blake3_compress_in_place_portable (uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags) |
void | blake3_compress_xof_portable (const uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags, uint8_t out[64]) |
INLINE void | hash_one_portable (const uint8_t *input, size_t blocks, const uint32_t key[8], uint64_t counter, uint8_t flags, uint8_t flags_start, uint8_t flags_end, uint8_t out[BLAKE3_OUT_LEN]) |
void | blake3_hash_many_portable (const uint8_t *const *inputs, size_t num_inputs, size_t blocks, const uint32_t key[8], uint64_t counter, bool increment_counter, uint8_t flags, uint8_t flags_start, uint8_t flags_end, uint8_t *out) |
void blake3_compress_in_place_portable | ( | uint32_t | cv[8], |
const uint8_t | block[BLAKE3_BLOCK_LEN], | ||
uint8_t | block_len, | ||
uint64_t | counter, | ||
uint8_t | flags | ||
) |
Definition at line 84 of file blake3_portable.c.
References block, and compress_pre().
void blake3_compress_xof_portable | ( | const uint32_t | cv[8], |
const uint8_t | block[BLAKE3_BLOCK_LEN], | ||
uint8_t | block_len, | ||
uint64_t | counter, | ||
uint8_t | flags, | ||
uint8_t | out[64] | ||
) |
Definition at line 100 of file blake3_portable.c.
References block, compress_pre(), and store32().
void blake3_hash_many_portable | ( | const uint8_t *const * | inputs, |
size_t | num_inputs, | ||
size_t | blocks, | ||
const uint32_t | key[8], | ||
uint64_t | counter, | ||
bool | increment_counter, | ||
uint8_t | flags, | ||
uint8_t | flags_start, | ||
uint8_t | flags_end, | ||
uint8_t * | out | ||
) |
Definition at line 145 of file blake3_portable.c.
References BLAKE3_OUT_LEN, blocks, and hash_one_portable().
INLINE void compress_pre | ( | uint32_t | state[16], |
const uint32_t | cv[8], | ||
const uint8_t | block[BLAKE3_BLOCK_LEN], | ||
uint8_t | block_len, | ||
uint64_t | counter, | ||
uint8_t | flags | ||
) |
Definition at line 37 of file blake3_portable.c.
References block, counter_high(), counter_low(), IV, load32(), and round_fn().
Referenced by blake3_compress_in_place_portable(), and blake3_compress_xof_portable().
Definition at line 8 of file blake3_portable.c.
References rotr32().
Referenced by categorize(), findmust(), isinsets(), llvm_regcomp(), llvm_regexec(), llvm_regfree(), p_ere_exp(), p_simp_re(), pluscount(), round_fn(), samesets(), llvm::shuffle(), and stripsnug().
INLINE void hash_one_portable | ( | const uint8_t * | input, |
size_t | blocks, | ||
const uint32_t | key[8], | ||
uint64_t | counter, | ||
uint8_t | flags, | ||
uint8_t | flags_start, | ||
uint8_t | flags_end, | ||
uint8_t | out[BLAKE3_OUT_LEN] | ||
) |
Definition at line 125 of file blake3_portable.c.
References BLAKE3_BLOCK_LEN, blake3_compress_in_place_portable, BLAKE3_KEY_LEN, blocks, and store_cv_words().
Referenced by blake3_hash_many_portable().
Definition at line 4 of file blake3_portable.c.
Referenced by g().
Definition at line 20 of file blake3_portable.c.
References g(), MSG_SCHEDULE, and round().
Referenced by compress_pre().