summaryrefslogtreecommitdiff
path: root/xed25519.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-12-07 23:35:10 -0500
committerJeffrey Walton <noloader@gmail.com>2020-12-07 23:35:10 -0500
commitac6987f3aee8fedd52a08f8d6e9b7d5ad28559bb (patch)
treea0f63ebf397db67a1d8f7e41f2e4e89d03a57a4f /xed25519.h
parent4d2b58c8fe92e7ce5007d2f15f046d33f37eedc2 (diff)
downloadcryptopp-git-ac6987f3aee8fedd52a08f8d6e9b7d5ad28559bb.tar.gz
Use \return and \throw consitently in the docs
Diffstat (limited to 'xed25519.h')
-rw-r--r--xed25519.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/xed25519.h b/xed25519.h
index b4f96497..6063d091 100644
--- a/xed25519.h
+++ b/xed25519.h
@@ -132,7 +132,7 @@ public:
bool IsSmallOrder(const byte y[PUBLIC_KEYLENGTH]) const;
/// \brief Get the Object Identifier
- /// \returns the Object Identifier
+ /// \return the Object Identifier
/// \details The default OID is from RFC 8410 using <tt>id-X25519</tt>.
/// The default private key format is RFC 5208.
OID GetAlgorithmID() const {
@@ -307,25 +307,25 @@ struct ed25519_MessageAccumulator : public PK_MessageAccumulator
}
/// \brief Retrieve pointer to signature buffer
- /// \returns pointer to signature buffer
+ /// \return pointer to signature buffer
byte* signature() {
return &m_msg[0];
}
/// \brief Retrieve pointer to signature buffer
- /// \returns pointer to signature buffer
+ /// \return pointer to signature buffer
const byte* signature() const {
return &m_msg[0];
}
/// \brief Retrieve pointer to data buffer
- /// \returns pointer to data buffer
+ /// \return pointer to data buffer
const byte* data() const {
return &m_msg[0]+SIGNATURE_LENGTH;
}
/// \brief Retrieve size of data buffer
- /// \returns size of the data buffer, in bytes
+ /// \return size of the data buffer, in bytes
size_t size() const {
return m_msg.size()-SIGNATURE_LENGTH;
}
@@ -467,14 +467,14 @@ struct ed25519PrivateKey : public PKCS8PrivateKey
bool IsSmallOrder(const byte y[PUBLIC_KEYLENGTH]) const;
/// \brief Retrieve private key byte array
- /// \returns the private key byte array
+ /// \return the private key byte array
/// \details GetPrivateKeyBytePtr() is used by signing code to call ed25519_sign.
const byte* GetPrivateKeyBytePtr() const {
return m_sk.begin();
}
/// \brief Retrieve public key byte array
- /// \returns the public key byte array
+ /// \return the public key byte array
/// \details GetPublicKeyBytePtr() is used by signing code to call ed25519_sign.
const byte* GetPublicKeyBytePtr() const {
return m_pk.begin();
@@ -684,7 +684,7 @@ struct ed25519PublicKey : public X509PublicKey
const Element& GetPublicElement() const;
/// \brief Retrieve public key byte array
- /// \returns the public key byte array
+ /// \return the public key byte array
/// \details GetPublicKeyBytePtr() is used by signing code to call ed25519_sign.
const byte* GetPublicKeyBytePtr() const {
return m_pk.begin();