The Fortuna PRNG implementation contains a bug in its reseed rate-limiting logic that causes the generator…
The Fortuna PRNG implementation contains a bug in its reseed rate-limiting logic that causes the generator…: a task in LegoFlow-SWE (Harbor dataset). When entropy is added using the existing fortuna add entropy function, the Fortuna instance reseeds itself every time data is read, even when the…
The task
When entropy is added using the existing `fortuna_add_entropy` function, the Fortuna instance reseeds itself every time data is read, even when the entropy pool is nearly empty. This happens because the reseed condition incorrectly triggers when **either** enough entropy has been collected **or** the rate-limit…
Part of Lego-X/LegoFlow-SWE.