On Fri, 2005-03-25 at 17:56 +1100, Herbert Xu wrote: > On Fri, Mar 25, 2005 at 09:59:18AM +0300, Evgeniy Polyakov wrote: > > > > It is not only about userspace/kernelspace system calls and data > > copying, > > but about whole revalidation process, which can and is quite expensive, > > due to system calls, copying and validating itself, > > What I meant is if you don't need the revalidation then don't do it. > That's the advantage of having it in user-space, *you* get to decide, > not us.
One can not add entropy data directly to the pool from kernelspace now. But now noone may do it, since all presented data is not validated. So when there will be validated HW RNG they still need to pass it's data through userspace validation daemon (which btw makes tens to hundreds operations per bit according to FIPS). > > And what about initial bootup? When system needs to create randoom > > IP/dhcp/any ids? What about small router? > > Let's not reinvent the wheel, this is exactly what initramfs is for. It is not panacea and even not always working solution. If user turn that feature on - he is on his own. Noone will complain on Linux if NIC is broken and produces wrong checksum and HW checksum offloading is enabled using ethtools. -- Evgeniy Polyakov Crash is better than data corruption -- Arthur Grabowski
signature.asc
Description: This is a digitally signed message part