summaryrefslogtreecommitdiff
path: root/lib/mpi.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-06-09 16:20:05 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-06-12 10:18:52 +0200
commit02b17134d6dd93a6e4aa7d7b04bac1dc8cbe280e (patch)
treed23c32ad36a1d90a6fcb5bfff8037a064e1e042f /lib/mpi.h
parent0081a51a3df7ec30da22402fe878be61790ab721 (diff)
downloadgnutls-02b17134d6dd93a6e4aa7d7b04bac1dc8cbe280e.tar.gz
Introduced functions to export integers with no leading zero
That is introduced the flag GNUTLS_EXPORT_FLAG_NO_LZ and: * gnutls_pubkey_export_rsa_raw2 * gnutls_pubkey_export_dsa_raw2 * gnutls_pubkey_export_ecc_raw2 * gnutls_privkey_export_rsa_raw2 * gnutls_privkey_export_dsa_raw2 * gnutls_privkey_export_ecc_raw2 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/mpi.h')
-rw-r--r--lib/mpi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mpi.h b/lib/mpi.h
index 177c0480e7..d32ad6a6a5 100644
--- a/lib/mpi.h
+++ b/lib/mpi.h
@@ -87,6 +87,8 @@ int _gnutls_mpi_dprint(const bigint_t a, gnutls_datum_t * dest);
int _gnutls_mpi_dprint_size(const bigint_t a, gnutls_datum_t * dest,
size_t size);
+typedef int (*mpi_dprint_func)(const bigint_t a, gnutls_datum_t * dest);
+
#define _gnutls_mpi_generate_group( gg, bits) _gnutls_mpi_ops.bigint_generate_group( gg, bits)
#endif