comparison libtommath/bn_mp_clear.c @ 1436:60fc6476e044

Update to libtommath v1.0
author Matt Johnston <matt@ucc.asn.au>
date Sat, 24 Jun 2017 22:37:14 +0800
parents 3017bc7d6238
children 8bba51a55704
comparison
equal deleted inserted replaced
1435:f849a5ca2efc 1436:60fc6476e044
1 #include <tommath.h> 1 #include <tommath_private.h>
2 #include "dbhelpers.h" 2 #include "dbhelpers.h"
3 #ifdef BN_MP_CLEAR_C 3 #ifdef BN_MP_CLEAR_C
4 /* LibTomMath, multiple-precision integer library -- Tom St Denis 4 /* LibTomMath, multiple-precision integer library -- Tom St Denis
5 * 5 *
6 * LibTomMath is a library that provides multiple-precision 6 * LibTomMath is a library that provides multiple-precision
11 * additional optimizations in place. 11 * additional optimizations in place.
12 * 12 *
13 * The library is free for all purposes without any express 13 * The library is free for all purposes without any express
14 * guarantee it works. 14 * guarantee it works.
15 * 15 *
16 * Tom St Denis, [email protected], http://math.libtomcrypt.com 16 * Tom St Denis, [email protected], http://libtom.org
17 */ 17 */
18 18
19 /* clear one (frees) */ 19 /* clear one (frees) */
20 void 20 void
21 mp_clear (mp_int * a) 21 mp_clear (mp_int * a)
34 a->sign = MP_ZPOS; 34 a->sign = MP_ZPOS;
35 } 35 }
36 } 36 }
37 #endif 37 #endif
38 38
39 /* $Source: /cvs/libtom/libtommath/bn_mp_clear.c,v $ */ 39 /* $Source$ */
40 /* $Revision: 1.3 $ */ 40 /* $Revision$ */
41 /* $Date: 2006/03/31 14:18:44 $ */ 41 /* $Date$ */