diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-03 14:49:27 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-04 15:05:01 +0800 |
commit | b7dcfab4a7cdc3103c7560cd2386036266b2740e (patch) | |
tree | e4649fe6b58b2198bcd47041fabfc367676ed3cf /include/rxrpc/packet.h | |
parent | 4ce43ceb71cb5d5cde9f9bd4e51d17b966c462f7 (diff) |
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 'include/rxrpc/packet.h')
0 files changed, 0 insertions, 0 deletions