Botan 3.0.0-alpha0
Crypto and TLS for C&
Namespaces
kyber.cpp File Reference
#include <botan/kyber.h>
#include <botan/assert.h>
#include <botan/ber_dec.h>
#include <botan/hash.h>
#include <botan/mem_ops.h>
#include <botan/pubkey.h>
#include <botan/rng.h>
#include <botan/secmem.h>
#include <botan/stream_cipher.h>
#include <botan/internal/kyber_symmetric_primitives.h>
#include <botan/internal/loadstor.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/stl_util.h>
#include <algorithm>
#include <array>
#include <iterator>
#include <memory>
#include <optional>
#include <vector>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Variable Documentation

◆ b

PolynomialVector b

Definition at line 821 of file kyber.cpp.

Referenced by Botan::FE_25519::add(), Botan::bigint_cnd_swap(), botan_block_cipher_block_size(), botan_block_cipher_clear(), botan_block_cipher_decrypt_blocks(), botan_block_cipher_encrypt_blocks(), botan_block_cipher_set_key(), botan_srp6_client_agree(), Botan::cast_uint8_ptr_to_char(), Botan::SIMD_4x32::choose(), Botan::SIMD_8x32::choose(), Botan::choose(), Botan::combine_lower(), Botan::CT::copy_output(), Botan::ct_divide(), Botan::ct_divide_word(), Botan::ct_modulo(), Botan::PEM_Code::decode(), Botan::DER_Encoder::DER_Encoder(), Botan::EC_Group::EC_Group(), Botan::fe_add(), Botan::fe_copy(), Botan::fe_frombytes(), Botan::fe_mul(), Botan::fe_sub(), Botan::fe_tobytes(), Botan::gcd(), Botan::ge_double_scalarmult_vartime(), Botan::generate_dsa_primes(), Botan::GF2m_Field::gf_div_nrr(), Botan::GF2m_Field::gf_div_rnr(), Botan::GF2m_Field::gf_div_zzr(), Botan::GF2m_Field::gf_mul_lll(), Botan::GF2m_Field::gf_mul_nrr(), Botan::GF2m_Field::gf_mul_rrr(), Botan::lcm(), Botan::majority(), Botan::monty_inverse(), Botan::mul64x64_128(), Botan::RandomNumberGenerator::next_byte(), Botan::Zlib_Style_Stream< Stream, ByteType, StreamLenType >::next_in(), Botan::RandomNumberGenerator::next_nonzero_byte(), Botan::Zlib_Style_Stream< Stream, ByteType, StreamLenType >::next_out(), Botan::operator!=(), Botan::TLS::operator!=(), Botan::operator&(), Botan::operator*(), Botan::operator<(), Botan::TLS::operator<(), Botan::operator<=(), Botan::operator==(), Botan::TLS::operator==(), Botan::operator>(), Botan::operator>=(), Botan::operator|(), Botan::PKCS11::operator|(), Botan::DL_Group::power_b_p(), Botan::BigInt::power_of_2(), Botan::random_gf2m(), Botan::random_prime(), Botan::Serpent_F::SBoxD0(), Botan::Serpent_F::SBoxD1(), Botan::Serpent_F::SBoxD2(), Botan::Serpent_F::SBoxD3(), Botan::Serpent_F::SBoxD4(), Botan::Serpent_F::SBoxD5(), Botan::Serpent_F::SBoxD6(), Botan::Serpent_F::SBoxD7(), Botan::Serpent_F::SBoxE0(), Botan::Serpent_F::SBoxE1(), Botan::Serpent_F::SBoxE2(), Botan::Serpent_F::SBoxE3(), Botan::Serpent_F::SBoxE4(), Botan::Serpent_F::SBoxE5(), Botan::Serpent_F::SBoxE6(), Botan::Serpent_F::SBoxE7(), Botan::sc_muladd(), Botan::significant_bytes(), Botan::Sodium::sodium_add(), Botan::Sodium::sodium_increment(), Botan::Sodium::sodium_is_zero(), Botan::FE_25519::sub(), Botan::EC_Group::verify_group(), Botan::word_madd2(), and Botan::word_madd3().

◆ m_coeffs

std::array<int16_t, KyberConstants::N> m_coeffs

Definition at line 275 of file kyber.cpp.

Referenced by Botan::McEliece_PrivateKey::get_H_coeffs().

◆ m_vec

std::vector<Polynomial> m_vec

Definition at line 642 of file kyber.cpp.

◆ v

Polynomial v