gnutls_mac_list(3)
π gnutls_mac_list(3) π
okay bestie, welcome to the gnutls manual β¨ this one's a lil page about one lil function and it's genuinely so simple you're gonna be obsessed.
πΈ NAME πΈ
gnutls_mac_list β it's an API function, bestie. that's the whole name. short, sweet, iconic π
π SYNOPSIS π
so first you gotta pull in the header, obviously:
#include <gnutls/gnutls.h>
and then the function itself is right here:
const gnutls_mac_algorithm_t * gnutls_mac_list( void);
like. no arguments. none. it just gives π«Ά
π¦ ARGUMENTS π¦
voidβ literally nothing. no params, no drama, no notes. she takes zero input and that's the vibe π
β¨ DESCRIPTION β¨
so what does she actually do?? she hands you back a list of hash algorithms that you can use as MACs π₯ like, the full roster, right there.
lowkey important tho β not necessarily all of those MACs are supported in TLS cipher suites, so don't just assume every single one shows up in every context, okay?? read the room π«Ά
β οΈ also hello?? this function is NOT thread safe. so if you're out here threading, be careful, bestie, do NOT share this call across threads and then act surprised π
π RETURNS π
she returns a list of gnutls_mac_algorithm_t integers β and the list is (0)-terminated, meaning you walk it until you hit that zero and then you stop, periodt.
so like, the available MACs. that's what you get. slay π
π REPORTING BUGS π
found a bug?? do NOT suffer in silence, tell the people:
- report bugs 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. (yes that means you can share it, go off π)
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. so if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:
https://www.gnutls.org/manual/
and that's the whole page, bestie!! no cap, it's giving "tiny function, big energy" β¨ this was the gnutls manual, version 3.8.13, and the page was gnutls_mac_list(3) β thanks for reading, mwah ππ¦πΈ
π¦ 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