From: Huang Ying Date: Mon, 19 Oct 2009 02:53:06 +0000 (+0900) Subject: crypto: ghash - Add PCLMULQDQ accelerated implementation X-Git-Tag: v2.6.33-rc1~365^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1227d356e9b2fe0500d6cc7084f752040a1e0e;p=pandora-kernel.git crypto: ghash - Add PCLMULQDQ accelerated implementation PCLMULQDQ is used to accelerate the most time-consuming part of GHASH, carry-less multiplication. More information about PCLMULQDQ can be found at: http://software.intel.com/en-us/articles/carry-less-multiplication-and-its-usage-for-computing-the-gcm-mode/ Because PCLMULQDQ changes XMM state, its usage must be enclosed with kernel_fpu_begin/end, which can be used only in process context, the acceleration is implemented as crypto_ahash. That is, request in soft IRQ context will be defered to the cryptd kernel thread. Signed-off-by: Huang Ying Signed-off-by: Herbert Xu --- Reading git-diff-tree failed