提交 8077f65d 编写于 作者: S Suqin Huang

Update /dev/hwrng to /dev/random for rng random read

need to read from /dev/random instead of /dev/hwrng

/dev/random is the place from where you should always read
/dev/hwrng will be available to read if you have a hardware rng
device
Signed-off-by: NSuqin Huang <shuang@redhat.com>
上级 9211de23
......@@ -20,7 +20,7 @@
driver_check_cmd = "WIN_UTILS:\devcon\wnet_amd64\devcon.exe status @DRIVER_ID"
Linux:
session_cmd_timeout = 360
read_rng_cmd = "dd if=/dev/hwrng bs=1 count=10 2>/dev/null|hexdump"
read_rng_cmd = "dd if=/dev/random bs=1 count=10 2>/dev/null|hexdump"
driver_verifier_cmd = "cat /sys/devices/virtual/misc/hw_random/rng_current"
driver_name = virtio
rng_data_rex = "\w+"
......@@ -22,7 +22,7 @@
Linux:
session_cmd_timeout = 360
driver_verifier_cmd = "cat /sys/devices/virtual/misc/hw_random/rng_current"
read_rng_cmd = "dd if=/dev/hwrng bs=1 count=10 2>/dev/null|hexdump"
read_rng_cmd = "dd if=/dev/random bs=1 count=10 2>/dev/null|hexdump"
driver_name = "virtio"
rng_data_rex = "\w+"
restart_rngd = "service rngd restart"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册