crypto: rng - RNG interface and implementation
authorNeil Horman <nhorman@tuxdriver.com>
Thu, 14 Aug 2008 12:15:52 +0000 (22:15 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Aug 2008 05:50:04 +0000 (15:50 +1000)
commit17f0f4a47df9aea9ee26c939f8057c35e0be1847
treed6c7ff6c93573227a49c9e8fe06c53d97950e4e6
parentccb778e1841ce04b4c10b39f0dd2558ab2c6dcd4
crypto: rng - RNG interface and implementation

This patch adds a random number generator interface as well as a
cryptographic pseudo-random number generator based on AES.  It is
meant to be used in cases where a deterministic CPRNG is required.

One of the first applications will be as an input in the IPsec IV
generation process.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/ansi_cprng.c [new file with mode: 0644]
crypto/krng.c [new file with mode: 0644]
crypto/rng.c [new file with mode: 0644]
include/crypto/internal/rng.h [new file with mode: 0644]
include/crypto/rng.h [new file with mode: 0644]
include/linux/crypto.h