diff options
Diffstat (limited to 'doc/usage/cmd/rng.rst')
| -rw-r--r-- | doc/usage/cmd/rng.rst | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/usage/cmd/rng.rst b/doc/usage/cmd/rng.rst new file mode 100644 index 00000000000..4a61e33d272 --- /dev/null +++ b/doc/usage/cmd/rng.rst @@ -0,0 +1,35 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +.. index:: + single: rng (command) + +rng command +=========== + +Synopsis +-------- + +:: + + rng list + rng [dev] [n] + +rng list +-------- + +List all the probed rng devices. + +rng [dev] [n] +------------- + +The *rng* command reads the random number generator(RNG) device and +prints the random bytes read on the console. A maximum of 64 bytes can +be read in one invocation of the command. + +dev + The RNG device from which the random bytes are to be + read. Defaults to 0. + +n + Number of random bytes to be read and displayed on the + console. Default value is 0x40. Max value is 0x40. |
