Botan
1.10.9
|
#include <core_engine.h>
Public Member Functions | |
BlockCipher * | find_block_cipher (const SCAN_Name &, Algorithm_Factory &) const |
HashFunction * | find_hash (const SCAN_Name &request, Algorithm_Factory &) const |
MessageAuthenticationCode * | find_mac (const SCAN_Name &request, Algorithm_Factory &) const |
PBKDF * | find_pbkdf (const SCAN_Name &algo_spec, Algorithm_Factory &af) const |
StreamCipher * | find_stream_cipher (const SCAN_Name &, Algorithm_Factory &) const |
Keyed_Filter * | get_cipher (const std::string &, Cipher_Dir, Algorithm_Factory &) |
PK_Ops::Decryption * | get_decryption_op (const Private_Key &key) const |
PK_Ops::Encryption * | get_encryption_op (const Public_Key &key) const |
PK_Ops::Key_Agreement * | get_key_agreement_op (const Private_Key &key) const |
PK_Ops::Signature * | get_signature_op (const Private_Key &key) const |
PK_Ops::Verification * | get_verify_op (const Public_Key &key) const |
Modular_Exponentiator * | mod_exp (const BigInt &n, Power_Mod::Usage_Hints) const |
std::string | provider_name () const |
Core Engine
Definition at line 18 of file core_engine.h.
|
virtual |
algo_spec | the algorithm name/specification |
af | an algorithm factory object |
Reimplemented from Botan::Engine.
Definition at line 119 of file lookup_block.cpp.
References Botan::SCAN_Name::algo_name(), Botan::SCAN_Name::arg(), Botan::SCAN_Name::arg_as_integer(), Botan::SCAN_Name::arg_count(), Botan::SCAN_Name::arg_count_between(), block_size, Botan::HashFunction::clone(), Botan::StreamCipher::clone(), Botan::BlockCipher::clone(), Botan::Algorithm_Factory::prototype_block_cipher(), Botan::Algorithm_Factory::prototype_hash_function(), and Botan::Algorithm_Factory::prototype_stream_cipher().
|
virtual |
algo_spec | the algorithm name/specification |
af | an algorithm factory object |
Reimplemented from Botan::Engine.
Definition at line 98 of file lookup_hash.cpp.
References Botan::SCAN_Name::algo_name(), Botan::SCAN_Name::arg(), Botan::SCAN_Name::arg_as_integer(), Botan::SCAN_Name::arg_count(), Botan::HashFunction::clone(), and Botan::Algorithm_Factory::prototype_hash_function().
|
virtual |
algo_spec | the algorithm name/specification |
af | an algorithm factory object |
Reimplemented from Botan::Engine.
Definition at line 38 of file lookup_mac.cpp.
References Botan::SCAN_Name::algo_name(), Botan::SCAN_Name::arg(), Botan::SCAN_Name::arg_count(), Botan::Algorithm_Factory::make_block_cipher(), and Botan::Algorithm_Factory::make_hash_function().
|
virtual |
algo_spec | the algorithm name/specification |
af | an algorithm factory object |
Reimplemented from Botan::Engine.
Definition at line 26 of file lookup_pbkdf.cpp.
References Botan::SCAN_Name::algo_name(), Botan::SCAN_Name::arg(), Botan::SCAN_Name::arg_count(), Botan::Algorithm_Factory::make_hash_function(), Botan::Algorithm_Factory::make_mac(), and Botan::Algorithm_Factory::prototype_mac().
|
virtual |
algo_spec | the algorithm name/specification |
af | an algorithm factory object |
Reimplemented from Botan::Engine.
Definition at line 33 of file lookup_stream.cpp.
References Botan::SCAN_Name::algo_name(), and Botan::SCAN_Name::arg_as_integer().
|
virtual |
Return a new cipher object
algo_spec | the algorithm name/specification |
dir | specifies if encryption or decryption is desired |
af | an algorithm factory object |
Reimplemented from Botan::Engine.
Definition at line 181 of file core_modes.cpp.
References cipher_name, Botan::StreamCipher::clone(), Botan::get_cipher_mode(), Botan::Algorithm_Factory::prototype_block_cipher(), Botan::Algorithm_Factory::prototype_stream_cipher(), and Botan::split_on().
|
virtual |
Return a new operator object for this key, if possible
key | the key we want an operator for |
Reimplemented from Botan::Engine.
Definition at line 65 of file def_pk_ops.cpp.
References s.
|
virtual |
Return a new operator object for this key, if possible
key | the key we want an operator for |
Reimplemented from Botan::Engine.
Definition at line 49 of file def_pk_ops.cpp.
References s.
|
virtual |
Return a new operator object for this key, if possible
key | the key we want an operator for |
Reimplemented from Botan::Engine.
Definition at line 81 of file def_pk_ops.cpp.
|
virtual |
Return a new operator object for this key, if possible
key | the key we want an operator for |
Reimplemented from Botan::Engine.
Definition at line 97 of file def_pk_ops.cpp.
References s.
|
virtual |
Return a new operator object for this key, if possible
key | the key we want an operator for |
Reimplemented from Botan::Engine.
Definition at line 134 of file def_pk_ops.cpp.
References s.
|
virtual |
n | the modulus |
hints | any use hints |
Reimplemented from Botan::Engine.
Definition at line 17 of file def_powm.cpp.
References Botan::BigInt::is_odd().
|
inlinevirtual |