[PATCH v4 0/7] cryptodev: support digest message in SM2
Gowrishankar Muthukrishnan
gmuthukrishn at marvell.com
Mon Oct 9 15:54:47 CEST 2023
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(-)
--
2.25.1
More information about the dev
mailing list