gnutls_psk_all...nt_credentials2(3)
β¨ NAME β¨
gnutls_psk_allocate_client_credentials2 β bestie, it's an API function π (from the gnutls manual, obvi)
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
int
gnutls_psk_allocate_client_credentials2(gnutls_psk_client_credentials_t
* sc, gnutls_mac_algorithm_t mac);
π ARGUMENTS π
gnutls_psk_client_credentials_t * scβ okay so this is a pointer to agnutls_psk_client_credentials_ttype. it's the lil baby we're about to birth into existence πgnutls_mac_algorithm_t macβ the encryption algorithm to use. that's it, that's the whole vibe β¨
π¦ DESCRIPTION π¦
So what this does: it allocates a gnutls_psk_client_credentials_t structure, and while it's at it, it initializes the HMAC binder algorithm to mac. two birds, one iconic function call, no cap π«Ά
π RETURNS π
If everything slays: GNUTLS_E_SUCCESS (0) comes back at you π
If it does NOT slay: you get an error code instead. not the vibe, but at least you know π
π REPORTING BUGS π
Found a bug? Spill the tea, bestie, and report it to bugs@gnutls.org π§
Home page, for when you need to lurk: 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. periodt, that's the license, go off π
π 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/
like, go read the whole thing, it's giving encyclopedic and honestly iconic π§
okay that's the whole page bestie, you're officially credentialed β¨ β this was gnutls version 3.8.13, from the gnutls family of manual pages. mwah, bye πππ¦
π¦ 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