Botan
1.10.9
|
#include <scan_name.h>
Public Member Functions | |
std::string | algo_name () const |
std::string | algo_name_and_args () const |
std::string | arg (size_t i) const |
std::string | arg (size_t i, const std::string &def_value) const |
size_t | arg_as_integer (size_t i, size_t def_value) const |
size_t | arg_count () const |
bool | arg_count_between (size_t lower, size_t upper) const |
std::string | as_string () const |
std::string | cipher_mode () const |
std::string | cipher_mode_pad () const |
SCAN_Name (std::string algo_spec) | |
A class encapsulating a SCAN name (similar to JCE conventions) http://www.users.zetnet.co.uk/hopwood/crypto/scan/
Definition at line 21 of file scan_name.h.
Botan::SCAN_Name::SCAN_Name | ( | std::string | algo_spec | ) |
algo_spec | A SCAN-format name |
Definition at line 66 of file scan_name.cpp.
References Botan::Library_State::deref_alias(), and Botan::Global_State_Management::global_state().
|
inline |
Definition at line 37 of file scan_name.h.
Referenced by algo_name_and_args(), Botan::Assembler_Engine::find_block_cipher(), Botan::SIMD_Engine::find_block_cipher(), Botan::AES_ISA_Engine::find_block_cipher(), Botan::Core_Engine::find_block_cipher(), Botan::OpenSSL_Engine::find_block_cipher(), Botan::Assembler_Engine::find_hash(), Botan::SIMD_Engine::find_hash(), Botan::Core_Engine::find_hash(), Botan::OpenSSL_Engine::find_hash(), Botan::Core_Engine::find_mac(), Botan::Core_Engine::find_pbkdf(), Botan::Core_Engine::find_stream_cipher(), Botan::OpenSSL_Engine::find_stream_cipher(), Botan::get_eme(), Botan::get_emsa(), Botan::get_kdf(), and Botan::get_pbe().
std::string Botan::SCAN_Name::algo_name_and_args | ( | ) | const |
Definition at line 131 of file scan_name.cpp.
References algo_name(), arg(), and arg_count().
Referenced by Botan::algorithm_kat().
std::string Botan::SCAN_Name::arg | ( | size_t | i | ) | const |
i | which argument |
Definition at line 153 of file scan_name.cpp.
References arg_count().
Referenced by algo_name_and_args(), Botan::Core_Engine::find_block_cipher(), Botan::Core_Engine::find_hash(), Botan::Core_Engine::find_mac(), Botan::Core_Engine::find_pbkdf(), Botan::get_eme(), Botan::get_emsa(), Botan::get_kdf(), and Botan::get_pbe().
std::string Botan::SCAN_Name::arg | ( | size_t | i, |
const std::string & | def_value | ||
) | const |
i | which argument |
def_value | the default value |
Definition at line 160 of file scan_name.cpp.
References arg_count().
size_t Botan::SCAN_Name::arg_as_integer | ( | size_t | i, |
size_t | def_value | ||
) | const |
i | which argument |
def_value | the default value |
Definition at line 167 of file scan_name.cpp.
References arg_count(), and Botan::to_u32bit().
Referenced by Botan::Core_Engine::find_block_cipher(), Botan::OpenSSL_Engine::find_block_cipher(), Botan::Core_Engine::find_hash(), Botan::OpenSSL_Engine::find_stream_cipher(), Botan::Core_Engine::find_stream_cipher(), and Botan::get_emsa().
|
inline |
Definition at line 47 of file scan_name.h.
Referenced by algo_name_and_args(), arg(), arg_as_integer(), Botan::Core_Engine::find_block_cipher(), Botan::Core_Engine::find_hash(), Botan::Core_Engine::find_mac(), Botan::Core_Engine::find_pbkdf(), Botan::get_eme(), Botan::get_emsa(), Botan::get_kdf(), and Botan::get_pbe().
|
inline |
lower | is the lower bound |
upper | is the upper bound |
Definition at line 54 of file scan_name.h.
Referenced by Botan::Core_Engine::find_block_cipher(), Botan::get_eme(), and Botan::get_emsa().
|
inline |
Definition at line 32 of file scan_name.h.
Referenced by Botan::get_pbe().
|
inline |
Definition at line 80 of file scan_name.h.
Referenced by Botan::algorithm_kat().
|
inline |
Definition at line 86 of file scan_name.h.
Referenced by Botan::algorithm_kat().