]> 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)
committerSasha Levin <alexander.levin@verizon.com>
Mon, 22 Aug 2016 16:23:00 +0000 (12:23 -0400)
commit8acc67b372ac0c3607ccd3a898ca8fd75455a8fa
tree60d7556041f4c92c48f4254f6d3e244193edb76d
parentc48db62d0cbae1e2a5b2f572130064c11ffec777
crypto: gcm - Filter out async ghash if necessary

[ Upstream commit b30bdfa86431afbafe15284a3ad5ac19b49b88e3 ]

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.

Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
crypto/gcm.c