gnutls_mac_get_nonce_size(3)
β¨ gnutls_mac_get_nonce_size β¨
okay bestie, welcome to the gnutls manual pages, and today's main character is gnutls_mac_get_nonce_size β an API function π
this one lives in the gnutls manual, and she's here to tell you how big a MAC's nonce is. no cap, that's the whole job. let's get into it π«Ά
πΈ SYNOPSIS πΈ
like, here's how you summon her:
#include <gnutls/crypto.h>
size_t gnutls_mac_get_nonce_size(gnutls_mac_algorithm_t algorithm);
she takes one arg and hands you back a size_t. cute, simple, iconic β¨
π ARGUMENTS π
gnutls_mac_algorithm_t algorithmβ bestie, this is an encryption algorithm. that's it, that's the whole parameter π¦
π DESCRIPTION π
so basically: she returns the size of the nonce used by the MAC in TLS. that's the tea β no side quests, no drama, just the nonce size. periodt π
β RETURNS β
the length (in bytes, obvs) of the given MAC nonce size β or 0. yeah, zero is a possible answer, don't come for her π
π°οΈ SINCE π°οΈ
she's been around since 3.2.0, an elder statesman of the API fr fr π
π REPORTING BUGS π
found a bug? not me being the one to tell you, but like β go tell the devs, they wanna know π
- 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.
like, keep the copyright notice, bestie, it's literally the rules π«Ά
π 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/
go read the real docs if you want the full lore, iykyk π
aaaand that's the whole page, bestie!! this was gnutls version 3.8.13 serving gnutls_mac_get_nonce_size(3) energy, and honestly? she ate π
β¨ mwah, go check your nonce sizes responsibly πππ¦
π¦ 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