head 1.5;
access;
symbols
pkgsrc-2020Q1:1.5.0.2
pkgsrc-2020Q1-base:1.5
pkgsrc-2019Q4:1.4.0.76
pkgsrc-2019Q4-base:1.4
pkgsrc-2019Q3:1.4.0.72
pkgsrc-2019Q3-base:1.4
pkgsrc-2019Q2:1.4.0.70
pkgsrc-2019Q2-base:1.4
pkgsrc-2019Q1:1.4.0.68
pkgsrc-2019Q1-base:1.4
pkgsrc-2018Q4:1.4.0.66
pkgsrc-2018Q4-base:1.4
pkgsrc-2018Q3:1.4.0.64
pkgsrc-2018Q3-base:1.4
pkgsrc-2018Q2:1.4.0.62
pkgsrc-2018Q2-base:1.4
pkgsrc-2018Q1:1.4.0.60
pkgsrc-2018Q1-base:1.4
pkgsrc-2017Q4:1.4.0.58
pkgsrc-2017Q4-base:1.4
pkgsrc-2017Q3:1.4.0.56
pkgsrc-2017Q3-base:1.4
pkgsrc-2017Q2:1.4.0.52
pkgsrc-2017Q2-base:1.4
pkgsrc-2017Q1:1.4.0.50
pkgsrc-2017Q1-base:1.4
pkgsrc-2016Q4:1.4.0.48
pkgsrc-2016Q4-base:1.4
pkgsrc-2016Q3:1.4.0.46
pkgsrc-2016Q3-base:1.4
pkgsrc-2016Q2:1.4.0.44
pkgsrc-2016Q2-base:1.4
pkgsrc-2016Q1:1.4.0.42
pkgsrc-2016Q1-base:1.4
pkgsrc-2015Q4:1.4.0.40
pkgsrc-2015Q4-base:1.4
pkgsrc-2015Q3:1.4.0.38
pkgsrc-2015Q3-base:1.4
pkgsrc-2015Q2:1.4.0.36
pkgsrc-2015Q2-base:1.4
pkgsrc-2015Q1:1.4.0.34
pkgsrc-2015Q1-base:1.4
pkgsrc-2014Q4:1.4.0.32
pkgsrc-2014Q4-base:1.4
pkgsrc-2014Q3:1.4.0.30
pkgsrc-2014Q3-base:1.4
pkgsrc-2014Q2:1.4.0.28
pkgsrc-2014Q2-base:1.4
pkgsrc-2014Q1:1.4.0.26
pkgsrc-2014Q1-base:1.4
pkgsrc-2013Q4:1.4.0.24
pkgsrc-2013Q4-base:1.4
pkgsrc-2013Q3:1.4.0.22
pkgsrc-2013Q3-base:1.4
pkgsrc-2013Q2:1.4.0.20
pkgsrc-2013Q2-base:1.4
pkgsrc-2013Q1:1.4.0.18
pkgsrc-2013Q1-base:1.4
pkgsrc-2012Q4:1.4.0.16
pkgsrc-2012Q4-base:1.4
pkgsrc-2012Q3:1.4.0.14
pkgsrc-2012Q3-base:1.4
pkgsrc-2012Q2:1.4.0.12
pkgsrc-2012Q2-base:1.4
pkgsrc-2012Q1:1.4.0.10
pkgsrc-2012Q1-base:1.4
pkgsrc-2011Q4:1.4.0.8
pkgsrc-2011Q4-base:1.4
pkgsrc-2011Q3:1.4.0.6
pkgsrc-2011Q3-base:1.4
pkgsrc-2011Q2:1.4.0.4
pkgsrc-2011Q2-base:1.4
pkgsrc-2011Q1:1.4.0.2
pkgsrc-2011Q1-base:1.4
pkgsrc-2010Q4:1.3.0.14
pkgsrc-2010Q4-base:1.3
pkgsrc-2010Q3:1.3.0.12
pkgsrc-2010Q3-base:1.3
pkgsrc-2010Q2:1.3.0.10
pkgsrc-2010Q2-base:1.3
pkgsrc-2010Q1:1.3.0.8
pkgsrc-2010Q1-base:1.3
pkgsrc-2009Q4:1.3.0.6
pkgsrc-2009Q4-base:1.3
pkgsrc-2009Q3:1.3.0.4
pkgsrc-2009Q3-base:1.3
pkgsrc-2009Q2:1.3.0.2
pkgsrc-2009Q2-base:1.3
pkgsrc-2009Q1:1.2.0.26
pkgsrc-2009Q1-base:1.2
pkgsrc-2008Q4:1.2.0.24
pkgsrc-2008Q4-base:1.2
pkgsrc-2008Q3:1.2.0.22
pkgsrc-2008Q3-base:1.2
cube-native-xorg:1.2.0.20
cube-native-xorg-base:1.2
pkgsrc-2008Q2:1.2.0.18
pkgsrc-2008Q2-base:1.2
cwrapper:1.2.0.16
pkgsrc-2008Q1:1.2.0.14
pkgsrc-2008Q1-base:1.2
pkgsrc-2007Q4:1.2.0.12
pkgsrc-2007Q4-base:1.2
pkgsrc-2007Q3:1.2.0.10
pkgsrc-2007Q3-base:1.2
pkgsrc-2007Q2:1.2.0.8
pkgsrc-2007Q2-base:1.2
pkgsrc-2007Q1:1.2.0.6
pkgsrc-2007Q1-base:1.2
pkgsrc-2006Q4:1.2.0.4
pkgsrc-2006Q4-base:1.2
pkgsrc-2006Q3:1.2.0.2
pkgsrc-2006Q3-base:1.2
pkgsrc-2006Q2:1.1.1.1.0.16
pkgsrc-2006Q2-base:1.1.1.1
pkgsrc-2006Q1:1.1.1.1.0.14
pkgsrc-2006Q1-base:1.1.1.1
pkgsrc-2005Q4:1.1.1.1.0.12
pkgsrc-2005Q4-base:1.1.1.1
pkgsrc-2005Q3:1.1.1.1.0.10
pkgsrc-2005Q3-base:1.1.1.1
pkgsrc-2005Q2:1.1.1.1.0.8
pkgsrc-2005Q2-base:1.1.1.1
pkgsrc-2005Q1:1.1.1.1.0.6
pkgsrc-2005Q1-base:1.1.1.1
pkgsrc-2004Q4:1.1.1.1.0.4
pkgsrc-2004Q4-base:1.1.1.1
pkgsrc-2004Q3:1.1.1.1.0.2
pkgsrc-2004Q3-base:1.1.1.1
pkgsrc-base:1.1.1.1
TNF:1.1.1;
locks; strict;
comment @# @;
1.5
date 2020.01.24.10.08.20; author wiz; state Exp;
branches;
next 1.4;
commitid li49P5iHYJjkCVTB;
1.4
date 2011.03.10.09.52.24; author drochner; state Exp;
branches;
next 1.3;
1.3
date 2009.06.14.18.05.45; author joerg; state Exp;
branches;
next 1.2;
1.2
date 2006.09.09.09.35.10; author obache; state Exp;
branches;
next 1.1;
1.1
date 2004.07.30.13.49.40; author wiz; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 2004.07.30.13.49.40; author wiz; state Exp;
branches;
next ;
desc
@@
1.5
log
@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)
@
text
@@@comment $NetBSD$
include/tommath.h
lib/libtommath.la
lib/pkgconfig/libtommath.pc
share/doc/ltm/bn.pdf
@
1.4
log
@build shared lib, bump PKGREV
@
text
@a2 2
include/tommath_class.h
include/tommath_superclass.h
d4 1
a5 2
share/doc/ltm/poster.pdf
share/doc/ltm/tommath.pdf
@
1.3
log
@Remove @@dirrm entries from PLISTs
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.2 2006/09/09 09:35:10 obache Exp $
d5 1
a5 1
lib/libtommath.a
@
1.2
log
@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" 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]
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $
a8 1
@@dirrm share/doc/ltm
@
1.1
log
@Initial revision
@
text
@d1 1
a1 1
@@comment $NetBSD$
d3 2
@
1.1.1.1
log
@Initial import of ltm-0.30:
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].
@
text
@@