]>
Commit | Line | Data |
---|---|---|
4bdbb54e SG |
1 | .. SPDX-License-Identifier: GPL-2.0+ |
2 | ||
60971e63 HS |
3 | .. index:: |
4 | single: rng (command) | |
5 | ||
4bdbb54e SG |
6 | rng command |
7 | =========== | |
8 | ||
9 | Synopsis | |
10 | -------- | |
11 | ||
12 | :: | |
13 | ||
14 | rng [devnum [n]] | |
15 | ||
16 | Description | |
17 | ----------- | |
18 | ||
19 | The *rng* command reads the random number generator(RNG) device and | |
20 | prints the random bytes read on the console. A maximum of 64 bytes can | |
21 | be read in one invocation of the command. | |
22 | ||
23 | devnum | |
24 | The RNG device from which the random bytes are to be | |
25 | read. Defaults to 0. | |
26 | ||
27 | n | |
28 | Number of random bytes to be read and displayed on the | |
29 | console. Default value is 0x40. Max value is 0x40. |