26 for (uint16_t i = 0; i <
sizeof(m_state); i++)
32 const uint8_t* buf = (
const uint8_t*) key;
34 for (uint16_t i = 0; i < 256; i++) {
35 j = j + m_state[i] + buf[i % len];
36 uint8_t tmp = m_state[i];
37 m_state[i] = m_state[j];
void restart(const void *key, size_t len)