[v1 1/2] cryptodev: add enumeration in EC xform for FPM
Gowrishankar Muthukrishnan
gmuthukrishn at marvell.com
Tue Sep 27 09:30:42 CEST 2022
Add enumeration in EC xform for FPM. Crypto driver would need this
to xform point multiplication based on given type of EC curve.
Signed-off-by: Kiran Kumar K <kirankumark at marvell.com>
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
---
lib/cryptodev/rte_crypto_asym.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h
index 8ae43d5f3d..da13a5e0c1 100644
--- a/lib/cryptodev/rte_crypto_asym.h
+++ b/lib/cryptodev/rte_crypto_asym.h
@@ -116,6 +116,9 @@ enum rte_crypto_asym_xform_type {
/**< Elliptic Curve Diffie Hellman */
RTE_CRYPTO_ASYM_XFORM_ECPM,
/**< Elliptic Curve Point Multiplication */
+
+ RTE_CRYPTO_ASYM_XFORM_ECFPM,
+ /**< Elliptic Curve Fixed Point Multiplication */
RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END
/**< End of list */
};
--
2.25.1
More information about the dev
mailing list