diff options
Diffstat (limited to 'src/sym_algo')
-rw-r--r-- | src/sym_algo/info.txt | 13 | ||||
-rw-r--r-- | src/sym_algo/sym_algo.h | 6 |
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 |