Lines Matching defs:state
68 * @state: input state matrix (16 32-bit words)
76 void chacha_block_generic(u32 *state, u8 *stream, int nrounds)
81 memcpy(x, state, 64);
86 put_unaligned_le32(x[i] + state[i], &stream[i * sizeof(u32)]);
88 state[12]++;
94 * @state: input state matrix (16 32-bit words)
100 * skips the final addition of the initial state, and outputs only certain words
101 * of the state. It should not be used for streaming directly.
103 void hchacha_block_generic(const u32 *state, u32 *stream, int nrounds)
107 memcpy(x, state, 64);