summaryrefslogtreecommitdiff
path: root/mpi/mpih-mul.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-12Remove macro hacks for internal vs. external functions. Part 2 and last.Werner Koch1-9/+10
* src/visibility.h: Remove remaining define/undef hacks for symbol visibility. Add macros to detect the use of the public functions. Change all affected functions by replacing them by the x-macros. * src/g10lib.h: Add internal prototypes. (xtrymalloc, xtrycalloc, xtrymalloc_secure, xtrycalloc_secure) (xtryrealloc, xtrystrdup, xmalloc, xcalloc, xmalloc_secure) (xcalloc_secure, xrealloc, xstrdup, xfree): New macros. -- The use of xmalloc/xtrymalloc/xfree is a more common pattern than the gcry_free etc. functions. Those functions behave like those defined by C and thus for better readability we use these macros and not the underscore prefixed functions. Signed-off-by: Werner Koch <wk@gnupg.org>
2011-02-04Nuked almost all trailing whitespace.Werner Koch1-2/+0
Check and install the standard git pre-commit hook.
2003-12-19* mpi-internal.h [M_DEBUG]: Removed this unused code.Werner Koch1-9/+12
(struct karatsuba_ctx): Added TSPACE_NLIMBS and TP_NLIMBS. * mpiutil.c (_gcry_mpi_free_limb_space): Add arg NLIMBS and wipe out the memory. Changed all callers. * mpih-mul.c (_gcry_mpih_mul_karatsuba_case): Keep track of allocated limbs. * mpi-div.c (_gcry_mpi_tdiv_qr): Keep track of allocated limbs. * mpi-mul.c (gcry_mpi_mul): Ditto. * mpi-pow.c (gcry_mpi_powm): Ditto. * mpiutil.c (gcry_mpi_randomize): Use gcry_create_nonce if WEAK random has been requested.
2002-05-14Change the license to the LGPL.Werner Koch1-9/+7
2001-05-31The first libgcrypt only release.Werner Koch1-68/+70
2000-12-21Changed program name in all filesWerner Koch1-3/+3
2000-07-17See ChangeLog: Mon Jul 17 16:35:47 CEST 2000 Werner KochWerner Koch1-32/+87
1999-11-19See ChangeLog: Fri Nov 19 17:15:20 CET 1999 Werner KochWerner Koch1-5/+6
1999-04-18See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1-9/+10
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+3
1998-04-14applied Mathews typo and grammar fixesWerner Koch1-2/+2
1998-02-24Renamed to GNUPGWerner Koch1-4/+4
1997-12-23changed configuration stuff, replaced some Makefile.am by distfiles.Werner Koch1-19/+8
1997-11-26changed the dir layoutWerner Koch1-93/+17
1997-11-18initially checkinWerner Koch1-0/+557