Botan 3.6.1
Crypto and TLS for C&
|
#include <kyber_symmetric_primitives.h>
Protected Member Functions | |
virtual HashFunction & | get_G () const =0 |
virtual HashFunction & | get_H () const =0 |
virtual HashFunction & | get_J () const =0 |
virtual HashFunction & | get_KDF () const =0 |
virtual Botan::XOF & | get_PRF (std::span< const uint8_t > seed, uint8_t nonce) const =0 |
virtual Botan::XOF & | get_XOF (std::span< const uint8_t > seed, std::tuple< uint8_t, uint8_t > matrix_position) const =0 |
virtual std::optional< std::array< uint8_t, 1 > > | seed_expansion_domain_separator (const KyberConstants &mode) const =0 |
Adapter class that uses polymorphy to distinguish Kyber "modern" from Kyber "90s" modes.
Definition at line 30 of file kyber_symmetric_primitives.h.
|
virtualdefault |
|
inline |
Definition at line 55 of file kyber_symmetric_primitives.h.
|
inline |
Definition at line 46 of file kyber_symmetric_primitives.h.
References seed_expansion_domain_separator().
Referenced by Botan::Kyber_Algos::expand_keypair().
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
Implemented in Botan::Kyber_90s_Symmetric_Primitives, Botan::Kyber_Modern_Symmetric_Primitives, and Botan::ML_KEM_Symmetric_Primitives.
Referenced by J().
|
protectedpure virtual |
Implemented in Botan::Kyber_90s_Symmetric_Primitives, Botan::Kyber_Modern_Symmetric_Primitives, and Botan::ML_KEM_Symmetric_Primitives.
Referenced by KDF().
|
protectedpure virtual |
Implemented in Botan::Kyber_90s_Symmetric_Primitives, Botan::Kyber_Modern_Symmetric_Primitives, and Botan::ML_KEM_Symmetric_Primitives.
Referenced by PRF().
|
protectedpure virtual |
Implemented in Botan::Kyber_90s_Symmetric_Primitives, Botan::Kyber_Modern_Symmetric_Primitives, and Botan::ML_KEM_Symmetric_Primitives.
Referenced by XOF().
|
inline |
Definition at line 38 of file kyber_symmetric_primitives.h.
References get_H(), and Botan::Buffered_Computation::process().
|
inline |
Definition at line 35 of file kyber_symmetric_primitives.h.
References get_H(), and Botan::Buffered_Computation::process().
|
inline |
Definition at line 42 of file kyber_symmetric_primitives.h.
References get_H(), and Botan::Buffered_Computation::process().
|
inline |
Definition at line 60 of file kyber_symmetric_primitives.h.
References get_J().
|
inline |
Definition at line 69 of file kyber_symmetric_primitives.h.
References get_KDF().
|
inline |
Definition at line 78 of file kyber_symmetric_primitives.h.
References get_PRF(), and Botan::XOF::output().
|
protectedpure virtual |
Implemented in Botan::Kyber_90s_Symmetric_Primitives, Botan::Kyber_Modern_Symmetric_Primitives, and Botan::ML_KEM_Symmetric_Primitives.
Referenced by G().
|
inline |
Definition at line 85 of file kyber_symmetric_primitives.h.
References get_XOF().
Referenced by Botan::Kyber_Algos::sample_matrix().