summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys
diff options
context:
space:
mode:
authorAdam Guerin <adam.guerin@intel.com>2023-08-14 16:52:30 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-08-25 18:46:55 +0800
commitfab9516f02b418e37d3cde6c21c316085262aece (patch)
treee1ac4a4e62f5379dd59dd1e09a707d4541f900bb /crypto/asymmetric_keys
parentb0cc7491c98917f191f14efce7630b547f7ec419 (diff)
crypto: qat - fix crypto capability detection for 4xxx
When extending the capability detection logic for 4xxx devices the SMx algorithms were accidentally missed. Enable these SMx capabilities by default for QAT GEN4 devices. Check for device variants where the SMx algorithms are explicitly disabled by the GEN4 hardware. This is indicated in fusectl1 register. Mask out SM3 and SM4 based on a bit specific to those algorithms. Mask out SM2 if the PKE slice is not present. Fixes: 4b44d28c715d ("crypto: qat - extend crypto capability detection for 4xxx") Signed-off-by: Adam Guerin <adam.guerin@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Fiona Trahe <fiona.trahe@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions