]> 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)
commit64eae73e3f22f9c3b073619fa9b09696c37f86e7
tree81c40421fcb6a243a562a10f9d48a495982c507b
parent35e07719be23e30014d6060fabe838e91be93e0b
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: 4fadae07aa2d ("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