From: Herbert Xu Subject: Re: [bug] crypto/vmx/p8_ghash memory corruption in 4.8-rc7 Date: Tue, 27 Sep 2016 11:08:26 +0800 Message-ID: <20160927030826.GB8579@gondor.apana.org.au> References: <450861381.1559123.1474673197124.JavaMail.zimbra@redhat.com> <1655600242.1561022.1474676547316.JavaMail.zimbra@redhat.com> <20160926145934.GA5520@gondor.apana.org.au> <20160926174317.GA21317@gallifrey> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Stancek , rui.y.wang@intel.com, mhcerri@linux.vnet.ibm.com, leosilva@linux.vnet.ibm.com, pfsmorigo@linux.vnet.ibm.com, linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org To: Marcelo Cerri Return-path: Received: from helcar.hengli.com.au ([209.40.204.226]:47942 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbcI0DIs (ORCPT ); Mon, 26 Sep 2016 23:08:48 -0400 Content-Disposition: inline In-Reply-To: <20160926174317.GA21317@gallifrey> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Mon, Sep 26, 2016 at 02:43:17PM -0300, Marcelo Cerri wrote: > > Wouldn't be enough to provide a pair of import/export functions as the > padlock-sha driver does? I don't think that will help as ultimately you need to call the export function on the fallback and that's what requires the extra memory. In fact very operation involving the fallback will need that extra memory too. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt