11#include <botan/internal/dilithium_round3_symmetric_primitives.h>
14#include <botan/internal/dilithium_algos.h>
19 return Dilithium_Algos::encode_keypair(keypair).get();
26 "dilithium private key does not have the correct byte count");
#define BOTAN_ARG_CHECK(expr, msg)
DilithiumMode mode() const
size_t private_key_bytes() const
byte length of the encoded private key
bool is_available() const
secure_vector< uint8_t > encode_keypair(DilithiumInternalKeypair keypair) const override
DilithiumInternalKeypair decode_keypair(std::span< const uint8_t > private_key, DilithiumConstants mode) const override
std::vector< T, secure_allocator< T > > secure_vector
std::pair< std::shared_ptr< Dilithium_PublicKeyInternal >, std::shared_ptr< Dilithium_PrivateKeyInternal > > DilithiumInternalKeypair
Internal representation of a Dilithium key pair.