gnutls_aead_cipher_decryptv2(3)

πŸ’– gnutls_aead_cipher_decryptv2 πŸ’–

okay bestie, welcome to the gnutls manual, page for gnutls_aead_cipher_decryptv2 ✨ this one's an API function, and she's lowkey iconic.


🌸 NAME 🌸

gnutls_aead_cipher_decryptv2 β€” API function


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/crypto.h>

int gnutls_aead_cipher_decryptv2(gnutls_aead_cipher_hd_t handle, const
void * nonce, size_t nonce_len, const giovec_t * auth_iov, int
auth_iovcnt, const giovec_t * iov, int iovcnt, void * tag, size_t
tag_size);

✨ ARGUMENTS ✨

bestie there are nine of them, so let's go one by one, no skipping πŸ’…

  • gnutls_aead_cipher_hd_t handle β€” is a gnutls_aead_cipher_hd_t type. yes, the handle is literally a gnutls_aead_cipher_hd_t. slay, self-explanatory king πŸ‘‘
  • const void * nonce β€” the nonce to set πŸŽ€
  • size_t nonce_len β€” The length of the nonce. (the nonce's little length bestie, they're a package deal)
  • const giovec_t * auth_iov β€” additional data to be authenticated πŸ”₯
  • int auth_iovcnt β€” The number of buffers in auth_iov. count 'em up 🌈
  • const giovec_t * iov β€” the data to decrypt πŸ”“
  • int iovcnt β€” The number of buffers in iov. yes another count, we love a counting moment 🧚
  • void * tag β€” The authentication tag 🏷️
  • size_t tag_size β€” The size of the tag to use (use zero for the default). zero = default, noted fr fr πŸ“

πŸ’œ DESCRIPTION πŸ’œ

This is similar to gnutls_aead_cipher_decrypt(), but it performs in-place encryption on the provided data buffers. like, she's the glow-up version of her predecessor, doing the thing right there in the buffers you handed her πŸ’–


🌟 RETURNS 🌟

Zero or a negative error code on error. that's it, that's the vibe β€” 0 means we ate, anything negative means we did not eat 😭


πŸŽ€ SINCE πŸŽ€

3.6.10 β€” she's been around, a true vintage icon ✨


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? do NOT suffer in silence bestie, tell the devs:


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. (aka: go off, just 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/

okay that's the whole page bestie, you're officially educated πŸ’…βœ¨

this lil rewrite rode in with gnutls version 3.8.13, and yeah that's the source + version tea right there at the bottom of the original page 🌸 🫢

πŸ“¦ where this page comes from