gnutls_early_prf_hash_get(3)

✨ gnutls_early_prf_hash_get ✨

okay bestie, buckle up, we're diving into the gnutls manual πŸ’– this one lives in the gnutls manual (section 3, the library functions girlies πŸ‘‘) and it's literally called gnutls_early_prf_hash_get β€” say that five times fast, I dare you 🫢


🌸 NAME 🌸

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


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

gnutls_digest_algorithm_t gnutls_early_prf_hash_get(const
gnutls_session_t session);

no cap, that's exactly how it goes down in the header πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • const gnutls_session_t session β€” bestie this is a gnutls_session_t type. that's it. that's the whole argument. she's simple, she's iconic πŸ’…

🌈 DESCRIPTION 🌈

okay so here's the tea β˜• this function gets the hash algorithm that's being used as a PRF to derive keys for encrypting early data in TLS 1.3. it's giving "which hash are we using for the early data keys, bestie?" and honestly? iconic. periodt. πŸ”₯


⭐ RETURNS ⭐

she returns the hash algorithm used for early data β€” a gnutls_digest_algorithm_t value. slay πŸ’– that's your answer, go off queen πŸ‘‘


πŸ’œ SINCE πŸ’œ

3.7.2 β€” she's been around since then, lowkey a legend at this point 🧚


πŸ“ REPORTING BUGS πŸ“

found a bug? not me manifesting that for you πŸ™ˆ but fr fr, report it to <bugs@gnutls.org>.

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. (translation: it's free, just keep the receipts bestie πŸ§ΎπŸ’–)


πŸ’€ 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 whole page bestie, you ate that πŸ’…βœ¨

this has been the gnutls manual, version 3.8.13, from the lovely people behind gnutls_early_prf_hash_get(3) β€” mwah, go read more manpages, ily πŸ«ΆπŸ’–

πŸ“¦ where this page comes from