8 #ifndef BOTAN_LOOKUP_H__
9 #define BOTAN_LOOKUP_H__
11 #include <botan/libstate.h>
12 #include <botan/engine.h>
13 #include <botan/filters.h>
14 #include <botan/mode_pad.h>
15 #include <botan/kdf.h>
16 #include <botan/eme.h>
17 #include <botan/emsa.h>
18 #include <botan/pbkdf.h>
28 inline const BlockCipher*
41 inline const StreamCipher*
54 inline const HashFunction*
67 inline const MessageAuthenticationCode*
137 BOTAN_DLL PBKDF*
get_pbkdf(
const std::string& algo_spec);
160 BOTAN_DLL EME*
get_eme(
const std::string& algo_spec);
168 BOTAN_DLL EMSA*
get_emsa(
const std::string& algo_spec);
175 BOTAN_DLL KDF*
get_kdf(
const std::string& algo_spec);
191 BOTAN_DLL Keyed_Filter*
get_cipher(
const std::string& algo_spec,
205 BOTAN_DLL Keyed_Filter*
get_cipher(
const std::string& algo_spec,
218 BOTAN_DLL Keyed_Filter*
get_cipher(
const std::string& algo_spec,
291 BOTAN_DLL
size_t block_size_of(
const std::string& algo_spec);
309 BOTAN_DEPRECATED(
"Retrieve object you want and then call key_spec")
319 BOTAN_DEPRECATED("Retrieve
object you want and then call key_spec")
329 BOTAN_DEPRECATED("Retrieve
object you want and then call key_spec")
const BlockCipher * retrieve_block_cipher(const std::string &algo_spec)
MessageAuthenticationCode * get_mac(const std::string &algo_spec)
EMSA * get_emsa(const std::string &algo_spec)
HashFunction * get_hash(const std::string &algo_spec)
StreamCipher * get_stream_cipher(const std::string &algo_spec)
const BlockCipher * prototype_block_cipher(const std::string &algo_spec, const std::string &provider="")
PBKDF * get_s2k(const std::string &algo_spec)
BlockCipher * make_block_cipher(const std::string &algo_spec, const std::string &provider="")
MessageAuthenticationCode * make_mac(const std::string &algo_spec, const std::string &provider="")
StreamCipher * make_stream_cipher(const std::string &algo_spec, const std::string &provider="")
size_t min_keylength_of(const std::string &name)
size_t max_keylength_of(const std::string &name)
Algorithm_Factory & algorithm_factory() const
const HashFunction * prototype_hash_function(const std::string &algo_spec, const std::string &provider="")
bool have_mac(const std::string &algo_spec)
Library_State & global_state()
bool have_algorithm(const std::string &name)
const MessageAuthenticationCode * retrieve_mac(const std::string &algo_spec)
const MessageAuthenticationCode * prototype_mac(const std::string &algo_spec, const std::string &provider="")
size_t block_size_of(const std::string &name)
const StreamCipher * retrieve_stream_cipher(const std::string &algo_spec)
EME * get_eme(const std::string &algo_spec)
HashFunction * make_hash_function(const std::string &algo_spec, const std::string &provider="")
BlockCipher * get_block_cipher(const std::string &algo_spec)
bool have_stream_cipher(const std::string &algo_spec)
size_t keylength_multiple_of(const std::string &name)
bool have_hash(const std::string &algo_spec)
bool have_block_cipher(const std::string &algo_spec)
const HashFunction * retrieve_hash(const std::string &algo_spec)
PBKDF * get_pbkdf(const std::string &algo_spec)
KDF * get_kdf(const std::string &algo_spec)
size_t output_length_of(const std::string &name)
Keyed_Filter * get_cipher(const std::string &algo_spec, Cipher_Dir direction)
OctetString InitializationVector
const StreamCipher * prototype_stream_cipher(const std::string &algo_spec, const std::string &provider="")