[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170615.110202.2304410513992498772.davem@davemloft.net>
Date: Thu, 15 Jun 2017 11:02:02 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org
Subject: Re: Crypto Fixes for 4.12
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 15 Jun 2017 17:42:10 +0800
> On Thu, Jun 15, 2017 at 06:04:44PM +0900, Linus Torvalds wrote:
>> There's a fair number of SHASH_DESC_ON_STACK users, are all the others
>> safe for some random reason that just happens to be about code
>> generation? Did people actually verify that?
>
> If I understand this correctly this is only an issue if you directly
> return a value from the shash_desc struct allocated on the stack.
> This is usually rare as normally you'd return an error code and the
> hash result would be written directly to some memory passed in from
> the caller.
Correct.
Powered by blists - more mailing lists