1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Removed the use of g10defs.h.

This required some code cleanups and the introduction of
a few accessor ducntions in mpi.
This commit is contained in:
Werner Koch 2006-12-11 19:54:53 +00:00
parent d382fece03
commit 9f433cccca
29 changed files with 267 additions and 157 deletions

View file

@ -1,3 +1,15 @@
2006-12-11 Werner Koch <wk@g10code.com>
* mpi-internal.h: Include mpi-asm-defs.h.
(mpi_limb_t): Moved definition from mpi.h to here.
(struct gcry_mpi): Moved from mpi.h to here.
* mpiutil.c (mpi_get_nlimbs, mpi_is_neg): New. To replace the
macros. This helps hiding details of the MPI implementation.
(mpi_nlimb_hint_from_nbytes, mpi_nlimb_hint_from_nbits): Ditto.
(mpi_get_flags): Ditto.
* mpicoder.c (mpi_read, mpi_read_from_buffer, mpi_print):
s/MPI_NULL/NULL/.
2005-09-01 David Shaw <dshaw@jabberwocky.com>
* mpicoder.c (mpi_read): Fix minor bug in reading a zero-length