Botan 3.5.0
Crypto and TLS for C&
|
#include <kyber_90s.h>
Public Member Functions | |
std::pair< KyberSharedSecret, KyberEncryptionRandomness > | G (StrongSpan< const KyberMessage > msg, StrongSpan< const KyberHashedPublicKey > pubkey_hash) const |
std::pair< KyberSeedRho, KyberSeedSigma > | G (StrongSpan< const KyberSeedRandomness > seed) const |
KyberHashedCiphertext | H (StrongSpan< const KyberCompressedCiphertext > r) const |
KyberMessage | H (StrongSpan< const KyberMessage > m) const |
KyberHashedPublicKey | H (StrongSpan< const KyberSerializedPublicKey > pk) const |
void | KDF (StrongSpan< KyberSharedSecret > out, StrongSpan< const KyberSharedSecret > shared_secret, StrongSpan< const KyberHashedCiphertext > hashed_ciphertext) const |
Kyber_90s_Symmetric_Primitives () | |
KyberSamplingRandomness | PRF (KyberSigmaOrEncryptionRandomness seed, const uint8_t nonce, const size_t outlen) const |
std::unique_ptr< Botan::XOF > | XOF (StrongSpan< const KyberSeedRho > seed, std::tuple< uint8_t, uint8_t > matrix_position) const |
Protected Member Functions | |
HashFunction & | get_G () const override |
HashFunction & | get_H () const override |
HashFunction & | get_KDF () const override |
Botan::XOF & | get_PRF (std::span< const uint8_t > seed, const uint8_t nonce) const override |
std::unique_ptr< Botan::XOF > | get_XOF (std::span< const uint8_t > seed, std::tuple< uint8_t, uint8_t > mpos) const override |
Definition at line 23 of file kyber_90s.h.
|
inline |
Definition at line 25 of file kyber_90s.h.
|
inlineinherited |
Definition at line 52 of file kyber_symmetric_primitives.h.
|
inlineinherited |
Definition at line 48 of file kyber_symmetric_primitives.h.
|
inlineoverrideprotectedvirtual |
Implements Botan::Kyber_Symmetric_Primitives.
Definition at line 31 of file kyber_90s.h.
|
inlineoverrideprotectedvirtual |
Implements Botan::Kyber_Symmetric_Primitives.
Definition at line 33 of file kyber_90s.h.
|
inlineoverrideprotectedvirtual |
Implements Botan::Kyber_Symmetric_Primitives.
Definition at line 35 of file kyber_90s.h.
|
inlineoverrideprotectedvirtual |
Implements Botan::Kyber_Symmetric_Primitives.
Definition at line 37 of file kyber_90s.h.
|
inlineoverrideprotectedvirtual |
Implements Botan::Kyber_Symmetric_Primitives.
Definition at line 44 of file kyber_90s.h.
|
inlineinherited |
Definition at line 40 of file kyber_symmetric_primitives.h.
References Botan::Kyber_Symmetric_Primitives::get_H(), and Botan::Buffered_Computation::process().
|
inlineinherited |
Definition at line 37 of file kyber_symmetric_primitives.h.
References Botan::Kyber_Symmetric_Primitives::get_H(), and Botan::Buffered_Computation::process().
|
inlineinherited |
Definition at line 44 of file kyber_symmetric_primitives.h.
References Botan::Kyber_Symmetric_Primitives::get_H(), and Botan::Buffered_Computation::process().
|
inlineinherited |
Definition at line 58 of file kyber_symmetric_primitives.h.
References Botan::Kyber_Symmetric_Primitives::get_KDF().
|
inlineinherited |
Definition at line 67 of file kyber_symmetric_primitives.h.
References Botan::Kyber_Symmetric_Primitives::get_PRF(), and Botan::XOF::output().
Referenced by Botan::Polynomial::getnoise_eta1(), and Botan::Polynomial::getnoise_eta2().
|
inlineinherited |
Definition at line 74 of file kyber_symmetric_primitives.h.
References Botan::Kyber_Symmetric_Primitives::get_XOF().
Referenced by Botan::PolynomialMatrix::generate().