doc/functions/gnutls_hmac_get_key_size
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {unsigned} {gnutls_hmac_get_key_size} (gnutls_mac_algorithm_t @var{algorithm}) |
| 6 | @var{algorithm}: the mac algorithm to use |
| 7 | |
| 8 | This function will return the size of the key to be used with this |
| 9 | algorithm. On the algorithms which may accept arbitrary key sizes, |
| 10 | the returned size is the MAC key size used in the TLS protocol. |
| 11 | |
| 12 | @strong{Returns:} The key size or zero on error. |
| 13 | |
| 14 | @strong{Since:} 3.6.12 |
| 15 | @end deftypefun |