]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
crypto: prng - Deterministic CPRNG
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 7 Jul 2008 14:41:31 +0000 (22:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2008 12:35:18 +0000 (20:35 +0800)
commitb8454eebe380677789735fd6bad368af2e6b2d1e
treed1deffadf86c3292e51bde06bf8d2a00c20da697
parent166247f46a9c866e6f7f7d2212be875fb82212a1
crypto: prng - Deterministic CPRNG

This patch adds a cryptographic pseudo-random number generator
based on CTR(AES-128).  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/prng.c [new file with mode: 0644]
crypto/prng.h [new file with mode: 0644]