GNUTLS_SEC_PARAM_TO_SYMMETRIC_BITS(3)

✨ NAME ✨

okay so bestie, this is gnutls_sec_param_to_symmetric_bits β€” an API function from the gnutls manual (yes, the gnutls_sec_param_to_symmetric_bits(3) one, that's her πŸ’…). She tells you how many symmetric-cipher bits of strength line up with a given security parameter. it's giving "translator between two worlds" and honestly? iconic. πŸ¦‹


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

unsigned int gnutls_sec_param_to_symmetric_bits(gnutls_sec_param_t
param);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_sec_param_t param β€” is a security parameter. that's the input, bestie, that's the vibe you're converting from πŸ’–

πŸ’« DESCRIPTION πŸ’«

This function will return the number of bits that correspond to symmetric cipher strength for the given security parameter.

like... you hand her a security parameter, she hands you back the symmetric strength number. no drama, no side quests, just a clean little conversion. 🧚✨


πŸ‘‘ RETURNS πŸ‘‘

The number of bits, or (0).

lowkey important: if there's nothing to give you, you get (0). not an error code, not a tantrum β€” just a zero. so check for it, bestie. 🫢

⭐ SINCE ⭐

3.3.0


😭 REPORTING BUGS 😭

Report bugs to <bugs@gnutls.org>.

Home page: https://www.gnutls.org

found a bug? don't suffer in silence, fr fr β€” tell the gnutls girlies. they wanna know. πŸ’Œ

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/

like, go read the whole Texinfo manual, it's the main character. if /usr/share/doc/gnutls/ isn't giving HTML, the link above has you. no cap. πŸ“šπŸ’–

and that's the whole page, bestie!! πŸŽ€βœ¨ this was gnutls_sec_param_to_symmetric_bits(3) from gnutls version 3.8.13 β€” slay, periodt, go forth and count your bits πŸ’…πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from