Debian Codegraph @

doc/functions/gnutls_psk_allocate_client_credentials2

raw
1
2
3
4
5 @deftypefun {int} {gnutls_psk_allocate_client_credentials2} (gnutls_psk_client_credentials_t * @var{sc}, gnutls_mac_algorithm_t @var{mac})
6 @var{sc}: is a pointer to a @code{gnutls_psk_client_credentials_t} type.
7
8 @var{mac}: encryption algorithm to use
9
10 Allocate a gnutls_psk_client_credentials_t structure and initializes
11 the HMAC binder algorithm to @code{mac} .
12
13 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise
14 an error code is returned.
15 @end deftypefun