integer.h File Reference

Go to the source code of this file.

Classes

struct  InitializeInteger
 Performs static intialization of the Integer class. More...
class  Integer
 Multiple precision integer with arithmetic operations. More...
class  Integer::DivideByZero
 Exception thrown when division by 0 is encountered. More...
class  Integer::RandomNumberNotFound
 Exception thrown when a random number cannot be found that satisfies the condition. More...
class  Integer::OpenPGPDecodeErr
 Exception thrown when an error is encountered decoding an OpenPGP integer. More...

Typedefs

typedef SecBlock< word,
AllocatorWithCleanup< word, 0 > > 
IntegerSecBlock

Functions

bool operator== (const ::Integer &a, const ::Integer &b)
bool operator!= (const ::Integer &a, const ::Integer &b)
bool operator> (const ::Integer &a, const ::Integer &b)
bool operator>= (const ::Integer &a, const ::Integer &b)
bool operator< (const ::Integer &a, const ::Integer &b)
bool operator<= (const ::Integer &a, const ::Integer &b)
inline::Integer operator+ (const ::Integer &a, const ::Integer &b)
inline::Integer operator- (const ::Integer &a, const ::Integer &b)
inline::Integer operator* (const ::Integer &a, const ::Integer &b)
inline::Integer operator/ (const ::Integer &a, const ::Integer &b)
inline::Integer operator% (const ::Integer &a, const ::Integer &b)
inline::Integer operator/ (const ::Integer &a,::word b)
inline::word operator% (const ::Integer &a,::word b)
void swap (::Integer &a,::Integer &b)

Detailed Description

Definition in file integer.h.


Function Documentation

inline ::Integer operator* ( const ::Integer a,
const ::Integer b 
)
See also:
a_times_b_mod_c() and a_exp_b_mod_c()

Definition at line 547 of file integer.h.

inline ::Integer operator% ( const ::Integer a,
const ::Integer b 
)
See also:
a_times_b_mod_c() and a_exp_b_mod_c()

Definition at line 552 of file integer.h.

inline ::word operator% ( const ::Integer a,
::word  b 
)
See also:
a_times_b_mod_c() and a_exp_b_mod_c()

Definition at line 557 of file integer.h.


Generated on 24 Mar 2016 for Crypto++ by  doxygen 1.6.1