On Thu, May 01, 2014 at 01:32:55PM -0700, Andy Lutomirski wrote:
> On Thu, May 1, 2014 at 1:30 PM, H. Peter Anvin <[email protected]> wrote:
> > RDSEED is not synchronous. It is, however, nonblocking.
>
> What I mean is: IIUC it's reasonable to call RDSEED a few times in a
> loop and hope it works. It makes no sense to do that with
> /dev/random.
RDSEED is allowed to return an error if there is insufficient entropy.
So long as the caller understands that this is an emulated
instruction, I don't see a problem.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/