[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Wed Jan 1 15:46:49 UTC 2014
details: /var/hg/gmp/rev/a33b7d17ad02
changeset: 16139:a33b7d17ad02
user: Niels M?ller <nisse at lysator.liu.se>
date: Tue Dec 31 12:47:51 2013 +0100
description:
Document mpn_sec_minvert.
details: /var/hg/gmp/rev/ffe8c8da8c90
changeset: 16140:ffe8c8da8c90
user: Niels M?ller <nisse at lysator.liu.se>
date: Wed Jan 01 16:45:58 2014 +0100
description:
Trivial merge.
diffstat:
AUTHORS | 12 ++++++++++++
ChangeLog | 5 +++++
NEWS | 2 +-
doc/gmp.texi | 31 +++++++++++++++++++++++++++++--
4 files changed, 47 insertions(+), 3 deletions(-)
diffs (98 lines):
diff -r cb04ba2e1b93 -r ffe8c8da8c90 AUTHORS
--- a/AUTHORS Tue Dec 31 11:09:54 2013 +0100
+++ b/AUTHORS Wed Jan 01 16:45:58 2014 +0100
@@ -85,3 +85,15 @@
mpn/sparc64/ultrasparct3/cnd_aors_n.asm
mpn/sparc64/{rshift,lshift,lshiftc}.asm
mpn/sparc64/tabselect.asm
+
+Mark Sofroniou mpn/generic/mul_fft.c type cleanup.
+
+Ulrich Weigand Changes to support powerpc64le:
+ configure.ac, mpn/powerpc64/{elf,aix,darwin}.m4,
+ mpn/powerpc32/{darwin,elf}.m4,
+ mpn/powerpc64/mode64/{dive_1,divrem_1,divrem_2}.asm,
+ mpn/powerpc64/mode64/{gcd_1,invert_limb,mode1o}.asm,
+ mpn/powerpc64/mode64/{mod_1_1,mod_1_4}.asm,
+ mpn/powerpc64/mode64/p7/gcd_1.asm,
+ mpn/powerpc64/p6/{lshift,lshiftc,rshift}.asm,
+ mpn/powerpc64/vmx/popcount.asm.
diff -r cb04ba2e1b93 -r ffe8c8da8c90 ChangeLog
--- a/ChangeLog Tue Dec 31 11:09:54 2013 +0100
+++ b/ChangeLog Wed Jan 01 16:45:58 2014 +0100
@@ -1,3 +1,8 @@
+2013-12-31 Niels Möller <nisse at lysator.liu.se>
+
+ * doc/gmp.texi (Low-level Functions for cryptography): Document
+ mpn_sec_minvert.
+
2013-12-30 Marc Glisse <marc.glisse at inria.fr>
* doc/gmp.texi (C++ interface internals): Break long line.
diff -r cb04ba2e1b93 -r ffe8c8da8c90 NEWS
--- a/NEWS Tue Dec 31 11:09:54 2013 +0100
+++ b/NEWS Wed Jan 01 16:45:58 2014 +0100
@@ -82,7 +82,7 @@
* A bug in mpz_powm_ui triggered by base arguments of at least 15000 decimal
digits or mod arguments of at least 7500 decimal digits has been fixed.
- * A AMD Bulldozer specific bug affecting the 64-bit Windows ABI has been
+ * An AMD Bulldozer specific bug affecting the 64-bit Windows ABI has been
fixed. This bug was in a key function (mpn_mul_1) and made both Bulldozer
specific builds and fat builds run on Bulldozer completely non-functional.
diff -r cb04ba2e1b93 -r ffe8c8da8c90 doc/gmp.texi
--- a/doc/gmp.texi Tue Dec 31 11:09:54 2013 +0100
+++ b/doc/gmp.texi Wed Jan 01 16:45:58 2014 +0100
@@ -5803,6 +5803,23 @@
@var{dn})} limbs to be passed in the @var{tp} parameter.
@end deftypefun
+ at deftypefun int (mp_limb_t *@var{rp}, mp_limb_t *@var{ap}, const mp_limb_t
+*@var{mp}, mp_size_t @var{n}, mp_bitcnt_t @var{bit_size}, mp_limb_t *@var{tp})
+ at deftypefunx mp_size_t mpn_sec_minvert_itch (mp_size_t @var{n})
+Set @var{R} to the inverse of @var{A} modulo @var{M}, where @var{R} =
+@{@var{rp}, at var{n}@}, @var{A} = @{@var{ap}, at var{n}@}, and @var{M} = @{@var{mp}, at var{n}@}.
+ at strong{This function's interface is preliminary.}
+
+If an inverse exists, returns 1, otherwise returns 0 and leaves @var{R}
+undefined. In either case, the input @var{A} is destroyed.
+
+It is required that @var{M} is odd, and that @var{bit_size} is no smaller than
+the sum of the bit sizes of @var{A} and @var{M}. E.g, @var{bit_size} = 2 *
+ at var{n} * @code{GMP_NUMB_BITS} is always a safe choice, but smaller values can
+be used if @var{M} or @var{A} are known to have leading zero bits.
+
+This function requires scratch space of @code{mpn_sec_minvert_itch(@var{n})} limbs to be passed in the @var{tp} parameter.
+ at end deftypefun
@sp 1
@@ -10632,6 +10649,13 @@
some heap allocations by stack allocations. He also fixed the eofbit
handling of C++ streams, and removed one division from @file{mpq/aors.c}.
+David S Miller wrote assembly code for SPARC T3 and T4.
+
+Mark Sofroniou cleaned up the types of mul_fft.c, letting it work for huge
+operands.
+
+Ulrich Weigand ported GMP to the powerpc64le ABI.
+
(This list is chronological, not ordered after significance. If you have
contributed to GMP but are not listed above, please tell
@email{gmp-devel@@gmplib.org} about the omission!)
@@ -10640,8 +10664,11 @@
by the ESPRIT-BRA (Basic Research Activities) 6846 project POSSO (POlynomial
System SOlving).
-The development of GMP 2, 3, and 4 was supported in part by the IDA Center for
-Computing Sciences.
+The development of GMP 2, 3, and 4.0 was supported in part by the IDA Center
+for Computing Sciences.
+
+The development of GMP 4.3, 5.0, and 5.1 was supported in part by the Swedish
+Foundation for Strategic Research.
Thanks go to Hans Thorsen for donating an SGI system for the GMP test system
environment.
More information about the gmp-commit
mailing list