1gnutls_mac_get_key_size(3) gnutls gnutls_mac_get_key_size(3)
2
3
4
6 gnutls_mac_get_key_size - API function
7
9 #include <gnutls/gnutls.h>
10
11 size_t gnutls_mac_get_key_size(gnutls_mac_algorithm_t algorithm);
12
14 gnutls_mac_algorithm_t algorithm
15 is an encryption algorithm
16
18 Returns the size of the MAC key used in TLS.
19
21 length (in bytes) of the given MAC key size, or 0 if the given MAC
22 algorithm is invalid.
23
25 Report bugs to <bugs@gnutls.org>.
26 Home page: http://www.gnutls.org
27
28
30 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
31 Copying and distribution of this file, with or without modification,
32 are permitted in any medium without royalty provided the copyright
33 notice and this notice are preserved.
34
36 The full documentation for gnutls is maintained as a Texinfo manual.
37 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
38 visit
39
40 http://www.gnutls.org/manual/
41
42gnutls 3.6.5 gnutls_mac_get_key_size(3)