aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-22 13:40:04 +0000
committerlloyd <[email protected]>2010-06-22 13:40:04 +0000
commit238869aed29c3d703650ce55404929dc7e3f31fb (patch)
treeb74def90a024e6cf606e14f380e53cce6b0a9f86 /src/engine
parent23da3a13a1d4852e6c7560c37e308ba0db6c77da (diff)
Doxygen
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/def_engine/default_engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine/def_engine/default_engine.h b/src/engine/def_engine/default_engine.h
index f7e6d9746..0d864e514 100644
--- a/src/engine/def_engine/default_engine.h
+++ b/src/engine/def_engine/default_engine.h
@@ -51,6 +51,13 @@ class Default_Engine : public Engine
Algorithm_Factory&) const;
};
+/**
+* Create a cipher mode filter object
+* @param block_cipher a block cipher object
+* @param direction are we encrypting or decrypting?
+* @param mode the name of the cipher mode to use
+* @param padding the mode padding to use (only used for ECB, CBC)
+*/
Keyed_Filter* get_cipher_mode(const BlockCipher* block_cipher,
Cipher_Dir direction,
const std::string& mode,