On Thu, Jul 28, 2022 at 11:00:12AM +1000, Damien Miller wrote:
> +     rs->rs_count = REKEY_BASE;
> +     /* rekey interval should not be predictable */
> +     _rs_random_u32(&rekey_fuzz);
> +     rs->rs_count += rekey_fuzz % REKEY_BASE;

The randomization looks good.

However, might it cause a problem (in the future) that _rs_random_u32()
calls _rs_stir_if_needed()? rs_count has a largish value so a recursive
invocation of _rs_stir() should not happen, but anyway.

Reply via email to