From 430a968ca842db36fba5da64709d0bba0ed0ef07 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 25 Dec 2018 08:10:24 -0500 Subject: Update documentation --- xed25519.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'xed25519.h') 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 > 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) -- cgit v1.2.1