gnutls_cipher_set_iv(3)
π gnutls_cipher_set_iv(3) β the gnutls manual, bestie edition π
okay so you're in section 3 of the gnutls manual, and we're talking about a lil function called gnutls_cipher_set_iv. yes it's giving crypto girlie. no cap, this one's short but she MATTERS.
β¨ NAME β¨
gnutls_cipher_set_iv β it's an API function, bestie. that's the whole name. short queen. π
πΈ SYNOPSIS πΈ
#include <gnutls/crypto.h>
void gnutls_cipher_set_iv(gnutls_cipher_hd_t handle, void * iv, size_t
ivlen);
like, that's it. void return. she does her thing and dips. π¦
π ARGUMENTS π
gnutls_cipher_hd_t handleβ this is agnutls_cipher_hd_ttype. yeah, the handle. your cipher's whole identity. treat her right. πvoid * ivβ the IV you wanna set. the initialization vector in question. the moment. β¨size_t ivlenβ the length of the IV. how long she is. gotta tell her, she's not gonna guess. π
π DESCRIPTION π
so basically β this function will set the IV to be used for the next encryption block. that's the vibe. you hand her an IV, she holds it, next block gets encrypted with it. lowkey iconic behaviour fr fr. π₯
not me stressing the next part β it's for the NEXT encryption block, not all of them forever. read the sentence, bestie. π
β SINCE β
3.0 β she's been here since 3.0. OG status. main character energy since day one. π
π REPORTING BUGS π
found a bug? don't gatekeep it, tell the devs:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
they wanna hear it. fr fr. π«Ά
π 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.
(translation: share it, remix it, just keep the receipts. periodt. π)
π 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 whole thing, iykyk. it's a whole saga. π
and that's the page, bestie!! π this came to you from gnutls 3.8.13, the gnutls_cipher_set_iv(3) page, and it's the one and only. go set some IVs responsibly. mwah. π
β¨π¦
π¦ 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