Botan 3.5.0
Crypto and TLS for C&
|
#include <frodo_constants.h>
Public Member Functions | |
size_t | b () const |
uint16_t | cdf_table_at (size_t i) const |
size_t | cdf_table_len () const |
size_t | d () const |
FrodoDomainSeparator | encapsulation_domain_separator () const |
size_t | estimated_strength () const |
FrodoKEMConstants (const FrodoKEMConstants &other) | |
FrodoKEMConstants (FrodoKEMConstants &&other)=default | |
FrodoKEMConstants (FrodoKEMMode mode) | |
FrodoDomainSeparator | keygen_domain_separator () const |
size_t | len_a_bytes () const |
size_t | len_ct_bytes () const |
size_t | len_packed_b_bytes () const |
size_t | len_packed_c_bytes () const |
size_t | len_private_key_bytes () const |
size_t | len_public_key_bytes () const |
size_t | len_salt_bytes () const |
size_t | len_se_bytes () const |
size_t | len_sec_bytes () const |
FrodoKEMMode | mode () const |
size_t | n () const |
size_t | n_bar () const |
FrodoKEMConstants & | operator= (const FrodoKEMConstants &other)=delete |
FrodoKEMConstants & | operator= (FrodoKEMConstants &&other)=default |
XOF & | SHAKE_XOF () const |
~FrodoKEMConstants () | |
Definition at line 25 of file frodo_constants.h.
Botan::FrodoKEMConstants::FrodoKEMConstants | ( | FrodoKEMMode | mode | ) |
Definition at line 17 of file frodo_constants.cpp.
References BOTAN_ASSERT, BOTAN_ASSERT_UNREACHABLE, Botan::XOF::create_or_throw(), Botan::FrodoKEMMode::eFrodoKEM1344_AES, Botan::FrodoKEMMode::eFrodoKEM1344_SHAKE, Botan::FrodoKEMMode::eFrodoKEM640_AES, Botan::FrodoKEMMode::eFrodoKEM640_SHAKE, Botan::FrodoKEMMode::eFrodoKEM976_AES, Botan::FrodoKEMMode::eFrodoKEM976_SHAKE, Botan::FrodoKEMMode::FrodoKEM1344_AES, Botan::FrodoKEMMode::FrodoKEM1344_SHAKE, Botan::FrodoKEMMode::FrodoKEM640_AES, Botan::FrodoKEMMode::FrodoKEM640_SHAKE, Botan::FrodoKEMMode::FrodoKEM976_AES, Botan::FrodoKEMMode::FrodoKEM976_SHAKE, Botan::FrodoKEMMode::is_available(), Botan::FrodoKEMMode::is_ephemeral(), Botan::FrodoKEMMode::is_static(), mode(), and Botan::FrodoKEMMode::mode().
|
default |
|
inline |
Definition at line 31 of file frodo_constants.h.
|
default |
|
inline |
Definition at line 47 of file frodo_constants.h.
Referenced by Botan::FrodoMatrix::decode(), and Botan::FrodoMatrix::encode().
|
inline |
Definition at line 41 of file frodo_constants.h.
Referenced by Botan::FrodoMatrix::sample().
|
inline |
Definition at line 39 of file frodo_constants.h.
Referenced by Botan::FrodoMatrix::sample().
|
inline |
Definition at line 49 of file frodo_constants.h.
Referenced by Botan::FrodoMatrix::decode(), Botan::FrodoMatrix::encode(), Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey(), Botan::FrodoKEM_PublicKey::FrodoKEM_PublicKey(), Botan::FrodoMatrix::pack(), Botan::FrodoMatrix::packed_size(), Botan::FrodoMatrix::reduce(), and Botan::FrodoMatrix::unpack().
|
inline |
Definition at line 75 of file frodo_constants.h.
|
inline |
Definition at line 43 of file frodo_constants.h.
|
inline |
Definition at line 77 of file frodo_constants.h.
Referenced by Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey().
|
inline |
Definition at line 53 of file frodo_constants.h.
Referenced by Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey(), Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey(), and Botan::FrodoKEM_PublicKey::FrodoKEM_PublicKey().
|
inline |
Definition at line 61 of file frodo_constants.h.
|
inline |
Definition at line 71 of file frodo_constants.h.
|
inline |
Definition at line 73 of file frodo_constants.h.
|
inline |
Definition at line 67 of file frodo_constants.h.
Referenced by Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey().
|
inline |
Definition at line 65 of file frodo_constants.h.
Referenced by Botan::FrodoKEM_PublicKey::FrodoKEM_PublicKey().
|
inline |
Definition at line 59 of file frodo_constants.h.
|
inline |
Definition at line 55 of file frodo_constants.h.
Referenced by Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey().
|
inline |
Definition at line 57 of file frodo_constants.h.
Referenced by Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey(), and Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey().
|
inline |
Definition at line 37 of file frodo_constants.h.
Referenced by Botan::create_aes_row_generator(), Botan::create_shake_row_generator(), and FrodoKEMConstants().
|
inline |
Definition at line 45 of file frodo_constants.h.
Referenced by Botan::create_aes_row_generator(), Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey(), Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey(), Botan::FrodoKEM_PublicKey::FrodoKEM_PublicKey(), Botan::FrodoMatrix::mul_add_as_plus_e(), Botan::FrodoMatrix::mul_add_sa_plus_e(), Botan::FrodoMatrix::mul_add_sb_plus_e(), and Botan::FrodoMatrix::mul_bs().
|
inline |
Definition at line 51 of file frodo_constants.h.
Referenced by Botan::FrodoMatrix::add(), Botan::FrodoMatrix::decode(), Botan::FrodoMatrix::encode(), Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey(), Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey(), Botan::FrodoKEM_PublicKey::FrodoKEM_PublicKey(), Botan::FrodoMatrix::mul_add_as_plus_e(), Botan::FrodoMatrix::mul_add_sa_plus_e(), Botan::FrodoMatrix::mul_add_sb_plus_e(), Botan::FrodoMatrix::mul_bs(), and Botan::FrodoMatrix::sub().
|
delete |
|
default |
XOF & Botan::FrodoKEMConstants::SHAKE_XOF | ( | ) | const |
Definition at line 97 of file frodo_constants.cpp.
Referenced by Botan::FrodoKEM_PrivateKey::FrodoKEM_PrivateKey().