gnutls_ecc_curve_get(3)

✨ gnutls_ecc_curve_get ✨

okay bestie, welcome to the gnutls manual β€” this page lives in the gnutls corner of your man pages and it's all about one lil function called gnutls_ecc_curve_get. it's giving "short and sweet but lowkey important" πŸ’… let's go πŸ¦‹


🌸 NAME 🌸

gnutls_ecc_curve_get β€” literally just an API function, that's the whole job description πŸŽ€


πŸ’– SYNOPSIS πŸ’–

#include <gnutls/gnutls.h>

gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);

yes bestie, that's the whole vibe. one include, one function, one argument. no cap ✨


🫢 ARGUMENTS 🫢

  • gnutls_session_t session β€” it's a gnutls_session_t type, periodt. that's the session you're passing in, and she's the main character here πŸ‘‘

🌈 DESCRIPTION 🌈

so what does she actually do? she returns the elliptic curve that's currently being used for key exchange πŸ’«

⚠️ major caveat alert: this is only valid when you're using an elliptic curve ciphersuite. if you're not on an ECC ciphersuite, don't come for her, she's not applicable, okay? 😭

⭐ RETURNS ⭐

she hands you back the currently used curve β€” a gnutls_ecc_curve_t type πŸ’– simple as that, no notes.


πŸŽ€ SINCE πŸŽ€

3.0 β€” she's been iconic since 3.0, an OG fr fr πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence bestie, report it πŸ’€


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, just keep the copyright notice and this notice intact β€” that's the whole deal, no drama 🌸)


πŸ‘€ 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!! this is gnutls version 3.8.13, and the whole thing was documented as gnutls_ecc_curve_get(3). slay, go read the other pages bestie πŸ¦‹πŸ’…βœ¨
πŸ“¦ where this page comes from