SeComLib
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
Classes | Namespaces | Macros
big_integer_gmp.h File Reference

Definition of class BigIntegerGmp. More...

#include "big_integer_base.h"
#include <iostream>
#include <string>
#include <stdexcept>

Go to the source code of this file.

Classes

class  SeComLib::Core::BigIntegerGmp
 Wrapper class for the most common functions related to the mpz_t datatype of the GMP library. More...
 

Namespaces

 SeComLib
 The enclosing namespace.
 
 SeComLib::Core
 Contains the core library.
 

Macros

#define MILLER_RABIN_PRIMALITY_TEST_COUNT   10
 The number of Miller-Rabin probabilistic primality tests to execute before a number is considered prime. More...
 

Detailed Description

Definition of class BigIntegerGmp.

Author
Mihai Todor (todor.nosp@m.miha.nosp@m.i@gma.nosp@m.il.c.nosp@m.om)

Definition in file big_integer_gmp.h.

Macro Definition Documentation

#define MILLER_RABIN_PRIMALITY_TEST_COUNT   10

The number of Miller-Rabin probabilistic primality tests to execute before a number is considered prime.

Todo:

Move this parameter in the configuration file.

Should we increase this to 25 or above, as suggested by GMP's implementation of mpz_nextprime?

Consider what happens if we do get a composite.

Definition at line 70 of file big_integer_gmp.h.