Cryptography Reference
In-Depth Information
const LINT&
operator %= (const LINT& b);
remainder and assignment
a%=b;
const LINT&
operator *= (const LINT& b);
multiplication and assignment
a*=b;
const LINT&
operator /= (const LINT& b);
division and assignment
a/=b;
const LINT
operator ++ (int);
increment operator (postfix)
a++;
const LINT&
operator ++ (void);
increment operator (prefix)
++a;
const LINT&
operator += (const LINT& b);
addition and assignment
a+=b;
const LINT&
operator -= (const LINT& b);
subtraction and assignment
a-=b;
const LINT&
sqr (void);
squaring
c = a.sqr (b);
const LINT&
sub (const LINT& b);
subtraction
c = a.sub (b);
B.4 Basic Operations: Friend Functions
const LINT
add (const LINT& a, const LINT& b);
addition
c = add (a, b);
const LINT
divr (const LINT& a,
const LINT& b, LINT& r);
division with remainder
quotient
= div (dividend, divisor,
remainder);
const LINT
mul (const LINT& a, const LINT& b);
multiplication
c = mul (a, b);