linux/drivers/crypto/intel
Damian Muszynski 5d5bd24f41 crypto: qat - implement dh fallback for primes > 4K
The Intel QAT driver provides support for the Diffie-Hellman (DH)
algorithm, limited to prime numbers up to 4K. This driver is used
by default on platforms with integrated QAT hardware for all DH requests.
This has led to failures with algorithms requiring larger prime sizes,
such as ffdhe6144.

  alg: ffdhe6144(dh): test failed on vector 1, err=-22
  alg: self-tests for ffdhe6144(qat-dh) (ffdhe6144(dh)) failed (rc=-22)

Implement a fallback mechanism when an unsupported request is received.

Signed-off-by: Damian Muszynski <damian.muszynski@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2024-04-19 18:54:18 +08:00
..
iaa crypto: iaa - Use cpumask_weight() when rebalancing 2024-04-12 15:07:52 +08:00
ixp4xx crypto: intel/ixp4xx-crypto - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
keembay crypto: intel/keembay-ocs-hcu - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
qat crypto: qat - implement dh fallback for primes > 4K 2024-04-19 18:54:18 +08:00
Kconfig crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core 2023-12-15 17:52:53 +08:00
Makefile crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core 2023-12-15 17:52:53 +08:00