[PATCH v1 1/2] random-bits: Factor out entropy generating function
Noah Goldstein
goldstein.w.n@gmail.com
Thu Mar 31 22:33:04 GMT 2022
On Thu, Mar 31, 2022 at 4:57 PM Cristian Rodríguez
<crrodriguez@opensuse.org> wrote:
>
> On Thu, Mar 31, 2022 at 12:32 PM 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?
> >
> > If so, I can send a patch to return moderately secure integers here really fast.
> >
> > Jason
>
> That would be great if is better than the current solution.
Well v2 of this patch does that for x86. Just curious if I should go forward
with the patchset and we can fixup the generic random-bits-entropy.h
later or if the solution will be universally optimal.
More information about the Libc-alpha
mailing list