On Mon, Oct 10, 2016 at 05:34:28 +0200, Stephan Mueller wrote: > Am Sonntag, 9. Oktober 2016, 20:16:27 CEST schrieb Sami Farin: > > Hi Sami, > > > commit e192be9d9a30555aae2ca1dc3aad37cba484cd4a > > > > + chacha20_block(&crng->state[0], out); > > + if (crng->state[12] == 0) > > + crng->state[13]++; > > > > Did you mean > > + if (++crng->state[12] == 0) > > Please see chacha20_block at the end: > > state[12]++; > > I would guess that this is the increment you are looking for. Oh yeah, there it is. -- Do what you love because life is too short for anything else. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html