Skip to content

Commit 9861a37

Browse files
nijtmanssjaeckel
authored andcommitted
Update documentation
1 parent fde8524 commit 9861a37

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/bn.tex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,12 @@ \subsection{Initialize and Setting Constants}
927927
int mp_init_set (mp_int * a, mp_digit b);
928928
int mp_init_i32 (mp_int * a, int32_t b);
929929
int mp_init_u32 (mp_int * a, uint32_t b);
930+
int mp_init_i64 (mp_int * a, int64_t b);
931+
int mp_init_u64 (mp_int * a, uint64_t b);
932+
int mp_init_l (mp_int * a, long b);
933+
int mp_init_ul (mp_int * a, unsigned long b);
934+
int mp_init_ll (mp_int * a, long long b);
935+
int mp_init_ull (mp_int * a, unsigned long long b);
930936
\end{alltt}
931937

932938
Both functions work like the previous counterparts except they first mp\_init $a$ before setting the values.
@@ -945,7 +951,7 @@ \subsection{Initialize and Setting Constants}
945951
\}
946952
947953
/* initialize and set a long */
948-
if ((result = mp_init_set_uint(&number2, 1023)) != MP_OKAY) \{
954+
if ((result = mp_init_l(&number2, 1023)) != MP_OKAY) \{
949955
printf("Error setting number2: \%s",
950956
mp_error_to_string(result));
951957
return EXIT_FAILURE;

0 commit comments

Comments
 (0)