diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-03 09:49:23 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-04 10:04:59 +0300 |
commit | 65fe6740d472aee158275fd1103586dee2ffc5cb (patch) | |
tree | 2479627ae9dc0dae8edaf8027d7a8e33279f2b23 /firmware | |
parent | 3154de71258a32040214fda174e67b975b0810ef (diff) | |
download | linux-65fe6740d472aee158275fd1103586dee2ffc5cb.tar.xz |
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 'firmware')
0 files changed, 0 insertions, 0 deletions