[PATCH v1 1/2] random-bits: Factor out entropy generating function

Noah Goldstein goldstein.w.n@gmail.com
Thu Mar 31 18:16:41 GMT 2022


On Thu, Mar 31, 2022 at 10:32 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>
> Just so we're on the same page here, is this a discussion about
> optimizing https://code.woboq.org/userspace/glibc/include/random-bits.h.html
> ?
>
> You just need a super fast random uint32_t for some future pthread changes?

On architectures with some fast non-syscall timer like x86 (`rdtsc`)
will this ever
be worth it?

>
> If so, I can send a patch to return moderately secure integers here really fast.
>
> Jason


More information about the Libc-alpha mailing list