Botan 3.5.0
Crypto and TLS for C&
|
#include <kyber_structures.h>
Public Member Functions | |
PolynomialVector & | b () |
Ciphertext ()=delete | |
Ciphertext (PolynomialVector b, const Polynomial &v, KyberConstants mode) | |
KyberCompressedCiphertext | to_bytes () |
void | to_bytes (StrongSpan< KyberCompressedCiphertext > out) |
Polynomial & | v () |
Static Public Member Functions | |
static Ciphertext | from_bytes (StrongSpan< const KyberCompressedCiphertext > buffer, const KyberConstants &mode) |
Definition at line 554 of file kyber_structures.h.
|
delete |
Referenced by from_bytes().
|
inline |
Definition at line 558 of file kyber_structures.h.
|
inline |
Definition at line 590 of file kyber_structures.h.
Referenced by Botan::Kyber_PrivateKeyInternal::indcpa_decrypt().
|
inlinestatic |
Definition at line 561 of file kyber_structures.h.
References BOTAN_ASSERT_NOMSG, Ciphertext(), Botan::BufferSlicer::empty(), Botan::KyberConstants::polynomial_compressed_bytes(), Botan::KyberConstants::polynomial_vector_compressed_bytes(), Botan::StrongSpan< T >::size(), and Botan::BufferSlicer::take().
Referenced by Botan::Kyber_KEM_Decryptor::decapsulate().
|
inline |
Definition at line 584 of file kyber_structures.h.
References Botan::KyberConstants::encapsulated_key_length(), and to_bytes().
Referenced by to_bytes().
|
inline |
Definition at line 577 of file kyber_structures.h.
References BOTAN_ASSERT_NOMSG, Botan::BufferStuffer::full(), Botan::BufferStuffer::next(), Botan::KyberConstants::polynomial_compressed_bytes(), and Botan::KyberConstants::polynomial_vector_compressed_bytes().
|
inline |
Definition at line 592 of file kyber_structures.h.
Referenced by Botan::Kyber_PrivateKeyInternal::indcpa_decrypt().