[PATCH] stdlib: Tuned down tst-arc4random-thread internal parameters
Florian Weimer
fweimer@redhat.com
Wed Jul 27 15:36:50 GMT 2022
* Adhemerval Zanella Netto:
>>>> By the way, I think we should switch to the standard arc4random_uniform
>>>> implementation that doesn't try to conserve bits. It's cheaper to get a
>>>> larger number of bits once instead of obtaining 24 bits first, then 8
>>>> bits.
>>>
>>> Yeah, it should simpler indeed. But I do not consider this urgent
>>> for 2.36.
>>
>> Well, the standard way probably has more obvious statistical properties
>> and is harder to screw up. 8-/
>
> Right, do you consider this a blocker? I think I can send a patch to
> use a simpler algorithm.
I like it because it would minimize risk. It's not a strict blocker.
I'm not sure if I'll be able to work on it this week. Maybe I can
review a patch.
Thanks,
Florian
More information about the Libc-alpha
mailing list