libgcrypt/mpi (ChangeLog mpicoder.c)
cvs user werner
cvs@cvs.gnupg.org
Sun, 27 Jul 2003 13:41:09 +0200
Date: Sunday, July 27, 2003 @ 13:41:09
Author: werner
Path: /cvs/gnupg/libgcrypt/mpi
Modified: ChangeLog mpicoder.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.
------------+
ChangeLog | 10 +++
mpicoder.c | 180 ++++++++++++++++++++++++++++++-----------------------------
2 files changed, 103 insertions(+), 87 deletions(-)