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

crypto: eseqiv - 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 f261c5fb
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