crypto: qat - set CIPHER capability for DH895XCC
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Thu, 7 Apr 2022 16:54:40 +0000 (17:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:23:05 +0000 (10:23 +0200)
commit7829a859582500acd0ab88167cfbf19b8433ee83
tree5bb139dcac4036f15b8f54d92463dcef617ca68a
parentbb170dac3b7f8c76a2c58212e274a507f502a0ea
crypto: qat - set CIPHER capability for DH895XCC

[ Upstream commit 6a23804cb8bcb85c6998bf193d94d4036db26f51 ]

Set the CIPHER capability for QAT DH895XCC devices if the hardware supports
it. This is done if both the CIPHER and the AUTHENTICATION engines are
available on the device.

Fixes: ad1332aa67ec ("crypto: qat - add support for capability detection")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Reviewed-by: Marco Chiappero <marco.chiappero@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c