diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-03-04 19:43:33 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-03-04 19:43:33 -0500 |
commit | 0d17eea82cbbfa386926c3c0ac1cb2c0d4da960e (patch) | |
tree | bbb4aa7f1223cf4900c0bf66f9e0ec7b1c734281 /xed25519.h | |
parent | 08b9e21e5a43574d70f872a9fce1c6c5af12ffaa (diff) | |
download | cryptopp-git-0d17eea82cbbfa386926c3c0ac1cb2c0d4da960e.tar.gz |
Add x25519 default constructor
Diffstat (limited to 'xed25519.h')
-rw-r--r-- | xed25519.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -67,6 +67,13 @@ public: virtual ~x25519() {}
/// \brief Create a x25519 object
+ /// \details This constructor creates an empty x25519 object. It is
+ /// intended for use in loading existing parameters, like CryptoBox
+ /// parameters. If you are perfoming key agreement you should use a
+ /// constructor that generates random parameters on construction.
+ x25519() {}
+
+ /// \brief Create a x25519 object
/// \param y public key
/// \param x private key
/// \details This constructor creates a x25519 object using existing parameters.
|