]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: qat - disable ZUC-256 capability for QAT GEN5
authorBairavi Alagappan <bairavix.alagappan@intel.com>
Mon, 30 Jun 2025 09:20:49 +0000 (10:20 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jul 2025 10:51:59 +0000 (20:51 +1000)
commitd956692c7dd523b331d4556ee03def8dd02609dc
tree259bada002f2a4e980cfc224281bb8f40f569bc7
parent34b283636181ce02c52633551f594fec9876bec7
crypto: qat - disable ZUC-256 capability for QAT GEN5

The ZUC-256 EEA (encryption) and EIA (integrity) algorithms are not
supported on QAT GEN5 devices, as their current implementation does not
align with the NIST specification. Earlier versions of the ZUC-256
specification used a different initialization scheme, which has since
been revised to comply with the 5G specification.

Due to this misalignment with the updated specification, remove support
for ZUC-256 EEA and EIA for QAT GEN5 by masking out the ZUC-256
capability.

Fixes: fcf60f4bcf549 ("crypto: qat - add support for 420xx devices")
Signed-off-by: Bairavi Alagappan <bairavix.alagappan@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c