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 Β© 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