./math/ltm, Number theoretic multiple-precision integer library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: ltm-1.2.0, Maintainer: pkgsrc-users

LibTomMath provides highly optimized and portable routines for a
vast majority of integer based number theoretic applications
(including public key cryptography). LibTomMath is not a cryptographic
toolkit itself but it can be used to write one [Used in LibTomCrypt
for RSA, DH and ECC public key routines].


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: f0a9bcf805b6eb2ba3606bcb70989517eef58635
RMD160: fe6b5cbc12191a492efb2999cb88b765bc984b5d
Filesize: 607.539 KB

Version history: (Expand)


CVS history: (Expand)


   2020-01-24 11:08:20 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
ltm: update to 1.2.0.

Partially based on diff sent by Kai-Uwe Eckhardt in private mail.

v1.2.0
       -- A huge refactoring of the library happened - renaming,
          deprecating and replacing existing functions by improved API's.

          All deprecated functions, macros and symbols are only marked as such
          so this version is still API and ABI compatible to v1.x.

       -- Daniel Mendler was pushing for those changes and contributing a load \ 
of patches,
          refactorings, code reviews and whatnotelse.
       -- Christoph Zurnieden re-worked internals of the library, improved the \ 
performance,
          did code reviews and wrote documentation.
       -- Francois Perrad did some refactoring and took again care of linting \ 
the sources and
          provided all fixes.
       -- Jan Nijtmans, Karel Miko and Joachim Breitner contributed various patches.

       -- Private symbols can now be hidden for the shared library builds, \ 
disabled by default.
       -- All API's follow a single code style, are prefixed the same etc.
       -- Unified, safer and improved API's
       -- Less magic numbers - return values (where appropriate) and most flags \ 
are now enums,
          this was implemented in a backwards compatible way where return values \ 
were int.
       -- API's with return values are now by default marked as "warn on \ 
unsused result", this
          can be disabled if required (which will most likely hide bugs), c.f. \ 
MP_WUR in tommath.h
       -- Provide a whole set of setters&getters for different primitive \ 
types (long, uint32_t, etc.)
       -- All those primitive setters are now optimized.
       -- It's possible to automatically tune the cutoff values for \ 
Karatsuba&Toom-Cook
       -- The custom allocators which were formerly known as XMALLOC(), XFREE() \ 
etc. are now available
          as MP_MALLOC(), MP_REALLOC(), MP_CALLOC() and MP_FREE(). MP_REALLOC() \ 
and MP_FREE() now also
          provide the allocated size to ease the usage of simple allocators \ 
without tracking.
       -- Building is now also possible with MSVC 2015, 2017 and 2019 (use \ 
makefile.msvc)
       -- Added mp_decr() and mp_incr()
       -- Added mp_log_u32()
       -- Improved prime-checking
       -- Improved Toom-Cook multiplication
       -- Removed the LTM book (`make docs` now builds the user manual)
   2019-07-09 13:27:16 by Nia Alarie | Files touched by this commit (2) | Package updated
Log message:
ltm: Update to 1.1.0

Jan 28th, 2019
v1.1.0
       -- Christoph Zurnieden contributed FIPS 186.4 compliant
          prime-checking (PR #113), several other fixes and a load of documentation
       -- Daniel Mendler provided two's-complement functions (PR #124)
          and mp_{set,get}_double() (PR #123)
       -- Francois Perrad took care of linting the sources, provided all fixes and
          a astylerc to auto-format the sources.
       -- A bunch of patches by Kevin B Kenny have been back-ported from TCL
       -- Jan Nijtmans provided the patches to `const`ify all API
          function arguments (also from TCL)
       -- mp_rand() has now several native random provider implementations
          and doesn't rely on `rand()` anymore
       -- Karel Miko provided fixes when building for MS Windows
          and re-worked the makefile generating process
       -- The entire environment and build logic has been extended and improved
          regarding auto-detection of platforms, libtool and a lot more
       -- Prevent some potential BOF cases
       -- Improved/fixed mp_lshd() and mp_invmod()
       -- A load more bugs were fixed by various contributors
   2017-09-26 16:34:23 by Matthew Sporleder | Files touched by this commit (3) | Package updated
Log message:
Update ltm (libtommath) to 1.0.1 to get MP_GEN_RANDOM_MAX etc

v1.0.1
       -- Dmitry Kovalenko provided fixes to mp_add_d() and mp_init_copy()
       -- Matt Johnston contributed some improvements to mp_div_2d(),
          mp_exptmod_fast(), mp_mod() and mp_mulmod()
       -- Julien Nabet provided a fix to the error handling in mp_init_multi()
       -- Ben Gardner provided a fix regarding usage of reserved keywords
       -- Fixed mp_rand() to fill the correct number of bits
       -- Fixed mp_invmod()
       -- Use the same 64-bit detection code as in libtomcrypt
       -- Correct usage of DESTDIR, PREFIX, etc. when installing the library
-- Francois Perrad updated all the perl scripts to an actual perl version
   2017-08-14 17:24:11 by Johnny C. Lam | Files touched by this commit (2)
Log message:
math/ltm: Fix build caused by improper use of $(PREFIX).

The makefile.include fragment included by all of the project
makefiles unconditionally sets $(CC), $(LD), $(AR) and $(RANLIB)
to $(PREFIX){gcc,ld,ar,ranlib}.  Their intent was to provide a
facility for cross-compiling the code, but the use of $(PREFIX)
for this purpose was unfortunate.

This change adds a patch to set $(PREFIX) to the empty string in
the makefiles, which should fix the problem with the smallest
set of changes.
   2017-02-05 13:28:14 by Benny Siegert | Files touched by this commit (1)
Log message:
Set LIBPATH during build, bump pkgrev.

Otherwise, the library refers to a nonexistent lib in /usr/lib on Darwin.
   2016-10-04 11:34:01 by Thomas Klausner | Files touched by this commit (1)
Log message:
Use INSTALLATION_DIRS.
   2016-10-04 11:29:46 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated ltm to 1.0.

Feb 5th, 2016
v1.0
       -- Bump to 1.0
       -- Dirkjan Bussink provided a faster version of mp_expt_d()
       -- Moritz Lenz contributed a fix to mp_mod()
          and provided mp_get_long() and mp_set_long()
       -- Fixed bugs in mp_read_radix(), mp_radix_size
          Thanks to shameister, Gerhard R,
       -- Christopher Brown provided mp_export() and mp_import()
       -- Improvements in the code of mp_init_copy()
          Thanks to ramkumarkoppu,
       -- lomereiter provided mp_balance_mul()
       -- Alexander Boström from the heimdal project contributed patches to
          mp_prime_next_prime() and mp_invmod() and added a mp_isneg() macro
       -- Fix build issues for Linux x32 ABI
       -- Added mp_get_long_long() and mp_set_long_long()
       -- Carlin provided a patch to use arc4random() instead of rand()
          on platforms where it is supported
       -- Karel Miko provided mp_sqrtmod_prime()
   2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262)
Log message:
Add SHA512 digests for distfiles for math category

Problems found locating distfiles:
	Package dfftpack: missing distfile dfftpack-20001209.tar.gz
	Package eispack: missing distfile eispack-20001130.tar.gz
	Package fftpack: missing distfile fftpack-20001130.tar.gz
	Package linpack: missing distfile linpack-20010510.tar.gz
	Package minpack: missing distfile minpack-20001130.tar.gz
	Package odepack: missing distfile odepack-20001130.tar.gz
	Package py-networkx: missing distfile networkx-1.10.tar.gz
	Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz
	Package quadpack: missing distfile quadpack-20001130.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.