]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: gcm - Filter out async ghash if necessary
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Jun 2016 14:27:05 +0000 (22:27 +0800)
committerWilly Tarreau <w@1wt.eu>
Sat, 27 Aug 2016 09:40:19 +0000 (11:40 +0200)
commitef15fd6c8acbadcf4be663b7a504aa6b191d8182
tree365fa755ff98b1afe43169dffaac909af8f103fa
parent7e2e2115ed370d58c3835136f4a7914906964925
crypto: gcm - Filter out async ghash if necessary

commit b30bdfa86431afbafe15284a3ad5ac19b49b88e3 upstream.

As it is if you ask for a sync gcm you may actually end up with
an async one because it does not filter out async implementations
of ghash.

This patch fixes this by adding the necessary filter when looking
for ghash.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
crypto/gcm.c