rng.rst 521 B

1234567891011121314151617181920212223242526
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. rng command
  3. ===========
  4. Synopsis
  5. --------
  6. ::
  7. rng [devnum [n]]
  8. Description
  9. -----------
  10. The *rng* command reads the random number generator(RNG) device and
  11. prints the random bytes read on the console. A maximum of 64 bytes can
  12. be read in one invocation of the command.
  13. devnum
  14. The RNG device from which the random bytes are to be
  15. read. Defaults to 0.
  16. n
  17. Number of random bytes to be read and displayed on the
  18. console. Default value is 0x40. Max value is 0x40.