|
@@ -3,7 +3,7 @@ Introduction:
|
|
The hw_random framework is software that makes use of a
|
|
The hw_random framework is software that makes use of a
|
|
special hardware feature on your CPU or motherboard,
|
|
special hardware feature on your CPU or motherboard,
|
|
a Random Number Generator (RNG). The software has two parts:
|
|
a Random Number Generator (RNG). The software has two parts:
|
|
- a core providing the /dev/hw_random character device and its
|
|
|
|
|
|
+ a core providing the /dev/hwrng character device and its
|
|
sysfs support, plus a hardware-specific driver that plugs
|
|
sysfs support, plus a hardware-specific driver that plugs
|
|
into that core.
|
|
into that core.
|
|
|
|
|
|
@@ -14,7 +14,7 @@ Introduction:
|
|
|
|
|
|
http://sourceforge.net/projects/gkernel/
|
|
http://sourceforge.net/projects/gkernel/
|
|
|
|
|
|
- Those tools use /dev/hw_random to fill the kernel entropy pool,
|
|
|
|
|
|
+ Those tools use /dev/hwrng to fill the kernel entropy pool,
|
|
which is used internally and exported by the /dev/urandom and
|
|
which is used internally and exported by the /dev/urandom and
|
|
/dev/random special files.
|
|
/dev/random special files.
|
|
|
|
|
|
@@ -32,13 +32,13 @@ Theory of operation:
|
|
The rng-tools package uses such tests in "rngd", and lets you
|
|
The rng-tools package uses such tests in "rngd", and lets you
|
|
run them by hand with a "rngtest" utility.
|
|
run them by hand with a "rngtest" utility.
|
|
|
|
|
|
- /dev/hw_random is char device major 10, minor 183.
|
|
|
|
|
|
+ /dev/hwrng is char device major 10, minor 183.
|
|
|
|
|
|
CLASS DEVICE. There is a /sys/class/misc/hw_random node with
|
|
CLASS DEVICE. There is a /sys/class/misc/hw_random node with
|
|
two unique attributes, "rng_available" and "rng_current". The
|
|
two unique attributes, "rng_available" and "rng_current". The
|
|
"rng_available" attribute lists the hardware-specific drivers
|
|
"rng_available" attribute lists the hardware-specific drivers
|
|
available, while "rng_current" lists the one which is currently
|
|
available, while "rng_current" lists the one which is currently
|
|
- connected to /dev/hw_random. If your system has more than one
|
|
|
|
|
|
+ connected to /dev/hwrng. If your system has more than one
|
|
RNG available, you may change the one used by writing a name from
|
|
RNG available, you may change the one used by writing a name from
|
|
the list in "rng_available" into "rng_current".
|
|
the list in "rng_available" into "rng_current".
|
|
|
|
|