diff options
Diffstat (limited to 'src/libstate/lookup.cpp')
-rw-r--r-- | src/libstate/lookup.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/libstate/lookup.cpp b/src/libstate/lookup.cpp index cbd2ff616..d16364cdc 100644 --- a/src/libstate/lookup.cpp +++ b/src/libstate/lookup.cpp @@ -27,14 +27,6 @@ BlockCipher* get_block_cipher(const std::string& algo_spec) } /** -* Add a new block cipher -*/ -void add_algorithm(Library_State& libstate, BlockCipher* algo) - { - libstate.algo_factory().add_block_cipher(algo); - } - -/** * Acquire a stream cipher */ const StreamCipher* retrieve_stream_cipher(Library_State& libstate, @@ -52,14 +44,6 @@ StreamCipher* get_stream_cipher(const std::string& algo_spec) } /** -* Add a new stream cipher -*/ -void add_algorithm(Library_State& libstate, StreamCipher* algo) - { - libstate.algo_factory().add_stream_cipher(algo); - } - -/** * Acquire a hash function */ const HashFunction* retrieve_hash(Library_State& libstate, @@ -77,14 +61,6 @@ HashFunction* get_hash(const std::string& algo_spec) } /** -* Add a new hash function -*/ -void add_algorithm(Library_State& libstate, HashFunction* algo) - { - libstate.algo_factory().add_hash_function(algo); - } - -/** * Query if Botan has the named hash function */ bool have_hash(const std::string& algo_spec) @@ -118,15 +94,6 @@ bool have_mac(const std::string& algo_spec) } /** -* Add a new authentication code -*/ -void add_algorithm(Library_State& libstate, - MessageAuthenticationCode* algo) - { - libstate.algo_factory().add_mac(algo); - } - -/** * Query if an algorithm exists */ bool have_algorithm(const std::string& name) |