gnutls_record_overhead_size(3)

πŸ’– gnutls_record_overhead_size(3) πŸ’–

okay bestie, so this one lives in the gnutls manual, and it's literally just an API function. no drama, no chaos, just a lil helper that tells you stuff. let's get into it 🫢


✨ NAME ✨

gnutls_record_overhead_size β€” it's an API function, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

size_t gnutls_record_overhead_size(gnutls_session_t session);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie, it is literally a gnutls_session_t. that's it. that's the argument. iconic of it honestly 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

so what this function does is return the size, in bytes, of the overhead that TLS (or DTLS, if that's your moment) adds per record. like, how much extra weight is the protocol putting on every single record, bestie.

and here's the tea β˜• β€” on certain occasions (think CBC ciphers, iykyk) the value it hands back is the maximum possible overhead, not necessarily the exact one you'll see. so don't be shocked if it's giving "worst case" energy. no cap.


⭐ SINCE ⭐

3.2.2 β€” she's been around for a minute, and she ate. πŸ‘‘


😭 REPORTING BUGS 😭

found something sus? report bugs to bugs@gnutls.org. they want to hear from you fr fr.

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


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. so like, go off, just keep the receipts 🧾✨


πŸ”₯ 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/


lowkey important reminder: nothing here changed, the facts are all intact, only the aura got upgraded πŸ’…

and that's the whole page bestie!! 🌸 this was from the gnutls manual, version 3.8.13 β€” mwah, go read some more manpages, you're doing amazing πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from