crypto_krb5_find_enctype(9)
π 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 au32.
π 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:
crypto_krb5_how_much_buffer(9)crypto_krb5_how_much_data(9)crypto_krb5_where_is_the_data(9)crypto_krb5_check_data_len(9)crypto_krb5_prepare_encryption(9)crypto_krb5_prepare_checksum(9)crypto_krb5_encrypt(9)crypto_krb5_decrypt(9)crypto_krb5_get_mic(9)crypto_krb5_verify_mic(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms