Skip to content

cryptodev: support digest message in SM2

Gowrishankar Muthukrishnan dpdk-dev 4 versions – Applied

Status from this message: Applied to dpdk-next-crypto

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 1 replyApplied
  2. v37 patches 1 replySuperseded
  3. v27 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches7 repliesSuperseded

Changes in v4 from the cover letter

- code rebase on next-crypto

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/7crypto/openssl: include SM2 in asymmetric capabilitiesdrivers/crypto/openssl/rte_openssl_pmd_ops.c+14 -00 replies
2/7cryptodev: add hash algorithms in asymmetric capabilityapp/test/test_cryptodev_asym.c drivers/crypto/openssl/rte_openssl_pmd_ops.c lib/cryptodev/cryptodev_trace.h +4 more+97 -40 replies
3/7cryptodev: use generic EC xform params for SM2app/test/test_cryptodev_asym.c app/test/test_cryptodev_sm2_test_vectors.h doc/guides/rel_notes/release_23_11.rst +2 more+34 -340 replies
4/7cryptodev: set private and public keys in EC sessionapp/test/test_cryptodev_asym.c drivers/common/cnxk/roc_ae.h drivers/common/cpt/cpt_mcode_defines.h +7 more+158 -1230 replies
5/7cryptodev: add RNG capability in EC based xformdrivers/crypto/openssl/rte_openssl_pmd_ops.c lib/cryptodev/rte_cryptodev.h+8 -00 replies
6/7crypto/cnxk: add SM2 supportdoc/guides/cryptodevs/features/cn10k.ini doc/guides/rel_notes/release_23_11.rst drivers/common/cnxk/hw/cpt.h +6 more+478 -50 replies
7/7app/test: check asymmetric capabilities in SM2 testapp/test/test_cryptodev_asym.c app/test/test_cryptodev_sm2_test_vectors.h+57 -480 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchArkadiusz KusztalCiara Power
1/7A-b
2/7
3/7A-b
4/7A-b
5/7A-b
6/7
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/7] cryptodev: support digest message in SM2

This patch series fixes SM2 algorithm implementation to support digest message as input along with plain message as today.

v4:
- code rebase on next-crypto

Gowrishankar Muthukrishnan (7):
crypto/openssl: include SM2 in asymmetric capabilities
cryptodev: add hash algorithms in asymmetric capability
cryptodev: use generic EC xform params for SM2
cryptodev: set private and public keys in EC session
cryptodev: add RNG capability in EC based xform crypto/cnxk: add SM2 support
app/test: check asymmetric capabilities in SM2 test

 app/test/test_cryptodev_asym.c                | 197 ++++++++-----
 app/test/test_cryptodev_sm2_test_vectors.h    |  32 ++-
 doc/guides/cryptodevs/features/cn10k.ini      |   1 +
 doc/guides/rel_notes/release_23_11.rst        |   6 +
 drivers/common/cnxk/hw/cpt.h                  |   2 +-
 drivers/common/cnxk/roc_ae.c                  |  32 ++-
 drivers/common/cnxk/roc_ae.h                  |  21 +-
 drivers/common/cnxk/roc_ae_fpm_tables.c       | 190 +++++++++++++
 drivers/common/cpt/cpt_mcode_defines.h        |  18 ++
 drivers/common/cpt/cpt_ucode_asym.h           |  22 +-
 drivers/crypto/cnxk/cnxk_ae.h                 | 269 +++++++++++++++++-
 drivers/crypto/cnxk/cnxk_cryptodev.h          |   2 +-
 .../crypto/cnxk/cnxk_cryptodev_capabilities.c |  17 ++
 drivers/crypto/openssl/rte_openssl_pmd.c      |  53 +---
 drivers/crypto/openssl/rte_openssl_pmd_ops.c  |  55 +++-
 drivers/crypto/qat/qat_asym.c                 |   6 +-
 examples/fips_validation/main.c               |  14 +-
 lib/cryptodev/cryptodev_trace.h               |   9 +
 lib/cryptodev/cryptodev_trace_points.c        |   3 +
 lib/cryptodev/rte_crypto_asym.h               |  33 +--
 lib/cryptodev/rte_cryptodev.c                 |  16 ++
 lib/cryptodev/rte_cryptodev.h                 |  25 ++
 lib/cryptodev/version.map                     |   1 +
 23 files changed, 828 insertions(+), 196 deletions(-)
Signature · 1 line
2.25.1