Add x25519 default constructor

pull/826/head
Jeffrey Walton 2019-03-04 19:43:33 -05:00
parent 08b9e21e5a
commit 0d17eea82c
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 7 additions and 0 deletions

View File

@ -66,6 +66,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