aboutsummaryrefslogtreecommitdiffstats
path: root/src/sym_algo
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 20:35:54 +0000
committerlloyd <[email protected]>2008-11-08 20:35:54 +0000
commit3c77da389db0769cf07cddf7629a62e156fe577b (patch)
treec79a275c7df6ebbdff6d7277673e488bd9b80f49 /src/sym_algo
parent73ba6c48e349955f05e81d674172c9c737540280 (diff)
Split the last parts of the 'core' module
Add some missing info.txts
Diffstat (limited to 'src/sym_algo')
-rw-r--r--src/sym_algo/info.txt13
-rw-r--r--src/sym_algo/sym_algo.h6
2 files changed, 19 insertions, 0 deletions
diff --git a/src/sym_algo/info.txt b/src/sym_algo/info.txt
new file mode 100644
index 000000000..3f3adfd96
--- /dev/null
+++ b/src/sym_algo/info.txt
@@ -0,0 +1,13 @@
+realname "Symmetric Algorithms"
+
+load_on auto
+
+<requires>
+rng
+</requires>
+
+<add>
+sym_algo.h
+symkey.cpp
+symkey.h
+</add>
diff --git a/src/sym_algo/sym_algo.h b/src/sym_algo/sym_algo.h
index 02343ed56..dbefbe4ca 100644
--- a/src/sym_algo/sym_algo.h
+++ b/src/sym_algo/sym_algo.h
@@ -88,6 +88,12 @@ class BOTAN_DLL SymmetricAlgorithm
virtual void key(const byte[], u32bit) = 0;
};
+/**
+* The two possible directions for cipher filters, determining whether they
+* actually perform encryption or decryption.
+*/
+enum Cipher_Dir { ENCRYPTION, DECRYPTION };
+
}
#endif