summaryrefslogtreecommitdiffstats
path: root/crypto/prng.c
Commit message (Collapse)AuthorAgeFilesLines
* crypto: prng - Deterministic CPRNGNeil Horman2008-07-101-0/+410
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>
OpenPOWER on IntegriCloud