crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework
authorTim Chen <tim.c.chen@linux.intel.com>
Wed, 1 May 2013 19:52:48 +0000 (12:52 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 May 2013 12:11:01 +0000 (20:11 +0800)
commit2d31e518a42828df7877bca23a958627d60408bc
tree83630715e5a962e734a936310adae2731edb8a3d
parent986dfbcf8b493928188f0e634068993bf2067ad7
crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework

When CRC T10 DIF is calculated using the crypto transform framework, we
wrap the crc_t10dif function call to utilize it.  This allows us to
take advantage of any accelerated CRC T10 DIF transform that is
plugged into the crypto framework.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/crct10dif.c [new file with mode: 0644]
include/linux/crc-t10dif.h
lib/Kconfig
lib/crc-t10dif.c