Re: [Qemu-devel] [PATCH RESEND v2 11/17] target-ppc: implement darn instruction

2016-09-14 Thread Nikunj A Dadhania
David Gibson writes: > [ Unknown signature status ] > On Mon, Sep 12, 2016 at 12:11:40PM +0530, Nikunj A Dadhania wrote: >> From: Ravi Bangoria >> >> darn: Deliver A Random Number >> >> Currently return invalid random number for all the case. This needs >> proper algorithm to provide cryptogra

Re: [Qemu-devel] [PATCH RESEND v2 11/17] target-ppc: implement darn instruction

2016-09-14 Thread David Gibson
On Mon, Sep 12, 2016 at 12:11:40PM +0530, Nikunj A Dadhania wrote: > From: Ravi Bangoria > > darn: Deliver A Random Number > > Currently return invalid random number for all the case. This needs > proper algorithm to provide cryptographically suitable random data. > Reading from /dev/random can

[Qemu-devel] [PATCH RESEND v2 11/17] target-ppc: implement darn instruction

2016-09-12 Thread Nikunj A Dadhania
From: Ravi Bangoria darn: Deliver A Random Number Currently return invalid random number for all the case. This needs proper algorithm to provide cryptographically suitable random data. Reading from /dev/random can block and that is not an expected behaviour while the cpu instruction is getting