Skip to content
Commit ec9f2006 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4d666dbe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment