Re: [PATCH -stable 1/2] crypto: hash - annotate algorithms taking optional key

2018-02-22 Thread Greg Kroah-Hartman
On Thu, Feb 22, 2018 at 02:50:10PM -0800, Eric Biggers wrote: > From: Eric Biggers > > commit a208fa8f33031b9e0aba44c7d1b7e68eb0cbd29e upstream. > [Please apply to 4.9-stable.] Both now applied, thanks for the backports. greg k-h

[PATCH -stable 1/2] crypto: hash - annotate algorithms taking optional key

2018-02-22 Thread Eric Biggers
From: Eric Biggers commit a208fa8f33031b9e0aba44c7d1b7e68eb0cbd29e upstream. [Please apply to 4.9-stable.] We need to consistently enforce that keyed hashes cannot be used without setting the key. To do this we need a reliable way to determine whether a given hash algorithm is keyed or not. AF