gnutls_hmac_output(3)

πŸ’– gnutls_hmac_output(3) πŸ’–

okay bestie, so this one lives in the gnutls manual (yes, the crypto library, the one that keeps your TLS vibes immaculate) and it's literally called gnutls_hmac_output. an API function. she's short, she's sweet, she gets the job done. periodt.


✨ NAME ✨

gnutls_hmac_output β€” API function πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/crypto.h>

void gnutls_hmac_output(gnutls_hmac_hd_t handle, void * digest);

🌸 ARGUMENTS 🌸

  • gnutls_hmac_hd_t handle β€” bestie this is a gnutls_hmac_hd_t type. that's the handle, the little grip on your MAC session, the main character of this function ngl.
  • void * digest β€” this is where the output value of the MAC goes. it's the lil bucket you hand her so she can drop the MAC into it. πŸ’…

πŸ’« DESCRIPTION πŸ’«

so here's the tea: this function will output the current MAC value and reset the state of the MAC. that's it, that's the whole vibe. she gives you the MAC she's been cooking, and then she wipes the counter and starts fresh. lowkey iconic. 🫢


⭐ SINCE ⭐

2.10.0 β€” she's been here since 2.10.0, an absolute veteran, no cap. πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not the vibe, but okay, report bugs 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. slay, that's a very generous license fr fr. 🌈


πŸ”₯ 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/

iykyk, the Texinfo manual is where the deep lore lives. go read her. πŸ“šβœ¨


k that's the whole page bestie, no details skipped, all facts intact, we ate and left no crumbs πŸ“

signing off from the gnutls manual β€” source is gnutls, version 3.8.13, and the page date slot is doing its thing as gnutls_hmac_output(3) right there in the footer. mwah. πŸ’œπŸ’…

πŸ“¦ where this page comes from