yosys-master
|
#include "BigIntegerAlgorithms.hh"
Go to the source code of this file.
Functions | |
BigUnsigned | gcd (BigUnsigned a, BigUnsigned b) |
void | extendedEuclidean (BigInteger m, BigInteger n, BigInteger &g, BigInteger &r, BigInteger &s) |
BigUnsigned | modinv (const BigInteger &x, const BigUnsigned &n) |
BigUnsigned | modexp (const BigInteger &base, const BigUnsigned &exponent, const BigUnsigned &modulus) |
void extendedEuclidean | ( | BigInteger | m, |
BigInteger | n, | ||
BigInteger & | g, | ||
BigInteger & | r, | ||
BigInteger & | s | ||
) |
Definition at line 16 of file BigIntegerAlgorithms.cc.
BigUnsigned gcd | ( | BigUnsigned | a, |
BigUnsigned | b | ||
) |
Definition at line 3 of file BigIntegerAlgorithms.cc.
BigUnsigned modexp | ( | const BigInteger & | base, |
const BigUnsigned & | exponent, | ||
const BigUnsigned & | modulus | ||
) |
Definition at line 53 of file BigIntegerAlgorithms.cc.
BigUnsigned modinv | ( | const BigInteger & | x, |
const BigUnsigned & | n | ||
) |
Definition at line 43 of file BigIntegerAlgorithms.cc.