summaryrefslogtreecommitdiff
path: root/crypto/ctr.c
diff options
context:
space:
mode:
authorAustin Zhang <austin.zhang@intel.com>2008-08-07 09:57:03 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-08-29 15:49:50 +1000
commit1432a904ec2a353c9d0542058f1190b1899c55bb (patch)
tree3e35830f0921870423fead52b58f2de8146c7b46 /crypto/ctr.c
parent36e6efdb8eed109712a81d9126d1af17d0dbf0cb (diff)
downloadlinux-crypto-1432a904ec2a353c9d0542058f1190b1899c55bb.tar.gz
linux-crypto-1432a904ec2a353c9d0542058f1190b1899c55bb.zip
crypto: crc32c - Use Intel CRC32 instruction
From NHM processor onward, Intel processors can support hardware accelerated CRC32c algorithm with the new CRC32 instruction in SSE 4.2 instruction set. The patch detects the availability of the feature, and chooses the most proper way to calculate CRC32c checksum. Byte code instructions are used for compiler compatibility. No MMX / XMM registers is involved in the implementation. Signed-off-by: Austin Zhang <austin.zhang@intel.com> Signed-off-by: Kent Liu <kent.liu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions