From: Herbert Xu Subject: Re: [PATCH v2] crypto: hash.h: Prevent use of req->result in ahash update Date: Fri, 16 Mar 2018 23:56:10 +0800 Message-ID: <20180316155610.GG7095@gondor.apana.org.au> References: <7850c31c-8703-51fb-0710-3b4920935bfc@partner.samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , Bartlomiej Zolnierkiewicz , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org To: Kamil Konieczny Return-path: Content-Disposition: inline In-Reply-To: <7850c31c-8703-51fb-0710-3b4920935bfc@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Wed, Mar 07, 2018 at 11:49:33AM +0100, Kamil Konieczny wrote: > Prevent improper use of req->result field in ahash update, init, export and > import functions in drivers code. A driver should use ahash request context > if it needs to save internal state. > > Signed-off-by: Kamil Konieczny Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt