X-Git-Url: http://git.rot13.org/?p=bcm963xx.git;a=blobdiff_plain;f=userapps%2Fopensource%2Fsshd%2Flibtommath%2Fbn_mp_add.c;h=554b7f7467dd3f5ef52d7ce0dca31d2ba420bf55;hp=43a08ab54a7183d6a6feee00656a77292a17685f;hb=57a096f051259ceaefd5977f30d269884e1dd248;hpb=a69849c98808437716b821267cd97529c56f45b0 diff --git a/userapps/opensource/sshd/libtommath/bn_mp_add.c b/userapps/opensource/sshd/libtommath/bn_mp_add.c index 43a08ab5..554b7f74 100755 --- a/userapps/opensource/sshd/libtommath/bn_mp_add.c +++ b/userapps/opensource/sshd/libtommath/bn_mp_add.c @@ -1,9 +1,11 @@ +#include +#ifdef BN_MP_ADD_C /* LibTomMath, multiple-precision integer library -- Tom St Denis * - * LibTomMath is library that provides for multiple-precision + * LibTomMath is a library that provides multiple-precision * integer arithmetic as well as number theoretic functionality. * - * The library is designed directly after the MPI library by + * The library was designed directly after the MPI library by * Michael Fromberger but has been written from scratch with * additional optimizations in place. * @@ -12,11 +14,9 @@ * * Tom St Denis, tomstdenis@iahu.ca, http://math.libtomcrypt.org */ -#include /* high level addition (handles signs) */ -int -mp_add (mp_int * a, mp_int * b, mp_int * c) +int mp_add (mp_int * a, mp_int * b, mp_int * c) { int sa, sb, res; @@ -46,3 +46,4 @@ mp_add (mp_int * a, mp_int * b, mp_int * c) return res; } +#endif