commit | ec9f2006fc020c58f32f01b9d68fdb5f7374ffce | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jul 06 19:11:03 2015 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jul 07 21:54:26 2015 +0800 |
tree | 4e331d6bde27e17aaa681caec70e412e0317ff53 | |
parent | 4d666dbefcb094a2f35a0fc8a3c7b53dd8375e34 [diff] |
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>