[PATCH] cryptodev: update xform string array

Gowrishankar Muthukrishnan gmuthukrishn at marvell.com
Thu Apr 30 14:05:25 CEST 2026


Update xform string array for ML-KEM and ML-DSA algorithms.

Fixes: bd3745e29065 ("cryptodev: add PQC ML algorithms")
Cc: stable at dpdk.org

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
---
 lib/cryptodev/rte_cryptodev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c
index 50071935c2..91f86c1590 100644
--- a/lib/cryptodev/rte_cryptodev.c
+++ b/lib/cryptodev/rte_cryptodev.c
@@ -216,6 +216,8 @@ crypto_asym_xform_strings[] = {
 	[RTE_CRYPTO_ASYM_XFORM_ECDSA]	= "ecdsa",
 	[RTE_CRYPTO_ASYM_XFORM_ECPM]	= "ecpm",
 	[RTE_CRYPTO_ASYM_XFORM_SM2]	= "sm2",
+	[RTE_CRYPTO_ASYM_XFORM_ML_KEM]	= "ml-kem",
+	[RTE_CRYPTO_ASYM_XFORM_ML_DSA]	= "ml-dsa",
 };
 
 /**
-- 
2.37.1



More information about the stable mailing list