gnutls_privkey_get_seed(3)
π gnutls_privkey_get_seed π
okay bestie, so this is a page from the gnutls manual β specifically gnutls_privkey_get_seed(3) β and it's literally the function that spills the tea on how your private key was born. no cap.
β¨ NAME β¨
gnutls_privkey_get_seed β API function. that's it, that's the name, she's simple and she knows it π
π SYNOPSIS π
#include <gnutls/abstract.h>
int gnutls_privkey_get_seed(gnutls_privkey_t key,
gnutls_digest_algorithm_t * digest, void * seed, size_t * seed_size);
πΈ ARGUMENTS πΈ
gnutls_privkey_t keyβ bestie, this one should contain agnutls_privkey_ttype. that's the whole vibe check.gnutls_digest_algorithm_t * digestβ if it's non-NULL, it will contain the digest algorithm used for key generation (if applicable). like, only if applicable, don't come for her otherwise πvoid * seedβ the place whereseedwill be copied to. she's moving in, make room β¨size_t * seed_sizeβ originally holds the size ofseed, and then it will be updated with the actual size. so she goes in as one thing and comes out as another β it's giving glow up, fr fr.
π¦ DESCRIPTION π¦
okay so this function will return the seed that was used to generate the given private key. that's the whole point. the entire assignment.
and listen β that function will succeed only if the key was generated as a provable key. that's the catch. no provable key, no seed. periodt. π₯
π RETURNS π
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. so like, 0 = slay, negative = not slay π
β SINCE β
3.5.0 β she's been here a minute, an icon, a legend π
π REPORTING BUGS π
Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
ngl if you found a bug, tell them! they want to know! that's the whole point of the address existing π«Ά
π 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.
π§ 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/
and that's the page bestie, we ate and left no crumbs π
β¨ this was gnutls 3.8.13, dated with gnutls_privkey_get_seed(3) energy β go read the other pages, iykyk πΈπ¦π
π¦ 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