[PATCH] cryptodev: add algo enums to string conversion APIs
Ruifeng Wang
Ruifeng.Wang at arm.com
Tue Dec 13 08:31:42 CET 2022
> -----Original Message-----
> From: Akhil Goyal <gakhil at marvell.com>
> Sent: Monday, December 12, 2022 11:10 PM
> To: dev at dpdk.org
> Cc: ciara.power at intel.com; fanzhang.oss at gmail.com; kai.ji at intel.com;
> pablo.de.lara.guarch at intel.com; hemant.agrawal at nxp.com; matan at nvidia.com; g.singh at nxp.com;
> Ruifeng Wang <Ruifeng.Wang at arm.com>; anoobj at marvell.com; radu.nicolau at intel.com;
> vfialko at marvell.com; ktraynor at redhat.com; david.marchand at redhat.com; thomas at monjalon.net;
> Akhil Goyal <gakhil at marvell.com>
> Subject: [PATCH] cryptodev: add algo enums to string conversion APIs
>
> Symmetric/Asymmetric algorithm strings are accessed by application using arrays in
> cryptodev lib, which hampers new algorithms addition in the array due to ABI breakage.
> These arrays are now deprecated and will be removed in next ABI break release.
> New APIs are added for getting the algorithm strings based on enum values.
>
> Signed-off-by: Akhil Goyal <gakhil at marvell.com>
> ---
> app/test-crypto-perf/cperf_options_parsing.c | 6 +-
> app/test/test_cryptodev_asym.c | 2 +-
> app/test/test_cryptodev_security_ipsec.c | 8 +-
> doc/guides/rel_notes/deprecation.rst | 7 +
> drivers/crypto/openssl/rte_openssl_pmd_ops.c | 2 +-
> drivers/crypto/qat/qat_sym_session.c | 7 +-
> examples/l2fwd-crypto/main.c | 12 +-
> lib/cryptodev/cryptodev_trace_points.c | 12 ++
> lib/cryptodev/rte_crypto_asym.h | 1 +
> lib/cryptodev/rte_crypto_sym.h | 3 +
> lib/cryptodev/rte_cryptodev.c | 182 ++++++++++++++++++-
> lib/cryptodev/rte_cryptodev.h | 52 ++++++
> lib/cryptodev/rte_cryptodev_trace.h | 32 ++++
> lib/cryptodev/version.map | 10 +
> 14 files changed, 309 insertions(+), 27 deletions(-)
>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
More information about the dev
mailing list