summaryrefslogtreecommitdiffstats
path: root/crypto/drbg.c
diff options
context:
space:
mode:
authorHerbert Xu2015-06-03 08:49:27 +0200
committerHerbert Xu2015-06-04 09:05:01 +0200
commitb7dcfab4a7cdc3103c7560cd2386036266b2740e (patch)
treee4649fe6b58b2198bcd47041fabfc367676ed3cf /crypto/drbg.c
parentcrypto: eseqiv - Move IV seeding into init function (diff)
downloadkernel-qcow2-linux-b7dcfab4a7cdc3103c7560cd2386036266b2740e.tar.gz
kernel-qcow2-linux-b7dcfab4a7cdc3103c7560cd2386036266b2740e.tar.xz
kernel-qcow2-linux-b7dcfab4a7cdc3103c7560cd2386036266b2740e.zip
crypto: seqiv - 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/drbg.c')
0 files changed, 0 insertions, 0 deletions