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