blob: 4a61e33d272642d6a6d7d1206bf5fdf06fee6f4b [file] [log] [blame]
Sughosh Ganu4bdbb542022-07-22 21:32:08 +05301.. SPDX-License-Identifier: GPL-2.0+
2
Heinrich Schuchardt60971e62024-01-14 14:53:13 +01003.. index::
4 single: rng (command)
5
Sughosh Ganu4bdbb542022-07-22 21:32:08 +05306rng command
7===========
8
9Synopsis
10--------
11
12::
13
Weizhao Ouyang9a6e9752024-03-04 14:42:42 +000014 rng list
15 rng [dev] [n]
Sughosh Ganu4bdbb542022-07-22 21:32:08 +053016
Weizhao Ouyang9a6e9752024-03-04 14:42:42 +000017rng list
18--------
19
20List all the probed rng devices.
21
22rng [dev] [n]
23-------------
Sughosh Ganu4bdbb542022-07-22 21:32:08 +053024
25The *rng* command reads the random number generator(RNG) device and
26prints the random bytes read on the console. A maximum of 64 bytes can
27be read in one invocation of the command.
28
Weizhao Ouyang9a6e9752024-03-04 14:42:42 +000029dev
Sughosh Ganu4bdbb542022-07-22 21:32:08 +053030 The RNG device from which the random bytes are to be
31 read. Defaults to 0.
32
33n
34 Number of random bytes to be read and displayed on the
35 console. Default value is 0x40. Max value is 0x40.