aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-18 18:17:08 +0000
committerlloyd <[email protected]>2014-01-18 18:17:08 +0000
commitb96ad4c05c0a8f835b54ef4e2cff849c749409b0 (patch)
treed8a5805e6d85cd66d2336f624f0cbeaaf1d5bed3 /src/lib/utils
parent6b457468faa88180142de9bd2ba0fee90be43463 (diff)
Split off the keyed interfaces of transform to Keyed_Transform
Remove the unhelpful 'Algorithm' base class which had previously acted more or less as a global base.
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/utils/types.h b/src/lib/utils/types.h
index f4a2eeacd..1fd54e060 100644
--- a/src/lib/utils/types.h
+++ b/src/lib/utils/types.h
@@ -36,6 +36,12 @@ typedef std::int32_t s32bit;
*/
static const size_t DEFAULT_BUFFERSIZE = BOTAN_DEFAULT_BUFFER_SIZE;
+/**
+* The two possible directions for cipher filters, determining whether they
+* actually perform encryption or decryption.
+*/
+enum Cipher_Dir { ENCRYPTION, DECRYPTION };
+
}
namespace Botan_types {