คำตอบ X86 คือทำให้แน่ใจว่า VM ของคุณไม่ได้ดักจับ RdRand หรือ RdSeed คุณเชื่อใจ VM ของคุณในหลาย ๆ สิ่งนี่เป็นหนึ่งในนั้น
RNGd ล่าสุดที่เพียงพอบนโพสต์ Snady Bridge CPU จะ (หรือสามารถบอกได้ว่า) ใช้ RdRand หรือ RdSeed และ RdRand หรือ RdSeed ที่ไม่ได้รับการแก้ไขจะได้รับข่าวสารจาก VM / dev / random จากนั้นทำงานร่วมกับแหล่งเอนโทรปีของแหล่งข้อมูล (ไม่ใช่เสมือน)
นี่ไม่ใช่โดยบังเอิญ มันอยู่ที่นั่นในเอกสารสถาปัตยกรรมของ Intel
สำหรับแหล่งข้อมูลเอนโทรปีของฮาร์ดแวร์ที่ใช้อุปกรณ์ (IE ใช้ไดรเวอร์เคอร์เนลเพื่อแชร์) คุณต้องใช้ VM เพื่อจำลองแหล่งที่มาทางกายภาพให้ถูกต้อง ฉันไม่มีเงื่อนงำหากพวกเขาทำเช่นนี้และหากเป็นเช่นนั้นสำหรับอุปกรณ์ใด
หาก RNGd ของคุณไม่มีตัวเลือก drng ด้านล่างให้อัปเดต หากฮาร์ดแวร์ของคุณไม่มีฮาร์ดแวร์ที่รวดเร็ว RNG แสดงว่าคุณถึงวาระแล้วและคุณควรพิจารณาใช้ฮาร์ดแวร์ที่แตกต่างกันเพื่อความปลอดภัย
# rngd --help
Usage: rngd [OPTION...]
Check and feed random data from hardware device to kernel entropy pool.
  -b, --background           Become a daemon (default)
  **-d, --no-drng=1|0          Do not use drng as a source of random number input**
                             (default: 0)
  -f, --foreground           Do not fork and become a daemon
  -n, --no-tpm=1|0           Do not use tpm as a source of random number input
                             (default: 0)
  -o, --random-device=file   Kernel device used for random number output
                             (default: /dev/random)
  -p, --pid-file=file        File used for recording daemon PID, and multiple
                             exclusion (default: /var/run/rngd.pid)
  -q, --quiet                Suppress error messages
  -r, --rng-device=file      Kernel device used for random number input
                             (default: /dev/hwrng)
  -s, --random-step=nnn      Number of bytes written to random-device at a time
                             (default: 64)
  -v, --verbose              Report available entropy sources
  -W, --fill-watermark=n     Do not stop feeding entropy to random-device until
                             at least n bits of entropy are available in the
                             pool (default: 2048), 0 <= n <= 4096
 -?, --help                 Give this help list
  --usage                Give a short usage message
  -V, --version              Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Report bugs to Jeff Garzik <jgarzik@pobox.com>.