[PATCH v2] cryptodev: add elliptic curve diffie hellman

Zhang, Roy Fan roy.fan.zhang at intel.com
Tue May 10 12:06:56 CEST 2022


> -----Original Message-----
> From: Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>
> Sent: Wednesday, April 27, 2022 10:55 AM
> To: dev at dpdk.org
> Cc: gakhil at marvell.com; Zhang, Roy Fan <roy.fan.zhang at intel.com>; Kusztal,
> ArkadiuszX <arkadiuszx.kusztal at intel.com>
> Subject: [PATCH v2] cryptodev: add elliptic curve diffie hellman
> 
> This commit adds Elliptic Curve Diffie-Hellman option to Cryptodev.
> This could be achieved with EC point multiplication but:
> 1) Phase 1 of DH is used with EC generator, multiplication expect
> setting generator manually.
> 2) It will unify usage of DH.
> 3) Can be extended easily to support X25519 and X448.
> 
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
> ---
> v2:
> - added ecdh comments to operation types
> 
> Depends-on: series-22684 ("cryptodev: move dh type from xform to dh op")
> 
>  lib/cryptodev/rte_crypto_asym.h | 46 +++++++++++++++++++++++---------
> ---------
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>


More information about the dev mailing list