summaryrefslogtreecommitdiff
path: root/fltrimpl.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-02 02:39:17 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-02 02:39:17 +0000
commitd8a644fc4ee2af9dc62f2a8c167b023d0c71d13b (patch)
tree0fecaa7a6728d07549a41864ea2cedfb245f0bd3 /fltrimpl.h
parentfa25129ac981ceed9569496c02b83771b394fa40 (diff)
downloadcryptopp-git-d8a644fc4ee2af9dc62f2a8c167b023d0c71d13b.tar.gz
changes for 5.6:
- added AuthenticatedSymmetricCipher interface class and Filter wrappers - added CCM, GCM (with SSE2 assembly), CMAC, and SEED - improved AES speed on x86 and x64 - removed WORD64_AVAILABLE; compiler 64-bit int support is now required
Diffstat (limited to 'fltrimpl.h')
-rw-r--r--fltrimpl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fltrimpl.h b/fltrimpl.h
index d78bb6b1..40d70ff1 100644
--- a/fltrimpl.h
+++ b/fltrimpl.h
@@ -25,14 +25,17 @@
FILTER_END_NO_MESSAGE_END
*/
-#define FILTER_OUTPUT2(site, statement, output, length, messageEnd) \
+#define FILTER_OUTPUT3(site, statement, output, length, messageEnd, channel) \
{\
case site: \
statement; \
- if (Output(site, output, length, messageEnd, blocking)) \
+ if (Output(site, output, length, messageEnd, blocking, channel)) \
return STDMAX(size_t(1), length-m_inputPosition);\
}
+#define FILTER_OUTPUT2(site, statement, output, length, messageEnd) \
+ FILTER_OUTPUT3(site, statement, output, length, messageEnd, NULL_CHANNEL)
+
#define FILTER_OUTPUT(site, output, length, messageEnd) \
FILTER_OUTPUT2(site, 0, output, length, messageEnd)