Skip to content
Commit f261c5fb authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: echainiv - Move IV seeding into init function



We currently do the IV seeding on the first givencrypt call in
order to conserve entropy.  However, this does not work with
DRBG which cannot be called from interrupt context.  In fact,
with DRBG we don't need to conserve entropy anyway.  So this
patch moves the seeding into the init function.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 65fe6740
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment