From 87114163b7936378c35ed3a411cc9d9e6a197dd0 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 4 Jun 2008 11:59:45 +0300 Subject: [PATCH] Updated the comments since Montgomery reduction is now included --- src/tls/libtommath.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/tls/libtommath.c b/src/tls/libtommath.c index b75cb9bb4..374feb0ff 100644 --- a/src/tls/libtommath.c +++ b/src/tls/libtommath.c @@ -4,14 +4,11 @@ * http://math.libtomcrypt.com/files/ltm-0.39.tar.bz2 * This library was released in public domain by Tom St Denis. * - * The combination in this file is not using many of the optimized algorithms - * (e.g., Montgomery reduction) and is considerable slower than the LibTomMath - * with its default of SC_RSA_1 settins. The main purpose of having this - * version here is to make it easier to build bignum.c wrapper without having - * to install and build an external library. However, it is likely worth the - * effort to use the full library with SC_RSA_1 instead of this minimized copy. - * Including the optimized algorithms may increase the size requirements by - * 15 kB or so (measured with x86 build). + * The combination in this file may not use all of the optimized algorithms + * from LibTomMath and may be considerable slower than the LibTomMath with its + * default settings. The main purpose of having this version here is to make it + * easier to build bignum.c wrapper without having to install and build an + * external library. * * If CONFIG_INTERNAL_LIBTOMMATH is defined, bignum.c includes this * libtommath.c file instead of using the external LibTomMath library.