]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Added gnutls_sec_param_to_pk_bits() discussion.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 19 Jun 2010 14:32:12 +0000 (16:32 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 19 Jun 2010 14:32:54 +0000 (16:32 +0200)
doc/cha-intro-tls.texi

index 92fb182bdadb51272b94448d208e337b2c6c6b81..7b2d06b0b88d7f4e31416ee8c18b1571d6ae6268 100644 (file)
@@ -595,6 +595,20 @@ table that extends beyond the key sizes given above.
 
 The recommendations are fairly consistent.
 
+When using @acronym{GnuTLS} and 
+bit sizes are required as input it is recommended to use the following
+functions:
+@itemize
+
+@item @ref{gnutls_pk_bits_to_sec_param}
+
+@item @ref{gnutls_sec_param_to_pk_bits}
+
+@end itemize
+Those functions will convert a human understandable security parameter
+of @code{gnutls_sec_param_t} type, to a number of bits suitable for a public 
+key algorithm.
+
 @node On SSL 2 and older protocols
 @section On SSL 2 and Older Protocols
 @cindex SSL 2