mbox series

[v5,0/4] add ec points to sm2 op

Message ID 20241009130147.38280-1-arkadiuszx.kusztal@intel.com (mailing list archive)
Headers
Series add ec points to sm2 op |

Message

Kusztal, ArkadiuszX Oct. 9, 2024, 1:01 p.m. UTC
In the case when PMD cannot support the full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.

Depends-on: series-33376 ("cryptodev: add asymmetric operational capability")

v2:
- rebased against the 24.11 code
v3:
- added feature flag
- added QAT patches
- added test patches
v4:
- replaced feature flag with capability
- split API patches
v5:
- rebased
- clarified usage of the partial flag

Arkadiusz Kusztal (4):
  cryptodev: reorder structures in asym crypto header
  cryptodev: add ec points to sm2 op
  crypto/qat: add sm2 encryption/decryption function
  app/test: add test sm2 C1/Kp test cases

 app/test/test_cryptodev_asym.c                  | 138 ++++++++++++++++++++++-
 app/test/test_cryptodev_sm2_test_vectors.h      | 112 ++++++++++++++++++-
 doc/guides/cryptodevs/features/qat.ini          |   1 +
 doc/guides/rel_notes/release_24_11.rst          |   4 +
 drivers/common/qat/qat_adf/icp_qat_fw_mmp_ids.h |   3 +
 drivers/common/qat/qat_adf/qat_pke.h            |  20 ++++
 drivers/crypto/qat/qat_asym.c                   | 140 +++++++++++++++++++++++-
 lib/cryptodev/rte_crypto_asym.h                 | 121 ++++++++++++--------
 8 files changed, 481 insertions(+), 58 deletions(-)