mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-13 17:43:52 +00:00
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: Herbert Xu <herbert@gondor.apana.org.au>