[PATCH v2 0/7] cryptodev: support digest message in SM2
Gowrishankar Muthukrishnan
gmuthukrishn at marvell.com
Wed Sep 27 13:37:27 CEST 2023
This patch series fixes SM2 algorithm implementation to
support digest message as input along with plain message
as today.
v2:
- private and pubic keys stored per session.
Gowrishankar Muthukrishnan (7):
crypto/openssl: include SM2 in asymmetric capabilities
cryptodev: set private and public keys in EC session
cryptodev: add RNG capability in EC based xform
cryptodev: add hash algorithms in asymmetric capability
cryptodev: use generic EC xform params for SM2
app/test: check asymmetric capabilities in SM2 test
crypto/cnxk: add SM2 support
app/test/test_cryptodev_asym.c | 199 ++++++++-----
app/test/test_cryptodev_sm2_test_vectors.h | 32 ++-
doc/guides/cryptodevs/features/cn10k.ini | 1 +
doc/guides/rel_notes/release_23_11.rst | 8 +
drivers/common/cnxk/hw/cpt.h | 3 +-
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 | 34 +--
lib/cryptodev/rte_cryptodev.c | 16 ++
lib/cryptodev/rte_cryptodev.h | 25 ++
lib/cryptodev/version.map | 1 +
23 files changed, 834 insertions(+), 196 deletions(-)
--
2.25.1
More information about the dev
mailing list