gnutls_digest_list(3)
π gnutls_digest_list(3) π
okay bestie, welcome to the gnutls manual, and this lil page right here is all about gnutls_digest_list. yes it's a real function, yes you need it, let's go β¨
π NAME π
gnutls_digest_list β it's an API function, babes. that's the whole name. short, sweet, iconic.
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
const gnutls_digest_algorithm_t * gnutls_digest_list( void);
like. look at her. no arguments, returns a pointer, slays π
π¦ ARGUMENTS π¦
voidβ literally nothing. she takes nothing. she needs nothing. she's self-sufficient, main character energy fr fr π
β¨ DESCRIPTION β¨
so what does she DO? she hands you a list of hash (digest) algorithms that GnuTLS supports. that's it. that's the whole vibe. you call her, she gives you the tea on which digests are available π
β οΈ not me having to tell you this but: this function is not thread safe. like, do NOT be calling her from a bunch of threads at once and expect everything to be fine. she is not about that chaos. protect her peace π
π RETURNS π
she returns a list of gnutls_digest_algorithm_t integers β and here's the important bit, bestie β the list is (0)-terminated. so when you're looping through it, you keep going until you hit that 0 and then you STOP. that zero is your little "we're done here" signal π
those integers are indicating the available digests. so like. every entry = a digest you can actually use. cute, right? π
π 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
they wanna hear from you, 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: you can copy and share this file, modified or not, in any medium, no royalty needed β just keep the copyright notice and this notice intact. easy. respect the rules and we all eat π)
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does NOT have the HTML form, then bestie, just go here:
https://www.gnutls.org/manual/
that's your link. bookmark it. thank me later β
and that's the whole page!! no cap, you now know everything this manpage knows π―
gnutls 3.8.13 β mwah, that's the version this gorgeous page is living in, and it's brought to you by the gnutls crew. go forth and list your digests, queen π§β¨
π¦ 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