Botan 3.7.1
Crypto and TLS for C&
mod_inv.cpp File Reference
#include <botan/internal/mod_inv.h>
#include <botan/numthry.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/divide.h>
#include <botan/internal/mp_core.h>
#include <botan/internal/rounding.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Functions

BigInt Botan::compute_rsa_secret_exponent (const BigInt &e, const BigInt &phi_n, const BigInt &p, const BigInt &q)
 
BigInt Botan::inverse_mod (const BigInt &n, const BigInt &mod)
 
std::optional< BigIntBotan::inverse_mod_general (const BigInt &x, const BigInt &mod)
 
BigInt Botan::inverse_mod_public_prime (const BigInt &x, const BigInt &p)
 
BigInt Botan::inverse_mod_rsa_public_modulus (const BigInt &x, const BigInt &n)
 
BigInt Botan::inverse_mod_secret_prime (const BigInt &x, const BigInt &p)