gnutls_hmac_set_nonce(3)

✨ NAME ✨

gnutls_hmac_set_nonce β€” it's an API function, bestie πŸ’… and its whole lil job is setting the nonce in your MAC algorithm. That's it. That's the girl.


🌸 SYNOPSIS 🌸

#include <gnutls/crypto.h>

void gnutls_hmac_set_nonce(gnutls_hmac_hd_t handle, const void * nonce,
                           size_t nonce_len);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_hmac_hd_t handle β€” okay so this one is a gnutls_hmac_hd_t type. Your handle. Your main character 🫢
  • const void * nonce β€” the data you wanna set as the nonce, no cap.
  • size_t nonce_len β€” literally just the length of that data. How many bytes, bestie. That's it.

πŸ’– DESCRIPTION πŸ’–

So like… this function will set the nonce in the MAC algorithm. That's the whole vibe ✨ short, sweet, iconic, no notes.


πŸ¦‹ SINCE πŸ¦‹

3.2.0 β€” she's been around a minute, lowkey a legend πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? Not the moment, but okay, report it β€” bugs go 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. Free as in freedom 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/


okay so if you made it this far you're literally a scholar πŸŽ“ the manual page is done, go read the actual docs, ily πŸ’œ

gnutls 3.8.13 β€” that's the version this whole page is serving, and it's giving gnutls_hmac_set_nonce(3) energy from top to bottom πŸ’…βœ¨ bye bestie πŸ¦‹

πŸ“¦ where this page comes from