1gnutls_mac_get_id(3) gnutls gnutls_mac_get_id(3)
2
3
4
6 gnutls_mac_get_id - API function
7
9 #include <gnutls/gnutls.h>
10
11 gnutls_mac_algorithm_t gnutls_mac_get_id(const char * name);
12
14 const char * name
15 is a MAC algorithm name
16
18 Convert a string to a gnutls_mac_algorithm_t value. The names are com‐
19 pared in a case insensitive way.
20
22 a gnutls_mac_algorithm_t id of the specified MAC algorithm string, or
23 GNUTLS_MAC_UNKNOWN on failure.
24
26 Report bugs to <bugs@gnutls.org>.
27 Home page: https://www.gnutls.org
28
29
31 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright no‐
34 tice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
39 visit
40
41 https://www.gnutls.org/manual/
42
43gnutls 3.8.2 gnutls_mac_get_id(3)