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

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


Branch: CURRENT, Version: 1.3.0, Package name: ltm-1.3.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:

Filesize: 627.711 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-05 12:29:43 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
ltm: update to 1.3.0.

This release is done in preparation for libtommath 2.0.0 which will
deprecate multiple public parts of the API, both functions and
macros.

Additionally we’ve included CMake as build system and use GitHub
Actions to verify that everything works as expected.

All to-be-deprecated parts are marked as either MP_DEPRECATED()
for functions or MP_DEPRECATED_PRAGMA() for macros. Your compiler
should complain if you use those to-be-deprecated parts, if not
it’s most likely a pretty old version of the compiler or not
correctly configured.
   2023-11-06 15:00:23 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
ltm: update to 1.2.1.

Sep 04th, 2023
v1.2.1
       -- Bugfix release because of potential integer overflow
          c.f. PR #546 resp. CVE-2023-36328
   2021-10-26 12:56:13 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:28:36 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Remove SHA1 hashes for distfiles
   2020-09-14 20:23:41 by Joerg Sonnenberger | Files touched by this commit (3)
Log message:
Assume non-VAX uses IEEE754 floats. While it doesn't make a difference
for GCC here, clang doesn't define the same macros by default.

Bump revision.
   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)
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