summaryrefslogtreecommitdiff
path: root/cryptlib.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-07-27 19:15:21 -0400
committerJeffrey Walton <noloader@gmail.com>2017-07-27 19:15:21 -0400
commit2c9a3039e85061ff094e460e7afae1aed934350b (patch)
treed868f186df1474265502750f8a4016b374aa6128 /cryptlib.h
parentfec712491ec5a002cc46177fb7afe1d2412f0185 (diff)
downloadcryptopp-git-2c9a3039e85061ff094e460e7afae1aed934350b.tar.gz
Update documentation
This cleanup was performed using Clang and -Wdocumentation -Wno-documentation-deprecated-sync
Diffstat (limited to 'cryptlib.h')
-rw-r--r--cryptlib.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cryptlib.h b/cryptlib.h
index b855784d..7817f3bb 100644
--- a/cryptlib.h
+++ b/cryptlib.h
@@ -800,11 +800,11 @@ public:
BT_InBlockIsCounter=1,
//! \brief should not modify block pointers
BT_DontIncrementInOutPointers=2,
- //! \brief
+ //! \brief Xor inputs before transformation
BT_XorInput=4,
//! \brief perform the transformation in reverse
BT_ReverseDirection=8,
- //! \brief
+ //! \brief Allow parallel transformations
BT_AllowParallel=16};
//! \brief Encrypt and xor multiple blocks using additional flags
@@ -1157,7 +1157,6 @@ public:
//! \sa NeedsPrespecifiedDataLengths()
void SpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength=0);
//! \brief Encrypts and calculates a MAC in one call
- //! \return true if the authenticated encryption succeeded, false otherwise
//! \details EncryptAndAuthenticate() encrypts and generates the MAC in one call. The function will truncate MAC if
//! <tt>macSize < TagSize()</tt>.
virtual void EncryptAndAuthenticate(byte *ciphertext, byte *mac, size_t macSize, const byte *iv, int ivLength, const byte *header, size_t headerLength, const byte *message, size_t messageLength);
@@ -1736,7 +1735,6 @@ public:
//! \brief Transfer all bytes from this object to another BufferedTransformation
//! \param target the destination BufferedTransformation
//! \param channel the channel on which the transfer should occur
- //! \return the number of bytes that remain in the current transfer block (i.e., bytes not transferred)
//! \details TransferMessagesTo2() removes messages from this object and moves them to the destination.
//! Internally TransferAllTo() calls TransferAllTo2().
void TransferAllTo(BufferedTransformation &target, const std::string &channel=DEFAULT_CHANNEL)