diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-06 19:11:03 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-07 21:54:26 +0800 |
commit | ec9f2006fc020c58f32f01b9d68fdb5f7374ffce (patch) | |
tree | 4e331d6bde27e17aaa681caec70e412e0317ff53 /security/min_addr.c | |
parent | 4d666dbefcb094a2f35a0fc8a3c7b53dd8375e34 (diff) | |
download | op-kernel-dev-ec9f2006fc020c58f32f01b9d68fdb5f7374ffce.zip op-kernel-dev-ec9f2006fc020c58f32f01b9d68fdb5f7374ffce.tar.gz |
crypto: cryptd - Fix AEAD request context corruption
The AEAD version of cryptd uses the same context for its own state
as well as that of the child. In doing so it did not maintain the
proper ordering, thus resulting in potential state corruption where
the child will overwrite the state stored by cryptd.
This patch fixes and also sets the request size properly.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'security/min_addr.c')
0 files changed, 0 insertions, 0 deletions