diff options
author | obache <obache@pkgsrc.org> | 2006-09-09 09:35:10 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2006-09-09 09:35:10 +0000 |
commit | 814d48e60167b4f8e6887f0ff9f94e066c3e39e4 (patch) | |
tree | 29720d0bcaa12f5383a3edcc396a4725382e6d28 /math/ltm | |
parent | 6283308cf4697986a605998b2b938423cea228fa (diff) | |
download | pkgsrc-814d48e60167b4f8e6887f0ff9f94e066c3e39e4.tar.gz |
Update to 0.39.
April 4th, 2006
v0.39 -- Jim Wigginton pointed out my Montgomery examples in figures 6.4 and 6.6 were off by one, k should be 9 not 8
-- Bruce Guenter suggested I use --tag=CC for libtool builds where the compiler may think it's C++.
-- "mm" from sci.crypt pointed out that my mp_gcd was sub-optimal (I also updated and corrected the book)
-- updated some of the @@ tags in tommath.src to reflect source changes.
-- updated email and url info in all source files
Jan 26th, 2006
v0.38 -- broken makefile.shared fixed
-- removed some carry stores that were not required [updated text]
November 18th, 2005
v0.37 -- [Don Porter] reported on a TCL list [HEY SEND ME BUGREPORTS ALREADY!!!] that mp_add_d() would compute -0 with some inputs. Fixed.
-- [rinick@gmail.com] reported the makefile.bcc was messed up. Fixed.
-- [Kevin Kenny] reported some issues with mp_toradix_n(). Now it doesn't require a min of 3 chars of output.
-- Made the make command renamable. Wee
August 1st, 2005
v0.36 -- LTM_PRIME_2MSB_ON was fixed and the "OFF" flag was removed.
-- [Peter LaDow] found a typo in the XREALLOC macro
-- [Peter LaDow] pointed out that mp_read_(un)signed_bin should have "const" on the input
-- Ported LTC patch to fix the prime_random_ex() function to get the bitsize correct [and the maskOR flags]
-- Kevin Kenny pointed out a stray //
-- David Hulton pointed out a typo in the textbook [mp_montgomery_setup() pseudo-code]
-- Neal Hamilton (Elliptic Semiconductor) pointed out that my Karatsuba notation was backwards and that I could use
unsigned operations in the routine.
-- Paul Schmidt pointed out a linking error in mp_exptmod() when BN_S_MP_EXPTMOD_C is undefined (and another for read_radix)
-- Updated makefiles to be way more flexible
March 12th, 2005
v0.35 -- Stupid XOR function missing line again... oops.
-- Fixed bug in invmod not handling negative inputs correctly [Wolfgang Ehrhardt]
-- Made exteuclid always give positive u3 output...[ Wolfgang Ehrhardt ]
-- [Wolfgang Ehrhardt] Suggested a fix for mp_reduce() which avoided underruns. ;-)
-- mp_rand() would emit one too many digits and it was possible to get a 0 out of it ... oops
-- Added montgomery to the testing to make sure it handles 1..10 digit moduli correctly
-- Fixed bug in comba that would lead to possible erroneous outputs when "pa < digs"
-- Fixed bug in mp_toradix_size for "0" [Kevin Kenny]
-- Updated chapters 1-5 of the textbook ;-) It now talks about the new comba code!
February 12th, 2005
v0.34 -- Fixed two more small errors in mp_prime_random_ex()
-- Fixed overflow in mp_mul_d() [Kevin Kenny]
-- Added mp_to_(un)signed_bin_n() functions which do bounds checking for ya [and report the size]
-- Added "large" diminished radix support. Speeds up things like DSA where the moduli is of the form 2^k - P for some P < 2^(k/2) or so
Actually is faster than Montgomery on my AMD64 (and probably much faster on a P4)
-- Updated the manual a bit
-- Ok so I haven't done the textbook work yet... My current freelance gig has landed me in France till the
end of Feb/05. Once I get back I'll have tons of free time and I plan to go to town on the book.
As of this release the API will freeze. At least until the book catches up with all the changes. I welcome
bug reports but new algorithms will have to wait.
December 23rd, 2004
v0.33 -- Fixed "small" variant for mp_div() which would munge with negative dividends...
-- Fixed bug in mp_prime_random_ex() which would set the most significant byte to zero when
no special flags were set
-- Fixed overflow [minor] bug in fast_s_mp_sqr()
-- Made the makefiles easier to configure the group/user that ltm will install as
-- Fixed "final carry" bug in comba multipliers. (Volkan Ceylan)
-- Matt Johnston pointed out a missing semi-colon in mp_exptmod
October 29th, 2004
v0.32 -- Added "makefile.shared" for shared object support
-- Added more to the build options/configs in the manual
-- Started the Depends framework, wrote dep.pl to scan deps and
produce "callgraph.txt" ;-)
-- Wrote SC_RSA_1 which will enable close to the minimum required to perform
RSA on 32-bit [or 64-bit] platforms with LibTomCrypt
-- Merged in the small/slower mp_div replacement. You can now toggle which
you want to use as your mp_div() at build time. Saves roughly 8KB or so.
-- Renamed a few files and changed some comments to make depends system work better.
(No changes to function names)
-- Merged in new Combas that perform 2 reads per inner loop instead of the older
3reads/2writes per inner loop of the old code. Really though if you want speed
learn to use TomsFastMath ;-)
August 9th, 2004
v0.31 -- "profiled" builds now :-) new timings for Intel Northwoods
-- Added "pretty" build target
-- Update mp_init() to actually assign 0's instead of relying on calloc()
-- "Wolfgang Ehrhardt" <Wolfgang.Ehrhardt@munich.netsurf.de> found a bug in mp_mul() where if
you multiply a negative by zero you get negative zero as the result. Oops.
-- J Harper from PeerSec let me toy with his AMD64 and I got 60-bit digits working properly
[this also means that I fixed a bug where if sizeof(int) < sizeof(mp_digit) it would bug]
Diffstat (limited to 'math/ltm')
-rw-r--r-- | math/ltm/Makefile | 15 | ||||
-rw-r--r-- | math/ltm/PLIST | 4 | ||||
-rw-r--r-- | math/ltm/distinfo | 8 |
3 files changed, 15 insertions, 12 deletions
diff --git a/math/ltm/Makefile b/math/ltm/Makefile index 0adc5b0cd3e..f663777e6b6 100644 --- a/math/ltm/Makefile +++ b/math/ltm/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.8 2006/09/09 09:01:14 obache Exp $ +# $NetBSD: Makefile,v 1.9 2006/09/09 09:35:10 obache Exp $ # -DISTNAME= ltm-0.30 -PKGREVISION= 1 +DISTNAME= ltm-0.39 CATEGORIES= math MASTER_SITES= http://math.libtomcrypt.com/files/ -EXTRACT_SUFX= .zip +EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://math.libtomcrypt.com/ @@ -13,16 +12,18 @@ COMMENT= Number theoretic multiple-precision integer library PKG_INSTALLATION_TYPES= overwrite pkgviews -WRKSRC= ${WRKDIR}/libtommath-0.30 +WRKSRC= ${WRKDIR}/libtommath-0.39 MAKE_FILE= makefile BUILD_TARGET= default +USE_TOOLS+= gmake -INSTALLATION_DIRS= include lib +INSTALLATION_DIRS= share/doc/ltm do-install: ${INSTALL_DATA} ${WRKSRC}/tommath.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/tommath_class.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/tommath_superclass.h ${PREFIX}/include ${INSTALL_LIB} ${WRKSRC}/libtommath.a ${PREFIX}/lib - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ltm ${INSTALL_DATA} ${WRKSRC}/bn.pdf ${PREFIX}/share/doc/ltm ${INSTALL_DATA} ${WRKSRC}/poster.pdf ${PREFIX}/share/doc/ltm ${INSTALL_DATA} ${WRKSRC}/tommath.pdf ${PREFIX}/share/doc/ltm diff --git a/math/ltm/PLIST b/math/ltm/PLIST index 5cbde2378ad..95801220cc1 100644 --- a/math/ltm/PLIST +++ b/math/ltm/PLIST @@ -1,5 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2006/09/09 09:35:10 obache Exp $ include/tommath.h +include/tommath_class.h +include/tommath_superclass.h lib/libtommath.a share/doc/ltm/bn.pdf share/doc/ltm/poster.pdf diff --git a/math/ltm/distinfo b/math/ltm/distinfo index 5c58150cac2..dd1e7ec7218 100644 --- a/math/ltm/distinfo +++ b/math/ltm/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 12:06:55 agc Exp $ +$NetBSD: distinfo,v 1.3 2006/09/09 09:35:10 obache Exp $ -SHA1 (ltm-0.30.zip) = 6bb2a67d7a103db2f260f73b8b36acde15d22b10 -RMD160 (ltm-0.30.zip) = 2bdb5d99215503767e5793fecce3e53b969305ca -Size (ltm-0.30.zip) = 2076036 bytes +SHA1 (ltm-0.39.tar.bz2) = 496224e48c4823db3046cdc9fb98c778f8e95466 +RMD160 (ltm-0.39.tar.bz2) = 9101f48fcf256b311bd017125933c2b602db2856 +Size (ltm-0.39.tar.bz2) = 1978198 bytes |