8 #include <botan/lookup.h> 9 #include <botan/libstate.h> 10 #include <botan/scan_name.h> 12 #if defined(BOTAN_HAS_MGF1) 13 #include <botan/mgf1.h> 16 #if defined(BOTAN_HAS_EMSA1) 17 #include <botan/emsa1.h> 20 #if defined(BOTAN_HAS_EMSA1_BSI) 21 #include <botan/emsa1_bsi.h> 24 #if defined(BOTAN_HAS_EMSA2) 25 #include <botan/emsa2.h> 28 #if defined(BOTAN_HAS_EMSA3) 29 #include <botan/emsa3.h> 32 #if defined(BOTAN_HAS_EMSA4) 33 #include <botan/emsa4.h> 36 #if defined(BOTAN_HAS_EMSA_RAW) 37 #include <botan/emsa_raw.h> 40 #if defined(BOTAN_HAS_EME1) 41 #include <botan/eme1.h> 44 #if defined(BOTAN_HAS_EME_PKCS1v15) 45 #include <botan/eme_pkcs.h> 48 #if defined(BOTAN_HAS_KDF1) 49 #include <botan/kdf1.h> 52 #if defined(BOTAN_HAS_KDF2) 53 #include <botan/kdf2.h> 56 #if defined(BOTAN_HAS_X942_PRF) 57 #include <botan/prf_x942.h> 60 #if defined(BOTAN_HAS_SSL_V3_PRF) 61 #include <botan/prf_ssl3.h> 64 #if defined(BOTAN_HAS_TLS_V10_PRF) 65 #include <botan/prf_tls.h> 92 #if defined(BOTAN_HAS_EMSA_RAW) 97 #if defined(BOTAN_HAS_EMSA1) 102 #if defined(BOTAN_HAS_EMSA1_BSI) 107 #if defined(BOTAN_HAS_EMSA2) 112 #if defined(BOTAN_HAS_EMSA3) 115 if(request.
arg(0) ==
"Raw")
121 #if defined(BOTAN_HAS_EMSA4) 128 if(request.
arg_count() == 2 && request.
arg(1) !=
"MGF1")
152 #if defined(BOTAN_HAS_EME_PKCS1v15) 157 #if defined(BOTAN_HAS_EME1) 183 #if defined(BOTAN_HAS_KDF1) 188 #if defined(BOTAN_HAS_KDF2) 193 #if defined(BOTAN_HAS_X942_PRF) 198 #if defined(BOTAN_HAS_TLS_V10_PRF) 203 #if defined(BOTAN_HAS_SSL_V3_PRF)
EMSA * get_emsa(const std::string &algo_spec)
Algorithm_Factory & algorithm_factory() const
PBKDF * make_pbkdf(const std::string &algo_spec, const std::string &provider="")
size_t arg_as_integer(size_t i, size_t def_value) const
Library_State & global_state()
std::string arg(size_t i) const
EME * get_eme(const std::string &algo_spec)
HashFunction * make_hash_function(const std::string &algo_spec, const std::string &provider="")
bool arg_count_between(size_t lower, size_t upper) const
PBKDF * get_pbkdf(const std::string &algo_spec)
KDF * get_kdf(const std::string &algo_spec)
std::string algo_name() const