Botan 3.6.0
Crypto and TLS for C&
Botan::DilithiumXOF Class Referenceabstract

#include <dilithium_symmetric_primitives.h>

Inheritance diagram for Botan::DilithiumXOF:
Botan::DilithiumShakeXOF

Public Member Functions

virtual Botan::XOFXOF128 (std::span< const uint8_t > seed, uint16_t nonce) const =0
 
virtual Botan::XOFXOF256 (std::span< const uint8_t > seed, uint16_t nonce) const =0
 
virtual ~DilithiumXOF ()=default
 

Detailed Description

Implemented by the derived classes to create the correct XOF instance. This is a customization point to enable support for the AES variant of Dilithium. This was not standardized in the FIPS 204; ML-DSA always uses SHAKE. Once we decide to remove the AES variant, this can be removed.

Definition at line 89 of file dilithium_symmetric_primitives.h.

Constructor & Destructor Documentation

◆ ~DilithiumXOF()

virtual Botan::DilithiumXOF::~DilithiumXOF ( )
virtualdefault

Member Function Documentation

◆ XOF128()

virtual Botan::XOF & Botan::DilithiumXOF::XOF128 ( std::span< const uint8_t > seed,
uint16_t nonce ) const
pure virtual

Implemented in Botan::DilithiumShakeXOF.

◆ XOF256()

virtual Botan::XOF & Botan::DilithiumXOF::XOF256 ( std::span< const uint8_t > seed,
uint16_t nonce ) const
pure virtual

Implemented in Botan::DilithiumShakeXOF.


The documentation for this class was generated from the following file: