Botan
2.17.3
Crypto and TLS for C++11
|
#include <ecies.h>
Public Member Functions | |
bool | check_mode () const |
bool | cofactor_mode () const |
PointGFp::Compression_Type | compression_type () const |
std::unique_ptr< Cipher_Mode > | create_cipher (Botan::Cipher_Dir direction) const |
creates an instance of the data encryption method More... | |
std::unique_ptr< MessageAuthenticationCode > | create_mac () const |
creates an instance of the message authentication code More... | |
size_t | dem_keylen () const |
returns the length of the key used by the data encryption method More... | |
const EC_Group & | domain () const |
ECIES_System_Params (const EC_Group &domain, const std::string &kdf_spec, const std::string &dem_algo_spec, size_t dem_key_len, const std::string &mac_spec, size_t mac_key_len) | |
ECIES_System_Params (const EC_Group &domain, const std::string &kdf_spec, const std::string &dem_algo_spec, size_t dem_key_len, const std::string &mac_spec, size_t mac_key_len, PointGFp::Compression_Type compression_type, ECIES_Flags flags) | |
ECIES_System_Params (const ECIES_System_Params &)=default | |
const std::string & | kdf_spec () const |
size_t | mac_keylen () const |
returns the length of the key used by the message authentication code More... | |
bool | old_cofactor_mode () const |
ECIES_System_Params & | operator= (const ECIES_System_Params &)=delete |
size_t | secret_length () const |
bool | single_hash_mode () const |
virtual | ~ECIES_System_Params ()=default |
Botan::ECIES_System_Params::ECIES_System_Params | ( | const EC_Group & | domain, |
const std::string & | kdf_spec, | ||
const std::string & | dem_algo_spec, | ||
size_t | dem_key_len, | ||
const std::string & | mac_spec, | ||
size_t | mac_key_len | ||
) |
domain | ec domain parameters of the involved ec keys |
kdf_spec | name of the key derivation function |
dem_algo_spec | name of the data encryption method |
dem_key_len | length of the key used for the data encryption method |
mac_spec | name of the message authentication code |
mac_key_len | length of the key used for the message authentication code |
Definition at line 209 of file ecies.cpp.
Botan::ECIES_System_Params::ECIES_System_Params | ( | const EC_Group & | domain, |
const std::string & | kdf_spec, | ||
const std::string & | dem_algo_spec, | ||
size_t | dem_key_len, | ||
const std::string & | mac_spec, | ||
size_t | mac_key_len, | ||
PointGFp::Compression_Type | compression_type, | ||
ECIES_Flags | flags | ||
) |
domain | ec domain parameters of the involved ec keys |
kdf_spec | name of the key derivation function |
dem_algo_spec | name of the data encryption method |
dem_key_len | length of the key used for the data encryption method |
mac_spec | name of the message authentication code |
mac_key_len | length of the key used for the message authentication code |
compression_type | format of encoded keys (affects the secret derivation if single_hash_mode is used) |
flags | options, see documentation of ECIES_Flags |
Definition at line 192 of file ecies.cpp.
References Botan::ECIES_KA_Params::check_mode(), Botan::ECIES_KA_Params::cofactor_mode(), and Botan::ECIES_KA_Params::old_cofactor_mode().
|
default |
|
virtualdefault |
|
inlineinherited |
Definition at line 100 of file ecies.h.
References Botan::CHECK_MODE.
Referenced by Botan::ECIES_Decryptor::ECIES_Decryptor(), and ECIES_System_Params().
|
inlineinherited |
Definition at line 90 of file ecies.h.
References Botan::COFACTOR_MODE.
Referenced by ECIES_System_Params().
|
inlineinherited |
Definition at line 105 of file ecies.h.
Referenced by Botan::ECIES_KA_Operation::derive_secret(), and Botan::ECIES_Encryptor::ECIES_Encryptor().
std::unique_ptr< Cipher_Mode > Botan::ECIES_System_Params::create_cipher | ( | Botan::Cipher_Dir | direction | ) | const |
creates an instance of the data encryption method
Definition at line 222 of file ecies.cpp.
References Botan::Cipher_Mode::create_or_throw().
Referenced by Botan::ECIES_Decryptor::ECIES_Decryptor(), and Botan::ECIES_Encryptor::ECIES_Encryptor().
std::unique_ptr< MessageAuthenticationCode > Botan::ECIES_System_Params::create_mac | ( | ) | const |
creates an instance of the message authentication code
Definition at line 217 of file ecies.cpp.
References Botan::MessageAuthenticationCode::create_or_throw().
Referenced by Botan::ECIES_Decryptor::ECIES_Decryptor(), and Botan::ECIES_Encryptor::ECIES_Encryptor().
|
inline |
|
inlineinherited |
Definition at line 75 of file ecies.h.
Referenced by Botan::ECIES_KA_Operation::derive_secret(), Botan::ECIES_Decryptor::ECIES_Decryptor(), and Botan::ECIES_Encryptor::ECIES_Encryptor().
|
inlineinherited |
Definition at line 110 of file ecies.h.
Referenced by Botan::ECIES_KA_Operation::derive_secret().
|
inline |
|
inlineinherited |
Definition at line 95 of file ecies.h.
References Botan::OLD_COFACTOR_MODE.
Referenced by Botan::ECIES_KA_Operation::derive_secret(), and ECIES_System_Params().
|
delete |
|
inlineinherited |
Definition at line 80 of file ecies.h.
Referenced by Botan::ECIES_KA_Operation::derive_secret().
|
inlineinherited |
Definition at line 85 of file ecies.h.
References Botan::SINGLE_HASH_MODE.
Referenced by Botan::ECIES_KA_Operation::derive_secret().