RE: [PATCH v2 1/3] cryptodev: add SM2 asymmetric crypto algorithm

2023-06-04 Thread Gowrishankar Muthukrishnan
Hi, I have simplified sm2 xform to only have hash algo and rest in crypto op. Please review v3 and let me know if changes are good. Also, I need to test plain scalar k value but I don't have support in openSSL to do that. So, I will meanwhile get back once I am done with that part as well, but v3

RE: [PATCH v2 1/3] cryptodev: add SM2 asymmetric crypto algorithm

2023-05-29 Thread Gowrishankar Muthukrishnan
Hi ArkadiuszX, > > ShangMi 2 (SM2) is a encryption and digital signature algorithm used > > in the Chinese National Standard. > > It is more of a set of public-key cryptography algorithms based on elliptic > curves. Ok I ll rephrase it. > > > ... > > --- > > doc/guides/cryptodevs/features/def

RE: [PATCH v2 1/3] cryptodev: add SM2 asymmetric crypto algorithm

2023-05-28 Thread Kusztal, ArkadiuszX
Hi Gowrishankar, > -Original Message- > From: Gowrishankar Muthukrishnan > Sent: Friday, May 26, 2023 11:12 AM > To: dev@dpdk.org > Cc: ano...@marvell.com; Akhil Goyal ; Fan Zhang > ; Gowrishankar Muthukrishnan > > Subject: [PATCH v2 1/3] cryptodev: add SM2 asy

[PATCH v2 1/3] cryptodev: add SM2 asymmetric crypto algorithm

2023-05-26 Thread Gowrishankar Muthukrishnan
ShangMi 2 (SM2) is a encryption and digital signature algorithm used in the Chinese National Standard. Added support for asymmetric SM2 in cryptodev along with prime field curve, as referenced in RFC: https://datatracker.ietf.org/doc/html/draft-shen-sm2-ecdsa-02 Signed-off-by: Gowrishankar Muthuk