Cryptography Reference
In-Depth Information
LINT
mod (const LINT& a,
const LINT& m);
remainder b = mod (a, m);
LINT
mod2 (const LINT& a,
USHORT u);
remainder modulo power of two
2 u , b = mod (a, u);
LINT
msqr (const LINT& a,
const LINT& m);
modular squaring, c = msqr (a,
m);
LINT
msub (const LINT& a,
const LINT& b,
const LINT& m);
modular subtraction, c=
msub(a, b, m);
B.7 Bitwise Operations: Member Functions
const LINT&
clearbit (const unsigned int i);
clear a bit at position i , a.clearbit (i);
const LINT&
operator &= (const LINT& b);
AND and assignment, a&=b;
const LINT&
operator ˆ = (const LINT& b);
XOR and assignment, a ˆ =b;
const LINT&
operator |= (const LINT& b);
OR and assignment, a|=b;
const LINT&
operator <<= (int i);
left shift and assignment, a <<= i;
const LINT&
operator >>= (int i);
right shift and assignment, a >>= i;
 
Search WWH ::




Custom Search