[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180316155610.GG7095@gondor.apana.org.au>
Date: Fri, 16 Mar 2018 23:56:10 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Kamil Konieczny <k.konieczny@...tner.samsung.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] crypto: hash.h: Prevent use of req->result in ahash
update
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 <k.konieczny@...tner.samsung.com>
Patch applied. 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