From: Herbert Xu Date: Wed, 15 Jun 2016 14:27:05 +0000 (+0800) Subject: crypto: gcm - Filter out async ghash if necessary X-Git-Tag: v3.2.84~149 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=f64965a7001c02be726e6df396136ac4f93258df;hp=f64965a7001c02be726e6df396136ac4f93258df 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 [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings ---