Cryptography Reference
In-Depth Information
const LINT
operator - (const LINT& a,
const LINT& b);
subtraction c=a-b;
const LINT
operator % (const LINT& a,
const LINT& b);
remainder c=a%b;
const LINT
operator * (const LINT& a,
const LINT& b);
multiplication c=a*b;
const LINT
operator / (const LINT& a,
const LINT& b);
division c=a/b;
const LINT
operator + (const LINT& a,
const LINT& b);
addition c=a+b;
const LINT
sqr (const LINT& a);
squaring b = sqr (a);
const LINT
sub (const LINT& a, const LINT& b);
subtraction c = sub (a, b);
B.5 Modular Arithmetic: Member Functions
const LINT&
madd (const LINT& b, const LINT& m);
modular addition,
c = a.madd (b, m);
int
mequ (LINT& b, const LINT& m)
const;
comparison of a and b modulo m if (a.mequ
(b, m)) ...
const LINT&
mexp (const LINT& e, const LINT& m);
modular exponentiation with
Montgomery reduction for odd
modulus m , c = a.mexp (e, m);
 
Search WWH ::




Custom Search