+16
−0
+3
−1
crypto/ansi_cprng.c
0 → 100644
+417
−0
crypto/krng.c
0 → 100644
+66
−0
crypto/rng.c
0 → 100644
+126
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>