improve comment in tommath.h, extend .gitignore
This commit is contained in:
parent
3289c9590b
commit
d795985497
4
.gitignore
vendored
4
.gitignore
vendored
@ -53,6 +53,10 @@ UpgradeLog*.htm
|
||||
*.vspx
|
||||
*.sap
|
||||
|
||||
# Linux perf profiler
|
||||
perf.data
|
||||
perf.data.old
|
||||
|
||||
# ignore mpi.c generated by make
|
||||
mpi.c
|
||||
|
||||
|
@ -305,7 +305,7 @@ uint64_t mp_get_mag64(const mp_int *a) MP_WUR;
|
||||
#define mp_get_maglong(a) (sizeof (long) == 8 ? (unsigned long)mp_get_mag64(a) : (unsigned long)mp_get_mag(a))
|
||||
#define mp_set_ulong(a, b) (sizeof (long) == 8 ? mp_set_uint64((a), (b)) : mp_set_uint((a), (uint32_t)(b)))
|
||||
|
||||
/* set to single unsigned digit, only 8 bit guaranteed */
|
||||
/* set to single unsigned digit, up to MP_DIGIT_MAX */
|
||||
void mp_set(mp_int *a, mp_digit b);
|
||||
mp_err mp_init_set(mp_int *a, mp_digit b) MP_WUR;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user