diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-10-10 09:25:49 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-10-10 09:25:49 +0000 |
commit | ad3fc4e173fc30561bcb669f19831594592feaff (patch) | |
tree | 94c4fb916b7105a0e82562ae97341cbfae006389 /lib/gnutls_dh.h | |
parent | 139c90878ed0367d1890f5fc803b49c8c43a5a37 (diff) | |
download | gnutls-ad3fc4e173fc30561bcb669f19831594592feaff.tar.gz |
better prime handling
Diffstat (limited to 'lib/gnutls_dh.h')
-rw-r--r-- | lib/gnutls_dh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_dh.h b/lib/gnutls_dh.h index 9426ee2701..e1becc7c0f 100644 --- a/lib/gnutls_dh.h +++ b/lib/gnutls_dh.h @@ -22,5 +22,8 @@ MPI gnutls_get_dh_params(MPI *ret_p, int bits); MPI gnutls_calc_dh_secret( MPI *ret_x, MPI g, MPI prime ); MPI gnutls_calc_dh_key( MPI f, MPI x, MPI prime ); int _gnutls_dh_generate_prime(MPI *ret_g, MPI* ret_n, int bits); +void _gnutls_dh_clear_mpis(); +int _gnutls_dh_calc_mpis(); + #define DEFAULT_BITS 1024 |