summaryrefslogtreecommitdiff
path: root/xed25519.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-12-14 04:35:07 -0500
committerJeffrey Walton <noloader@gmail.com>2018-12-14 04:35:07 -0500
commit00f777661db51b8638707bb92adca3101c0dbe03 (patch)
treebb89e91e08f47cf20878c864db67989a5feb827f /xed25519.h
parent6f2188af79e12fd67e260bb05497c11a1bd9eba2 (diff)
downloadcryptopp-git-00f777661db51b8638707bb92adca3101c0dbe03.tar.gz
Update comments and documentation
Diffstat (limited to 'xed25519.h')
-rw-r--r--xed25519.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/xed25519.h b/xed25519.h
index af93a572..0c049db7 100644
--- a/xed25519.h
+++ b/xed25519.h
@@ -1,12 +1,21 @@
// xed25519.h - written and placed in public domain by Jeffrey Walton
-// Crypto++ specific implementation wrapped around Adam
-// Langley's curve25519-donna.
+// Crypto++ specific implementation wrapped around Andrew
+// Moon's public domain curve25519-donna. Also see
+// https://github.com/floodyberry/curve25519-donna.
// Typically the key agreement classes encapsulate their data more
// than x25519 does below. We made them a little more accessible
// due to crypto_box operations. Once the library cuts-in the
// crypto_box operations the x25519 class will be more restricted.
+/// \file xed25519.h
+/// \brief Classes for x25519 and ed25519 operations
+/// \details This implementation integrates Andrew Moon's public domain
+/// curve25519-donna.
+/// \sa Andrew Moon's GitHub <A
+/// HREF="https://github.com/floodyberry/curve25519-donna">curve25519-donna</A>
+/// \since Crypto++ 8.0
+
#ifndef CRYPTOPP_XED25519_H
#define CRYPTOPP_XED25519_H
@@ -33,6 +42,8 @@ public:
/// \param x private key
static void ClampKey(byte x[32]);
+ virtual ~x25519() {}
+
/// \brief Create a x25519 object
/// \param y public key
/// \param x private key