crypto_krb5_find_enctype(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… crypto_krb5_find_enctype β€” like, the Kerberos5 enctype matchmaker

okay so bestie, welcome to the Kernel API Manual ✨ this one's a lil function called crypto_krb5_find_enctype(9) and honestly? she's giving "grep but make it Kerberos" πŸŽ€


✨ SYNOPSIS ✨

const struct krb5_enctype * crypto_krb5_find_enctype (u32 enctype );

that's it. that's the whole vibe check. one arg, one pointer back 🫢


🌸 ARGUMENTS 🌸

  • enctype β€” the standard Kerberos encryption type number, like, the actual number-number, not a name or a vibe πŸ’… hand it over as a u32.

πŸ’– DESCRIPTION πŸ’–

so what she does is: she looks up a Kerberos encryption type by number πŸ”₯ that's the whole job. it's giving directory lookup but for crypto types.

if it works? slay πŸ’… you get a pointer back to the type tables. if it doesn't work? you get NULL. no cap, that's the entire contract 😭 so like, always check your pointer, bestie, NULL is not a personality.


πŸ¦‹ SEE ALSO πŸ¦‹

the whole girlies in the krb5 squad live in the kernel file ./crypto/krb5/krb5_api.c πŸ‘‘ go read them, they're iconic:


fr fr though β€” NULL means "not found", not "here's a zeroed struct". treat it accordingly, mkay? πŸ™ˆ

okay that's the page!! πŸ“ she lives in ./crypto/krb5, this is the October 2026 edition of the Kernel API Manual, and crypto_krb5_find_enctype(9) says bye bestie, stay encrypted πŸ’œπŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from