From: Arek Kusztal Date: Wed, 1 Jun 2022 09:02:40 +0000 (+0100) Subject: cryptodev: remove DSA ephemeral key usage comment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=eb40223b1a2b859cb035609821d87255d46a51bc;p=dpdk.git cryptodev: remove DSA ephemeral key usage comment 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 Acked-by: Fan Zhang Acked-by: Akhil Goyal --- diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h index 38c2816eea..88ebec9a51 100644 --- a/lib/cryptodev/rte_crypto_asym.h +++ b/lib/cryptodev/rte_crypto_asym.h @@ -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 */ }; /**