summaryrefslogtreecommitdiff
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-06-03 14:49:25 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-04 15:05:00 +0800
commitea25e7f0044114f16916fb88edde7b8a71a1ae93 (patch)
tree274441a5f36a782e31b15571680c3e072aacef2d /crypto/ahash.c
parentafdca0239a63191c3d67c852683ac4332c89177a (diff)
downloadlinux-crypto-ea25e7f0044114f16916fb88edde7b8a71a1ae93.tar.gz
linux-crypto-ea25e7f0044114f16916fb88edde7b8a71a1ae93.zip
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>
Diffstat (limited to 'crypto/ahash.c')
0 files changed, 0 insertions, 0 deletions