Lines Matching defs:state
32 static inline void blake2s_increment_counter(struct blake2s_state *state,
35 state->t[0] += inc;
36 state->t[1] += (state->t[0] < inc);
39 void blake2s_compress(struct blake2s_state *state, const u8 *block,
43 void blake2s_compress_generic(struct blake2s_state *state, const u8 *block,
54 blake2s_increment_counter(state, inc);
57 memcpy(v, state->h, 32);
62 v[12] = BLAKE2S_IV4 ^ state->t[0];
63 v[13] = BLAKE2S_IV5 ^ state->t[1];
64 v[14] = BLAKE2S_IV6 ^ state->f[0];
65 v[15] = BLAKE2S_IV7 ^ state->f[1];
103 state->h[i] ^= v[i] ^ v[i + 8];