diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-09 16:20:05 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-12 10:18:52 +0200 |
commit | 02b17134d6dd93a6e4aa7d7b04bac1dc8cbe280e (patch) | |
tree | d23c32ad36a1d90a6fcb5bfff8037a064e1e042f /lib/mpi.h | |
parent | 0081a51a3df7ec30da22402fe878be61790ab721 (diff) | |
download | gnutls-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |