commit | 4ce43ceb71cb5d5cde9f9bd4e51d17b966c462f7 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jun 03 14:49:25 2015 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 04 15:05:00 2015 +0800 |
tree | e1cd75434bde06edd207b743772060abdbf9025b | |
parent | f261c5fbe7121fd88198f3ee4be4e34a5a268120 [diff] |
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: Herbert Xu <herbert@gondor.apana.org.au>