Botan
1.10.9
|
#include <botan/numthry.h>
#include <botan/reducer.h>
#include <botan/internal/bit_ops.h>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
Botan | |
Functions | |
BigInt | Botan::gcd (const BigInt &a, const BigInt &b) |
BigInt | Botan::inverse_mod (const BigInt &n, const BigInt &mod) |
BigInt | Botan::lcm (const BigInt &a, const BigInt &b) |
size_t | Botan::low_zero_bits (const BigInt &n) |
BigInt | Botan::power_mod (const BigInt &base, const BigInt &exp, const BigInt &mod) |
bool | Botan::primality_test (const BigInt &n, RandomNumberGenerator &rng, size_t level) |
BigInt n |
Definition at line 26 of file numthry.cpp.
Referenced by Botan::DataSource::discard_next(), Botan::divide(), Botan::BigInt::encode(), Botan::RSA_Public_Operation::encrypt(), Botan::Algorithm_Factory::Engine_Iterator::Engine_Iterator(), Botan::generate_dsa_primes(), Botan::IF_Scheme_PublicKey::get_n(), Botan::inverse_mod(), Botan::jacobi(), Botan::IF_Scheme_PublicKey::max_input_bits(), Botan::RW_Signature_Operation::max_input_bits(), Botan::RSA_Private_Operation::max_input_bits(), Botan::RW_Verification_Operation::max_input_bits(), Botan::RSA_Public_Operation::max_input_bits(), Botan::Algorithm_Factory::Engine_Iterator::next(), Botan::SecureQueue::peek(), Botan::SecureQueue::read(), Botan::MemoryRegion< T >::resize(), Botan::ressol(), Botan::rfc3394_keyunwrap(), Botan::rfc3394_keywrap(), Botan::round_up(), Botan::same_mem(), Botan::to_u32bit(), Botan::Unix_Program::Unix_Program(), and Botan::SecureQueue::write().
BigInt n_minus_1 |
Definition at line 26 of file numthry.cpp.
Fixed_Exponent_Power_Mod pow_mod |
Definition at line 28 of file numthry.cpp.
Referenced by Botan::power_mod().
BigInt r |
Definition at line 26 of file numthry.cpp.
Referenced by Botan::DH_KA_Operation::agree(), Botan::CurveGFp::CurveGFp(), Botan::BigInt::decode(), Botan::decode_concatenation(), Botan::ElGamal_Decryption_Operation::decrypt(), Botan::Blowfish::eks_key_schedule(), Botan::FPE::fe1_decrypt(), Botan::FPE::fe1_encrypt(), Botan::Montgomery_Exponentiator::Montgomery_Exponentiator(), Botan::mul_add(), Botan::operator%(), Botan::operator/(), Botan::Intel_Rdrand::poll(), Botan::RTSS_Share::reconstruct(), Botan::ressol(), Botan::DSA_Signature_Operation::sign(), Botan::RW_Signature_Operation::sign(), Botan::ECDSA_Signature_Operation::sign(), Botan::GOST_3410_Signature_Operation::sign(), Botan::sub_mul(), Botan::DSA_Verification_Operation::verify(), Botan::ECDSA_Verification_Operation::verify(), Botan::GOST_3410_Verification_Operation::verify(), and Botan::RW_Verification_Operation::verify_mr().
Modular_Reducer reducer |
Definition at line 29 of file numthry.cpp.
Referenced by Botan::Blinder::initialized().
size_t s |
Definition at line 27 of file numthry.cpp.
Referenced by Botan::BigInt::BigInt(), Botan::decode_concatenation(), Botan::generate_dsa_primes(), Botan::Core_Engine::get_decryption_op(), Botan::Core_Engine::get_encryption_op(), Botan::Core_Engine::get_signature_op(), Botan::Core_Engine::get_verify_op(), Botan::ressol(), Botan::BigInt::set_sign(), Botan::DSA_Signature_Operation::sign(), Botan::ECDSA_Signature_Operation::sign(), Botan::GOST_3410_Signature_Operation::sign(), Botan::DSA_Verification_Operation::verify(), Botan::ECDSA_Verification_Operation::verify(), and Botan::GOST_3410_Verification_Operation::verify().