Cryptography Reference
In-Depth Information
EQZ_L (a_l)
(equ_l((a_l), nul_l) == 1)
comparison
a_l == 0
GE_L (a_l, b_l)
(cmp_l((a_l), (b_l)) > -1)
comparison
a_l
≥
b_l
GT_L (a_l, b_l)
(cmp_l((a_l), (b_l)) == 1)
comparison
a_l
>
b_l
GTZ_L (a_l)
(cmp_l((a_l), nul_l) == 1)
comparison
a_l
>
0
HEXSTR_L (n_l)
xclint2str_l((n_l), 16, 0)
conversion of a
CLINT
object into hex repre-
sentation
INCDIGITS_L (n_l) (++*(n_l))
increase
number
of
digits by
1
INITRAND64_LT()
seed64_l((unsigned long)
time(NULL)
initialization of ran-
dom number gener-
ator
rand64_l()
with
system clock
INITRANDBBS_LT() seedBBS_l((unsigned long)
time(NULL))
initialization of the
random bit generator
randbit_l()
by means
of system clock
ISEVEN_L (n_l)
(DIGITS_L(n_l) == 0 ||
(DIGITS_L(n_l) > 0 &&
(*(LSDPTR_L(n_l)) & 1U)
== 0))
whether
n_l
is
test
odd
ISODD_L (n_l)
(DIGITS_L(n_l) > 0 &&
(*(LSDPTR_L(n_l)) & 1U)
== 1)
whether
n_l
is
test
odd
ISPRIME_L (n_l)
prime_l((n_l), 302, 5)
primality
test
with
fixed parameters