gnutls_mac_get_key_size(3)
β¨ gnutls_mac_get_key_size β¨
okay so bestie, welcome to the gnutls manual β this one's a lil function called gnutls_mac_get_key_size, and it's genuinely so simple you're gonna be obsessed. π
πΈ NAME πΈ
gnutls_mac_get_key_size β it's an API function, periodt. that's the whole name section, she's short and sweet π
π SYNOPSIS π
#include <gnutls/gnutls.h>
size_t gnutls_mac_get_key_size(gnutls_mac_algorithm_t algorithm);
π¦ ARGUMENTS π¦
gnutls_mac_algorithm_t algorithmβ bestie this is an encryption algorithm, like that's literally what it is π
π DESCRIPTION π
so the whole vibe here is: it returns the size of the MAC key used in TLS. that's it. that's the function. main character behavior fr fr β¨
π«Ά RETURNS π«Ά
you get back the length (in bytes) of the given MAC key size β or, and hear me out, 0 if the given MAC algorithm is invalid. so if you get a zero, that's not a slay, that's a vibe check that failed π
π REPORTING BUGS π
found a bug? don't gatekeep, report it to <bugs@gnutls.org> π
home page: https://www.gnutls.org π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. so like, go off, but keep the receipts π
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
and that's the whole page bestie, no cap β this was gnutls version 3.8.13, brought to you by the gnutls crew. mwah, take care of your MAC keys π β¨π
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms