Function nanorand::crypto::chacha::chacha_increment_counter[][src]

pub fn chacha_increment_counter(state: &mut [u32; 16]) -> bool
Expand description

Increment the 64-bit counter of the internal ChaCha20 state by 1. Returns false if it overflows, true otherwise.