Cryptography Reference
In-Depth Information
APPENDIX A
Directory of C Functions
A.1 Input/Output, Assignment, Conversions,
Comparisons
int
byte2clint_l (CLINT n_l,
char *bytes, int len);
conversion
of
a
byte
vector
to
CLINT (after IEEE, P1363, 5.5.1)
UCHAR*
clint2byte_l (CLINT n_l,
int *len);
convert CLINT to a byte vector
(according to IEEE, P1363, 5.5.1)
int
cmp_l (CLINT a_l, CLINT b_l);
size comparison of a_l and b_l
int
cpy_l (CLINT dest_l, CLINT src_l);
assignment of src_l to dest_l
int
equ_l (CLINT a_l, CLINT b_l);
test of equality of a_l and b_l
void
fswap_l (CLINT a_l, CLINT b_l);
exchange of a_l and b_l
clint*
setmax_l (CLINT n_l);
set n_l to the largest CLINT inte-
ger representable by the number
N max
int
str2clint_l (CLINT n_l,
char *N, USHORT b);
convert a character string to the
base b to CLINT
void
u2clint_l (CLINT num_l, USHORT ul);
convert USHORT to CLINT
void
ul2clint_l (CLINT num_l, ULONG ul);
convert ULONG to CLINT
 
Search WWH ::




Custom Search