gnutls_mac_get_id3
Api function
Usage
#include <gnutls/gnutls.h>
gnutls_mac_algorithm_t gnutls_mac_get_id(const char * name);
Arguments
- const char * name
-
is a MAC algorithm name
Overview
Convert a string to a gnutls_mac_algorithm_t value. The names are compared in a case insensitive way.
Returns
a gnutls_mac_algorithm_t id of the specified MAC algorithm string, or GNUTLS_MAC_UNKNOWN on failure.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 8 times.