libgcrypt/cipher (primegen.c pubkey.c)

cvs user werner cvs@cvs.gnupg.org
Sun, 27 Jul 2003 13:41:02 +0200


    Date: Sunday, July 27, 2003 @ 13:41:02
  Author: werner
    Path: /cvs/gnupg/libgcrypt/cipher

Modified: primegen.c pubkey.c

* gcrypt.h (gcry_mpi_scan, gcry_mpi_print): API change.
(gcry_mpi_dump): New.

* mpicoder.c (gcry_mpi_scan): New argument BUFLEN to replace the
use of the intial value of NBYTES.
(gcry_mpi_print): Likewise.
(gcry_mpi_dump): New.
(_gcry_log_mpidump): Make use of gcry_mpi_dump.
(mpi_print): Removed.
(gcry_mpi_scan): Allocated mpi in secure memory when required.

* gcrypt.texi: Adjusted description of gcry_mpi_scan and
gcry_mpi_dump. Add gcry_mpi_dump.


------------+
 primegen.c |    8 +++-----
 pubkey.c   |    4 ++--
 2 files changed, 5 insertions(+), 7 deletions(-)