]> git.droids-corp.org - dpdk.git/commitdiff
cryptodev: remove DSA ephemeral key usage comment
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Wed, 1 Jun 2022 09:02:40 +0000 (10:02 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 1 Jun 2022 17:10:20 +0000 (19:10 +0200)
Removed comment that stated DSA can be used with Diffie
Hellman ephemeral key.
DH and DSA integration allowed to use ephemeral keys for
random integer, but not for private keys.

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

index 38c2816eea33afb448073c3d808184ef43983347..88ebec9a513b31a540fe49dc90f9f0c7a7da40f2 100644 (file)
@@ -292,13 +292,7 @@ struct rte_crypto_dsa_xform {
        rte_crypto_uint g;
        /**< Generator of the subgroup */
        rte_crypto_uint x;
-       /**< x: Private key of the signer in octet-string network
-        * byte order format.
-        * Used when app has pre-defined private key.
-        * Valid only when xform chain is DSA ONLY.
-        * if xform chain is DH private key generate + DSA, then DSA sign
-        * compute will use internally generated key.
-        */
+       /**< x: Private key of the signer */
 };
 
 /**