gnutls_mac_get_key_size(3)

gnutls_mac_get_key_size3

Api function

Usage

#include <gnutls/gnutls.h>

size_t gnutls_mac_get_key_size(gnutls_mac_algorithm_t algorithm);

Arguments

gnutls_mac_algorithm_t algorithm

is an encryption algorithm

Overview

Returns the size of the MAC key used in TLS.

Returns

length (in bytes) of the given MAC key size, or 0 if the given MAC algorithm is invalid.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.