]> git.ipfire.org Git - thirdparty/u-boot.git/blame - doc/usage/cmd/rng.rst
doc: create index entries for commands
[thirdparty/u-boot.git] / doc / usage / cmd / rng.rst
CommitLineData
4bdbb54e
SG
1.. SPDX-License-Identifier: GPL-2.0+
2
60971e63
HS
3.. index::
4 single: rng (command)
5
4bdbb54e
SG
6rng 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.