2000-10-11 Werner Koch * generic/mpi-asm-defs.h: New. * mips3/mpi-asm-defs.h: New. * config.links: Create a link to one of the above files. Fri Jul 28 18:19:11 CEST 2000 Werner Koch * mpicoder.c (gcry_mpi_scan): Normalize the returned MPI. Tue Jul 25 17:44:15 CEST 2000 Werner Koch * config.links: Support for powerpc--netbsd by Gabriel Rosenkoetter. Mon Jul 17 16:35:47 CEST 2000 Werner Koch * power/: Add all files from GMP for this CPU. Converted comments to CPP comments because some ASes complain about ' in comments. * config.links: Support for BSDI 4.x; by Wayne Chapeskie. Add support for FreeBSD 5 and made the case stmt looking nicer; by Jun Kuriyama. Add support for NetBSD. (sparc8): Made the search path the same as sparc9 (sparc64-unknown-linux-gnu): use udiv module; by Adam Mitchell. * Makefile.am: c/SFLAGS/ASFLAGS/. This has only been used by the powerpc and actually never passed the -Wa,foo to the cc. * mpih-div.c (mpihelp_divrem): The MPN_COPY_DECR copied one element too many. This is a gmp2.0.2p9.txt patch. * longlong.h (umul_ppmm): Fixes for ARM-4. By Sean MacLennan. * mpi-internal.h (karatsuba_ctx): New. * mpih-mul.c (mpihelp_release_karatsuba_ctx): New. (mpihelp_mul_karatsuba_case): New. (mpihelp_mul): Splitted to make use of the new functions. * mpi-pow.c (mpi_powm): Make use of the new splitted function to avoid multiple allocation of temporary memory during the karatsuba operations. * mpi_mpow.c: Removed the unused Barrett code. 2000-03-21 16:17:30 Werner Koch (wk@habibti.openit.de) * config.links: Add support for FreeBSD 5. Mon Jan 24 22:24:38 CET 2000 Werner Koch * mpicoder.c (gcry_mpi_aprint): Now really returns the length. Mon Jan 24 13:04:28 CET 2000 Werner Koch * mpiutil.c: Removed all memory debugging code. * mpicoder.c (gcry_mpi_aprint): New. * Replaced all m_ memory functions by g10_ ones. Fri Dec 31 14:06:56 CET 1999 Werner Koch * mpi-bit.c (gcry_mpi_get_nbits): New. * mpiutil.c (mpi_set_secure): made static. (gcry_mpi_get_flag): New. (gcry_mpi_set_flag): New. (gcry_mpi_clear_flag): New. (mpi_set_opaque): renamed to gcry_mpi_set_opaque. (mpi_get_opaque): renamed to gcry_mpi_get_opaque. Fri Dec 31 12:48:31 CET 1999 Werner Koch * mpicoder.c (mpi_read_from_buffer): Made static. (gcry_mpi_print): A buffer of NULL is now allowed to get the required length back. (mpi_get_keyid): Removed. (mpi_print): Made static - should be removed. Wed Dec 8 21:58:32 CET 1999 Werner Koch * Makefile.am (INCLUDES): Add ../gcrypt. * g10m.c : Removed. * mpicoder.c (mpi_write): Removed. (mpi_read): Removed. (gcry_mpi_scan): New. Taken from ../gcrypt/mpiapi.c. (gcry_mpi_print): Ditto. * mpi-pow.c (mpi_powm): Renamed to ... (gcry_mpi_powm): ... this. * mpiutil.c (gcry_mpi_new): New as a wrapper around the old function. Taken from ../gcrypt/mpiapi.c. (gcry_mpi_snew): Ditto. (gcry_mpi_release): Ditto. (gcry_mpi_copy): Ditto. (gcry_mpi_set): Ditto. (gcry_mpi_set_ui): Ditto. (gcry_mpi_cmp): Ditto. (gcry_mpi_cmp_ui): Ditto. (gcry_mpi_randomize): Ditto. * mpicoder.c (mpi_print): Removed the nbit_info kludge. * mpi-bits.c (mpi_get_nbits): Replaced the is_protected stuff by checking whether it is an opaque mpi and then returns it's length in bits. * mpiutil.c (mpi_set_opaque): Changed the interface to take a number of bits for the length. Adjusted all users. (mpi_get_opaque): Ditto. Fri Nov 19 17:15:20 CET 1999 Werner Koch * mpicoder.c (g10_log_mpidump): Add a temporary workaround * mpih-mul.c (mpihelp_mul_n): s/m_is_ecure/g10_is_secure/ * mpiutil.c (mpi_alloc): Remved the debug mode because it has turned out, that this feature was not very useful in the past. Use the new alloc functions. (mpi_alloc_secure): Ditto. (mpi_alloc_limb_space): Ditto. (mpi_free_limb_space): Ditto. (mpi_resize): Ditto. (mpi_free): Ditto. (mpi_set_secure): Removed the debug stuff. (mpi_set_opaque): Ditto. (mpi_copy): Ditto. (mpi_alloc_set_ui): Ditto. (mpi_m_check): Use g10_ wrapper. Mon Aug 30 20:38:33 CEST 1999 Werner Koch * config.links: Add case label for DJGPP Wed Jul 14 19:42:08 CEST 1999 Werner Koch * Makefile.am: Use .s files as temporaries, disabled other .S rules. Wed Jul 7 13:08:40 CEST 1999 Werner Koch * mpicoder.c (g10_log_mpidump): New. * Makefile.am: Support for libtool. Fri Jul 2 11:45:54 CEST 1999 Werner Koch * mpi-bit.c (mpi_lshift_limbs,mpi_rshift_limbs): New. * mpi-mpow.c (barrett_mulm): New but diabled. Tue Jun 1 16:01:46 CEST 1999 Werner Koch * config.links (i[56]86*-*-freebsdelf*): New. Sun May 23 14:20:22 CEST 1999 Werner Koch * config.links (sysdep.h): Not any more conditionally created. Tue May 4 15:47:53 CEST 1999 Werner Koch * mpiutil.c (mpi_alloc_like): New. Mon Apr 26 17:48:15 CEST 1999 Werner Koch * mpih-add.c, mpih-sub.c: Removed * mpi-inline.c: New. * mpi-inline.h: Make it usable by mpi-inline.c. Sun Apr 18 10:11:28 CEST 1999 Werner Koch * mpih-mul.c (mpihelp_mul_n): Fixed use of memory region. (mpihelp_mul): Ditto. Wed Apr 7 20:51:39 CEST 1999 Werner Koch * Makefile.am: Explicit rules to invoke cpp on *.S Mon Mar 8 20:47:17 CET 1999 Werner Koch * config.links: Take advantage of the with_symbol_underscore macro. Add support for freebsd 4. Wed Feb 24 11:07:27 CET 1999 Werner Koch * mips3/mpih-sub1.S: Removed left over junk in last line. (Should I blame me or my editor?). Sat Feb 13 12:04:43 CET 1999 Werner Koch * Makefile.am: Removed the +=. Add MPI_OPT_FLAGS. Sat Jan 9 16:02:23 CET 1999 Werner Koch * mpi-cmp.c (mpi_cmp_ui): Normalized the arg. Thu Jan 7 18:00:58 CET 1999 Werner Koch * mpi-bit.c (mpi_normalize): New. (mpi_get_nbits): Normalize the MPI. * mpi-bit.c (mpi_cmp): Normalize the MPI before the compare. Tue Dec 8 13:15:16 CET 1998 Werner Koch * config.links: Moved the case for powerpc*linux * powerpcp32/*.S: Removed some underscores. Thu Nov 26 07:27:52 1998 Werner Koch * config.links: Support for ppc with ELF * powerpc32/syntax.h: New. * powerpc32/*.S: Applied ELF patches (glibc patches) Tue Nov 10 19:31:37 1998 Werner Koch (wk@isil.d.shuttle.de) * power*/ : Started with stuff for PPC * config.links: Some stuff for PPC. * generic/udiv-w-sdiv.c: New but disabled. Tue Oct 27 12:37:46 1998 Werner Koch (wk@isil.d.shuttle.de) * config.links (freebsd): Fixes for FreeBSD 3.0 Wed Oct 14 09:59:30 1998 Werner Koch (wk@isil.d.shuttle.de) * config.links (freebsd): ELF patches from Jun Kuriyama. Thu Oct 8 13:28:17 1998 Werner Koch (wk@isil.d.shuttle.de) * mpi-mpow.c (mpi_mulpowm): Fixed mem leak (m_free/mpi_free). Thu Sep 17 18:08:50 1998 Werner Koch (wk@(none)) * hppa1.1/udiv-qrnnd.S: Fix from Steffen Zahn for HPUX 10.20 Thu Aug 6 16:39:28 1998 Werner Koch,mobil,,, (wk@tobold) * mpi-bit.c (mpi_set_bytes): Removed. Wed Aug 5 15:11:12 1998 Werner Koch (wk@(none)) * mpicoder.c (mpi_read_from_buffer): New. * mpiutil.c (mpi_set_opaque): New. (mpi_get_opaque): New. (mpi_copy): Changed to support opauqe flag (mpi_free): Ditto. Sat Jul 4 10:11:11 1998 Werner Koch (wk@isil.d.shuttle.de) * mpiutil.c (mpi_clear): Reset flags. (mpi_set): Ditto. (mpi_alloc_secure): Set flag to 1 and not ored the 1 in, tsss.. Fri Jun 26 11:19:06 1998 Werner Koch (wk@isil.d.shuttle.de) * mpiutil.c (mpi_alloc): set nbits to 0. (mpi_alloc_secure): Ditto. (mpi_clear): Ditto. Thu Jun 25 11:50:01 1998 Werner Koch (wk@isil.d.shuttle.de) * mips3/*.S: New Mon May 18 13:47:06 1998 Werner Koch (wk@isil.d.shuttle.de) * config.links: split mpih-shift into mpih-[lr]shift and changed all implementations. * mpi/alpha: add some new assembler stuff. Wed May 13 11:04:29 1998 Werner Koch (wk@isil.d.shuttle.de) * config.links: Add support for MIPS Thu Apr 9 11:31:36 1998 Werner Koch (wk@isil.d.shuttle.de) * mpicoder.c (mpi_get_secure_buffer): New. Wed Apr 8 09:44:33 1998 Werner Koch (wk@isil.d.shuttle.de) * config.links: Applied small fix from Ulf Möller. Mon Apr 6 12:38:52 1998 Werner Koch (wk@isil.d.shuttle.de) * mpicoder.c (mpi_get_buffer): Removed returned leading zeroes and changed all callers. Tue Mar 10 13:40:34 1998 Werner Koch (wk@isil.d.shuttle.de) * mpi-bit.c (mpi_clear_highbit): New. Mon Mar 2 19:29:00 1998 Werner Koch (wk@isil.d.shuttle.de) * Makefile.am (DISTCLEANFILES): New Thu Feb 26 06:48:54 1998 Werner Koch (wk@isil.d.shuttle.de) * config.links (X86_BROKEN_ALIGN): Added for some systems. Mon Feb 23 12:21:40 1998 Werner Koch (wk@isil.d.shuttle.de) * mpi/m68k/mpih-shift.S (Lspecial): Changed duplicate symbol. Mon Feb 16 13:00:27 1998 Werner Koch (wk@isil.d.shuttle.de) * config.links : Add detection of m68k cpus