]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qat - fix aes-xts key sizes
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Thu, 18 Aug 2016 18:53:36 +0000 (19:53 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 24 Aug 2016 12:51:19 +0000 (20:51 +0800)
commit0eb495000c1f37b05964abe2bd9988f161169b1b
tree81c40421fcb6a243a562a10f9d48a495982c507b
parent1020ba786675928be78be0df436218c6bda6b914
crypto: qat - fix aes-xts key sizes

Increase value of supported key sizes for qat_aes_xts.
aes-xts keys consists of keys of equal size concatenated.

Fixes: 218e1c6e1b3a ("crypto: qat - add support for ctr(aes) and xts(aes)")
Cc: stable@vger.kernel.org
Reported-by: Wenqian Yu <wenqian.yu@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_algs.c