summaryrefslogtreecommitdiff
path: root/xed25519.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-12-25 08:10:24 -0500
committerJeffrey Walton <noloader@gmail.com>2018-12-25 08:10:24 -0500
commit430a968ca842db36fba5da64709d0bba0ed0ef07 (patch)
tree88433438f9bfb187d9275580573c4a95695b26f5 /xed25519.h
parentd5e529d81955530f40dbe02810c11a4fcdc7cafb (diff)
downloadcryptopp-git-430a968ca842db36fba5da64709d0bba0ed0ef07.tar.gz
Update documentation
Diffstat (limited to 'xed25519.h')
-rw-r--r--xed25519.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/xed25519.h b/xed25519.h
index 4f46fef0..1877e181 100644
--- a/xed25519.h
+++ b/xed25519.h
@@ -275,6 +275,15 @@ protected:
std::vector<byte, AllocatorWithCleanup<byte> > m_msg;
};
+/// \brief ed25519 private key
+/// \details ed25519PrivateKey is somewhat of a hack. It needed to
+/// provide DL_PrivateKey interface to fit into the existing
+/// framework, but it lacks a lot of the internals of a true
+/// DL_PrivateKey. The missing pieces include GroupParameters
+/// and Point, which provide the low level field operations
+/// found in traditional implementations like NIST curves over
+/// prime and binary fields.
+/// \since Crypto++ 8.0
struct ed25519PrivateKey : public PKCS8PrivateKey
{
CRYPTOPP_CONSTANT(SECRET_KEYLENGTH = 32)
@@ -467,6 +476,15 @@ protected:
// ****************** ed25519 Verifier *********************** //
+/// \brief ed25519 public key
+/// \details ed25519PublicKey is somewhat of a hack. It needed to
+/// provide DL_PublicKey interface to fit into the existing
+/// framework, but it lacks a lot of the internals of a true
+/// DL_PublicKey. The missing pieces include GroupParameters
+/// and Point, which provide the low level field operations
+/// found in traditional implementations like NIST curves over
+/// prime and binary fields.
+/// \since Crypto++ 8.0
struct ed25519PublicKey : public X509PublicKey
{
CRYPTOPP_CONSTANT(PUBLIC_KEYLENGTH = 32)