libgcrypt/mpi (7 files)

cvs user werner cvs at cvs.gnupg.org
Fri Dec 19 20:50:04 CET 2003


    Date: Friday, December 19, 2003 @ 20:50:04
  Author: werner
    Path: /cvs/gnupg/libgcrypt/mpi

Modified: ChangeLog mpi-div.c mpi-internal.h mpi-mul.c mpi-pow.c
          mpih-mul.c mpiutil.c

* mpi-internal.h [M_DEBUG]: Removed this unused code.
(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.


----------------+
 ChangeLog      |   10 +++++
 mpi-div.c      |   15 ++++++--
 mpi-internal.h |   18 +++------
 mpi-mul.c      |    8 ++--
 mpi-pow.c      |   26 +++++++++-----
 mpih-mul.c     |   21 ++++++-----
 mpiutil.c      |  101 +++++++++++++++++++++++++++++--------------------------
 7 files changed, 118 insertions(+), 81 deletions(-)



More information about the Gnupg-commits mailing list