]> git.droids-corp.org - dpdk.git/commit
cryptodev: add public key verify option
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Wed, 1 Jun 2022 09:02:44 +0000 (10:02 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 2 Jun 2022 10:04:10 +0000 (12:04 +0200)
commit2adb85292350bc1ea9efd4f87704a1e2aa38fa54
treea5cf3805b56d8f85c284cf68a7748d31bdd6a800
parent96db98db69f759cdb54c02ef72c4cae760b01ab3
cryptodev: add public key verify option

- Added key exchange public key verify option.
For some elliptic curves public point in DH exchange
needs to be checked, if it lays on the curve.
Modular exponentiation needs certain checks as well,
though mathematically much easier.
This commit adds verify option to asym_op operations.

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
lib/cryptodev/rte_crypto_asym.h
lib/cryptodev/rte_cryptodev.c