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 agnutls_aead_cipher_hd_ttype. yes, the handle is literally agnutls_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 inauth_iov. count 'em up πconst giovec_t * iovβ the data to decrypt πint iovcntβ The number of buffers iniov. 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:
- 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. (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
- 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