[RFC] cryptodev: refactor sm2, add plain message flag

Power, Ciara ciara.power at intel.com
Wed Oct 4 11:34:47 CEST 2023


Hi Akhil,

> -----Original Message-----
> From: Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>
> Sent: Friday, August 11, 2023 6:40 PM
> To: dev at dpdk.org
> Cc: gakhil at marvell.com; Ji, Kai <kai.ji at intel.com>; Power, Ciara
> <ciara.power at intel.com>; Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>
> Subject: [RFC] cryptodev: refactor sm2, add plain message flag
> 
> SM2 asymmetric crypto operation was split into cipher and signature operation.
> Now it corresponds to the other crypto algorithms and facilitates addition of other
> SM2 components like the SM2 key exchange.
> 
> Flag to distinguish between a plain message or a hash used for signature was
> added to the DSA, ECDSA and SM2.
> 
> Signed-off-by: Arkadiusz Kusztal <arkadiuszx.kusztal at intel.com>
> ---
>  lib/cryptodev/rte_crypto_asym.h | 116 +++++++++++++++++---------------
>  1 file changed, 63 insertions(+), 53 deletions(-)

Due to ongoing discussion and rework needed on this patch, it will be picked back up for release, as we did not make 23.11 RC1.

Thanks,
Ciara


More information about the dev mailing list