diff options
author | Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> | 2016-09-16 16:21:47 +0530 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-09-23 12:38:40 +1000 |
commit | fec5c62a6434bc306906972e276c5a6f2cafdd9a (patch) | |
tree | 538ab36157eac326e31aa16331ea31cc560a6ea8 /target-ppc/kvm.c | |
parent | ddb9ac50ae999c8970fc5b145b0830b61d4da3f4 (diff) |
target-ppc: implement darn instruction
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 executed. Moreover, /dev/random
would only work for linux-user
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
[dwg: Added minor clang warning fix for ppc32 target]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc/kvm.c')
0 files changed, 0 insertions, 0 deletions