[v1,1/2] cryptodev: add enumeration in EC xform for FPM
Checks
Commit Message
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@marvell.com>
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
lib/cryptodev/rte_crypto_asym.h | 3 +++
1 file changed, 3 insertions(+)
Comments
Acked-by: Kai Ji <kai.ji@intel.com>
> -----Original Message-----
> From: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> Sent: Tuesday, September 27, 2022 8:31 AM
> To: dev@dpdk.org
> Cc: Anoob Joseph <anoobj@marvell.com>; Zhang, Roy Fan
> <roy.fan.zhang@intel.com>; Dooley, Brian <brian.dooley@intel.com>; Akhil
> Goyal <gakhil@marvell.com>; jerinj@marvell.com; Gowrishankar
> Muthukrishnan <gmuthukrishn@marvell.com>; Kiran Kumar K
> <kirankumark@marvell.com>
> Subject: [v1 1/2] cryptodev: add enumeration in EC xform for FPM
>
> 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@marvell.com>
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> ---
> Acked-by: Kai Ji <kai.ji@intel.com>
>
> > 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@marvell.com>
> > Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> > ---
This patch is applied to dpdk-next-crypto as we are approaching RC1 date.
FIPS application patch is not acked and we can merge it in RC2.
@@ -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 */
};