Lines Matching refs:BLAKE2B_BLOCKBYTES
148 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()
243 inlen -= BLAKE2B_BLOCKBYTES; in blake2b_update()
265 memset( S->buf + S->buflen, 0, BLAKE2B_BLOCKBYTES - S->buflen ); /* Padding */ in blake2b_final()
345 for(step = 1; step < BLAKE2B_BLOCKBYTES; ++step) { in main()