summaryrefslogtreecommitdiff
path: root/xed25519.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-01-24 02:09:03 -0500
committerJeffrey Walton <noloader@gmail.com>2019-01-24 02:09:03 -0500
commitb47f04418c35f67068e9bff7da9013ae552fc171 (patch)
treea0b3427abf6e2f640bf98465c897d026eea3eeac /xed25519.h
parent0f70d0262b4840f3de6bada030c158e8b58d0802 (diff)
downloadcryptopp-git-b47f04418c35f67068e9bff7da9013ae552fc171.tar.gz
Update documentation
Diffstat (limited to 'xed25519.h')
-rw-r--r--xed25519.h24
1 files changed, 10 insertions, 14 deletions
diff --git a/xed25519.h b/xed25519.h
index cfa61dde..e97c63f6 100644
--- a/xed25519.h
+++ b/xed25519.h
@@ -125,7 +125,7 @@ public:
/// \param y public key
bool IsSmallOrder(const byte y[PUBLIC_KEYLENGTH]) const;
- /// \Brief Get the Object Identifier
+ /// \brief Get the Object Identifier
/// \returns the Object Identifier
/// \details The default OID is from RFC 8410 using <tt>id-X25519</tt>.
/// The default private key format is RFC 5208.
@@ -133,7 +133,7 @@ public:
return m_oid.Empty() ? ASN1::X25519() : m_oid;
}
- /// \Brief Set the Object Identifier
+ /// \brief Set the Object Identifier
/// \param oid the new Object Identifier
void SetAlgorithmID(const OID& oid) {
m_oid = oid;
@@ -337,12 +337,10 @@ protected:
/// class members of interest are byte arrays and not Integers.
/// In addition, the byte arrays are little-endian meaning
/// LSB is at element 0 and the MSB is at element 31.
-/// If you call \ref ed25519PrivateKey::GetPrivateExponent()
-/// "GetPrivateExponent()" then the little-endian byte array is
-/// converted to a big-endian Integer() so it can be returned
-/// the way a caller expects. And calling
-/// \ref ed25519PrivateKey::SetPrivateExponent "SetPrivateExponent()"
-/// perfoms a similar internal conversion.
+/// If you call GetPrivateExponent() then the little-endian byte
+/// array is converted to a big-endian Integer() so it can be
+/// returned the way a caller expects. And calling
+/// SetPrivateExponent perfoms a similar internal conversion.
/// \since Crypto++ 8.0
struct ed25519PrivateKey : public PKCS8PrivateKey
{
@@ -598,12 +596,10 @@ protected:
/// class members of interest are byte arrays and not Integers.
/// In addition, the byte arrays are little-endian meaning
/// LSB is at element 0 and the MSB is at element 31.
-/// If you call \ref ed25519PublicKey::GetPublicElement()
-/// "GetPublicElement()" then the little-endian byte array is
-/// converted to a big-endian Integer() so it can be returned
-/// the way a caller expects. And calling
-/// \ref ed25519PublicKey::SetPublicElement "SetPublicElement()"
-/// perfoms a similar internal conversion.
+/// If you call GetPublicElement() then the little-endian byte
+/// array is converted to a big-endian Integer() so it can be
+/// returned the way a caller expects. And calling
+/// SetPublicElement() perfoms a similar internal conversion.
/// \since Crypto++ 8.0
struct ed25519PublicKey : public X509PublicKey
{