blob: 1a352da41a71442c45130fb1a178691f9fca02f2 [file] [log] [blame]
Sughosh Ganu3b18ce62022-07-22 21:32:08 +05301.. SPDX-License-Identifier: GPL-2.0+
2
3rng command
4===========
5
6Synopsis
7--------
8
9::
10
11 rng [devnum [n]]
12
13Description
14-----------
15
16The *rng* command reads the random number generator(RNG) device and
17prints the random bytes read on the console. A maximum of 64 bytes can
18be read in one invocation of the command.
19
20devnum
21 The RNG device from which the random bytes are to be
22 read. Defaults to 0.
23
24n
25 Number of random bytes to be read and displayed on the
26 console. Default value is 0x40. Max value is 0x40.