aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/look_add.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-29 03:34:12 +0000
committerlloyd <[email protected]>2008-09-29 03:34:12 +0000
commit7553b5f1461d58eae49e81c2e9bacdf0ea7d4cab (patch)
tree695c966ed348afd43a8d48979f02205cc6ad5f77 /src/core/look_add.h
parentce7ef966e3a52731ad9d12a539d8db7fabe9f793 (diff)
Expose use of global state in some of the lookup functions, including
get_cipher
Diffstat (limited to 'src/core/look_add.h')
-rw-r--r--src/core/look_add.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/look_add.h b/src/core/look_add.h
index 4185cbc0a..8c170049d 100644
--- a/src/core/look_add.h
+++ b/src/core/look_add.h
@@ -7,6 +7,7 @@
#define BOTAN_LOOKUP_MANGEMENT_H__
#include <botan/base.h>
+#include <botan/libstate.h>
#include <botan/mode_pad.h>
#include <botan/s2k.h>
@@ -15,12 +16,12 @@ namespace Botan {
/*************************************************
* Add an algorithm to the lookup table *
*************************************************/
-BOTAN_DLL void add_algorithm(BlockCipher*);
-BOTAN_DLL void add_algorithm(StreamCipher*);
-BOTAN_DLL void add_algorithm(HashFunction*);
-BOTAN_DLL void add_algorithm(MessageAuthenticationCode*);
-BOTAN_DLL void add_algorithm(S2K*);
-BOTAN_DLL void add_algorithm(BlockCipherModePaddingMethod*);
+BOTAN_DLL void add_algorithm(Library_State&, BlockCipher*);
+BOTAN_DLL void add_algorithm(Library_State&, StreamCipher*);
+BOTAN_DLL void add_algorithm(Library_State&, HashFunction*);
+BOTAN_DLL void add_algorithm(Library_State&, MessageAuthenticationCode*);
+BOTAN_DLL void add_algorithm(Library_State&, S2K*);
+BOTAN_DLL void add_algorithm(Library_State&, BlockCipherModePaddingMethod*);
}