OSDN Git Service
(root)
/
eos
/
base.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Please enter the commit message for your changes. Lines starting
[eos/base.git]
/
util
/
src
/
TclTk
/
tcl8.6.12
/
libtommath
/
bn_mp_zero.c
1
#include "tommath_private.h"
2
#ifdef BN_MP_ZERO_C
3
/* LibTomMath, multiple-precision integer library -- Tom St Denis */
4
/* SPDX-License-Identifier: Unlicense */
5
6
/* set to zero */
7
void mp_zero(mp_int *a)
8
{
9
a->sign = MP_ZPOS;
10
a->used = 0;
11
MP_ZERO_DIGITS(a->dp, a->alloc);
12
}
13
#endif