Botan 3.0.0-alpha0
Crypto and TLS for C&
|
#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 |
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().
std::array<int16_t, KyberConstants::N> m_coeffs |
Definition at line 275 of file kyber.cpp.
Referenced by Botan::McEliece_PrivateKey::get_H_coeffs().
Polynomial v |
Definition at line 822 of file kyber.cpp.
Referenced by Botan::polyn_gf2m::add_to_coef(), Botan::base58_check_encode(), Botan::base58_decode(), Botan::base58_encode(), Botan::CT::Mask< T >::expand(), Botan::ge_frombytes_negate_vartime(), Botan::TLS::Text_Policy::get_bool(), Botan::TLS::Text_Policy::get_len(), Botan::TLS::Text_Policy::get_list(), Botan::TLS::TLS_Data_Reader::get_string(), Botan::holds_any_of(), Botan::CT::Mask< T >::is_any_of(), Botan::CT::Mask< T >::is_within_range(), Botan::KDF1::kdf(), Botan::Montgomery_Int::Montgomery_Int(), Botan::newhope_shareda(), Botan::newhope_sharedb(), Botan::RandomNumberGenerator::random_vec(), Botan::ECDSA_PublicKey::recovery_param(), Botan::Montgomery_Int::serialize(), Botan::TLS::Text_Policy::set(), Botan::polyn_gf2m::set_coef(), Botan::TLS::Stream< StreamLayer, ChannelT >::set_verify_mode(), Botan::Serpent_F::shl(), Botan::SRP6_Server_Session::step1(), Botan::TLS::Supported_Versions::Supported_Versions(), and Botan::TLS::Supported_Versions::supports().