File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -927,6 +927,12 @@ \subsection{Initialize and Setting Constants}
927927int mp_init_set (mp_int * a, mp_digit b);
928928int mp_init_i32 (mp_int * a, int32_t b);
929929int 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
932938Both 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;
You can’t perform that action at this time.
0 commit comments