[go: up one dir, main page]

File: prandom.4

package info (click to toggle)
s390-tools 1.16.0-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,332 kB
  • sloc: ansic: 46,620; sh: 8,560; cpp: 8,185; asm: 5,503; perl: 3,014; makefile: 886
file content (35 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.\" Copyright 2007 Jan Glauber (jan.glauber@de.ibm.com)
.\"
.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