gnutls_hash_deinit(3)
π gnutls_hash_deinit(3) β the gnutls manual, bestie edition π
okay so real talk, this one is a lil page from the gnutls manual and it's literally just about cleaning up after yourself. very demure. very mindful. let's go π
β¨ NAME β¨
gnutls_hash_deinit β it's an API function, bestie. that's the whole vibe π¦
πΈ SYNOPSIS πΈ
#include <gnutls/crypto.h>
void gnutls_hash_deinit(gnutls_hash_hd_t handle, void * digest);
look at her. two args. no return value. she just does the thing π
π«Ά ARGUMENTS π«Ά
gnutls_hash_hd_t handleβ this is agnutls_hash_hd_ttype. yeah that's the description, that's what the original says, don't come for me π it's a handle, it's typed, it's giving exactly what it says on the tin.void * digestβ this one is the output value of the hash π like, the actual digest bytes you've been cooking up.
π§ DESCRIPTION π§
so here's the tea: this function will deinitialize all resources occupied by the given hash context. that's it. that's the whole job. it frees everything the hash context was hogging, no cap. main character energy but make it a cleanup crew π
when you're done hashing, you call this. you hand over the handle and the digest, and she lets all that context go. so satisfying honestly β¨
not me getting emotional over a deinit function π
β SINCE β
2.10.0 β she's been iconic since way back, periodt π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the people:
- 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.
like, go off, remix it, 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/
the full lore is right there, iykyk πβ¨
and that's the page, bestie π«Ά this was gnutls_hash_deinit(3) from the gnutls manual, version 3.8.13 β mwah, slay, go free your hash contexts responsibly π
ππ¦
π¦ 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