diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-09-07 20:28:49 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-09-07 20:28:49 +0000 |
commit | b365e194959c105d36b6f309434432e4de107af4 (patch) | |
tree | f8fffdf9675fe005caccf822f308a4a16325530e /lib/gnutls_rsa_export.c | |
parent | 6c173c74b7c97e3bb8eedf211a52a451162f218b (diff) | |
download | gnutls-b365e194959c105d36b6f309434432e4de107af4.tar.gz |
*** empty log message ***
Diffstat (limited to 'lib/gnutls_rsa_export.c')
-rw-r--r-- | lib/gnutls_rsa_export.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/gnutls_rsa_export.c b/lib/gnutls_rsa_export.c index fc3fad8536..cd79fcc1d5 100644 --- a/lib/gnutls_rsa_export.c +++ b/lib/gnutls_rsa_export.c @@ -178,13 +178,14 @@ static int check_bits(int bits) * @p: holds the first prime (p) * @q: holds the second prime (q) * @u: holds the coefficient - * @bits: is the prime's number of bits + * @bits: is the modulus's number of bits * - * This function will replace the pair of prime and generator for use in - * the Diffie-Hellman key exchange. The new parameters should be stored in the + * This function will replace the parameters used in the RSA-EXPORT key + * exchange. The new parameters should be stored in the * appropriate gnutls_datum. * - * Note that the bits value should be one of 768, 1024, 2048, 3072 or 4096. + * Note that the bits value should only be 512. That is because the + * RSA-EXPORT ciphersuites are only allowed to sign a modulus of 512 bits. * **/ int gnutls_rsa_params_set(gnutls_rsa_params rsa_params, |