summaryrefslogtreecommitdiffstats
path: root/include/mpi.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-07-07 13:28:26 +0200
committerWerner Koch <wk@gnupg.org>1999-07-07 13:28:26 +0200
commitbd7298cf0dbeacbd415acdf814acace9aabb8455 (patch)
treeae235766ee42b77ba5ca19dfb1bf99e678154e3d /include/mpi.h
parentSee ChangeLog: Fri Jul 2 11:45:54 CEST 1999 Werner Koch (diff)
downloadgnupg2-bd7298cf0dbeacbd415acdf814acace9aabb8455.tar.xz
gnupg2-bd7298cf0dbeacbd415acdf814acace9aabb8455.zip
See ChangeLog: Wed Jul 7 13:23:40 CEST 1999 Werner Koch
Diffstat (limited to 'include/mpi.h')
-rw-r--r--include/mpi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mpi.h b/include/mpi.h
index e845bec50..2293af8fd 100644
--- a/include/mpi.h
+++ b/include/mpi.h
@@ -110,11 +110,14 @@ int mpi_write( IOBUF out, MPI a );
MPI mpi_read_from_buffer(byte *buffer, unsigned *ret_nread, int secure);
int mpi_fromstr(MPI val, const char *str);
int mpi_print( FILE *fp, MPI a, int mode );
+void g10_log_mpidump( const char *text, MPI a );
u32 mpi_get_keyid( MPI a, u32 *keyid );
byte *mpi_get_buffer( MPI a, unsigned *nbytes, int *sign );
byte *mpi_get_secure_buffer( MPI a, unsigned *nbytes, int *sign );
void mpi_set_buffer( MPI a, const byte *buffer, unsigned nbytes, int sign );
+#define log_mpidump g10_log_mpidump
+
/*-- mpi-add.c --*/
void mpi_add_ui(MPI w, MPI u, ulong v );
void mpi_add(MPI w, MPI u, MPI v);