[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] Diffie Hellman
From: |
Lennart Koopmann |
Subject: |
Re: [Help-gnutls] Diffie Hellman |
Date: |
Mon, 3 Nov 2008 14:26:43 +0100 |
User-agent: |
KMail/1.10.1 (Linux/2.6.27-7-generic; KDE/4.1.2; i686; ; ) |
On Monday 03 November 2008 14:14:11 you wrote:
> I don't see how all this makes sense:
>
> The number of DH prime bits is established on a call to
> gnutls_dh_params_generate2 (dh_params, DH_BITS);
> This is when the prime and generator are generated.
That's true. Sorry my reply was quite unspecific about that.
But as far as I understand gnutls_dh_params_generate2() generates the pair of
prime and generator, while gnutls_dh_set_prime_bits() sets a minimum DH size
for a conversation. I did not test it, but this might enable you to allow
different DH sizes in different conversations.
I am handing over to the GnuTLS experts! ;)