Anyone willing to implement this in a better way?
Thank you,
Robert LeBlanc
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1
On Tue, Jun 14, 2022
Thanks.
I had trouble using the clock to seed the random number generator due to
some dependency issues. I'm not strong enough in C to figure that out with
the limited GRUB libraries (since standard libraries are not used), so I
did what I could to show the intended behavior. Please feel free to s
Le lun. 6 juin 2022, 19:25, Vladimir 'phcoder' Serbinenko
a écrit :
> 256 is a bad modulo. A prime would be a much better one for those
> purposes. Also get_time_ms counts up from arbitrary point in time, often
> boot. I suggest using some combination of etc
>
RTC, not etc
>
> and get_time to s
256 is a bad modulo. A prime would be a much better one for those purposes.
Also get_time_ms counts up from arbitrary point in time, often boot. I
suggest using some combination of etc and get_time to seed an LFSR algorithm
Le lun. 6 juin 2022, 18:37, Robert LeBlanc a écrit :
> GRUB uses a stati