doc/functions/gnutls_pk_bits_to_sec_param
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {gnutls_sec_param_t} {gnutls_pk_bits_to_sec_param} (gnutls_pk_algorithm_t @var{algo}, unsigned int @var{bits}) |
| 6 | @var{algo}: is a public key algorithm |
| 7 | |
| 8 | @var{bits}: is the number of bits |
| 9 | |
| 10 | This is the inverse of @code{gnutls_sec_param_to_pk_bits()} . Given an algorithm |
| 11 | and the number of bits, it will return the security parameter. This is |
| 12 | a rough indication. |
| 13 | |
| 14 | @strong{Returns:} The security parameter. |
| 15 | |
| 16 | @strong{Since:} 2.12.0 |
| 17 | @end deftypefun |