Botan 3.6.1
Crypto and TLS for C&
|
#include <frodo_mode.h>
Public Types | |
enum | Mode { FrodoKEM640_SHAKE , FrodoKEM976_SHAKE , FrodoKEM1344_SHAKE , eFrodoKEM640_SHAKE , eFrodoKEM976_SHAKE , eFrodoKEM1344_SHAKE , FrodoKEM640_AES , FrodoKEM976_AES , FrodoKEM1344_AES , eFrodoKEM640_AES , eFrodoKEM976_AES , eFrodoKEM1344_AES } |
Public Member Functions | |
FrodoKEMMode (const OID &oid) | |
FrodoKEMMode (Mode mode) | |
FrodoKEMMode (std::string_view str) | |
bool | is_aes () const |
bool | is_available () const |
bool | is_ephemeral () const |
bool | is_shake () const |
bool | is_static () const |
Mode | mode () const |
OID | object_identifier () const |
bool | operator!= (const FrodoKEMMode &other) const |
bool | operator== (const FrodoKEMMode &other) const |
std::string | to_string () const |
Definition at line 20 of file frodo_mode.h.
Definition at line 22 of file frodo_mode.h.
Botan::FrodoKEMMode::FrodoKEMMode | ( | Mode | mode | ) |
Definition at line 69 of file frodo_mode.cpp.
|
explicit |
Definition at line 71 of file frodo_mode.cpp.
|
explicit |
Definition at line 73 of file frodo_mode.cpp.
|
inline |
Definition at line 61 of file frodo_mode.h.
Referenced by Botan::create_aes_row_generator().
|
inline |
Definition at line 66 of file frodo_mode.h.
Referenced by Botan::FrodoKEMConstants::FrodoKEMConstants().
|
inline |
Definition at line 46 of file frodo_mode.h.
Referenced by Botan::FrodoKEMConstants::FrodoKEMConstants().
|
inline |
Definition at line 56 of file frodo_mode.h.
Referenced by Botan::create_shake_row_generator().
|
inline |
Definition at line 51 of file frodo_mode.h.
Referenced by Botan::FrodoKEMConstants::FrodoKEMConstants().
|
inline |
Definition at line 44 of file frodo_mode.h.
Referenced by Botan::FrodoKEMConstants::FrodoKEMConstants().
OID Botan::FrodoKEMMode::object_identifier | ( | ) | const |
Definition at line 75 of file frodo_mode.cpp.
References Botan::OID::from_string(), and to_string().
|
inline |
Definition at line 81 of file frodo_mode.h.
|
inline |
Definition at line 79 of file frodo_mode.h.
std::string Botan::FrodoKEMMode::to_string | ( | ) | const |
Definition at line 79 of file frodo_mode.cpp.
References BOTAN_ASSERT_UNREACHABLE, eFrodoKEM1344_AES, eFrodoKEM1344_SHAKE, eFrodoKEM640_AES, eFrodoKEM640_SHAKE, eFrodoKEM976_AES, eFrodoKEM976_SHAKE, FrodoKEM1344_AES, FrodoKEM1344_SHAKE, FrodoKEM640_AES, FrodoKEM640_SHAKE, FrodoKEM976_AES, and FrodoKEM976_SHAKE.
Referenced by object_identifier().