diff options
author | Huang Ying <ying.huang@intel.com> | 2009-10-19 11:53:06 +0900 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-10-19 11:53:06 +0900 |
commit | 25b6abffbe95fdc4cab3278fb69a473e17f0e4b8 (patch) | |
tree | 390de5f863e6576eaba566dbbfc0c9411fdd57e9 /crypto/crc32c.c | |
parent | b2a6de237d081577c556da17412fa36899bbc03f (diff) | |
download | linux-crypto-25b6abffbe95fdc4cab3278fb69a473e17f0e4b8.tar.gz linux-crypto-25b6abffbe95fdc4cab3278fb69a473e17f0e4b8.zip |
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 <ying.huang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crc32c.c')
0 files changed, 0 insertions, 0 deletions