diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-24 02:09:03 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-24 02:09:03 -0500 |
commit | b47f04418c35f67068e9bff7da9013ae552fc171 (patch) | |
tree | a0b3427abf6e2f640bf98465c897d026eea3eeac /xed25519.h | |
parent | 0f70d0262b4840f3de6bada030c158e8b58d0802 (diff) | |
download | cryptopp-git-b47f04418c35f67068e9bff7da9013ae552fc171.tar.gz |
Update documentation
Diffstat (limited to 'xed25519.h')
-rw-r--r-- | xed25519.h | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -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
{
|