crypto_krb5enc_extractkeys(9)
πΈ NAME πΈ
okay bestie, welcome to the Kernel API Manual page for crypto_krb5enc_extractkeys(9) π. This one is here to extract the Ke and Ki keys from the key blob. that's the assignment, no cap. β¨
β¨ SYNOPSIS β¨
Here's the signature, exactly as it's giving:
int crypto_krb5enc_extractkeys (struct crypto_authenc_keys *keys , const
u8 *key , unsigned int keylen );
π«Ά ARGUMENTS π«Ά
keysβ where to put the key sizes and pointers, bestie. πkeyβ the encoded key material. πkeylenβ the amount of key material. π
π§ DESCRIPTION π§
okay so this is the part where we decode the key blob we're given. It starts with an rtattr that tells you both the format and the length. The format CRYPTO_AUTHENC_KEYA_PARAM is literally this layout:
rtattr || __be32 enckeylen || authkey || enckey
β οΈ endianness check, bestie: thertattris in cpu-endian form, unlikeenckeylen. This must be handled correctly in statictestmgrdata β no ignoring it, fr fr. π
π₯ SEE ALSO π₯
- Kernel file
./crypto/krb5enc.cπ¦
made with π from source ./crypto β the version/date stamp is October 2026 β and yeah, this whole vibe is crypto_krb5enc_extractkeys(9), periodt. πβ¨
π¦ 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