crypto: rng - Add crypto_rng_set_entropy
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 21 Apr 2015 02:46:39 +0000 (10:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 01:30:15 +0000 (09:30 +0800)
commit7ca99d814821e8a8ac6d7c48b2ccfc24bda27b1f
tree2a88fdf67ae0efe03a8061e4ce4cdb4b15f1393c
parentacec27ff35af9caf34d76d16ee17ff3b292e7d83
crypto: rng - Add crypto_rng_set_entropy

This patch adds the function crypto_rng_set_entropy.  It is only
meant to be used by testmgr when testing RNG implementations by
providing fixed entropy data in order to verify test vectors.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/internal/rng.h
include/crypto/rng.h