From: Ard Biesheuvel Date: Thu, 27 Mar 2014 17:14:40 +0000 (+0100) Subject: crypto: ghash-clmulni-intel - use C implementation for setkey() X-Git-Tag: v3.15-rc1~111^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ceee72808d1ae3fb191284afc2257a2be964725;p=pandora-kernel.git crypto: ghash-clmulni-intel - use C implementation for setkey() The GHASH setkey() function uses SSE registers but fails to call kernel_fpu_begin()/kernel_fpu_end(). Instead of adding these calls, and then having to deal with the restriction that they cannot be called from interrupt context, move the setkey() implementation to the C domain. Note that setkey() does not use any particular SSE features and is not expected to become a performance bottleneck. Signed-off-by: Ard Biesheuvel Acked-by: H. Peter Anvin Fixes: 0e1227d356e9b (crypto: ghash - Add PCLMULQDQ accelerated implementation) Signed-off-by: Herbert Xu --- Reading git-diff-tree failed