]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] Support for s390 Pseudo Random Number Generator
authorJan Glauber <jan.glauber@de.ibm.com>
Mon, 5 Feb 2007 20:18:22 +0000 (21:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Feb 2007 20:18:22 +0000 (21:18 +0100)
commit1b2782948997cf5a0d1747de13d43ba7dfa7c543
tree3c9c74179f2e8feaaaf48c1ff6dad78e979ed2e5
parentd54853ef8cb17296ac7bce9c77430fb7c80532d0
[S390] Support for s390 Pseudo Random Number Generator

Starting with the z9 the CPU Cryptographic Assist Facility comes with
an integrated Pseudo Random Number Generator. The generator creates
random numbers by an algorithm similar to the ANSI X9.17 standard.
The pseudo-random numbers can be accessed via a character device driver
node called /dev/prandom. Similar to /dev/urandom any amount of bytes
can be read from the device without blocking.

Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/crypto/Makefile
arch/s390/crypto/crypt_s390.h
arch/s390/crypto/prng.c [new file with mode: 0644]
arch/s390/defconfig
drivers/crypto/Kconfig
include/asm-s390/timex.h