Cryptography Reference
In-Depth Information
unsigned int
vcheck_l (CLINT n_l);
CLINT
format check
char*
verstr_l ();
output the version of the
FLINT/C library in a charac-
ter string, with identifiers
'a'
for
assembler support and
's'
for
FLINT/C security mode
char*
xclint2str_l (CLINT n_l,
USHORT base, int showbase);
convert from
CLINT
into a charac-
ter string to the base
base
, with or
without prefix
A.2 Basic Calculations
int
add_l (CLINT a_l, CLINT b_l,
CLINT s_l)
of
a_l
and
b_l
,
addition:
sum
output in
s_l
int
dec_l (CLINT a_l)
decrement
a_l
int
div_l (CLINT a_l, CLINT b_l,
CLINT q_l, CLINT r_l)
division with remainder: division
of
a_l
by
b_l
, quotient in
q_l
,
remainder in
r_l
int
inc_l (CLINT a_l)
increment
a_l
int
mul_l (CLINT a_l, CLINT b_l,
CLINT p_l)
of
a_l
multiplication:
product
and
b_l
, output in
p_l
int
sqr_l (CLINT a_l, CLINT p_l)
square
a_l
, output in
p_l
int
sub_l (CLINT a_l, CLINT b_l,
CLINT s_l)
subtraction: difference of
a_l
and
b_l
, output in
s_l