summaryrefslogtreecommitdiff
path: root/cryptlib.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-12-20 21:58:25 -0500
committerJeffrey Walton <noloader@gmail.com>2020-12-20 21:58:25 -0500
commit405e48dc7b8499313493b4c4a2bc74c3dd77ed3f (patch)
tree6b63776cf3b497351260dfc97030ff300797c4e0 /cryptlib.h
parent85275c0784630dd26b1bcd294e7523297bc7d69a (diff)
downloadcryptopp-git-405e48dc7b8499313493b4c4a2bc74c3dd77ed3f.tar.gz
Update documentation
Diffstat (limited to 'cryptlib.h')
-rw-r--r--cryptlib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cryptlib.h b/cryptlib.h
index 0f93e03e..b8da390a 100644
--- a/cryptlib.h
+++ b/cryptlib.h
@@ -1191,7 +1191,7 @@ public:
/// \brief Verifies the hash of the current message
/// \param digest a pointer to the buffer of an \a existing hash
/// \return \p true if the existing hash matches the computed hash, \p false otherwise
- /// \throw ThrowIfInvalidTruncatedSize() if the existing hash's size exceeds DigestSize()
+ /// \throw InvalidArgument() if the existing hash's size exceeds DigestSize()
/// \details Verify() performs a bitwise compare on the buffers using VerifyBufsEqual(), which is
/// a constant time comparison function. digestLength cannot exceed DigestSize().
/// \details Verify() restarts the hash for the next message.
@@ -1205,7 +1205,7 @@ public:
/// \param input the additional input as a buffer
/// \param length the size of the buffer, in bytes
/// \return \p true if the existing hash matches the computed hash, \p false otherwise
- /// \throw ThrowIfInvalidTruncatedSize() if the existing hash's size exceeds DigestSize()
+ /// \throw InvalidArgument() if the existing hash's size exceeds DigestSize()
/// \details Use this if your input is in one piece and you don't want to call Update()
/// and Verify() separately
/// \details VerifyDigest() performs a bitwise compare on the buffers using VerifyBufsEqual(),
@@ -1240,7 +1240,7 @@ public:
/// \param digest a pointer to the buffer of an \a existing hash
/// \param digestLength the size of the truncated hash, in bytes
/// \return \p true if the existing hash matches the computed hash, \p false otherwise
- /// \throw ThrowIfInvalidTruncatedSize() if digestLength exceeds DigestSize()
+ /// \throw InvalidArgument() if digestLength exceeds DigestSize()
/// \details TruncatedVerify() is a truncated version of Verify(). It can operate on a
/// buffer smaller than DigestSize(). However, digestLength cannot exceed DigestSize().
/// \details Verify() performs a bitwise compare on the buffers using VerifyBufsEqual(), which is
@@ -1254,7 +1254,7 @@ public:
/// \param input the additional input as a buffer
/// \param length the size of the buffer, in bytes
/// \return \p true if the existing hash matches the computed hash, \p false otherwise
- /// \throw ThrowIfInvalidTruncatedSize() if digestLength exceeds DigestSize()
+ /// \throw InvalidArgument() if digestLength exceeds DigestSize()
/// \details Use this if your input is in one piece and you don't want to call Update()
/// and TruncatedVerify() separately.
/// \details VerifyTruncatedDigest() is a truncated version of VerifyDigest(). It can operate