Home
last modified time | relevance | path

Searched refs:BLAKE2B_BLOCKBYTES (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/blake2/
Dblake2b-ref.c148 uint8_t block[BLAKE2B_BLOCKBYTES]; in blake2b_init_key()
149 memset( block, 0, BLAKE2B_BLOCKBYTES ); in blake2b_init_key()
151 blake2b_update( S, block, BLAKE2B_BLOCKBYTES ); in blake2b_init_key()
152 secure_zero_memory( block, BLAKE2B_BLOCKBYTES ); /* Burn the key from stack */ in blake2b_init_key()
181 static void blake2b_compress( blake2b_state *S, const uint8_t block[BLAKE2B_BLOCKBYTES] ) in blake2b_compress() argument
231 size_t fill = BLAKE2B_BLOCKBYTES - left; in blake2b_update()
236 blake2b_increment_counter( S, BLAKE2B_BLOCKBYTES ); in blake2b_update()
239 while(inlen > BLAKE2B_BLOCKBYTES) { in blake2b_update()
240 blake2b_increment_counter(S, BLAKE2B_BLOCKBYTES); in blake2b_update()
242 in += BLAKE2B_BLOCKBYTES; in blake2b_update()
[all …]
Dblake2.h44 BLAKE2B_BLOCKBYTES = 128, enumerator
67 uint8_t buf[BLAKE2B_BLOCKBYTES];
86 uint8_t buf[4 * BLAKE2B_BLOCKBYTES];