linux/crypto/gcm.c
Herbert Xu 8acc67b372 crypto: gcm - Filter out async ghash if necessary
[ Upstream commit b30bdfa864 ]

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>
2016-08-22 12:23:00 -04:00

1449 lines
37 KiB