mbox

[v3,0/5] crypto/qat: add asymmetric crypto algorithms

Message ID 20220221104831.30149-1-arkadiuszx.kusztal@intel.com (mailing list archive)
Headers

Message

Kusztal, ArkadiuszX Feb. 21, 2022, 10:48 a.m. UTC
This patchset adds following asymmetric crypto algorithms to Intel QuickAssist Technology driver:
- ECDSA
- ECPM

Code also was refactored to be more readable and easier scalable.

v2:
- add actual implementation
v3:
- rebase against newest changes

Depends-on: patch-107793 ("crypto: fix misspelled key in qt format")
Depends-on: series-21741 ("drivers/qat: QAT symmetric crypto datapatch rework")

Arek Kusztal (5):
  crypto/qat: refactor asymmetric crypto functions
  crypto/qat: add named elliptic curves
  crypto/qat: add ecdsa algorithm
  crypto/qat: add ecpm algorithm
  crypto/qat: refactor asymmetric session

 doc/guides/cryptodevs/qat.rst                      |    3 +
 doc/guides/rel_notes/release_22_03.rst             |   10 +
 drivers/common/qat/qat_adf/qat_pke.h               |  275 ++++
 .../qat/qat_adf/qat_pke_functionality_arrays.h     |   79 -
 drivers/crypto/qat/dev/qat_asym_pmd_gen1.c         |    1 -
 drivers/crypto/qat/qat_asym.c                      | 1673 +++++++++++++-------
 drivers/crypto/qat/qat_asym.h                      |   24 +-
 drivers/crypto/qat/qat_ec.h                        |  206 +++
 8 files changed, 1563 insertions(+), 708 deletions(-)
 create mode 100644 drivers/common/qat/qat_adf/qat_pke.h
 delete mode 100644 drivers/common/qat/qat_adf/qat_pke_functionality_arrays.h
 create mode 100644 drivers/crypto/qat/qat_ec.h