* gcrypt.h (gcry_mpi_scan, gcry_mpi_print): API change.
authorWerner Koch <wk@gnupg.org>
Sun, 27 Jul 2003 11:41:12 +0000 (11:41 +0000)
committerWerner Koch <wk@gnupg.org>
Sun, 27 Jul 2003 11:41:12 +0000 (11:41 +0000)
commitf63f0298ebbb00c082343b953a6c69131d129f2e
tree6042885b003286b3316a3605c27964903a872084
parentb7b75c526c13e972ca31faf92ff34db18f8bb5c9
* 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.
NEWS
cipher/primegen.c
cipher/pubkey.c
doc/ChangeLog
doc/gcrypt.texi
mpi/ChangeLog
mpi/mpicoder.c
src/ChangeLog
src/gcrypt.h
src/sexp.c