mbox series

[v2,0/2] cryptodev: add dh verify option

Message ID 20220413140327.12915-1-arkadiuszx.kusztal@intel.com (mailing list archive)
Headers
Series cryptodev: add dh verify option |

Message

Arkadiusz Kusztal April 13, 2022, 2:03 p.m. UTC
  This patchset adds verify and padding option to Cryptodev
Diffie-Hellman op.

Verify - obligatory in all mainstream protocols, in Cryptodev
only Weierstrass Elliptic-Curve point verification was included.
FFDH or curves 448/25519 verification is easy enough to be
done by the user.
Padding - different approach may be found in different protocols,
but it is very often that protocol requires zero-byte left padding. 

Depends-on: patch-109409 ("cryptodev: add elliptic curve diffie hellman")

Arek Kusztal (2):
  cryptodev: add dh verify option
  cryptodev: add dh padding options

 lib/cryptodev/rte_crypto_asym.h | 27 +++++++++++++++++++++++++++
 lib/cryptodev/rte_cryptodev.c   |  1 +
 2 files changed, 28 insertions(+)