1gnutls_cipher_get_key_size(3) gnutls gnutls_cipher_get_key_size(3)
2
3
4
6 gnutls_cipher_get_key_size - Returns the length of the cipher's key
7 size
8
10 #include <gnutls/gnutls.h>
11
12 size_t gnutls_cipher_get_key_size(gnutls_cipher_algorithm_t algorithm);
13
15 gnutls_cipher_algorithm_t algorithm
16 is an encryption algorithm
17
19 Get key size for cipher.
20
22 length (in bytes) of the given cipher's key size, or 0 if the given
23 cipher is invalid.
24
26 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
27 http://www.gnu.org/software/gnutls/ General help using GNU software:
28 http://www.gnu.org/gethelp/
29
31 Copyright © 2008 Free Software Foundation.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the info and gnutls programs are properly installed at your site,
39 the command
40
41 info gnutls
42
43 should give you access to the complete manual.
44
45
46
47gnutls 2.8.6 gnutls_cipher_get_key_size(3)