Botan  2.4.0
Crypto and TLS for C++11
Namespaces | Functions | Variables
numthry.h File Reference
#include <botan/bigint.h>

Go to the source code of this file.

Namespaces

 Botan
 

Functions

BigInt Botan::abs (const BigInt &n)
 
size_t Botan::almost_montgomery_inverse (BigInt &result, const BigInt &a, const BigInt &p)
 
bool Botan::check_prime (const BigInt &n, RandomNumberGenerator &rng)
 
BigInt Botan::ct_inverse_mod_odd_modulus (const BigInt &n, const BigInt &mod)
 
BigInt Botan::gcd (const BigInt &a, const BigInt &b)
 
bool Botan::generate_dsa_primes (RandomNumberGenerator &rng, BigInt &p, BigInt &q, size_t pbits, size_t qbits, const std::vector< uint8_t > &seed_c, size_t offset)
 
std::vector< uint8_t > Botan::generate_dsa_primes (RandomNumberGenerator &rng, BigInt &p, BigInt &q, size_t pbits, size_t qbits)
 
BigInt Botan::inverse_mod (const BigInt &n, const BigInt &mod)
 
bool Botan::is_prime (const BigInt &n, RandomNumberGenerator &rng, size_t prob, bool is_random)
 
int32_t Botan::jacobi (const BigInt &a, const BigInt &n)
 
BigInt Botan::lcm (const BigInt &a, const BigInt &b)
 
size_t Botan::low_zero_bits (const BigInt &n)
 
word Botan::monty_inverse (word input)
 
BigInt Botan::mul_add (const BigInt &a, const BigInt &b, const BigInt &c)
 
BigInt Botan::mul_sub (const BigInt &a, const BigInt &b, const BigInt &c)
 
BigInt Botan::normalized_montgomery_inverse (const BigInt &a, const BigInt &p)
 
BigInt Botan::power_mod (const BigInt &base, const BigInt &exp, const BigInt &mod)
 
bool Botan::quick_check_prime (const BigInt &n, RandomNumberGenerator &rng)
 
BigInt Botan::random_prime (RandomNumberGenerator &rng, size_t bits, const BigInt &coprime, size_t equiv, size_t modulo)
 
BigInt Botan::random_safe_prime (RandomNumberGenerator &rng, size_t bits)
 
BigInt Botan::ressol (const BigInt &x, const BigInt &p)
 
BigInt Botan::square (const BigInt &x)
 
BigInt Botan::sub_mul (const BigInt &a, const BigInt &b, const BigInt &c)
 
bool Botan::verify_prime (const BigInt &n, RandomNumberGenerator &rng)
 

Variables

const size_t Botan::PRIME_TABLE_SIZE = 6541
 
const uint16_t Botan::PRIMES []