Re: getrandom waits for a long time when /dev/random is insufficiently read from

2016-07-30 Thread Alex Xu
On Sat, 30 Jul 2016 18:09:22 -0400 Theodore Ts'o wrote as excerpted: > On Fri, Jul 29, 2016 at 01:31:14PM -0400, Alex Xu wrote: > > When qemu is started with -object rng-random,filename=/dev/urandom, > > and immediately (i.e. with no initrd and as the first thing in > > init): > > > > 1. the gues

Re: getrandom waits for a long time when /dev/random is insufficiently read from

2016-07-30 Thread Theodore Ts'o
On Fri, Jul 29, 2016 at 01:31:14PM -0400, Alex Xu wrote: > > My understanding was that all three methods of obtaining entropy from > userspace all receive data from the CSPRNG in the kernel, and that the > only difference is that /dev/random and getrandom may block depending > on the kernel's esti

Re: [v4.7-6816-g797cee982eef] Call-trace: modprobe | asymmetric-keys?

2016-07-30 Thread Herbert Xu
On Sat, Jul 30, 2016 at 02:55:12PM +0200, Sedat Dilek wrote: > [ CC "MODULE SUPPORT" | "ASYMMETRIC KEYS" | "CRYPTO API" maintainers ] > > Hi, > > with latest Linus Git (v4.7-6816-g797cee982eef) I see the following > call-trace in my Ubuntu/precise AMD64 system... This should be fixed by https:/