qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/6] add paravirtualization hwrng support


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/6] add paravirtualization hwrng support
Date: Wed, 31 Oct 2012 15:27:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1

Il 31/10/2012 15:15, H. Peter Anvin ha scritto:
>>
>> Related to this, rdrand's "entropy content" in the worst case will be
>> only 1/255th of the data it produces: Intel documents that one 256-bit
>> seed will result in up to 1022 64-bit random numbers.  Yet, it is good
>> enough to drive rngd.  Would it make sense for QEMU to implement the
>> same kind of stretching of /dev/random data, to avoid depleting the
>> host's entropy pool too fast?
>>
> 
> Absolutely not; in fact, we have to do data reduction in rngd for
> exactly this reason (and a Qemu backend would have to do the same).
> There is a new RDSEED instruction in newer CPUs to correct this.

Ok, thanks.  At least I asked. :)

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]