summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_addmod.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-16 15:22:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-16 15:22:26 (GMT)
commitf850132635a925797ef057d29c1fceb89ccdc24c (patch)
treefed7fb157cbaef79f43a45b27379a0fd2d64e6ea /libtommath/bn_mp_addmod.c
parent0dd529776d4895043aa957a1e7f21d4015733c4e (diff)
parentf10147dbfeaa7cecc2fa78fd50a35681a63b7de5 (diff)
downloadtcl-f850132635a925797ef057d29c1fceb89ccdc24c.zip
tcl-f850132635a925797ef057d29c1fceb89ccdc24c.tar.gz
tcl-f850132635a925797ef057d29c1fceb89ccdc24c.tar.bz2
(experimental) Upgrade to libtommath 1.0 (actually by merging all changes between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
Diffstat (limited to 'libtommath/bn_mp_addmod.c')
-rw-r--r--libtommath/bn_mp_addmod.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libtommath/bn_mp_addmod.c b/libtommath/bn_mp_addmod.c
index bff193f..825c928 100644
--- a/libtommath/bn_mp_addmod.c
+++ b/libtommath/bn_mp_addmod.c
@@ -1,4 +1,4 @@
-#include <tommath.h>
+#include <tommath_private.h>
#ifdef BN_MP_ADDMOD_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
@@ -12,7 +12,7 @@
* The library is free for all purposes without any express
* guarantee it works.
*
- * Tom St Denis, tomstdenis@gmail.com, http://math.libtomcrypt.com
+ * Tom St Denis, tstdenis82@gmail.com, http://libtom.org
*/
/* d = a + b (mod c) */
@@ -35,3 +35,7 @@ mp_addmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d)
return res;
}
#endif
+
+/* $Source$ */
+/* $Revision$ */
+/* $Date$ */