1gnutls_pk_bits_to_sec_param(3) gnutls gnutls_pk_bits_to_sec_param(3)
2
3
4
6 gnutls_pk_bits_to_sec_param - API function
7
9 #include <gnutls/gnutls.h>
10
11 gnutls_sec_param_t gnutls_pk_bits_to_sec_param(gnutls_pk_algorithm_t
12 algo, unsigned int bits);
13
15 gnutls_pk_algorithm_t algo
16 is a public key algorithm
17
18 unsigned int bits
19 is the number of bits
20
22 This is the inverse of gnutls_sec_param_to_pk_bits(). Given an algo‐
23 rithm and the number of bits, it will return the security parameter.
24 This is a rough indication.
25
27 The security parameter.
28
30 2.12.0
31
33 Report bugs to <bugs@gnutls.org>.
34 Home page: https://www.gnutls.org
35
36
38 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
44 The full documentation for gnutls is maintained as a Texinfo manual.
45 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
46 visit
47
48 https://www.gnutls.org/manual/
49
50gnutls 3.6.13 gnutls_pk_bits_to_sec_param(3)