Files
s390-tools/man/prandom.4
Michael Holzheu b627b8d8e1 Initial s390-tools-2.0.0 import
This commit is based on the s390-tools-1.39.0 version.

Changes on top of s390-tools-1.39.0:

 - Add MIT license to all source files
 - Add LICENSE file
 - Transform REAMDE to README.md (markdown)
 - Add AUTHORS.md file
 - Add CONTRIBUTING.md file
 - Move changelog from README to CHANGELOG.md file

Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
2017-08-21 10:55:40 +02:00

38 lines
1.4 KiB
Groff

.\" Copyright IBM Corp. 2007, 2017
.\" s390-tools is free software; you can redistribute it and/or modify
.\" it under the terms of the MIT license. See LICENSE for details.
.\"
.TH PRANDOM 4 "Jan 2007" "s390-tools"
.SH NAME
prandom \- kernel pseudo random number generator device for s390
.SH DESCRIPTION
The character special file \fI/dev/prandom\fP provides an interface to the
pseudo random number generator. The s390 pseudo random number generator uses
the hardware accelerated cryptographic assist functions which are integrated
in the CPU. \fI/dev/prandom\fP is available starting with the z9 processor.
.LP
Reading from \fI/dev/prandom\fP is non-blocking. Any amount of data could
be read from the device.
.LP
The s390 pseudo random number generator provides cryptographically secure
pseudo random numbers following the algorithm in ANSI X9.17. Entropy is added
periodically to the generator to protect against a compromised key.
.LP
.SH CONFIGURATION
The \fI/dev/prandom\fP device node is generated by udev while loading the corresponding kernel
module or while booting a kernel with the generator built-in. By default
\fI/dev/prandom\fP is readable only by root. If it should be readable by every user
add the following to /etc/rules.d/50-udev.rules:
.nf
KERNEL=="prandom", MODE="0444", OPTIONS="last_rule"
.fi
.SH FILES
/dev/prandom
.SH SEE ALSO
Linux on zSeries: Device Drivers, Features and Commands