Cryptography Reference
In-Depth Information
int
umadd_l (CLINT a_l, USHORT b,
CLINT c_l, CLINT m_l);
mixed modular addition: addi-
tion of a_l and b mod m_l , output
in c_l
int
umexp_l (CLINT bas_l, USHORT e,
CLINT p_l, CLINT m_l);
modular exponentiation, USHORT
exponent
int
umexpm_l (CLINT bas_l, USHORT e,
CLINT p_l, CLINT m_l);
modular
exponentiation,
odd
modulus, USHORT exponent
int
ummul_l (CLINT a_l, USHORT b,
CLINT p_l, CLINT m_l);
mixed modular multiplication of
a_l and b_l mod n_l , product in
p_l
USHORT
umod_l (CLINT d_l, USHORT n);
residue of d_l mod n
int
umsub_l (CLINT a_l, USHORT b,
CLINT c_l, CLINT m_l);
mixed modular subtraction: sub-
traction of a_l and b mod m_l ,
output in c_l
int
wmexp_l (USHORT bas, CLINT e_l,
CLINT p_l, CLINT m_l);
modular exponentiation, USHORT
base
int
wmexpm_l (USHORT bas, CLINT e_l,
CLINT p_l, CLINT m_l);
Montgomery exponentiation,
odd modulus, USHORT base
A.4 Bitwise Operations
void
and_l (CLINT a_l, CLINT b_l,
CLINT c_l)
bitwise
AND
of a_l and b_l ,
output in c_l
int
clearbit_l (CLINT a_l,
unsigned int pos)
test and clear the bit of a_l in
position pos
 
Search WWH ::




Custom Search