summaryrefslogtreecommitdiff
path: root/crypto/algif_rng.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-06-03 14:49:23 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-04 15:04:59 +0800
commit6b87393bd9524c315fd0180506b6c733663f007d (patch)
tree288f3052700dd09c1d078bd685cbc2b5da06b2fa /crypto/algif_rng.c
parent09a09d527aa27b6d51e5b24e1d8824fd2608157a (diff)
downloadlinux-crypto-6b87393bd9524c315fd0180506b6c733663f007d.tar.gz
linux-crypto-6b87393bd9524c315fd0180506b6c733663f007d.zip
crypto: chainiv - 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>
Diffstat (limited to 'crypto/algif_rng.c')
0 files changed, 0 insertions, 0 deletions