crypto/cnxk: add support for fixed point multiplication
PATCH 1/1 crypto/cnxk: add support for fixed point multiplication
Add fixed point multiplication for EC curve in CNXK.
Signed-off-by Kiran Kumar K <[email protected]>
Signed-off-by Gowrishankar Muthukrishnan <[email protected]>
--- drivers/common/cnxk/roc_ae.h | 1 + drivers/crypto/cnxk/cnxk_ae.h | 69 +++++++++++++++++++ .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 10 +++ 3 files changed, 80 insertions(+)
drivers/common/cnxk/roc_ae.h +1 -0
@@ -18,6 +18,7 @@#define ROC_AE_MINOR_OP_ECDSA_SIGN 0x01#define ROC_AE_MINOR_OP_ECDSA_VERIFY 0x02#define ROC_AE_MINOR_OP_ECC_UMP 0x03 +#define ROC_AE_MINOR_OP_ECC_FPM 0x04/** * Enumeration roc_ae_ec_id
drivers/crypto/cnxk/cnxk_ae.h +69 -0
99 lines not on this page · raw message
drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c +10 -0
@@ -82,6 +82,16 @@ static const struct rte_cryptodev_capabilities caps_mul[] = { }, } }, + {/* ECFPM */ + .op = RTE_CRYPTO_OP_TYPE_ASYMMETRIC, + {.asym = { + .xform_capa = { + .xform_type = RTE_CRYPTO_ASYM_XFORM_ECFPM, + .op_types = 0 + } + }, + } + }, }; static const struct rte_cryptodev_capabilities caps_sha1_sha2[] = {
Signature · 1 line
2.25.1
Quoted 5 lines
Add fixed point multiplication for EC curve in CNXK.
Signed-off-by Kiran Kumar K <[email protected]>Signed-off-by Gowrishankar Muthukrishnan <[email protected]>
Acked-by Anoob Joseph <[email protected]>
Akhil Goyal
AppliedQuoted 1 line
Subject: RE: [v1]
crypto/cnxk: add support for fixed point multiplication
Add support for -> support
Quoted 9 lines
Quoted 6 lines
Add fixed point multiplication for EC curve in CNXK.
Signed-off-by Kiran Kumar K <[email protected]>Signed-off-by Gowrishankar Muthukrishnan <[email protected]>Acked-by Anoob Joseph <[email protected]>
Applied to dpdk-next-crypto
Thanks.