Re: [PATCH RESEND] random: fix the RNDRESEEDCRNG ioctl

2021-02-04 Thread Greg KH
On Mon, Feb 01, 2021 at 02:43:51PM -0800, Eric Biggers wrote: > On Tue, Jan 12, 2021 at 11:28:18AM -0800, Eric Biggers wrote: > > From: Eric Biggers > > > > The RNDRESEEDCRNG ioctl reseeds the primary_crng from itself, which > > doesn't make sense. Reseed it from the input_pool instead. > > > >

Re: [PATCH RESEND] random: fix the RNDRESEEDCRNG ioctl

2021-02-01 Thread Eric Biggers
On Tue, Jan 12, 2021 at 11:28:18AM -0800, Eric Biggers wrote: > From: Eric Biggers > > The RNDRESEEDCRNG ioctl reseeds the primary_crng from itself, which > doesn't make sense. Reseed it from the input_pool instead. > > Fixes: d848e5f8e1eb ("random: add new ioctl RNDRESEEDCRNG") > Cc: sta...@vg

Re: [PATCH RESEND] random: fix the RNDRESEEDCRNG ioctl

2021-01-13 Thread Ard Biesheuvel
On Tue, 12 Jan 2021 at 20:30, Eric Biggers wrote: > > From: Eric Biggers > > The RNDRESEEDCRNG ioctl reseeds the primary_crng from itself, which > doesn't make sense. Reseed it from the input_pool instead. > > Fixes: d848e5f8e1eb ("random: add new ioctl RNDRESEEDCRNG") > Cc: sta...@vger.kernel.o

[PATCH RESEND] random: fix the RNDRESEEDCRNG ioctl

2021-01-12 Thread Eric Biggers
From: Eric Biggers The RNDRESEEDCRNG ioctl reseeds the primary_crng from itself, which doesn't make sense. Reseed it from the input_pool instead. Fixes: d848e5f8e1eb ("random: add new ioctl RNDRESEEDCRNG") Cc: sta...@vger.kernel.org Cc: linux-cry...@vger.kernel.org Cc: Andy Lutomirski Cc: Jann