From: Alexander Boyko Date: Thu, 10 Jan 2013 14:54:59 +0000 (+0400) Subject: crypto: crc32 - add crc32 pclmulqdq implementation and wrappers for table implementation X-Git-Tag: v3.9-rc1~87^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78c37d191dd6899d8c219fee597a17d6e3c5d288;p=pandora-kernel.git crypto: crc32 - add crc32 pclmulqdq implementation and wrappers for table implementation This patch adds crc32 algorithms to shash crypto api. One is wrapper to gerneric crc32_le function. Second is crc32 pclmulqdq implementation. It use hardware provided PCLMULQDQ instruction to accelerate the CRC32 disposal. This instruction present from Intel Westmere and AMD Bulldozer CPUs. For intel core i5 I got 450MB/s for table implementation and 2100MB/s for pclmulqdq implementation. Signed-off-by: Alexander Boyko Signed-off-by: Herbert Xu --- Reading git-diff-tree failed