Botan 3.4.0
Crypto and TLS for C&
Namespaces | Functions | Variables
numthry.h File Reference

Public Header. More...

#include <botan/bigint.h>

Go to the source code of this file.


namespace  Botan


BigInt Botan::abs (const BigInt &n)
BigInt Botan::gcd (const BigInt &a, const BigInt &b)
BigInt Botan::generate_rsa_prime (RandomNumberGenerator &keygen_rng, RandomNumberGenerator &prime_test_rng, size_t bits, const BigInt &coprime, size_t prob)
BigInt Botan::inverse_mod (const BigInt &n, const BigInt &mod)
BigInt Botan::is_perfect_square (const BigInt &C)
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)
BigInt Botan::power_mod (const BigInt &base, const BigInt &exp, const BigInt &mod)
BigInt Botan::random_prime (RandomNumberGenerator &rng, size_t bits, const BigInt &coprime, size_t equiv, size_t modulo, size_t prob)
BigInt Botan::random_safe_prime (RandomNumberGenerator &rng, size_t bits)
BigInt Botan::sqrt_modulo_prime (const BigInt &a, const BigInt &p)
BigInt Botan::square (const BigInt &x)


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

Detailed Description

Public Header.

Definition in file numthry.h.