]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerKamal Mostafa <kamal@canonical.com>
Thu, 15 Sep 2016 16:34:36 +0000 (09:34 -0700)
commit2669a174978f6e7e74bea07e13e76cb29d388f89
tree0ecad044444a50f2c4735627598c70f04dd1fdef
parent120c1daa62380ae7499eb62acfcef8aa89f3cf04
crypto: qat - fix aes-xts key sizes

BugLink: http://bugs.launchpad.net/bugs/1621113
commit 10bb087ce381c812cd81a65ffd5e6f83e6399291 upstream.

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

Fixes: def14bfaf30d ("crypto: qat - add support for ctr(aes) and xts(aes)")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/crypto/qat/qat_common/qat_algs.c