[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160928130913.GA21123@gondor.apana.org.au>
Date: Wed, 28 Sep 2016 21:09:13 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Marcelo Cerri <marcelo.cerri@...onical.com>
Cc: Jan Stancek <jstancek@...hat.com>,
rui y wang <rui.y.wang@...el.com>,
mhcerri@...ux.vnet.ibm.com, leosilva@...ux.vnet.ibm.com,
pfsmorigo@...ux.vnet.ibm.com, linux-crypto@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [bug] crypto/vmx/p8_ghash memory corruption in 4.8-rc7
On Wed, Sep 28, 2016 at 09:55:58AM -0300, Marcelo Cerri wrote:
>
> Great! If we check the descsize every time a fallback tfm is allocated
> that should be enough to prevent bigger problems such as memory
> corruptions.
Yes a check wouldn't hurt.
> Can I move ghash_desc_ctx to a header file under include/crypto/? Or do
> you do you prefer to do that?
No you can go ahead and do the move.
> Maybe include/crypto/internal/hash.h or a new header file
> include/crypto/internal/ghash.h ?
Let's put it in include/crypto/ghash.h.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists