summaryrefslogtreecommitdiff
path: root/mqueue.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-10 02:56:19 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-10 02:56:19 +0000
commit8ca6148ad5a4943ab05491d7f02152351e650f43 (patch)
tree1c52d52d455d3b48e60bfc8b075f4d611068be14 /mqueue.h
parentda24db2a8b834ba3c3ee5c54041ff3782e9c1984 (diff)
downloadcryptopp-git-8ca6148ad5a4943ab05491d7f02152351e650f43.tar.gz
add x86/x64 assembly for SHA-256,
add DEFAULT_CHANNEL and AAD_CHANNEL, fix macChannel for AuthenticatedEncryptionFilter
Diffstat (limited to 'mqueue.h')
-rw-r--r--mqueue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mqueue.h b/mqueue.h
index a4ee117c..b46f67d1 100644
--- a/mqueue.h
+++ b/mqueue.h
@@ -35,8 +35,8 @@ public:
bool AnyRetrievable() const
{return m_lengths.front() > 0;}
- size_t TransferTo2(BufferedTransformation &target, lword &transferBytes, const std::string &channel=NULL_CHANNEL, bool blocking=true);
- size_t CopyRangeTo2(BufferedTransformation &target, lword &begin, lword end=LWORD_MAX, const std::string &channel=NULL_CHANNEL, bool blocking=true) const;
+ size_t TransferTo2(BufferedTransformation &target, lword &transferBytes, const std::string &channel=DEFAULT_CHANNEL, bool blocking=true);
+ size_t CopyRangeTo2(BufferedTransformation &target, lword &begin, lword end=LWORD_MAX, const std::string &channel=DEFAULT_CHANNEL, bool blocking=true) const;
lword TotalBytesRetrievable() const
{return m_queue.MaxRetrievable();}
@@ -49,7 +49,7 @@ public:
unsigned int NumberOfMessageSeries() const
{return (unsigned int)m_messageCounts.size()-1;}
- unsigned int CopyMessagesTo(BufferedTransformation &target, unsigned int count=UINT_MAX, const std::string &channel=NULL_CHANNEL) const;
+ unsigned int CopyMessagesTo(BufferedTransformation &target, unsigned int count=UINT_MAX, const std::string &channel=DEFAULT_CHANNEL) const;
const byte * Spy(size_t &contiguousSize) const;