From: Arek Kusztal <arkadiuszx.kusztal@intel.com>
To: dev@dpdk.org
Cc: gakhil@marvell.com, Arek Kusztal <arkadiuszx.kusztal@intel.com>
Subject: [PATCH 1/2] cryptodev: add option to use ec base point in ecpm
Date: Thu, 18 Aug 2022 08:41:29 +0100 [thread overview]
Message-ID: <20220818074130.37894-2-arkadiuszx.kusztal@intel.com> (raw)
In-Reply-To: <20220818074130.37894-1-arkadiuszx.kusztal@intel.com>
Add option to use elliptic curve generator point instead
of setting it manually. It corresponds to the public point
generation in EC Diffie-Hellman key exchange.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
---
lib/cryptodev/rte_crypto_asym.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h
index 8ae43d5f3d..62987f860e 100644
--- a/lib/cryptodev/rte_crypto_asym.h
+++ b/lib/cryptodev/rte_crypto_asym.h
@@ -593,7 +593,11 @@ struct rte_crypto_ecdsa_op_param {
*/
struct rte_crypto_ecpm_op_param {
struct rte_crypto_ec_point p;
- /**< x and y coordinates of input point */
+ /**<
+ * x and y coordinates of input point,
+ * in case both x.data and y.data are set to NULL
+ * selected ellitpic curve generator point is used
+ */
struct rte_crypto_ec_point r;
/**< x and y coordinates of resultant point */
--
2.13.6
next prev parent reply other threads:[~2022-08-18 8:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-18 7:41 [PATCH 0/2] cryptodev: extend elliptic curves operations Arek Kusztal
2022-08-18 7:41 ` Arek Kusztal [this message]
2022-09-28 17:56 ` [PATCH 1/2] cryptodev: add option to use ec base point in ecpm Ji, Kai
2022-09-30 17:52 ` [EXT] " Akhil Goyal
2022-08-18 7:41 ` [PATCH 2/2] cryptodev: add ec point verification Arek Kusztal
2022-09-28 17:58 ` Ji, Kai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220818074130.37894-2-arkadiuszx.kusztal@intel.com \
--to=arkadiuszx.kusztal@intel.com \
--cc=dev@dpdk.org \
--cc=gakhil@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).