Botan 3.6.1
Crypto and TLS for C&
|
#include <dilithium_keys.h>
Public Member Functions | |
virtual DilithiumInternalKeypair | decode_keypair (std::span< const uint8_t > private_key, DilithiumConstants mode) const =0 |
virtual secure_vector< uint8_t > | encode_keypair (DilithiumInternalKeypair keypair) const =0 |
virtual | ~Dilithium_Keypair_Codec ()=default |
Static Public Member Functions | |
static std::unique_ptr< Dilithium_Keypair_Codec > | create (DilithiumMode mode) |
Definition at line 23 of file dilithium_keys.h.
|
virtualdefault |
|
static |
Definition at line 22 of file dilithium_keys.cpp.
References Botan::DilithiumMode::is_dilithium_round3(), and Botan::DilithiumMode::is_ml_dsa().
Referenced by Botan::DilithiumConstants::DilithiumConstants().
|
pure virtual |
Implemented in Botan::Dilithium_Expanded_Keypair_Codec, and Botan::ML_DSA_Expanding_Keypair_Codec.
Referenced by Botan::Dilithium_PrivateKey::Dilithium_PrivateKey().
|
pure virtual |
Implemented in Botan::Dilithium_Expanded_Keypair_Codec, and Botan::ML_DSA_Expanding_Keypair_Codec.