[dpdk-dev] [PATCH v4 0/5] Add session-less, RSA, RSA-CRT to QAT

Arek Kusztal arkadiuszx.kusztal at intel.com
Tue Oct 22 16:04:24 CEST 2019


This patchset adds session-less option, RSA algorithm, RSA-CRT algorithm
to Intel QuickAssist Technology PMD. It also adds session-less test cases
for those algorithms.
Test case for RSA signature with no padding will be sent in a later patch.

[1]crypto/qat: add sessionless implementation to asym pmd
- this patch adds sessionless option to QAT, already implemented
algorithms MOD EXP and MOD INV can be used with sessionless
[2]crypto/qat: add rsa implementation to asym pmd
- this patch adds option to use RSA with exponent private key
pair (n,d)
[3]crypto/qat: add rsa crt implementation to asym pmd
- this patch adds CRT option to RSA, to improve performance of
decryption and creating of signature

v4:
- fixed compilation issue

Acked-by: Fiona Trahe <fiona.trahe at intel.com>

Arek Kusztal (5):
  crypto/qat: add sessionless implementation to asym pmd
  crypto/qat: add rsa implementation to asym pmd
  crypto/qat: add rsa crt implementation to asym pmd
  test/crypto: add sessionless to asymmetric mod exp
  test/crypto: add rsa tests to qat and openssl with no padding

 app/test/test_cryptodev_asym.c                     | 207 +++++--
 app/test/test_cryptodev_rsa_test_vectors.h         | 226 ++++++++
 doc/guides/cryptodevs/features/qat.ini             |   4 +
 doc/guides/cryptodevs/qat.rst                      |   1 +
 doc/guides/rel_notes/release_19_11.rst             |   8 +
 .../qat/qat_adf/qat_pke_functionality_arrays.h     |  27 +
 drivers/crypto/qat/qat_asym.c                      | 634 ++++++++++++++++-----
 drivers/crypto/qat/qat_asym.h                      |  29 +-
 drivers/crypto/qat/qat_asym_capabilities.h         |  21 +
 drivers/crypto/qat/qat_asym_pmd.c                  |   5 +-
 10 files changed, 972 insertions(+), 190 deletions(-)

-- 
2.1.0



More information about the dev mailing list